summaryrefslogtreecommitdiffstats
path: root/etc/hosts.allow
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-07-19 13:05:58 +0000
committerume <ume@FreeBSD.org>2000-07-19 13:05:58 +0000
commit2988979ab5899a26edd8ffbaeae8da177220e24b (patch)
treea4d1278b716b95f2549a4e0a1e879b3b9a98c5c3 /etc/hosts.allow
parent01a450a5668fe83990200f0ce65d802f62bbc509 (diff)
downloadFreeBSD-src-2988979ab5899a26edd8ffbaeae8da177220e24b.zip
FreeBSD-src-2988979ab5899a26edd8ffbaeae8da177220e24b.tar.gz
Add some examples for IPv6 addresses.
PR: conf/18614 Submitted by: James Housley <jim@thehousleys.net>
Diffstat (limited to 'etc/hosts.allow')
-rw-r--r--etc/hosts.allow6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/hosts.allow b/etc/hosts.allow
index 0cdc4d9..8f9aa22 100644
--- a/etc/hosts.allow
+++ b/etc/hosts.allow
@@ -34,6 +34,12 @@ ALL : PARANOID : RFC931 20 : deny
ALL : localhost 127.0.0.1 : allow
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
+
# Sendmail can help protect you against spammers and relay-rapers
sendmail : localhost : allow
sendmail : .nice.guy.example.com : allow
OpenPOWER on IntegriCloud