[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 -o eth0 -j SAME --to
> /sbin/iptables  -t nat -D POSTROUTING -s -o eth0 -j SAME --to
> 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 

         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..


More information about the netfilter-devel mailing list