… | |
… | |
393 | =item connect = ondemand | never | always | disabled |
393 | =item connect = ondemand | never | always | disabled |
394 | |
394 | |
395 | Sets the connect mode (default: C<always>). It can be C<always> (always |
395 | Sets the connect mode (default: C<always>). It can be C<always> (always |
396 | try to establish and keep a connection to the given host), C<never> |
396 | try to establish and keep a connection to the given host), C<never> |
397 | (never initiate a connection to the given host, but accept connections), |
397 | (never initiate a connection to the given host, but accept connections), |
398 | C<ondemand> (try to establish a connection on the first packet sent, and |
398 | C<ondemand> (try to establish a connection when there are outstanding |
399 | take it down after the keepalive interval) or C<disabled> (node is bad, |
399 | packets in the queue and take it down after the keepalive interval) or |
400 | don't talk to it). |
400 | C<disabled> (node is bad, don't talk to it). |
401 | |
401 | |
402 | =item deny-direct = nodename | * |
402 | =item deny-direct = nodename | * |
403 | |
403 | |
404 | Deny direct connections to the specified node (or all nodes when C<*> |
404 | Deny direct connections to the specified node (or all nodes when C<*> |
405 | is given). Only one node can be specified, but you can use multiple |
405 | is given). Only one node can be specified, but you can use multiple |
… | |
… | |
529 | retries to establish a connection to this node. When a connection cannot |
529 | retries to establish a connection to this node. When a connection cannot |
530 | be established, gvpe uses exponential backoff capped at this value. It's |
530 | be established, gvpe uses exponential backoff capped at this value. It's |
531 | sometimes useful to set this to a much lower value (e.g. C<120>) on |
531 | sometimes useful to set this to a much lower value (e.g. C<120>) on |
532 | connections to routers that usually are stable but sometimes are down, to |
532 | connections to routers that usually are stable but sometimes are down, to |
533 | assure quick reconnections even after longer downtimes. |
533 | assure quick reconnections even after longer downtimes. |
|
|
534 | |
|
|
535 | =item max-ttl = seconds |
|
|
536 | |
|
|
537 | Expire packets that couldn't be sent after this many seconds |
|
|
538 | (default: C<60>). Gvpe will normally queue packets for a node without an |
|
|
539 | active connection, in the hope of establishing a connection soon. This |
|
|
540 | value specifies the maximum lifetime a packet will stay in the queue, if a |
|
|
541 | packet gets older, it will be thrown away. |
|
|
542 | |
|
|
543 | =item max-queue = positive-number |
|
|
544 | |
|
|
545 | The maximum number of packets that will be queued (default: C<512>) |
|
|
546 | for this node. If more packets are sent then earlier packets will be |
|
|
547 | expired. See C<max-ttl>, above. |
534 | |
548 | |
535 | =item router-priority = 0 | 1 | positive-number>=2 |
549 | =item router-priority = 0 | 1 | positive-number>=2 |
536 | |
550 | |
537 | Sets the router priority of the given host (default: C<0>, disabled). If |
551 | Sets the router priority of the given host (default: C<0>, disabled). If |
538 | some host tries to connect to another host without a hostname, it asks |
552 | some host tries to connect to another host without a hostname, it asks |