Date: Mon, 22 Aug 2005 16:13:09 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in.h in_pcb.h ip_output.c raw_ip.c tcp_input.c udp_usrreq.c Message-ID: <200508221613.j7MGD99U044692@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2005-08-22 16:13:09 UTC FreeBSD src repository Modified files: sys/netinet in.h in_pcb.h ip_output.c raw_ip.c tcp_input.c udp_usrreq.c Log: Add socketoption IP_MINTTL. May be used to set the minimum acceptable TTL a packet must have when received on a socket. All packets with a lower TTL are silently dropped. Works on already connected/connecting and listening sockets for RAW/UDP/TCP. This option is only really useful when set to 255 preventing packets from outside the directly connected networks reaching local listeners on sockets. Allows userland implementation of 'The Generalized TTL Security Mechanism (GTSM)' according to RFC3682. Examples of such use include the Cisco IOS BGP implementation command "neighbor ttl-security". MFC after: 2 weeks Sponsored by: TCP/IP Optimization Fundraise 2005 Revision Changes Path 1.91 +1 -0 src/sys/netinet/in.h 1.81 +1 -0 src/sys/netinet/in_pcb.h 1.245 +14 -0 src/sys/netinet/ip_output.c 1.151 +3 -0 src/sys/netinet/raw_ip.c 1.282 +5 -0 src/sys/netinet/tcp_input.c 1.176 +3 -0 src/sys/netinet/udp_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508221613.j7MGD99U044692>