summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldpd/labelmapping.c
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2016-07-01 18:37:15 +0000
committerjca <jca@openbsd.org>2016-07-01 18:37:15 +0000
commit502cfe9407e8bf16b8f49301f05c88d69c188714 (patch)
tree99df9866b851e62c2ace13e1d9f9c9ee7c24783c /usr.sbin/ldpd/labelmapping.c
parentAllow resetting the IP_TTL and IP_MINTTL sockopts (diff)
downloadwireguard-openbsd-502cfe9407e8bf16b8f49301f05c88d69c188714.tar.xz
wireguard-openbsd-502cfe9407e8bf16b8f49301f05c88d69c188714.zip
Make accepted sockets inherit IP_TTL from the listening socket.
This is consistent with the IPV6_UNICAST_HOPS behavior, and is the only way to allow applications to completely control the TTL of outgoing packets (else an application could temporariy send packets with the default TTL, until it sets again IP_TTL ; this is harmful eg for GTSM). ok bluhm@
Diffstat (limited to 'usr.sbin/ldpd/labelmapping.c')
0 files changed, 0 insertions, 0 deletions