hosts.allow (58750) | hosts.allow (60031) |
---|---|
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 58750 2000-03-28 17:28:56Z cwt $ | 3# $FreeBSD: head/etc/hosts.allow 60031 2000-05-05 08:31:59Z sheldonh $ |
4# 5# NOTE: The hosts.deny file is deprecated. 6# Place 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# | ____| __ __ __ _ _ __ ___ _ __ | | ___ | | --- 12 unchanged lines hidden (view full) --- 24 25# Wrapping sshd(8) is not normally a good idea, but if you 26# need to do it, here's how 27#sshd : .evil.cracker.example.com : deny 28 29# Prevent those with no reverse DNS from connecting. 30ALL : PARANOID : RFC931 20 : deny 31 | 4# 5# NOTE: The hosts.deny file is deprecated. 6# Place 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# | ____| __ __ __ _ _ __ ___ _ __ | | ___ | | --- 12 unchanged lines hidden (view full) --- 24 25# Wrapping sshd(8) is not normally a good idea, but if you 26# need to do it, here's how 27#sshd : .evil.cracker.example.com : deny 28 29# Prevent those with no reverse DNS from connecting. 30ALL : PARANOID : RFC931 20 : deny 31 |
32# Allow anything from localhost 33ALL : localhost : allow 34ALL : my.machine.example.com : allow | 32# Allow anything from localhost. Note that an IP address (not a host 33# name) *MUST* be specified for portmap(8). 34ALL : localhost 127.0.0.1 : allow 35ALL : my.machine.example.com 192.0.2.35 : allow |
35 36# Sendmail can help protect you against spammers and relay-rapers 37sendmail : localhost : allow 38sendmail : .nice.guy.example.com : allow 39sendmail : .evil.cracker.example.com : deny 40sendmail : ALL : allow 41 42# Exim is an alternative to sendmail, available in the ports tree --- 28 unchanged lines hidden --- | 36 37# Sendmail can help protect you against spammers and relay-rapers 38sendmail : localhost : allow 39sendmail : .nice.guy.example.com : allow 40sendmail : .evil.cracker.example.com : deny 41sendmail : ALL : allow 42 43# Exim is an alternative to sendmail, available in the ports tree --- 28 unchanged lines hidden --- |