论坛风格切换切换到宽版
  • 1124阅读
  • 3回复

[问题求助]iptable的No chain/target/match by that name问题 [复制链接]

上一主题 下一主题
离线dyy0214.
 
发帖
2060
C币
-60444
威望
372
贡献值
1
银元
0
铜钱
4565
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
[root@localhost net.fi.lter]# depmod -a[成人用品]
[root@localhost ne.tfi.lter]# iptables -I FORWARD -s 192.168.2.0/24 -m string --string "腾讯" .-j DROP.
iptables..: No chain/target/match by that name健康
[ro.o.t@localhost netfilter]#            建材


昨天是正常的,今天报错

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线17772.
发帖
2092
C币
-60655
威望
392
贡献值
1
银元
-3
铜钱
4723
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:iptable的No
是不是那个模块没加上呢?

离线大傻111.
发帖
2118
C币
-235601
威望
380
贡献值
1
银元
-1
铜钱
4662
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:iptable的No
请教:
按照platinum的视频做了在2台机上做iptables string match 实验,结果都是iptables :"No chain/target/match by that name"。
kernel:redhat 9.0 2.4.20-8
iptables 1.3.1
patch-o-match-ng 20050801
没有编译内核。

之前卸载了系统自带的iptables,然后一步一步按视频做,过程很顺利,patch-o-match只选了string,
iptables -I INPUT -m string --string "test" -j DROP
报错:
iptables:"No chain/target/match by that name"

iptables -i INPUT -m string
提示--string --string-hex

iptables -i INPUT -m string --string
提示--string不可识别(英文记不清了)

请教各位了,谢谢

离线qq273580105.
发帖
2049
C币
-235857
威望
381
贡献值
1
银元
-1
铜钱
4522
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:iptable的No
iptables 里面没有这个 string 模块,可能你的做法有问题,再做一次
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个