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 90319 2002-02-06 20:39:36Z markm $
| 3# $FreeBSD: head/etc/hosts.allow 130151 2004-06-06 11:46:29Z schweikh $
|
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
| 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# _____ _ _
| 10# _____ _ _
|
11# | ____| __ __ __ _ _ __ ___ _ __ | | ___ | | 12# | _| \ \/ / / _` | | '_ ` _ \ | '_ \ | | / _ \ | | 13# | |___ > < | (_| | | | | | | | | |_) | | | | __/ |_| 14# |_____| /_/\_\ \__,_| |_| |_| |_| | .__/ |_| \___| (_)
| 11# | ____| __ __ __ _ _ __ ___ _ __ | | ___ | | 12# | _| \ \/ / / _` | | '_ ` _ \ | '_ \ | | / _ \ | | 13# | |___ > < | (_| | | | | | | | | |_) | | | | __/ |_| 14# |_____| /_/\_\ \__,_| |_| |_| |_| | .__/ |_| \___| (_)
|
15# |_|
| 15# |_|
|
16# !!! This is an example! You will need to modify it for your specific 17# !!! requirements! 18 19 20# Start by allowing everything (this prevents the rest of the file 21# from working, so remove it when you need protection). 22# The rules here work on a "First match wins" basis. 23ALL : ALL : allow 24 25# Wrapping sshd(8) is not normally a good idea, but if you 26# need to do it, here's how
| 16# !!! This is an example! You will need to modify it for your specific 17# !!! requirements! 18 19 20# Start by allowing everything (this prevents the rest of the file 21# from working, so remove it when you need protection). 22# The rules here work on a "First match wins" basis. 23ALL : ALL : allow 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
| 27#sshd : .evil.cracker.example.com : deny
|
28 29# Protect against simple DNS spoofing attacks by checking that the 30# forward and reverse records for the remote host match. If a mismatch 31# occurs, access is denied, and any positive ident response within 32# 20 seconds is logged. No protection is afforded against DNS poisoning, 33# IP spoofing or more complicated attacks. Hosts with no reverse DNS 34# pass this rule. 35ALL : PARANOID : RFC931 20 : deny
--- 53 unchanged lines hidden --- | 28 29# Protect against simple DNS spoofing attacks by checking that the 30# forward and reverse records for the remote host match. If a mismatch 31# occurs, access is denied, and any positive ident response within 32# 20 seconds is logged. No protection is afforded against DNS poisoning, 33# IP spoofing or more complicated attacks. Hosts with no reverse DNS 34# pass this rule. 35ALL : PARANOID : RFC931 20 : deny
--- 53 unchanged lines hidden --- |