找回密码
 注册
查看: 722|回复: 0

iptables string match 问题

[复制链接]
发表于 2005-11-17 19:53:05 | 显示全部楼层 |阅读模式
iptables 版本1.3.4
内核2.6.14.2

iptables -A FORWARD -m string --string "www.qd.sd.cn" -j DROP

这个命令返回"you should add --algo"

iptables -A FORWARD -m string --algo --string "www.qd.sd.cn" -j DROP

加了之后,返回往往www.qd.sd.cn bad argument

看了一些iptables 资料,包括写string 的语法,没发现有用--algo的阿。
why?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-13 10:47 , Processed in 0.024135 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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