Only send small packets during UDP probes.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 11 Jan 2015 12:53:16 +0000 (13:53 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 11 Jan 2015 12:53:16 +0000 (13:53 +0100)
commitce7079f4af3157eaef514d6d160933a016b2ab62
tree2627b3b65fdc377c4f2f076d133852e764792d95
parente4077c00c6fead63467d296c89d5afc2860e2935
Only send small packets during UDP probes.

We are trying to decouple UDP probing from MTU probing, so only send
very small packets during UDP probing. This significantly reduces the
amount of traffic sent (54 to 67 bytes per probe instead of 1500 bytes).

This means the MTU probing code takes over sending PMTU sized probes,
but this commit does not take care of detecting PMTU decreases.
src/net_packet.c