Displaying 3 results from an estimated 3 matches for "udp_ping_sent".
2018 Dec 16
2
Bugg: UDPDiscoveryInterval has no effect?
Hi
I’ve noticed a large amount of UDP probe packets in my system. The default
udp_discovery_interval
is very low so I tried to increase it with configs
UDPDiscoveryInterval
UDPDiscoveryKeepaliveInterval
However, this doesn’t work! Every second a probe is sent no matter what.
After some digging in the sources I found that the interval timer is cleared
in
udp_probe_h()
which causes
try_udp()
2018 Dec 18
0
Bugg: UDPDiscoveryInterval has no effect?
...auses
> try_udp()
> to send probes again and again... Removing the timer clear made config
> UDPDiscoveryInterval to start work, but a side effect seems to be incorrect
> rtt calculations in tinc. Is this a bug or a known issue? Version used is
> 1.1pre17.
It is a bug. The timer udp_ping_sent should not have been zeroed,
instead we need to keep track of whether we have a probe in flight in
another place. I've just committed a patch to the 1.1 branch that
hopefully solves this issue. Please try it out if possible, and let us
know whether this fixes the issue for you!
--
Met vriende...
2018 Dec 19
1
Bugg: UDPDiscoveryInterval has no effect?
...> to send probes again and again... Removing the timer clear made config
> > UDPDiscoveryInterval to start work, but a side effect seems to be
> > incorrect rtt calculations in tinc. Is this a bug or a known issue?
> > Version used is 1.1pre17.
>
> It is a bug. The timer udp_ping_sent should not have been zeroed,
> instead we need to keep track of whether we have a probe in flight in
> another place. I've just committed a patch to the 1.1 branch that
> hopefully solves this issue. Please try it out if possible, and let us
> know whether this fixes the issue for y...