summaryrefslogtreecommitdiffstats
path: root/share/man/man4/inet6.4
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-03-12 18:09:58 +0000
committershin <shin@FreeBSD.org>2000-03-12 18:09:58 +0000
commit6962f77cb940ad4d12b0792fef5abb7a228c71f6 (patch)
tree2781e7e80aa966349f2e96289451fa7d8d68b36c /share/man/man4/inet6.4
parent121378791cc5cb702ae931a926a535151fd49e6d (diff)
downloadFreeBSD-src-6962f77cb940ad4d12b0792fef5abb7a228c71f6.zip
FreeBSD-src-6962f77cb940ad4d12b0792fef5abb7a228c71f6.tar.gz
Import from KAME. Mainly, IPv6 sysctl mib values related update.
Obtained from: KAME project
Diffstat (limited to 'share/man/man4/inet6.4')
-rw-r--r--share/man/man4/inet6.4158
1 files changed, 152 insertions, 6 deletions
diff --git a/share/man/man4/inet6.4 b/share/man/man4/inet6.4
index 8d6c2f2..c737c71 100644
--- a/share/man/man4/inet6.4
+++ b/share/man/man4/inet6.4
@@ -111,12 +111,16 @@ field to 0, or by using the address contained in the variable
.Dv in6addr_any .
.Pp
IPv6 defines scoped addresses such as link-local or site-local addresses.
-To manipulate link-local addresses properly from the userland,
+A scoped address is ambiguous to the kernel,
+if it is specified without scope identifier.
+To manipulate scoped addresses properly from the userland,
programs must use the advanced API defined in RFC2292.
-Otherwise, the address is ambiguous to the kernel and
-an error will be generated.
-Scoped addressing is not for daily use at this time, and is discouraged
-both by the specifications and specific implementations.
+Compact description on the advanced API is available in
+.Xr ip6 4 .
+If scoped addresses are specified without explicit scope,
+the kernel may raise error.
+Note that scoped addresses are not for daily use at this moment,
+both from specification and implementation point of view.
.Pp
FreeBSD's IPv6 implementation supports extended numeric IPv6 address
notation for link-local addresses,
@@ -274,13 +278,146 @@ message protocol is accessible from a raw socket.
.\" will trigger the mechanism; whereas raw
.\" .Tn IP
.\" packets, whether locally-generated or forwarded, will not.
+.Sh MIB VARIABLES
+A number of variables are implemented in the net.inet6 branch of the
+.Xr sysctl 3
+MIB. In addition to the variables supported by the transport
+protocols (for which see the respective manual pages), the following
+general variables are defined:
+.Bl -tag -width IPV6CTL_MAXFRAGPACKETS
+.It Dv IPV6CTL_FORWARDING
+.Pq ip6.forwarding
+Boolean: enable/disable forwarding of
+.Tn IPv6
+packets.
+Also, identify if the node is acting as a router.
+Defaults to off.
+.It Dv IPV6CTL_SENDREDIRECTS
+.Pq ip6.redirect
+Boolean: enable/disable sending of
+.Tn ICMPv6
+redirects in response to unforwardable
+.Tn IPv6
+packets.
+This option is ignored unless the node is routing
+.Tn IPv6
+packets,
+and should normally be enabled on all systems.
+Defaults to on.
+.It Dv IPV6CTL_DEFHLIM
+.Pq ip6.hlim
+Integer: default hop limit value to use for outgoing
+.Tn IPv6
+packets.
+This value applies to all the transport protocols on top of
+.Tn IPv6 .
+There are APIs to override the value.
+.It Dv IPV6CTL_MAXFRAGPACKETS
+.Pq ip6.maxfragpackets
+Integer: default maximum number of fragmented packets the node will accept.
+0 means that the node will not accept any fragmented packets.
+-1 means that the node will accept as many fragmented packets as it receives.
+The flag is provided basically for avoiding possible DoS attacks.
+.It Dv IPV6CTL_ACCEPT_RTADV
+.Pq ip6.accept_rtadv
+Boolean: enable/disable receiving of
+.Tn ICMPv6
+router advertisement packets,
+and autoconfiguration of address prefixes and default routers.
+The node must be a host
+.Pq not a router
+for the option to be meaningful.
+Defaults to off.
+.It Dv IPV6CTL_KEEPFAITH
+.Pq ip6.keepfaith
+Boolean: enable/disable
+.Dq FAITH
+TCP relay IPv6-to-IPv4 translator code in the kernel.
+Refer
+.Xr faith 4
+and
+.Xr faithd 8
+for detail.
+Defaults to off.
+.It Dv IPV6CTL_LOG_INTERVAL
+.Pq ip6.log_interval
+Integer: default interval between
+.Tn IPv6
+packet forwarding engine log output
+.Pq in seconds .
+.It Dv IPV6CTL_HDRNESTLIMIT
+.Pq ip6.hdrnestlimit
+Integer: default number of the maximum
+.Tn IPv6
+extension headers
+permitted on incoming
+.Tn IPv6
+packets.
+If set to 0, the node will accept as many extension headers as possible.
+.It Dv IPV6CTL_DAD_COUNT
+.Pq ip6.dad_count
+Integer: default number of
+.Tn IPv6
+DAD
+.Pq duplicated address detection
+probe packets.
+The packets will be generated when
+.Tn IPv6
+interface addresses are configured.
+.It Dv IPV6CTL_AUTO_FLOWLABEL
+.Pq ip6.auto_flowlabel
+Boolean: enable/disable automatic filling of
+.Tn IPv6
+flowlabel field, for outstanding connected transport protocol packets.
+The field might be used by intermediate routers to identify packet flows.
+Defaults to on.
+.It Dv IPV6CTL_DEFMCASTHLIM
+.Pq ip6.defmcasthlim
+Integer: default hop limit value for an
+.Tn IPv6
+multicast packet sourced by the node.
+This value applies to all the transport protocols on top of
+.Tn IPv6 .
+There are APIs to override the value as documented in
+.Xr ip6 4 .
+.It Dv IPV6CTL_GIF_HLIM
+.Pq ip6.gifhlim
+Integer: default maximum hop limit value for an
+.Tn IPv6
+packet generated by
+.Xr gif 4
+tunnel interface.
+.It Dv IPV6CTL_KAME_VERSION
+.Pq ip6.kame_version
+String: identifies the version of KAME
+.Tn IPv6
+stack implemented in the kernel.
+.It Dv IPV6CTL_USE_DEPRECATED
+.Pq ip6.use_deprecated
+Boolean: enable/disable use of deprecated address,
+specified in RFC2462 5.5.4.
+Defaults to on.
+.It Dv IPV6CTL_RR_PRUNE
+.Pq ip6.rr_prune
+Integer: default interval between
+.Tn IPv6
+router renumbering prefix babysitting, in seconds.
+.It Dv IPV6CTL_MAPPED_ADDR
+.Pq ip6.mapped_addr
+Boolean: enable/disable use of
+.Tn IPv4
+mapped address on
+.Dv AF_INET6
+sockets.
+Defaults to on.
+.El
.Sh SEE ALSO
.Xr ioctl 2 ,
.Xr socket 2 ,
.Xr sysctl 3 ,
.Xr icmp6 4 ,
.Xr intro 4 ,
-.\" .Xr ip6 4 ,
+.Xr ip6 4 ,
.Xr tcp 4 ,
.Xr ttcp 4 ,
.Xr udp 4
@@ -295,6 +432,15 @@ code as much as possible, as you will need to support both
.Xr inet 4
and
.Nm inet6 .
+.Sh STANDARDS
+.Rs
+.%A Tatsuya Jinmei
+.%A Atsushi Onoe
+.%T "An Extension of Format for IPv6 Scoped Addresses"
+.%R internet draft
+.%N draft-ietf-ipngwg-scopedaddr-format-00.txt
+.%O work in progress material
+.Re
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud