freebsd-dev/sbin/ifconfig
Bjoern A. Zeeb 21231a7aa6 Update for IETF draft-ietf-6man-ipv6only-flag.
All changes are hidden behind the EXPERIMENTAL option and are not compiled
in by default.

Add ND6_IFF_IPV6_ONLY_MANUAL to be able to set the interface into no-IPv4-mode
manually without router advertisement options.  This will allow developers to
test software for the appropriate behaviour even on dual-stack networks or
IPv6-Only networks without the option being set in RA messages.
Update ifconfig to allow setting and displaying the flag.

Update the checks for the filters to check for either the automatic or the manual
flag to be set.  Add REVARP to the list of filtered IPv4-related protocols and add
an input filter similar to the output filter.

Add a check, when receiving the IPv6-Only RA flag to see if the receiving
interface has any IPv4 configured.  If it does, ignore the IPv6-Only flag.

Add a per-VNET global sysctl, which is on by default, to not process the automatic
RA IPv6-Only flag.  This way an administrator (if this is compiled in) has control
over the behaviour in case the node still relies on IPv4.
2019-03-06 23:31:42 +00:00
..
tests
af_inet6.c Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
af_inet.c ifconfig: eliminate trailing whitespace 2019-02-26 03:34:47 +00:00
af_link.c
af_nd6.c Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
carp.c
ifbridge.c
ifclone.c
ifconfig.8
ifconfig.c ifconfig: eliminate trailing whitespace 2019-02-26 03:34:47 +00:00
ifconfig.h
iffib.c
ifgif.c
ifgre.c
ifgroup.c ifconfig: eliminate trailing whitespace 2019-02-26 03:34:47 +00:00
ifieee80211.c
ifipsec.c
iflagg.c
ifmac.c
ifmedia.c
ifpfsync.c
ifvlan.c
ifvxlan.c
Makefile Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
Makefile.depend
sfp.c