All of lore.kernel.org
 help / color / mirror / Atom feed
From: Padam J Singh <padam.singh@inventum.cc>
To: Henrik Nordstrom <hno@marasystems.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Ruleset creation process.
Date: Mon, 04 Oct 2004 11:55:34 +0530	[thread overview]
Message-ID: <4160ECDE.20005@inventum.cc> (raw)
In-Reply-To: <Pine.LNX.4.61.0410031804410.16241@filer.marasystems.com>

[-- Attachment #1: Type: text/plain, Size: 907 bytes --]



Henrik Nordstrom wrote:

> On Sat, 2 Oct 2004, Padam J Singh wrote:
>
>> Is there are document that specifies the ruleset creation process?
>
>
> What part of the ruleset creation process?
>
>> I recently had an issue with destroy being called for old rules when 
>> adding a new rule for the same target.
>
>
> Destroy of what, where?
>
> If you refer to the match/target destroy functions being called then 
> this is by design of iptables. Each modification to an iptable results 
> in a new table being installed in the kernel and the old deleted.

Yes, I am talking about the target destroy functions.

What  is happening is that once i add a new rule, the old rule's
checktarget is called first then it's destroy, leaving my internal
states invalid.

So maybe I should traverse the rule link list and setup my internal
structures according to that?

>
> Regards
> Henrik
>
>
Regards,
Padam J Singh


      reply	other threads:[~2004-10-04  6:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-02 10:32 Ruleset creation process Padam J Singh
2004-10-03 16:07 ` Henrik Nordstrom
2004-10-04  6:25   ` Padam J Singh [this message]

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=4160ECDE.20005@inventum.cc \
    --to=padam.singh@inventum.cc \
    --cc=hno@marasystems.com \
    --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.