- 论坛徽章:
- 0
|
ssffzz1兄,上次因为IPID的问题发邮件麻烦过您!发现IPID模块在kernel 2.6.18或以上的版本中编译成功,使用却有些问题,如下:
[root@router ~]# modinfo ipt_IPID
filename: /lib/modules/2.6.18/kernel/net/ipv4/netfilter/ipt_IPID.ko
license: GPL
description: IP tables IPID modification module
author: Ssffzz1 <ssffzz1@126.com>
srcversion: 4BD29D2B0664F748A8848AC
depends: x_tables
vermagic: 2.6.18 SMP mod_unload PENTIUM4 REGPARM 4KSTACKS gcc-4.1
[root@router ~]# modinfo ipt_TTL
filename: /lib/modules/2.6.18/kernel/net/ipv4/netfilter/ipt_TTL.ko
license: GPL
description: IP tables TTL modification module
author: Harald Welte <laforge@netfilter.org>
srcversion: 30991B98747D5BEDA30B0A7
depends: x_tables
vermagic: 2.6.18 SMP mod_unload PENTIUM4 REGPARM 4KSTACKS gcc-4.1
[root@router ~]# uname -r;iptables -V
2.6.18
iptables v1.3.6
# 内核和iptables及相关的模组信息;
[root@router ~]# lsmod|grep 'IPID'
ipt_IPID 6148 0
x_tables 17284 1 ipt_IPID
[root@router ~]# iptables -j IPID -h
iptables v1.3.6: Couldn't load target `IPID'
Try `iptables -h' or 'iptables --help' for more information.
# 能正常加载至内核,但是不能运行
[root@router ~]# iptables -j TTL -h|grep 'TTL'
TTL target v1.3.6 options
--ttl-set value Set TTL to <value 0-255>
--ttl-dec value Decrement TTL by <value 1-255>
--ttl-inc value Increment TTL by <value 1-255>
# TTL正常
[ 本帖最后由 kevin.tan 于 2007-6-1 11:17 编辑 ] |
|