Debugging IP packet through Linux stack

Abu Rasheda rcpilot2010 at gmail.com
Wed Sep 21 17:38:56 EDT 2011


>
> On Wed, Sep 21, 2011 at 10:26 PM, Abu Rasheda <rcpilot2010 at gmail.com>
> wrote:
> I am inserting packets into Linux stack and they are accepted by
> net_rx function, but are latter dropped. What tools are available in Linux
> kernel to for debugging this issue.
>

I discovered that /proc/net/snmp files provides stats about packet
processing. This show stats for IP, ICMP, UDP and TCP. It is possible to map
stats from this file to actual kernel code and pinpoint where error is
happening.

Thanks

Abu Rasheda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110921/c9a63111/attachment.html 


More information about the Kernelnewbies mailing list