All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Schaaf <bof@bof.de>
To: Sven Anders <anders@anduras.de>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Reset conntrack...
Date: Fri, 3 Dec 2004 07:08:19 +0100	[thread overview]
Message-ID: <20041203060819.GG4605@oknodo.bof.de> (raw)
In-Reply-To: <41AF92B1.30802@anduras.de>

> Is it possible to reset the conntrack list or set any entry to the state 
> NEW to force a recheck against new filter rules?
> ~  If I set the (new) filtering rules with the target DROP, I want old
> ~  (existing) connections to be dropped immediatly.

Consider using REJECT. This has two advantages: it gives the end
systems you are now blocking a chance at state cleanup (instead of
needlessly wasting memory and CPU resources on a connection that you
now elect to forbit). But, the greater advantage: the packets that
the end systems exchange in response to the connection teardown,
are JUST what you need to get rid of their conntracks.

Of course, one could do what you requested. Maybe even without coding.
I wouldn't know. Maybe others.

best regards
  Patrick

  parent reply	other threads:[~2004-12-03  6:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-02 22:09 Reset conntrack Sven Anders
2004-12-02 23:24 ` Richard
2004-12-03  6:08 ` Patrick Schaaf [this message]
2004-12-03 11:11   ` Sven Anders
2004-12-03 16:07     ` Phil Oester
2004-12-03 21:07     ` Carl-Daniel Hailfinger
2004-12-08 11:20       ` Sven Anders
2004-12-08 15:32         ` Henrik Nordstrom
2004-12-04 14:51     ` Henrik Nordstrom
2004-12-03 11:43 ` Yutaka Kondo
2004-12-03 13:50   ` Ferry Huberts
2004-12-04 14:44 ` Henrik Nordstrom

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=20041203060819.GG4605@oknodo.bof.de \
    --to=bof@bof.de \
    --cc=anders@anduras.de \
    --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.