[BUG] ipt_SAME rule can't be deleted

Henrik Nordstrom hno at marasystems.com
Mon Dec 6 08:34:48 CET 2004


On Sat, 4 Dec 2004, Fang Han wrote:

> Kernel 2.6.9 ac2
>
> Using the next test command:
>
> /sbin/iptables  -t nat -I POSTROUTING -s 192.168.100.23 -o eth0 -j SAME --to 192.168.1.60
> /sbin/iptables  -t nat -D POSTROUTING -s 192.168.100.23 -o eth0 -j SAME --to 192.168.1.60
>
> generate error:
> iptables: Bad rule (does a matching rule exist in that chain?)

This is quite likely due to that kernel land pointer within the target 
info...

         u_int32_t *iparray;

If I am right the same problem applies to -m limit and any other extension 
storing private kernel side stuff within it's info data..

Regards
Henrik



More information about the netfilter-devel mailing list