diff options
author | ume <ume@FreeBSD.org> | 2000-07-19 13:05:58 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-07-19 13:05:58 +0000 |
commit | 2988979ab5899a26edd8ffbaeae8da177220e24b (patch) | |
tree | a4d1278b716b95f2549a4e0a1e879b3b9a98c5c3 | |
parent | 01a450a5668fe83990200f0ce65d802f62bbc509 (diff) | |
download | FreeBSD-src-2988979ab5899a26edd8ffbaeae8da177220e24b.zip FreeBSD-src-2988979ab5899a26edd8ffbaeae8da177220e24b.tar.gz |
Add some examples for IPv6 addresses.
PR: conf/18614
Submitted by: James Housley <jim@thehousleys.net>
-rw-r--r-- | etc/hosts.allow | 6 |
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 |