summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-06-28 17:32:59 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-06-28 17:32:59 +0000
commit5115df5ab38bc5d8573c4a9d74d65e426e906030 (patch)
tree26110922956a1ce804600bbec6249b4b49000544 /share
parent72b4c040ee965b0a0615a99e28bca9297209dfbe (diff)
IP_MINTTL and IPV6_MINHOPCOUNT work on TCP and UDP sockets
Input from and ok bluhm@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/ip.49
-rw-r--r--share/man/man4/ip6.44
2 files changed, 6 insertions, 7 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 111432ba67a..b8daeb47ed8 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ip.4,v 1.38 2015/10/20 22:08:19 jmc Exp $
+.\" $OpenBSD: ip.4,v 1.39 2016/06/28 17:32:58 jca Exp $
.\" $NetBSD: ip.4,v 1.3 1994/11/30 16:22:19 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)ip.4 8.2 (Berkeley) 11/30/93
.\"
-.Dd $Mdocdate: October 20 2015 $
+.Dd $Mdocdate: June 28 2016 $
.Dt IP 4
.Os
.Sh NAME
@@ -201,9 +201,8 @@ cmsg_type = IP_RECVTTL
.Pp
The
.Dv IP_MINTTL
-option may be used on
-.Dv SOCK_STREAM
-sockets to discard packets with a TTL lower than the option value.
+option may be used on TCP and UDP sockets to discard packets with a TTL
+lower than the option value.
This can be used to implement the
.Em Generalized TTL Security Mechanism (GTSM)
according to RFC 5082.
diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4
index 497506462f7..8acb7a76204 100644
--- a/share/man/man4/ip6.4
+++ b/share/man/man4/ip6.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ip6.4,v 1.39 2016/06/28 11:23:57 jca Exp $
+.\" $OpenBSD: ip6.4,v 1.40 2016/06/28 17:32:58 jca Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -146,7 +146,7 @@ datagrams sent on this socket.
A value of \-1 resets to the default value.
.It Dv IPV6_MINHOPCOUNT Fa "int *"
Get or set the minimum hop limit header field for incoming
-packets received on this socket.
+packets received on TCP and UDP sockets.
This can be used to implement the
.Em Generalized TTL Security Mechanism (GTSM)
according to RFC 5082.