Re: [LARTC] iptables u32 kernel 2.6.17

2006-08-02 Thread Torsten Luettgert
On Wed, 2006-08-02 at 23:30 +0200, Piotr Chytla wrote: > apply also patch from attachment. 2.6.17 needs matchsize in ipt_match struct. Whoopsie. I missed that in the patch I sent to netfilter-devel a while ago. Thanks for doing it yourself. Regards, Torsten _

Re: [LARTC] iptables u32 kernel 2.6.17

2006-08-02 Thread Piotr Chytla
On Wed, Aug 02, 2006 at 03:52:39PM +0200, Torsten Luettgert wrote: > On Wed, 2006-08-02 at 10:55 +0200, gerald HUET wrote: > > [ 5333.87] ip_tables: u32 match: invalid size 0 != > > 2028 > > iptables: Unknown error -1 > > > > I tried to do some modifications on ipt_u32.c > > following modific

Re: [LARTC] iptables u32 kernel 2.6.17

2006-08-02 Thread Torsten Luettgert
On Wed, 2006-08-02 at 10:55 +0200, gerald HUET wrote: > [ 5333.87] ip_tables: u32 match: invalid size 0 != > 2028 > iptables: Unknown error -1 > > I tried to do some modifications on ipt_u32.c > following modifications which work for ipp2p > (http://www.sieglitzhof.net/~doc/ipp2p/) without an

[LARTC] iptables u32 kernel 2.6.17

2006-08-02 Thread gerald HUET
hi everybody, I used to test this rules on my gateway : iptables -I FORWARD -p udp -m length --length 39 -m u32 --u32 '27&0x8f=7' --u32 '31=0x527c4833' -j DROP This was working with a 2.6.16 kernel but now i upgraded to 2.6.17 it give me the following message : [ 5333.87] ip_tables: u32 match