summaryrefslogtreecommitdiffstats
path: root/etc/hosts.allow
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-11-25 03:00:44 +0000
committerobrien <obrien@FreeBSD.org>1999-11-25 03:00:44 +0000
commitbc55786850e1729c2766de25bd91b77aa746a313 (patch)
treee07189acee9965135c3a3505ca1978cbae9fcd67 /etc/hosts.allow
parent659744dd680c1a3b687114418f335118208cdd2f (diff)
downloadFreeBSD-src-bc55786850e1729c2766de25bd91b77aa746a313.zip
FreeBSD-src-bc55786850e1729c2766de25bd91b77aa746a313.tar.gz
MFS: note that only IP addresses work when wrapping the portmapper.
Make clearer we consider this only an example, and admins should really write this file for their needs.
Diffstat (limited to 'etc/hosts.allow')
-rw-r--r--etc/hosts.allow12
1 files changed, 10 insertions, 2 deletions
diff --git a/etc/hosts.allow b/etc/hosts.allow
index d8645a5..67f0ba0 100644
--- a/etc/hosts.allow
+++ b/etc/hosts.allow
@@ -7,8 +7,15 @@
# see hosts_options(5) for the format of this file.
# hosts_access(5) no longer fully applies.
-# This is an example! You will need to modify it for your specific
-# requirements!
+# _____ _ _
+# | ____| __ __ __ _ _ __ ___ _ __ | | ___ | |
+# | _| \ \/ / / _` | | '_ ` _ \ | '_ \ | | / _ \ | |
+# | |___ > < | (_| | | | | | | | | |_) | | | | __/ |_|
+# |_____| /_/\_\ \__,_| |_| |_| |_| | .__/ |_| \___| (_)
+# |_|
+# !!! This is an example! You will need to modify it for your specific
+# !!! requirements!
+
# Start by allowing everything (this prevents the rest of the file
# from working, so remove it when you need protection).
@@ -39,6 +46,7 @@ exim : .evil.cracker.example.com : deny
exim : ALL : allow
# Portmapper is used for all RPC services; protect your NFS!
+# (IP addresses rather than hostnames *MUST* be used here)
portmap : localhost : allow
portmap : .nice.guy.example.com : allow
portmap : .evil.cracker.example.com : deny
OpenPOWER on IntegriCloud