1 | .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14 |
1 | .\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05) |
2 | .\" |
2 | .\" |
3 | .\" Standard preamble: |
3 | .\" Standard preamble: |
4 | .\" ======================================================================== |
4 | .\" ======================================================================== |
5 | .de Sh \" Subsection heading |
5 | .de Sh \" Subsection heading |
6 | .br |
6 | .br |
… | |
… | |
23 | .ft R |
23 | .ft R |
24 | .fi |
24 | .fi |
25 | .. |
25 | .. |
26 | .\" Set up some character translations and predefined strings. \*(-- will |
26 | .\" Set up some character translations and predefined strings. \*(-- will |
27 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left |
27 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left |
28 | .\" double quote, and \*(R" will give a right double quote. | will give a |
28 | .\" double quote, and \*(R" will give a right double quote. \*(C+ will |
29 | .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to |
29 | .\" give a nicer C++. Capital omega is used to do unbreakable dashes and |
30 | .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' |
30 | .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, |
31 | .\" expand to `' in nroff, nothing in troff, for use with C<>. |
31 | .\" nothing in troff, for use with C<>. |
32 | .tr \(*W-|\(bv\*(Tr |
32 | .tr \(*W- |
33 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' |
33 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' |
34 | .ie n \{\ |
34 | .ie n \{\ |
35 | . ds -- \(*W- |
35 | . ds -- \(*W- |
36 | . ds PI pi |
36 | . ds PI pi |
37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
… | |
… | |
46 | . ds PI \(*p |
46 | . ds PI \(*p |
47 | . ds L" `` |
47 | . ds L" `` |
48 | . ds R" '' |
48 | . ds R" '' |
49 | 'br\} |
49 | 'br\} |
50 | .\" |
50 | .\" |
|
|
51 | .\" Escape single quotes in literal strings from groff's Unicode transform. |
|
|
52 | .ie \n(.g .ds Aq \(aq |
|
|
53 | .el .ds Aq ' |
|
|
54 | .\" |
51 | .\" If the F register is turned on, we'll generate index entries on stderr for |
55 | .\" If the F register is turned on, we'll generate index entries on stderr for |
52 | .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index |
56 | .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index |
53 | .\" entries marked with X<> in POD. Of course, you'll have to process the |
57 | .\" entries marked with X<> in POD. Of course, you'll have to process the |
54 | .\" output yourself in some meaningful fashion. |
58 | .\" output yourself in some meaningful fashion. |
55 | .if \nF \{\ |
59 | .ie \nF \{\ |
56 | . de IX |
60 | . de IX |
57 | . tm Index:\\$1\t\\n%\t"\\$2" |
61 | . tm Index:\\$1\t\\n%\t"\\$2" |
58 | .. |
62 | .. |
59 | . nr % 0 |
63 | . nr % 0 |
60 | . rr F |
64 | . rr F |
61 | .\} |
65 | .\} |
62 | .\" |
66 | .el \{\ |
63 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
67 | . de IX |
64 | .\" way too many mistakes in technical documents. |
68 | .. |
65 | .hy 0 |
69 | .\} |
66 | .if n .na |
|
|
67 | .\" |
70 | .\" |
68 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). |
71 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). |
69 | .\" Fear. Run. Save yourself. No user-serviceable parts. |
72 | .\" Fear. Run. Save yourself. No user-serviceable parts. |
70 | . \" fudge factors for nroff and troff |
73 | . \" fudge factors for nroff and troff |
71 | .if n \{\ |
74 | .if n \{\ |
… | |
… | |
127 | .\} |
130 | .\} |
128 | .rm #[ #] #H #V #F C |
131 | .rm #[ #] #H #V #F C |
129 | .\" ======================================================================== |
132 | .\" ======================================================================== |
130 | .\" |
133 | .\" |
131 | .IX Title "GVPE.CONF 5" |
134 | .IX Title "GVPE.CONF 5" |
132 | .TH GVPE.CONF 5 "2005-03-26" "1.9" "GNU Virtual Private Ethernet" |
135 | .TH GVPE.CONF 5 "2008-08-07" "2.2" "GNU Virtual Private Ethernet" |
|
|
136 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
|
|
137 | .\" way too many mistakes in technical documents. |
|
|
138 | .if n .ad l |
|
|
139 | .nh |
133 | .SH "NAME" |
140 | .SH "NAME" |
134 | gvpe.conf \- configuration file for the GNU VPE daemon |
141 | gvpe.conf \- configuration file for the GNU VPE daemon |
135 | .SH "SYNOPSIS" |
142 | .SH "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
143 | .IX Header "SYNOPSIS" |
137 | .Vb 3 |
144 | .Vb 3 |
138 | \& udp-port = 407 |
145 | \& udp\-port = 407 |
139 | \& mtu = 1492 |
146 | \& mtu = 1492 |
140 | \& ifname = vpn0 |
147 | \& ifname = vpn0 |
141 | .Ve |
148 | \& |
142 | .PP |
|
|
143 | .Vb 2 |
|
|
144 | \& node = branch1 |
149 | \& node = branch1 |
145 | \& hostname = 1.2.3.4 |
150 | \& hostname = 1.2.3.4 |
146 | .Ve |
151 | \& |
147 | .PP |
|
|
148 | .Vb 3 |
|
|
149 | \& node = branch2 |
152 | \& node = branch2 |
150 | \& hostname = www.example.net |
153 | \& hostname = www.example.net |
151 | \& udp-port = 500 # this host uses a different udp-port |
154 | \& udp\-port = 500 # this host uses a different udp\-port |
152 | .Ve |
155 | \& |
153 | .PP |
|
|
154 | .Vb 2 |
|
|
155 | \& node = branch3 |
156 | \& node = branch3 |
156 | \& connect = ondemand |
157 | \& connect = ondemand |
157 | .Ve |
158 | .Ve |
158 | .SH "DESCRIPTION" |
159 | .SH "DESCRIPTION" |
159 | .IX Header "DESCRIPTION" |
160 | .IX Header "DESCRIPTION" |
… | |
… | |
245 | get request timeouts. The default of \f(CW8\fR means that the \s-1DNS\s0 transport |
246 | get request timeouts. The default of \f(CW8\fR means that the \s-1DNS\s0 transport |
246 | will resend the request when no reply has been received for longer than |
247 | will resend the request when no reply has been received for longer than |
247 | eight times the minimum (= expected) latency, assuming the request or |
248 | eight times the minimum (= expected) latency, assuming the request or |
248 | reply has been lost. |
249 | reply has been lost. |
249 | .Sp |
250 | .Sp |
250 | For congested links a higher value might be necessary (e.g. \f(CW30\fR). If the |
251 | For congested links a higher value might be necessary (e.g. \f(CW30\fR). If |
251 | link is very stable lower values (e.g. \f(CW2\fR) might work nicely. Values |
252 | the link is very stable lower values (e.g. \f(CW2\fR) might work |
252 | near or below \f(CW1\fR makes no sense whatsoever. |
253 | nicely. Values near or below \f(CW1\fR makes no sense whatsoever. |
253 | .Sp |
254 | .Sp |
254 | The default should be working ok for most links. |
255 | The default should be working ok for most links but will result in low |
|
|
256 | throughput if packet loss is high. |
255 | .IP "if-up = relative-or-absolute-path" 4 |
257 | .IP "if-up = relative-or-absolute-path" 4 |
256 | .IX Item "if-up = relative-or-absolute-path" |
258 | .IX Item "if-up = relative-or-absolute-path" |
257 | Sets the path of a script that should be called immediately after the |
259 | Sets the path of a script that should be called immediately after the |
258 | network interface is initialized (but not neccessarily up). The following |
260 | network interface is initialized (but not neccessarily up). The following |
259 | environment variables are passed to it (the values are just examples). |
261 | environment variables are passed to it (the values are just examples). |
… | |
… | |
371 | enabled on all hosts. |
373 | enabled on all hosts. |
372 | .Sp |
374 | .Sp |
373 | Example: |
375 | Example: |
374 | .Sp |
376 | .Sp |
375 | .Vb 3 |
377 | .Vb 3 |
376 | \& http-proxy-host = proxy.example.com |
378 | \& http\-proxy\-host = proxy.example.com |
377 | \& http-proxy-port = 3128 # 8080 is another common choice |
379 | \& http\-proxy\-port = 3128 # 8080 is another common choice |
378 | \& http-proxy-auth = schmorp:grumbeere |
380 | \& http\-proxy\-auth = schmorp:grumbeere |
379 | .Ve |
381 | .Ve |
380 | .IP "http-proxy-port = proxy-tcp-port" 4 |
382 | .IP "http-proxy-port = proxy-tcp-port" 4 |
381 | .IX Item "http-proxy-port = proxy-tcp-port" |
383 | .IX Item "http-proxy-port = proxy-tcp-port" |
382 | The port where your proxy server listens. |
384 | The port where your proxy server listens. |
383 | .IP "http-proxy-auth = login:password" 4 |
385 | .IP "http-proxy-auth = login:password" 4 |
… | |
… | |
411 | Not really a config setting but introduces a node section. The nickname is |
413 | Not really a config setting but introduces a node section. The nickname is |
412 | used to select the right configuration section and must be passed as an |
414 | used to select the right configuration section and must be passed as an |
413 | argument to the gvpe daemon. |
415 | argument to the gvpe daemon. |
414 | .IP "node-up = relative-or-absolute-path" 4 |
416 | .IP "node-up = relative-or-absolute-path" 4 |
415 | .IX Item "node-up = relative-or-absolute-path" |
417 | .IX Item "node-up = relative-or-absolute-path" |
416 | Sets a command (default: no script) that should be called whenever a |
418 | Sets a command (default: none) that should be called whenever a connection |
417 | connection is established (even on rekeying operations). In addition to |
419 | is established (even on rekeying operations). Note that node\-up/down |
|
|
420 | scripts will be run asynchronously, but execution is serialised, so there |
|
|
421 | will only ever be one such script running. |
|
|
422 | .Sp |
418 | all the variables passed to \f(CW\*(C`if\-up\*(C'\fR scripts, the following environment |
423 | In addition to all the variables passed to \f(CW\*(C`if\-up\*(C'\fR scripts, the following |
419 | variables will be set: |
424 | environment variables will be set: |
420 | .RS 4 |
425 | .RS 4 |
421 | .IP "DESTNODE=branch2" 4 |
426 | .IP "DESTNODE=branch2" 4 |
422 | .IX Item "DESTNODE=branch2" |
427 | .IX Item "DESTNODE=branch2" |
423 | The name of the remote node. |
428 | The name of the remote node. |
424 | .IP "DESTID=2" 4 |
429 | .IP "DESTID=2" 4 |
… | |
… | |
445 | \& #!/bin/sh |
450 | \& #!/bin/sh |
446 | \& { |
451 | \& { |
447 | \& echo update delete $DESTNODE.lowttl.example.net. a |
452 | \& echo update delete $DESTNODE.lowttl.example.net. a |
448 | \& echo update add $DESTNODE.lowttl.example.net. 1 in a $DESTIP |
453 | \& echo update add $DESTNODE.lowttl.example.net. 1 in a $DESTIP |
449 | \& echo |
454 | \& echo |
450 | \& } | nsupdate -d -k $CONFBASE:key.example.net. |
455 | \& } | nsupdate \-d \-k $CONFBASE:key.example.net. |
451 | .Ve |
456 | .Ve |
452 | .RE |
457 | .RE |
453 | .IP "node-down = relative-or-absolute-path" 4 |
458 | .IP "node-down = relative-or-absolute-path" 4 |
454 | .IX Item "node-down = relative-or-absolute-path" |
459 | .IX Item "node-down = relative-or-absolute-path" |
455 | Same as \f(CW\*(C`node\-up\*(C'\fR, but gets called whenever a connection is lost. |
460 | Same as \f(CW\*(C`node\-up\*(C'\fR, but gets called whenever a connection is lost. |
… | |
… | |
472 | .IX Item "rekey = seconds" |
477 | .IX Item "rekey = seconds" |
473 | Sets the rekeying interval in seconds (default: \f(CW3600\fR). Connections are |
478 | Sets the rekeying interval in seconds (default: \f(CW3600\fR). Connections are |
474 | reestablished every \f(CW\*(C`rekey\*(C'\fR seconds. |
479 | reestablished every \f(CW\*(C`rekey\*(C'\fR seconds. |
475 | .Sh "\s-1NODE\s0 \s-1SPECIFIC\s0 \s-1SETTINGS\s0" |
480 | .Sh "\s-1NODE\s0 \s-1SPECIFIC\s0 \s-1SETTINGS\s0" |
476 | .IX Subsection "NODE SPECIFIC SETTINGS" |
481 | .IX Subsection "NODE SPECIFIC SETTINGS" |
477 | The following settings are node\-specific, that is, every node can have |
482 | The following settings are node-specific, that is, every node can have |
478 | different settings, even within the same gvpe instance. Settings that are |
483 | different settings, even within the same gvpe instance. Settings that are |
479 | executed before the first node section set the defaults, settings that are |
484 | set before the first node section set the defaults, settings that are |
480 | executed within a node section only apply to the given node. |
485 | set within a node section only apply to the given node. |
|
|
486 | .IP "allow-direct = nodename" 4 |
|
|
487 | .IX Item "allow-direct = nodename" |
|
|
488 | Allow direct connections to this node. See \f(CW\*(C`deny\-direct\*(C'\fR for more info. |
481 | .IP "compress = yes|true|on | no|false|off" 4 |
489 | .IP "compress = yes|true|on | no|false|off" 4 |
482 | .IX Item "compress = yes|true|on | no|false|off" |
490 | .IX Item "compress = yes|true|on | no|false|off" |
483 | Wether to compress data packets sent to this host (default: \f(CW\*(C`yes\*(C'\fR). |
491 | Wether to compress data packets sent to this host (default: \f(CW\*(C`yes\*(C'\fR). |
484 | Compression is really cheap even on slow computers and has no size |
492 | Compression is really cheap even on slow computers and has no size |
485 | overhead at all, so enabling this is a good idea. |
493 | overhead at all, so enabling this is a good idea. |
486 | .IP "connect = ondemand | never | always | disabled" 4 |
494 | .IP "connect = ondemand | never | always | disabled" 4 |
487 | .IX Item "connect = ondemand | never | always | disabled" |
495 | .IX Item "connect = ondemand | never | always | disabled" |
488 | Sets the connect mode (default: \f(CW\*(C`always\*(C'\fR). It can be \f(CW\*(C`always\*(C'\fR (always |
496 | Sets the connect mode (default: \f(CW\*(C`always\*(C'\fR). It can be \f(CW\*(C`always\*(C'\fR (always |
489 | try to establish and keep a connection to the given host), \f(CW\*(C`never\*(C'\fR |
497 | try to establish and keep a connection to the given host), \f(CW\*(C`never\*(C'\fR |
490 | (never initiate a connection to the given host, but accept connections), |
498 | (never initiate a connection to the given host, but accept connections), |
491 | \&\f(CW\*(C`ondemand\*(C'\fR (try to establish a connection on the first packet sent, and |
499 | \&\f(CW\*(C`ondemand\*(C'\fR (try to establish a connection when there are outstanding |
492 | take it down after the keepalive interval) or \f(CW\*(C`disabled\*(C'\fR (node is bad, |
500 | packets in the queue and take it down after the keepalive interval) or |
493 | don't talk to it). |
501 | \&\f(CW\*(C`disabled\*(C'\fR (node is bad, don't talk to it). |
|
|
502 | .IP "deny-direct = nodename | *" 4 |
|
|
503 | .IX Item "deny-direct = nodename | *" |
|
|
504 | Deny direct connections to the specified node (or all nodes when \f(CW\*(C`*\*(C'\fR |
|
|
505 | is given). Only one node can be specified, but you can use multiple |
|
|
506 | \&\f(CW\*(C`allow\-direct\*(C'\fR and \f(CW\*(C`deny\-direct\*(C'\fR statements. This only makes sense in |
|
|
507 | networks with routers, as routers are required for indirect connections. |
|
|
508 | .Sp |
|
|
509 | Sometimes, a node cannot reach some other nodes for reasons of network |
|
|
510 | connectivity. For example, a node behind a firewall that only allows |
|
|
511 | conenctions to/from a single other node in the network. In this case one |
|
|
512 | should specify \f(CW\*(C`deny\-direct = *\*(C'\fR and \f(CW\*(C`allow\-direct = othernodename\*(C'\fR (the other |
|
|
513 | node \fImust\fR be a router for this to work). |
|
|
514 | .Sp |
|
|
515 | The algorithm to check wether a connection may be direct is as follows: |
|
|
516 | .Sp |
|
|
517 | 1. Other node mentioned in a \f(CW\*(C`allow\-direct\*(C'\fR? If yes, allow the connection. |
|
|
518 | .Sp |
|
|
519 | 2. Other node mentioned in a \f(CW\*(C`deny\-direct\*(C'\fR? If yes, deny direct connections. |
|
|
520 | .Sp |
|
|
521 | 3. Allow the connection. |
|
|
522 | .Sp |
|
|
523 | That is, \f(CW\*(C`allow\-direct\*(C'\fR takes precedence over \f(CW\*(C`deny\-direct\*(C'\fR. |
|
|
524 | .Sp |
|
|
525 | The check is done in both directions, i.e. both nodes must allow a direct |
|
|
526 | connection before one is attempted, so you only need to specify connect |
|
|
527 | limitations on one node. |
494 | .IP "dns-domain = domain-suffix" 4 |
528 | .IP "dns-domain = domain-suffix" 4 |
495 | .IX Item "dns-domain = domain-suffix" |
529 | .IX Item "dns-domain = domain-suffix" |
496 | The \s-1DNS\s0 domain suffix that points to the \s-1DNS\s0 tunnel server for this node. |
530 | The \s-1DNS\s0 domain suffix that points to the \s-1DNS\s0 tunnel server for this node. |
497 | .Sp |
531 | .Sp |
498 | The domain must point to a \s-1NS\s0 record that points to the \fIdns-hostname\fR, |
532 | The domain must point to a \s-1NS\s0 record that points to the \fIdns-hostname\fR, |
499 | i.e. |
533 | i.e. |
500 | .Sp |
534 | .Sp |
501 | .Vb 2 |
535 | .Vb 2 |
502 | \& dns-domainname = tunnel.example.net |
536 | \& dns\-domainname = tunnel.example.net |
503 | \& dns-hostname = tunnel-server.example.net |
537 | \& dns\-hostname = tunnel\-server.example.net |
504 | .Ve |
538 | .Ve |
505 | .Sp |
539 | .Sp |
506 | Corresponds to the following \s-1DNS\s0 entries in the \f(CW\*(C`example.net\*(C'\fR domain: |
540 | Corresponds to the following \s-1DNS\s0 entries in the \f(CW\*(C`example.net\*(C'\fR domain: |
507 | .Sp |
541 | .Sp |
508 | .Vb 2 |
542 | .Vb 2 |
509 | \& tunnel.example.net. NS tunnel-server.example.net. |
543 | \& tunnel.example.net. NS tunnel\-server.example.net. |
510 | \& tunnel-server.example.net. A 13.13.13.13 |
544 | \& tunnel\-server.example.net. A 13.13.13.13 |
511 | .Ve |
545 | .Ve |
512 | .IP "dns-hostname = hostname/ip" 4 |
546 | .IP "dns-hostname = hostname/ip" 4 |
513 | .IX Item "dns-hostname = hostname/ip" |
547 | .IX Item "dns-hostname = hostname/ip" |
514 | The address to bind the \s-1DNS\s0 tunnel socket to, similar to the \f(CW\*(C`hostname\*(C'\fR, |
548 | The address to bind the \s-1DNS\s0 tunnel socket to, similar to the \f(CW\*(C`hostname\*(C'\fR, |
515 | but for the \s-1DNS\s0 tunnel protocol only. Default: \f(CW0.0.0.0\fR, but that might |
549 | but for the \s-1DNS\s0 tunnel protocol only. Default: \f(CW0.0.0.0\fR, but that might |
… | |
… | |
553 | protocol is enabled automatically). |
587 | protocol is enabled automatically). |
554 | .Sp |
588 | .Sp |
555 | \&\s-1NOTE:\s0 Please specify \f(CW\*(C`enable\-udp = yes\*(C'\fR if you want t use it even though |
589 | \&\s-1NOTE:\s0 Please specify \f(CW\*(C`enable\-udp = yes\*(C'\fR if you want t use it even though |
556 | it might get switched on automatically, as some future version might |
590 | it might get switched on automatically, as some future version might |
557 | default to another default protocol. |
591 | default to another default protocol. |
|
|
592 | .IP "hostname = hostname | ip [can not be defaulted]" 4 |
|
|
593 | .IX Item "hostname = hostname | ip [can not be defaulted]" |
|
|
594 | Forces the address of this node to be set to the given dns hostname or ip |
|
|
595 | address. It will be resolved before each connect request, so dyndns should |
|
|
596 | work fine. If this setting is not specified and a router is available, |
|
|
597 | then the router will be queried for the address of this node. Otherwise, |
|
|
598 | the connection attempt will fail. |
558 | .IP "icmp-type = integer" 4 |
599 | .IP "icmp-type = integer" 4 |
559 | .IX Item "icmp-type = integer" |
600 | .IX Item "icmp-type = integer" |
560 | Sets the type value to be used for outgoing (and incoming) packets sent |
601 | Sets the type value to be used for outgoing (and incoming) packets sent |
561 | via the \s-1ICMP\s0 transport. |
602 | via the \s-1ICMP\s0 transport. |
562 | .Sp |
603 | .Sp |
563 | The default is \f(CW0\fR (which is \f(CW\*(C`echo\-reply\*(C'\fR, also known as |
604 | The default is \f(CW0\fR (which is \f(CW\*(C`echo\-reply\*(C'\fR, also known as |
564 | \&\*(L"ping\-replies\*(R"). Other useful values include \f(CW8\fR (\f(CW\*(C`echo\-request\*(C'\fR, a.k.a. |
605 | \&\*(L"ping-replies\*(R"). Other useful values include \f(CW8\fR (\f(CW\*(C`echo\-request\*(C'\fR, a.k.a. |
565 | \&\*(L"ping\*(R") and \f(CW11\fR (\f(CW\*(C`time\-exceeded\*(C'\fR), but any 8\-bit value can be used. |
606 | \&\*(L"ping\*(R") and \f(CW11\fR (\f(CW\*(C`time\-exceeded\*(C'\fR), but any 8\-bit value can be used. |
566 | .IP "if-up-data = value" 4 |
607 | .IP "if-up-data = value" 4 |
567 | .IX Item "if-up-data = value" |
608 | .IX Item "if-up-data = value" |
568 | The value specified using this directive will be passed to the \f(CW\*(C`if\-up\*(C'\fR |
609 | The value specified using this directive will be passed to the \f(CW\*(C`if\-up\*(C'\fR |
569 | script in the environment variable \f(CW\*(C`IFUPDATA\*(C'\fR. |
610 | script in the environment variable \f(CW\*(C`IFUPDATA\*(C'\fR. |
… | |
… | |
579 | retries to establish a connection to this node. When a connection cannot |
620 | retries to establish a connection to this node. When a connection cannot |
580 | be established, gvpe uses exponential backoff capped at this value. It's |
621 | be established, gvpe uses exponential backoff capped at this value. It's |
581 | sometimes useful to set this to a much lower value (e.g. \f(CW120\fR) on |
622 | sometimes useful to set this to a much lower value (e.g. \f(CW120\fR) on |
582 | connections to routers that usually are stable but sometimes are down, to |
623 | connections to routers that usually are stable but sometimes are down, to |
583 | assure quick reconnections even after longer downtimes. |
624 | assure quick reconnections even after longer downtimes. |
|
|
625 | .IP "max-ttl = seconds" 4 |
|
|
626 | .IX Item "max-ttl = seconds" |
|
|
627 | Expire packets that couldn't be sent after this many seconds |
|
|
628 | (default: \f(CW60\fR). Gvpe will normally queue packets for a node without an |
|
|
629 | active connection, in the hope of establishing a connection soon. This |
|
|
630 | value specifies the maximum lifetime a packet will stay in the queue, if a |
|
|
631 | packet gets older, it will be thrown away. |
|
|
632 | .IP "max-queue = positive-number" 4 |
|
|
633 | .IX Item "max-queue = positive-number" |
|
|
634 | The maximum number of packets that will be queued (default: \f(CW512\fR) |
|
|
635 | for this node. If more packets are sent then earlier packets will be |
|
|
636 | expired. See \f(CW\*(C`max\-ttl\*(C'\fR, above. |
584 | .IP "router-priority = 0 | 1 | positive\-number>=2" 4 |
637 | .IP "router-priority = 0 | 1 | positive\-number>=2" 4 |
585 | .IX Item "router-priority = 0 | 1 | positive-number>=2" |
638 | .IX Item "router-priority = 0 | 1 | positive-number>=2" |
586 | Sets the router priority of the given host (default: \f(CW0\fR, disabled). If |
639 | Sets the router priority of the given host (default: \f(CW0\fR, disabled). If |
587 | some host tries to connect to another host without a hostname, it asks |
640 | some host tries to connect to another host without a hostname, it asks |
588 | the router host for it's \s-1IP\s0 address. The router host is the one with the |
641 | the router host for it's \s-1IP\s0 address. The router host is the one with the |
… | |
… | |
606 | Sets the port number used by the \s-1UDP\s0 protocol (default: \f(CW655\fR, not |
659 | Sets the port number used by the \s-1UDP\s0 protocol (default: \f(CW655\fR, not |
607 | officially assigned by \s-1IANA\s0!). |
660 | officially assigned by \s-1IANA\s0!). |
608 | .SH "CONFIG DIRECTORY LAYOUT" |
661 | .SH "CONFIG DIRECTORY LAYOUT" |
609 | .IX Header "CONFIG DIRECTORY LAYOUT" |
662 | .IX Header "CONFIG DIRECTORY LAYOUT" |
610 | The default (or recommended) directory layout for the config directory is: |
663 | The default (or recommended) directory layout for the config directory is: |
611 | .IP "\(bu" 4 |
664 | .IP "" 4 |
612 | .IX Xref "gvpe.conf" |
665 | .IX Xref "gvpe.conf" |
613 | The config file. |
666 | The config file. |
614 | .IP "\(bu" 4 |
667 | .IP "" 4 |
615 | .IX Xref "if-up" |
668 | .IX Xref "if-up" |
616 | The if-up script |
669 | The if-up script |
617 | .IP "," 4 |
670 | .IP "," 4 |
618 | .IX Xref "node-up node-down" |
671 | .IX Xref "node-up node-down" |
619 | If used the node up or node-down scripts. |
672 | If used the node up or node-down scripts. |
620 | .IP "\(bu" 4 |
673 | .IP "" 4 |
621 | .IX Xref "hostkey" |
674 | .IX Xref "hostkey" |
622 | The private key (taken from \f(CW\*(C`hostkeys/nodename\*(C'\fR) of the current host. |
675 | The private key (taken from \f(CW\*(C`hostkeys/nodename\*(C'\fR) of the current host. |
623 | .IP "\(bu" 4 |
676 | .IP "" 4 |
624 | .IX Xref "pubkey nodename" |
677 | .IX Xref "pubkey nodename" |
625 | The public keys of the other nodes, one file per node. |
678 | The public keys of the other nodes, one file per node. |
626 | .SH "SEE ALSO" |
679 | .SH "SEE ALSO" |
627 | .IX Header "SEE ALSO" |
680 | .IX Header "SEE ALSO" |
628 | \&\fIgvpe\fR\|(5), \fIgvpe\fR\|(8), \fIgvpectrl\fR\|(8). |
681 | \&\fIgvpe\fR\|(5), \fIgvpe\fR\|(8), \fIgvpectrl\fR\|(8). |
629 | .SH "AUTHOR" |
682 | .SH "AUTHOR" |
630 | .IX Header "AUTHOR" |
683 | .IX Header "AUTHOR" |
631 | Marc Lehmann <gvpe@plan9.de> |
684 | Marc Lehmann <gvpe@schmorp.de> |