summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-08-03 08:58:34 +0000
committerume <ume@FreeBSD.org>2004-08-03 08:58:34 +0000
commitaedc433cf36288de98437f3d9a41b9380f81a498 (patch)
tree3009d0fe11833b31bb51b134ec6717b6682a5da2
parent3da15542da591d4ee0ee34595e0d65a232cb95a7 (diff)
downloadFreeBSD-src-aedc433cf36288de98437f3d9a41b9380f81a498.zip
FreeBSD-src-aedc433cf36288de98437f3d9a41b9380f81a498.tar.gz
Use RFC 3849 address for examples.
Pointed out by: mistral@imasy.or.jp MFC after: 1 week
-rw-r--r--etc/hosts.allow4
-rw-r--r--etc/rc.firewall612
2 files changed, 8 insertions, 8 deletions
diff --git a/etc/hosts.allow b/etc/hosts.allow
index 3367bb6..47d57d1 100644
--- a/etc/hosts.allow
+++ b/etc/hosts.allow
@@ -42,8 +42,8 @@ ALL : my.machine.example.com 192.0.2.35 : allow
# To use IPv6 addresses you must enclose them in []'s
ALL : [fe80::%fxp0]/10 : allow
ALL : [fe80::]/10 : deny
-ALL : [3ffe:fffe:2:1:2:3:4:3fe1] : deny
-ALL : [3ffe:fffe:2:1::]/64 : allow
+ALL : [2001:db8:2:1:2:3:4:3fe1] : deny
+ALL : [2001:db8:2:1::]/64 : allow
# Sendmail can help protect you against spammers and relay-rapers
sendmail : localhost : allow
diff --git a/etc/rc.firewall6 b/etc/rc.firewall6
index e4a345c..289b7dc 100644
--- a/etc/rc.firewall6
+++ b/etc/rc.firewall6
@@ -115,9 +115,9 @@ case ${ipv6_firewall_type} in
#
# This needs more work
#
- net="3ffe:505:2:1::"
+ net="2001:db8:2:1::"
prefixlen="64"
- ip="3ffe:505:2:1::1"
+ ip="2001:db8:2:1::1"
setup_local
@@ -172,15 +172,15 @@ case ${ipv6_firewall_type} in
# set these to your outside interface network and prefixlen and ip
oif="ed0"
- onet="3ffe:505:2:1::"
+ onet="2001:db8:2:1::"
oprefixlen="64"
- oip="3ffe:505:2:1::1"
+ oip="2001:db8:2:1::1"
# set these to your inside interface network and prefixlen and ip
iif="ed1"
- inet="3ffe:505:2:2::"
+ inet="2001:db8:2:2::"
iprefixlen="64"
- iip="3ffe:505:2:2::1"
+ iip="2001:db8:2:2::1"
setup_local
OpenPOWER on IntegriCloud