From: Richard Weinberger <richard@nod.at>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: xt_target checkentry()/destroy() semantics
Date: Wed, 11 Jan 2012 10:52:36 +0100 [thread overview]
Message-ID: <4F0D5BE4.3040509@nod.at> (raw)
In-Reply-To: <alpine.LNX.2.01.1201110741110.27346@frira.zrqbmnf.qr>
[-- Attachment #1: Type: text/plain, Size: 587 bytes --]
Am 11.01.2012 07:45, schrieb Jan Engelhardt:
> On Wednesday 2012-01-11 02:32, Richard Weinberger wrote:
>
>> Hi!
>>
>> I always thought that checkentry()/destroy() are being called upon rule insertion/deletion.
>> So I assumed that this command sequence prints three times "test_tg_check" and then three times
>> "test_tg_destroy". But it's not the case.
>
> One table-replace operation implies add-delete of all rules.
Okay, I did not know that my simple command sequence is causing a table-replacement.
Why?
I thought it appends (-A) only...
Thanks,
//richard
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
next prev parent reply other threads:[~2012-01-11 9:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 1:32 xt_target checkentry()/destroy() semantics Richard Weinberger
2012-01-11 6:45 ` Jan Engelhardt
2012-01-11 9:52 ` Richard Weinberger [this message]
2012-01-11 10:27 ` Maciej Żenczykowski
2012-01-11 10:38 ` Richard Weinberger
2012-01-11 10:49 ` Jan Engelhardt
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=4F0D5BE4.3040509@nod.at \
--to=richard@nod.at \
--cc=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).