Decrement TTL of incoming packets.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 20 Feb 2012 15:34:02 +0000 (16:34 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 20 Feb 2012 15:34:02 +0000 (16:34 +0100)
commit0233b1d710222cb09be0cbd08c1297e3ece38a9f
treeef6e50088967ca554ffe7af976c38d5a94403b10
parent6289859ab365dc1c0d420323174418b316b14502
Decrement TTL of incoming packets.

Tinc will now, by default, decrement the TTL field of incoming IPv4 and IPv6
packets, before forwarding them to the virtual network device or to another
node. Packets with a TTL value of zero will be dropped, and an ICMP Time
Exceeded message will be sent back.

This behaviour can be disabled using the DecrementTTL option.
doc/tinc.conf.5.in
doc/tinc.texi
src/net_setup.c
src/route.c
src/route.h