|
发表于 2003-12-23 06:30:22
|
显示全部楼层
hosts.allow and hosts.deny belongs tcpwrapper package (man hosts_config for details).
tcpwrapper first check rules in hosts.allow from top to bottom. If one rule is satisfied, then access is granted.
If all rules in hosts.allow are not satisfied, then tcpwrapper check the rules in hosts.deny from top the bottom. If one rule is satisfied, then access is denied.
If all rules in hosts.deny are not satisfied, then access is granted. |
|