ip.4 (130556) | ip.4 (130582) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)ip.4 8.2 (Berkeley) 11/30/93 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)ip.4 8.2 (Berkeley) 11/30/93 |
33.\" $FreeBSD: head/share/man/man4/ip.4 130556 2004-06-16 05:04:17Z bms $ | 33.\" $FreeBSD: head/share/man/man4/ip.4 130582 2004-06-16 08:33:57Z ru $ |
34.\" 35.Dd June 14, 2004 36.Dt IP 4 37.Os 38.Sh NAME 39.Nm ip 40.Nd Internet Protocol 41.Sh SYNOPSIS --- 279 unchanged lines hidden (view full) --- 321values above. 322Changing these values departs from 323.Ux 324tradition and has security 325consequences that the administrator should carefully evaluate before 326modifying these settings. 327.Pp 328Ports are allocated at random within the specified port range in order | 34.\" 35.Dd June 14, 2004 36.Dt IP 4 37.Os 38.Sh NAME 39.Nm ip 40.Nd Internet Protocol 41.Sh SYNOPSIS --- 279 unchanged lines hidden (view full) --- 321values above. 322Changing these values departs from 323.Ux 324tradition and has security 325consequences that the administrator should carefully evaluate before 326modifying these settings. 327.Pp 328Ports are allocated at random within the specified port range in order |
329to increase the difficulty of random spoofing attacks. In scenarios 330such as benchmarking, this behavior may be undesireable. In these 331cases, | 329to increase the difficulty of random spoofing attacks. 330In scenarios such as benchmarking, this behavior may be undesireable. 331In these cases, |
332.Va net.inet.ip.portrange.randomized 333can be used to toggle randomization off. 334.Ss "Multicast Options" 335.Pp 336.Tn IP 337multicasting is supported only on 338.Dv AF_INET 339sockets of type --- 86 unchanged lines hidden (view full) --- 426is the following structure: 427.Bd -literal 428struct ip_mreq { 429 struct in_addr imr_multiaddr; /* IP multicast address of group */ 430 struct in_addr imr_interface; /* local IP address of interface */ 431} 432.Ed 433.Pp | 332.Va net.inet.ip.portrange.randomized 333can be used to toggle randomization off. 334.Ss "Multicast Options" 335.Pp 336.Tn IP 337multicasting is supported only on 338.Dv AF_INET 339sockets of type --- 86 unchanged lines hidden (view full) --- 426is the following structure: 427.Bd -literal 428struct ip_mreq { 429 struct in_addr imr_multiaddr; /* IP multicast address of group */ 430 struct in_addr imr_interface; /* local IP address of interface */ 431} 432.Ed 433.Pp |
434.Dv imr_interface | 434.Va imr_interface |
435should be set to 436.Dv INADDR_ANY 437to choose the default multicast interface, 438or the 439.Tn IP 440address of a particular multicast-capable interface if 441the host is multihomed. 442Since 443.Fx 4.4 , 444if the | 435should be set to 436.Dv INADDR_ANY 437to choose the default multicast interface, 438or the 439.Tn IP 440address of a particular multicast-capable interface if 441the host is multihomed. 442Since 443.Fx 4.4 , 444if the |
445.Dv imr_interface | 445.Va imr_interface |
446member is within the network range 447.Li 0.0.0.0/8 , 448it is treated as an interface index in the system interface MIB, 449as per the RIP Version 2 MIB Extension (RFC-1724). 450.Pp 451Membership is associated with a single interface; 452programs running on multihomed hosts may need to 453join the same group on more than one interface. --- 167 unchanged lines hidden --- | 446member is within the network range 447.Li 0.0.0.0/8 , 448it is treated as an interface index in the system interface MIB, 449as per the RIP Version 2 MIB Extension (RFC-1724). 450.Pp 451Membership is associated with a single interface; 452programs running on multihomed hosts may need to 453join the same group on more than one interface. --- 167 unchanged lines hidden --- |