Linux Netfilter discussions
 help / color / mirror / Atom feed
* How to get trace of rules traversed by a packet?
@ 2007-02-07 20:30 Jorge Canas
  2007-02-07 21:43 ` Grant Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Jorge Canas @ 2007-02-07 20:30 UTC (permalink / raw)
  To: netfilter

Hi,

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)?

Thanks.

_________________________________________________________________
Search for grocery stores. Find gratitude. Turn a simple search into 
something more. 
http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to get trace of rules traversed by a packet?
  2007-02-07 20:30 How to get trace of rules traversed by a packet? Jorge Canas
@ 2007-02-07 21:43 ` Grant Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Taylor @ 2007-02-07 21:43 UTC (permalink / raw)
  To: Mail List - Netfilter

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. . . .


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-07 21:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox