Re: How to get trace of rules traversed by a packet?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux