On Tue, Jun 28, 2016 at 01:27:59PM +0200, Jeremie Courreges-Anglas wrote:
> IP_MINTTL also benefits from this.  Do we want to list SOCK_STREAM and
> SOCK_DRAM here, or use more generic language?

We should mention that it only works for TCP and UDP.  This is the
ip(4) man page so naming the protocols is more specific than talking
about the socket type.

bluhm

> 
> Index: ip.4
> ===================================================================
> RCS file: /cvs/src/share/man/man4/ip.4,v
> retrieving revision 1.38
> diff -u -p -p -u -r1.38 ip.4
> --- ip.4      20 Oct 2015 22:08:19 -0000      1.38
> +++ ip.4      28 Jun 2016 11:25:26 -0000
> @@ -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 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.
> 
> -- 
> jca | PGP: 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to