Deleted Added
full compact
hosts.allow (56585) hosts.allow (57284)
1#
2# hosts.allow access control file for "tcp wrapped" applications.
1#
2# hosts.allow access control file for "tcp wrapped" applications.
3# $FreeBSD: head/etc/hosts.allow 56585 2000-01-25 11:25:59Z obrien $
3# $FreeBSD: head/etc/hosts.allow 57284 2000-02-17 04:52:23Z jkh $
4#
5# NOTE: The hosts.deny file is no longer used.
6# Instead, put both 'allow' and 'deny' rules in the hosts.allow file.
7# See hosts_options(5) for the format of this file.
8# hosts_access(5) no longer fully applies.
9
10# _____ _ _
11# | ____| __ __ __ _ _ __ ___ _ __ | | ___ | |

--- 48 unchanged lines hidden (view full) ---

60
61# You need to be clever with finger; do _not_ backfinger!! You can easily
62# start a "finger war".
63fingerd : ALL \
64 : spawn (echo Finger. | \
65 /usr/bin/mail -s "tcpd\: %u@%h[%a] fingered me!" root) & \
66 : deny
67
4#
5# NOTE: The hosts.deny file is no longer used.
6# Instead, put both 'allow' and 'deny' rules in the hosts.allow file.
7# See hosts_options(5) for the format of this file.
8# hosts_access(5) no longer fully applies.
9
10# _____ _ _
11# | ____| __ __ __ _ _ __ ___ _ __ | | ___ | |

--- 48 unchanged lines hidden (view full) ---

60
61# You need to be clever with finger; do _not_ backfinger!! You can easily
62# start a "finger war".
63fingerd : ALL \
64 : spawn (echo Finger. | \
65 /usr/bin/mail -s "tcpd\: %u@%h[%a] fingered me!" root) & \
66 : deny
67
68# The rest of the daemons are protected. Backfinger and log by email.
68# The rest of the daemons are protected.
69ALL : ALL \
69ALL : ALL \
70 : severity auth.info : spawn (/usr/bin/finger -l @%h | \
71 /usr/bin/mail -s "tcpd\: %u@%h[%a] tried to use %d (denied)" root) & \
70 : severity auth.info \
72 : twist /bin/echo "You are not welcome to use %d from %h."
71 : twist /bin/echo "You are not welcome to use %d from %h."