From: Gervasio Bernal <gervasiobernal@speedy.com.ar>
To: netfilter-devel@lists.netfilter.org
Subject: New target: can't delete rule
Date: Wed, 07 Sep 2005 18:09:55 +0000 [thread overview]
Message-ID: <1126116594.3690.35.camel@Pentium> (raw)
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
next reply other threads:[~2005-09-07 18:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-07 18:09 Gervasio Bernal [this message]
2005-09-07 22:30 ` New target: can't delete rule 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1126116594.3690.35.camel@Pentium \
--to=gervasiobernal@speedy.com.ar \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.