aboutsummaryrefslogtreecommitdiff
path: root/etc/hosts.allow
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2001-03-20 21:02:39 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2001-03-20 21:02:39 +0000
commit527464e99975e1a5f89032615dfa02f988a4df35 (patch)
tree6fabf2d96e32134a23dbec20975c8c3529fbe1df /etc/hosts.allow
parentfa87b7ea70503f3b4fe06de227e836e794656f7f (diff)
Notes
Diffstat (limited to 'etc/hosts.allow')
-rw-r--r--etc/hosts.allow8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/hosts.allow b/etc/hosts.allow
index 8f9aa22ab0c7d..8b97752215e64 100644
--- a/etc/hosts.allow
+++ b/etc/hosts.allow
@@ -30,7 +30,7 @@ ALL : ALL : allow
ALL : PARANOID : RFC931 20 : deny
# Allow anything from localhost. Note that an IP address (not a host
-# name) *MUST* be specified for portmap(8).
+# name) *MUST* be specified for rpcbind(8).
ALL : localhost 127.0.0.1 : allow
ALL : my.machine.example.com 192.0.2.35 : allow
@@ -54,9 +54,9 @@ exim : ALL : allow
# Portmapper is used for all RPC services; protect your NFS!
# (IP addresses rather than hostnames *MUST* be used here)
-portmap : 192.0.2.32/255.255.255.224 : allow
-portmap : 192.0.2.96/255.255.255.224 : allow
-portmap : ALL : deny
+rpcbind : 192.0.2.32/255.255.255.224 : allow
+rpcbind : 192.0.2.96/255.255.255.224 : allow
+rpcbind : ALL : deny
# Provide a small amount of protection for ftpd
ftpd : localhost : allow