LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 735|回复: 3

请问proftpd中allow from段的语法问题

[复制链接]
发表于 2003-4-29 10:57:13 | 显示全部楼层 |阅读模式
我想以加掩码的形式写出来
Order Allow,Deny
Allow from 192.168.1.0/24,192.168.3.0/24
Deny from all
结果192.168.2.2的机器可以连接,应该怎么写,请教。
发表于 2003-4-30 23:23:11 | 显示全部楼层
呵呵
发表于 2003-4-30 23:26:48 | 显示全部楼层
好像不支持掩码的说
发表于 2003-4-30 23:27:58 | 显示全部楼层
Host and network addresses can be specified by name or numeric address. For security reasons, it is recommended that all address information be supplied numerically. Relying solely on named addresses causes security to depend a great deal upon DNS servers which may themselves be vulnerable to attack or spoofing. Numeric addresses which specify an entire network should end in a trailing period (i.e. 10.0.0. for the entire 10.0.0 subnet).
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表