From: Tobias DiPasquale <codeslinger@gmail.com>
To: Olaf Rempel <razzor@kopf-tisch.de>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: flushing conntrack-table
Date: Fri, 11 Mar 2005 19:51:41 -0500 [thread overview]
Message-ID: <876ef97a05031116517b0a7f9e@mail.gmail.com> (raw)
In-Reply-To: <20050312003418.6a582ad9@coruscant>
On Sat, 12 Mar 2005 00:34:18 +0100, Olaf Rempel <razzor@kopf-tisch.de> wrote:
> I've build a modul to flush some/all conntracks from the ct-table, but have
> some questions about the used functions and locking issues.
>
> I'm sending a "search pattern" (proto + srcip/mask + sport-range + dstip/mask
> + dport-range) via ioctl (yeah, i know..) to the kernel, and delete all matching
> conntracks.
This is in fact what the kill parameter to ip_ct_selective_cleanup()
was designed for. Check out its definition in ip_conntrack_core.c and
its usage later on in that same file in the ip_conntrack_cleanup()
function.
--
[ Tobias DiPasquale ]
0x636f6465736c696e67657240676d61696c2e636f6d
prev parent reply other threads:[~2005-03-12 0:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-11 23:34 flushing conntrack-table Olaf Rempel
2005-03-12 0:51 ` Tobias DiPasquale [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=876ef97a05031116517b0a7f9e@mail.gmail.com \
--to=codeslinger@gmail.com \
--cc=netfilter-devel@lists.netfilter.org \
--cc=razzor@kopf-tisch.de \
/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.