Use a different UDP discovery interval if the tunnel is established.
authorEtienne Dechamps <etienne@edechamps.fr>
Sat, 3 Jan 2015 10:05:57 +0000 (10:05 +0000)
committerEtienne Dechamps <etienne@edechamps.fr>
Sat, 3 Jan 2015 10:12:36 +0000 (10:12 +0000)
commit07108117ceddaff0654f9def703e717c002f3e2d
tree87e3504d607060893908b10c184d72d506894b12
parent06345f89b9a1e9acaf74cbbf896559b4286c102e
Use a different UDP discovery interval if the tunnel is established.

This introduces a new configuration option,
UDPDiscoveryKeepaliveInterval, which is used as the UDP discovery
interval once the UDP tunnel is established. The pre-existing option,
UDPDiscoveryInterval, is therefore only used before UDP connectivity
is established.

The defaults are set so that tinc sends UDP pings more aggressively
if the tunnel is not established yet. This is appropriate since the
size of probes in that scenario is very small (16 bytes).
bash_completion.d/tinc
doc/tinc.conf.5.in
doc/tinc.texi
src/net.h
src/net_packet.c
src/net_setup.c
src/tincctl.c