ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/doc/gvpe.conf.5.pod
(Generate patch)

Comparing gvpe/doc/gvpe.conf.5.pod (file contents):
Revision 1.17 by pcg, Wed Nov 22 22:55:15 2006 UTC vs.
Revision 1.19 by pcg, Thu Aug 7 19:07:02 2008 UTC

300used to select the right configuration section and must be passed as an 300used to select the right configuration section and must be passed as an
301argument to the gvpe daemon. 301argument to the gvpe daemon.
302 302
303=item node-up = relative-or-absolute-path 303=item node-up = relative-or-absolute-path
304 304
305Sets a command (default: no script) that should be called whenever a 305Sets a command (default: none) that should be called whenever a connection
306connection is established (even on rekeying operations). In addition to 306is established (even on rekeying operations). Note that node-up/down
307scripts will be run asynchronously, but execution is serialised, so there
308will only ever be one such script running.
309
307all the variables passed to C<if-up> scripts, the following environment 310In addition to all the variables passed to C<if-up> scripts, the following
308variables will be set: 311environment variables will be set:
309 312
310=over 4 313=over 4
311 314
312=item DESTNODE=branch2 315=item DESTNODE=branch2
313 316
393=item connect = ondemand | never | always | disabled 396=item connect = ondemand | never | always | disabled
394 397
395Sets the connect mode (default: C<always>). It can be C<always> (always 398Sets the connect mode (default: C<always>). It can be C<always> (always
396try to establish and keep a connection to the given host), C<never> 399try to establish and keep a connection to the given host), C<never>
397(never initiate a connection to the given host, but accept connections), 400(never initiate a connection to the given host, but accept connections),
398C<ondemand> (try to establish a connection on the first packet sent, and 401C<ondemand> (try to establish a connection when there are outstanding
399take it down after the keepalive interval) or C<disabled> (node is bad, 402packets in the queue and take it down after the keepalive interval) or
400don't talk to it). 403C<disabled> (node is bad, don't talk to it).
401 404
402=item deny-direct = nodename | * 405=item deny-direct = nodename | *
403 406
404Deny direct connections to the specified node (or all nodes when C<*> 407Deny direct connections to the specified node (or all nodes when C<*>
405is given). Only one node can be specified, but you can use multiple 408is given). Only one node can be specified, but you can use multiple
529retries to establish a connection to this node. When a connection cannot 532retries to establish a connection to this node. When a connection cannot
530be established, gvpe uses exponential backoff capped at this value. It's 533be established, gvpe uses exponential backoff capped at this value. It's
531sometimes useful to set this to a much lower value (e.g. C<120>) on 534sometimes useful to set this to a much lower value (e.g. C<120>) on
532connections to routers that usually are stable but sometimes are down, to 535connections to routers that usually are stable but sometimes are down, to
533assure quick reconnections even after longer downtimes. 536assure quick reconnections even after longer downtimes.
537
538=item max-ttl = seconds
539
540Expire packets that couldn't be sent after this many seconds
541(default: C<60>). Gvpe will normally queue packets for a node without an
542active connection, in the hope of establishing a connection soon. This
543value specifies the maximum lifetime a packet will stay in the queue, if a
544packet gets older, it will be thrown away.
545
546=item max-queue = positive-number
547
548The maximum number of packets that will be queued (default: C<512>)
549for this node. If more packets are sent then earlier packets will be
550expired. See C<max-ttl>, above.
534 551
535=item router-priority = 0 | 1 | positive-number>=2 552=item router-priority = 0 | 1 | positive-number>=2
536 553
537Sets the router priority of the given host (default: C<0>, disabled). If 554Sets the router priority of the given host (default: C<0>, disabled). If
538some host tries to connect to another host without a hostname, it asks 555some host tries to connect to another host without a hostname, it asks

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines