diff options
Diffstat (limited to 'share/man/man4')
-rw-r--r-- | share/man/man4/ip.4 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4 index 65dd308..4e9b1fc 100644 --- a/share/man/man4/ip.4 +++ b/share/man/man4/ip.4 @@ -32,7 +32,7 @@ .\" @(#)ip.4 8.2 (Berkeley) 11/30/93 .\" $FreeBSD$ .\" -.Dd March 23, 2005 +.Dd August 22, 2005 .Dt IP 4 .Os .Sh NAME @@ -113,6 +113,14 @@ int ttl = 60; /* max = 255 */ setsockopt(s, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); .Ed .Pp +.Dv 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. +This option is only really useful when set to 255 preventing packets +from outside the directly connected networks reaching local listeners +on sockets. +.Pp If the .Dv IP_RECVDSTADDR option is enabled on a |