… | |
… | |
327 | (default: C<no>). Support for this horribly unsuitable protocol is only |
327 | (default: C<no>). Support for this horribly unsuitable protocol is only |
328 | available when gvpe was compiled using the C<--enable-tcp> option. Never |
328 | available when gvpe was compiled using the C<--enable-tcp> option. Never |
329 | use this transport unless you really must, it is horribly ineffiecent and |
329 | use this transport unless you really must, it is horribly ineffiecent and |
330 | resource-intensive compared to the other transports. |
330 | resource-intensive compared to the other transports. |
331 | |
331 | |
332 | =item router-priority = positive-number |
332 | =item router-priority = 0 | 1 | positive-number>2 |
333 | |
333 | |
334 | Sets the router priority of the given host (default: C<0>, disabled). If |
334 | Sets the router priority of the given host (default: C<0>, disabled). If |
335 | some host tries to connect to another host without a hostname, it asks |
335 | some host tries to connect to another host without a hostname, it asks |
336 | the router host for it's IP address. The router host is the one with the |
336 | the router host for it's IP address. The router host is the one with the |
337 | highest priority that is currently reachable. Make sure all clients always |
337 | highest priority larger than C<1> that is currently reachable. |
|
|
338 | |
|
|
339 | Make sure all hosts always connect (C<connect = always>) to the router |
338 | connect to the router hosts, otherwise conencting to them is impossible. |
340 | hosts, otherwise connecting to them might be impossible. |
339 | |
341 | |
|
|
342 | The special value C<1> allows other hosts to route through the router |
|
|
343 | host, but they will never route through it by default. The value C<0> |
|
|
344 | disables routing. The idea behind this is that some hosts can, if |
|
|
345 | required, bump the C<router-priority> setting to higher than C<1> in their |
|
|
346 | local config to route through specific hosts. If C<router-priority> is |
|
|
347 | C<0>, then routing will be refused, so C<1> serves as a "enable, but do |
|
|
348 | not use by default" switch. |
|
|
349 | |
340 | =item connect = ondemand|never|always|disabled |
350 | =item connect = ondemand | never | always | disabled |
341 | |
351 | |
342 | Sets the connect mode (default: C<always>). It can be C<always> (always |
352 | Sets the connect mode (default: C<always>). It can be C<always> (always |
343 | try to establish and keep a conenction to the given host), C<never> |
353 | try to establish and keep a connection to the given host), C<never> |
344 | (nevr initiate a connection to the given host, but accept connections), |
354 | (nevr initiate a connection to the given host, but accept connections), |
345 | C<ondemand> (try to establish a connection on the first packet sent, and |
355 | C<ondemand> (try to establish a connection on the first packet sent, and |
346 | take it down after the keepalive interval) or C<disabled> (node is bad, |
356 | take it down after the keepalive interval) or C<disabled> (node is bad, |
347 | don't talk to it). |
357 | don't talk to it). |
348 | |
358 | |