* packet tracing
@ 2015-05-07 6:16 sainath grandhi
2015-05-07 6:26 ` Erik Hugne
0 siblings, 1 reply; 4+ messages in thread
From: sainath grandhi @ 2015-05-07 6:16 UTC (permalink / raw)
To: netdev
Hello,
Is there any debug message framework in place for tracking a
network packet as it passes through different kernel stack layers
(layer 3, layer 2, bridge devices, drivers etc)?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: packet tracing
2015-05-07 6:16 packet tracing sainath grandhi
@ 2015-05-07 6:26 ` Erik Hugne
2015-05-07 6:52 ` sainath grandhi
0 siblings, 1 reply; 4+ messages in thread
From: Erik Hugne @ 2015-05-07 6:26 UTC (permalink / raw)
To: sainath grandhi; +Cc: netdev
On Wed, May 06, 2015 at 11:16:32PM -0700, sainath grandhi wrote:
> Hello,
> Is there any debug message framework in place for tracking a
> network packet as it passes through different kernel stack layers
> (layer 3, layer 2, bridge devices, drivers etc)?
Try iptables LOG target
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: packet tracing
2015-05-07 6:26 ` Erik Hugne
@ 2015-05-07 6:52 ` sainath grandhi
2015-05-07 7:57 ` Erik Hugne
0 siblings, 1 reply; 4+ messages in thread
From: sainath grandhi @ 2015-05-07 6:52 UTC (permalink / raw)
To: Erik Hugne; +Cc: netdev
Hi Erik,
Are you referring to something like this?
iptables -A LOGGING -j LOG
On Wed, May 6, 2015 at 11:26 PM, Erik Hugne <erik.hugne@ericsson•com> wrote:
> On Wed, May 06, 2015 at 11:16:32PM -0700, sainath grandhi wrote:
>> Hello,
>> Is there any debug message framework in place for tracking a
>> network packet as it passes through different kernel stack layers
>> (layer 3, layer 2, bridge devices, drivers etc)?
>
> Try iptables LOG target
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: packet tracing
2015-05-07 6:52 ` sainath grandhi
@ 2015-05-07 7:57 ` Erik Hugne
0 siblings, 0 replies; 4+ messages in thread
From: Erik Hugne @ 2015-05-07 7:57 UTC (permalink / raw)
To: sainath grandhi; +Cc: netdev
On Wed, May 06, 2015 at 11:52:57PM -0700, sainath grandhi wrote:
> Hi Erik,
> Are you referring to something like this?
>
> iptables -A LOGGING -j LOG
Ex. log all L2 packets (raw/prerouting)
iptables -t raw -A PREROUTING -j LOG
I refer to this a lot (not sure if it's 100% accurate anymore though)
http://upload.wikimedia.org/wikipedia/commons/3/37/Netfilter-packet-flow.svg
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-07 8:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-07 6:16 packet tracing sainath grandhi
2015-05-07 6:26 ` Erik Hugne
2015-05-07 6:52 ` sainath grandhi
2015-05-07 7:57 ` Erik Hugne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox