summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-25 23:05:22 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-25 23:05:22 +0000
commit822d0c8cc56168667cb6cff89ab6d3008f0cf2f8 (patch)
tree0195d847b3b195a3b04cc897d9a1576c25a1954e /sys-apps/tcp-wrappers/files
parentremove fomit-frame-pointer when debug is in USE #39377 (diff)
downloadgentoo-2-822d0c8cc56168667cb6cff89ab6d3008f0cf2f8.tar.gz
gentoo-2-822d0c8cc56168667cb6cff89ab6d3008f0cf2f8.tar.bz2
gentoo-2-822d0c8cc56168667cb6cff89ab6d3008f0cf2f8.zip
add sample hosts.allow #20073
Diffstat (limited to 'sys-apps/tcp-wrappers/files')
-rw-r--r--sys-apps/tcp-wrappers/files/hosts.allow.example17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-apps/tcp-wrappers/files/hosts.allow.example b/sys-apps/tcp-wrappers/files/hosts.allow.example
new file mode 100644
index 000000000000..c473eb95155e
--- /dev/null
+++ b/sys-apps/tcp-wrappers/files/hosts.allow.example
@@ -0,0 +1,17 @@
+# For more information, please see the hosts.allow(5) manpage
+
+# Rule format:
+# daemon : client list
+# The value for 'daemon' is determined by the name of the binary.
+# OpenSSH runs as 'sshd' so you would use 'sshd' for 'daemon'.
+# Client list can be a list of ip's or hostnames.
+
+# Allow only sshd connections from ips matching 192.168.0.*
+#sshd: 192.168.0.
+
+# Only allow sendmail connections from the localhost
+#sendmail: localhost
+
+# Allow everyone from foobar.edu to access everything except for
+# the terminalserver
+#ALL: .foobar.edu EXCEPT terminalserver.foobar.edu