diff options
author | hrs <hrs@FreeBSD.org> | 2010-09-13 19:55:40 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2010-09-13 19:55:40 +0000 |
commit | ab8bbcbaf3da367884596f7a107151c3852c48bd (patch) | |
tree | 56f941df7e485c288db2471ec30c321abcef95f6 /etc/defaults/rc.conf | |
parent | 462966ddac145fa0788ab9edcb608fa765a3225a (diff) | |
download | FreeBSD-src-ab8bbcbaf3da367884596f7a107151c3852c48bd.zip FreeBSD-src-ab8bbcbaf3da367884596f7a107151c3852c48bd.tar.gz |
Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces.
The $ip6addrctl_policy is a variable to choose a pre-defined address
selection policy set by ip6addrctl(8).
The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3,
the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484,
respectively. When "AUTO" is specified, it attempts to read
/etc/ip6addrctl.conf first. If it is found, it reads and installs it as
a policy table. If not, either of the two pre-defined policy tables is
chosen automatically according to $ipv6_activate_all_interfaces.
When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding
$ifconfig_IF_ipv6 is marked as IFDISABLED for security reason.
The default values are ip6addrctl_policy=AUTO and
ipv6_activate_all_interfaces=NO.
Discussed with: ume and bz
Diffstat (limited to 'etc/defaults/rc.conf')
-rw-r--r-- | etc/defaults/rc.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index b041f15..10213fe 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -446,6 +446,10 @@ icmp_bmcastecho="NO" # respond to broadcast ping packets ### IPv6 options: ### ipv6_network_interfaces="auto" # List of IPv6 network interfaces # (or "auto" or "none"). +ipv6_activate_all_interfaces="NO" # If NO, interfaces which have no + # corresponding $ifconfig_IF_ipv6 is + # marked as IFDISABLED for security + # reason. ipv6_defaultrouter="NO" # Set to IPv6 default gateway (or NO). #ipv6_defaultrouter="2002:c058:6301::" # Use this for 6to4 (RFC 3068) ipv6_static_routes="" # Set to static route list (or leave empty). @@ -506,7 +510,8 @@ ipv6_ipfilter_rules="/etc/ipf6.rules" # rules definition file for ipfilter, # for examples ip6addrctl_enable="YES" # Set to YES to enable default address selection ip6addrctl_verbose="NO" # Set to YES to enable verbose configuration messages -ipv6_prefer="NO" # Use IPv6 when both IPv4 and IPv6 can be used +ip6addrctl_policy="AUTO" # A pre-defined address selection policy + # (ipv4_prefer, ipv6_prefer, or AUTO) ############################################################## ### System console options ################################# |