All of lore.kernel.org
 help / color / mirror / Atom feed
* New target: can't delete rule
@ 2005-09-07 18:09 Gervasio Bernal
  2005-09-07 22:30 ` Pablo Neira
  0 siblings, 1 reply; 7+ messages in thread
From: Gervasio Bernal @ 2005-09-07 18:09 UTC (permalink / raw)
  To: netfilter-devel

Hi all!!!!

I'm from Argentina and I'm developing a new target for iptables with a
college friend. This new target uses the Linux Cryptographic API.

We are debbuging the new extension and we noticed a rare behavior. 
First we inserted the rule like this:
#iptables -t mangle -A INPUT -s xxx.xxx.xxx.xxx -j NEW --param hello
And we don't have problems. 

The problem appears when we tried to erase the rule:
#iptables -t mangle -D INPUT -s xxx.xxx.xxx.xxx -j NEW --param hello
It says: :-(
iptables: No chain/target/match by that name

But, if we put this:
#iptables -t mangle -D INPUT 1
It erases correctly :-)

Why it works with a method and not with the another one?
It can be because we allocating memory in checkentry function and
freeing it  in destroy function?
How can we correct this rare behavior?

Thanks a lot.

Gervasio Bernal - Mendoza - Argentina
Pedro Deis - Mendoza - Argentina

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-09-12 23:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-07 18:09 New target: can't delete rule Gervasio Bernal
2005-09-07 22:30 ` Pablo Neira
2005-09-07 22:34   ` Patrick McHardy
2005-09-07 23:58     ` Pablo Neira
2005-09-12 19:23   ` Gervasio Bernal
2005-09-12 23:24     ` Pablo Neira
2005-09-12 20:45       ` Gervasio Bernal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.