diff options
author | andre <andre@FreeBSD.org> | 2005-08-22 16:14:53 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-08-22 16:14:53 +0000 |
commit | efa833e8d9137718daf5337ef6f86c2cff8916a8 (patch) | |
tree | b526f673429b8bab2ea847569981544a2aad0915 /share | |
parent | 573a9535a81268ee8fa937d020dad86235127d2c (diff) | |
download | FreeBSD-src-efa833e8d9137718daf5337ef6f86c2cff8916a8.zip FreeBSD-src-efa833e8d9137718daf5337ef6f86c2cff8916a8.tar.gz |
Document IP_MINTTL socket option.
MFC after: 2 weeks
Sponsored by: TCP/IP Optimization Fundraise 2005
Diffstat (limited to 'share')
-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 |