From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Subject: Re: How to get trace of rules traversed by a packet? Date: Wed, 07 Feb 2007 15:43:37 -0600 Message-ID: <45CA4809.8060505@riverviewtech.net> References: Reply-To: gtaylor+reply@riverviewtech.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" 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. . . .