使用 /etc/hosts.allow和/etc/hosts.deny 控制客户端的访问
来源:互联网 发布:python 爬虫抓取分页 编辑:程序博客网 时间:2024/04/30 02:10
这两个文件是tcpd服务器的配置文件,tcpd服务器可以控制外部IP对本机服务的访问。这两个配置文件的格式如下:
#服务进程名:主机列表:当规则匹配时可选的命令操作server_name:hosts-list[:command]
/etc/hosts.allow控制可以访问本机的IP地址,/etc/hosts.deny控制禁止访问本机的IP。如果两个文件的配置有冲突,以/etc/hosts.deny为准。下面是一个/etc/hosts.deny的示例:
sshd:172.16.8.100 禁止172.16.8.100的远程用户登陆
ALL关键字匹配所有情况,EXCEPT匹配除了某些项之外的情况,PARANOID匹配你想控制的IP地址和它的域名不匹配时(域名伪装)的情况。
- 使用 /etc/hosts.allow和/etc/hosts.deny 控制客户端的访问
- /etc/hosts.allow和/etc/hosts.deny
- /etc/hosts.allow和/etc/hosts.deny
- /etc/hosts.allow和/etc/hosts.deny的作用
- 修改/etc/hosts.allow和/etc/hosts.deny允许linux服务器允许和限制访问
- linux下 /etc/hosts.allow和/etc/hosts.deny两个文件是控制远程访问设置的,通过他可以允许或者拒绝
- linux远程访问权限控制(hosts.allow和hosts.deny)
- linux远程访问权限控制(hosts.allow和hosts.deny)
- Linux 限制IP——/etc/hosts.allow和/etc/hosts.deny文件
- hosts.allow和hosts.deny
- hosts.allow和hosts.deny
- /etc/hosts.allow 及 /etc/hosts.deny关系(转http://www.blogchinese.com/50989/viewspace-1077409)
- linux hosts的allow和deny
- linux下的hosts.allow和hosts.deny
- hosts.deny和hosts.allow限制SSH登陆的IP
- Linux 的/etc/hosts
- /etc/hosts
- centos 安全配置应用之hosts.allow和hosts.deny
- BugTracker.NET 汉化手札
- 中国身份证号码验证,支持15,18位,可验证成功90%的身份证号
- Linux-2.6内核新特性
- 正则表达式
- CUDA VS2005 Express Wizard
- 使用 /etc/hosts.allow和/etc/hosts.deny 控制客户端的访问
- 学会看懂化妆品上面的英文法文
- 无法复制_desktop.ini的提示
- 破解windows xp sp2管理员密码一例
- 教你怎么样卸载Oracle 9i
- 设计集合的unique运算的算法
- 中国,一起走
- 网页优化技巧 — 提高页面打开速度
- 发现一个好的学习算法的blog