免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1300 | 回复: 6
打印 上一主题 下一主题

关于升级netfilter模块后出现的一个问题!请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-19 13:16 |只看该作者 |倒序浏览
我按下面这篇文章的介绍,成功编译升级了netfilter模块,iptables1.31
http://www.linuxsir.org/bbs/showthread.php?p=1057823#post1057823


[root@suc-linux1 etc]# iptables -A FORWARD -m ipp2p --edk --bit -j DROP

iptables: No chain/target/match by that name


请为什么会这样呢???

论坛徽章:
0
2 [报告]
发表于 2006-01-19 13:30 |只看该作者
估计还要modprobe ipt_ipp2p

论坛徽章:
0
3 [报告]
发表于 2006-01-19 13:35 |只看该作者
看提示好像是没有找到chain,但是我应该存在这个chain


[root@suc-linux1 etc]# iptables -nL
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 8 limit: avg 3/sec burst 5
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 0
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:22
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:80
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:5801
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:5901
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:80
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:21
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:2427
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpts:10000:10200
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:2347
ACCEPT     tcp  --  10.0.0.247           0.0.0.0/0           tcp dpts:32000:40000

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           source IP range 192.168.1.5-192.168.1.124

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
           all  --  0.0.0.0/0            0.0.0.0/0

论坛徽章:
0
4 [报告]
发表于 2006-01-19 18:32 |只看该作者
原帖由 ipaddr 于 2006-1-19 13:30 发表
估计还要modprobe ipt_ipp2p



谢谢版主回复,可以说清楚点吗?

论坛徽章:
0
5 [报告]
发表于 2006-01-19 19:26 |只看该作者
[root@suc-linux1 etc]# iptables -A FORWARD -m ipp2p --edk --bit -j DROP

iptables: No chain/target/match by that name


not only check the chain, but also the target and the match

论坛徽章:
0
6 [报告]
发表于 2006-01-20 13:13 |只看该作者
原帖由 tanyear 于 2006-1-19 19:26 发表


not only check the chain, but also the target and the match



谢谢!因为我学linux时间不是很长,可以介绍清楚一点吗?!!是哪里出错了,怎么怎么做?我已经参照各类文章编译好多次了,都是这样

另我,我的linux版本是REHL4,内核是2.6.9-5.EL

论坛徽章:
0
7 [报告]
发表于 2006-01-20 13:27 |只看该作者
我直接运行
[root@suc-linux1 linux-2.6.9]# modprobe ipt_ipp2p
FATAL: Error inserting ipt_ipp2p (/lib/modules/2.6.9-5.EL/kernel/net/ipv4/netfilter/ipt_ipp2p.ko): Invalid module format

则出这个错误。。。。。为什么会这样?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP