diff options
author | pjd <pjd@FreeBSD.org> | 2009-06-01 10:30:52 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2009-06-01 10:30:52 +0000 |
commit | 3683dec3736f1a8cb93ab52595216d6f60c54ca4 (patch) | |
tree | 0296e3ef759a5b35bf50a7fa2634ca51c2e70016 /share/man/man4/ip.4 | |
parent | 5243d2d206ac372ee679c11bde715a4a4f2f93fd (diff) | |
download | FreeBSD-src-3683dec3736f1a8cb93ab52595216d6f60c54ca4.zip FreeBSD-src-3683dec3736f1a8cb93ab52595216d6f60c54ca4.tar.gz |
Document IP_BINDANY IP socket option.
Reviewed by: brueffer
Diffstat (limited to 'share/man/man4/ip.4')
-rw-r--r-- | share/man/man4/ip.4 | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4 index 72d0490..9bf9140 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 9, 2009 +.Dd June 1, 2009 .Dt IP 4 .Os .Sh NAME @@ -243,6 +243,23 @@ socket level option, otherwise the .Dv IP_ONESBCAST option has no effect. .Pp If the +.Dv IP_BINDANY +option is enabled on a +.Dv SOCK_STREAM , +.Dv SOCK_DGRAM +or a +.Dv SOCK_RAW +socket, one can +.Xr bind 2 +to any address, even one not bound to any available network interface in the +system. +This functionality (in conjunction with special firewall rules) can be used for +implementing a transparent proxy. +The +.Dv PRIV_NETINET_BINDANY +privilege is needed to set this option. +.Pp +If the .Dv IP_RECVTTL option is enabled on a .Dv SOCK_DGRAM |