Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@lists.netfilter.org>
Subject: Re: How to get trace of rules traversed by a packet?
Date: Wed, 07 Feb 2007 15:43:37 -0600	[thread overview]
Message-ID: <45CA4809.8060505@riverviewtech.net> (raw)
In-Reply-To: <BAY101-F196FDBFB66E8E96B52B842D99E0@phx.gbl>

Jorge Canas wrote:
> Is there a way to have iptables output the name of each table, chain and 
> rule that a packet goes through as well as the result (ie. rule matched 
> or did not match)?

I'm not sure if it will do exactly what you want (I have not personally 
used it), but I think that the TRACE target in the raw table PREROUTING 
chain will do this.



Grant. . . .


      reply	other threads:[~2007-02-07 21:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 20:30 How to get trace of rules traversed by a packet? Jorge Canas
2007-02-07 21:43 ` Grant Taylor [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=45CA4809.8060505@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=gtaylor+reply@riverviewtech.net \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox