Log in

Bekijk de volledige versie : iptables - module ipt_length



zeff
20-10-2007, 11:23
I need to use "iptables -m length....." I loaded module ipt_length.o using insmod. Unfortunatelly the command:
iptables -t mangle -A MYSHAPER-OUT -p tcp -m length --length :64 -j MARK --set-mark 2
reports error like that:
iptables v1.2.7a: Couldn't load match `length':File not found

lsmod reprots, that ipt_length is loaded.

Do You have any idea what's the problem. Many thanks in advance.

zeff
21-10-2007, 10:09
I forgot: I have Oleg's latest firmware: 1.9.2.7-7g
I would like to ask anybody here to try to:
1) insmod ipt_length
2) lsmod to see whether module is loaded
3) just perform: iptables -m length
After performing 3) all I can see is:
iptables v1.2.7a: Couldn't load match `length':File not found

This message appears when module is not loaded :( but according to 2) it is loaded

btw. Is there any chance to have layer7 running with latest Oleg's firmware. How to do it?

Thx!