From: Stefan Keller <sk@open.ch>
To: netfilter@vger.kernel.org
Subject: Virtual packet tracer for iptables
Date: Fri, 08 Jun 2012 13:32:01 +0200 [thread overview]
Message-ID: <4FD1E2B1.80801@open.ch> (raw)
Hi
I'm quite sure that I'm not the first guy asking for such a
functionality but I could not find anything in the Internet
nor in the netfilter mailing list.
Is there any tool or iptables extension to query the iptables
rule base? What I mean is something that needs input parameters
such as
- source IP address
- destination IP address
- source Port
- destination Port
- incoming interface
- outgoing interface
- ToS
- FWMARK
- ...
and the output is the matching rules of all tables (mangle, raw,
nat and filter table).
I know that the output only shows half of the truth for traffic that
needs a helper such as FTP and SIP but it would be perfect for
off-line analysis and for debugging purposes of our large environment.
Thank you for sharing your experiences!
Best regards
Stefan Keller
next reply other threads:[~2012-06-08 11:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-08 11:32 Stefan Keller [this message]
2012-06-08 11:56 ` Virtual packet tracer for iptables Jean-Philippe Menil
2012-06-08 12:33 ` Stefan Keller
2012-06-08 12:59 ` Jean-Philippe Menil
2012-06-08 13:36 ` Stefan Keller
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=4FD1E2B1.80801@open.ch \
--to=sk@open.ch \
--cc=netfilter@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).