From: Pablo Neira <pablo@eurodev.net>
To: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Introduce user space conntrack tool
Date: Mon, 28 Mar 2005 01:56:40 +0200 [thread overview]
Message-ID: <42474838.1080805@eurodev.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]
I've started a tool to do common manipulation conntrack. Please, it is
*very* raw yet, it still need work but I think that it could be
interesting. Of course, it requires libctnetlink and libnfnetlink.
An overview:
o List conntrack table
$ conntrack -L conntrack
(Better that cat'ing /proc/net/ip_conntrack all day which is known to
harm performance)
o Get a conntrack
$ conntrack -G conntrack --reply-src 85.136.102.173 \
--reply-dst 66.111.58.51 -p tcp --reply-port-src 44843 \
--reply-port-dst 993 -i 13
o Delete a conntrack
$ conntrack -D conntrack --reply-src 85.136.102.173 \
--reply-dst 66.111.58.51 -p tcp --reply-port-src 44843 \
--reply-port-dst 993 -i 13
o Create a conntrack
$ conntrack -I conntrack --orig-src 1.1.1.4 --orig-dst 2.2.2.3 \
--reply-src 2.2.2.3 --reply-dst 1.1.1.4 -p tcp --orig-port-src 20 \
--orig-port-dst 10 --reply-port-src 10 --orig-port-dst 20 \
-u ASSURED -t 100
o Flush conntrack table (not implemented)
o Display events
[-- Attachment #2: conntrack-0.1.tar.gz --]
[-- Type: application/gzip, Size: 11692 bytes --]
next reply other threads:[~2005-03-27 23:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-27 23:56 Pablo Neira [this message]
2005-03-28 20:43 ` Introduce user space conntrack tool Krzysztof Oledzki
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=42474838.1080805@eurodev.net \
--to=pablo@eurodev.net \
--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.