Debugging IP packet through Linux stack

amit mehta gmate.amit at gmail.com
Thu Sep 22 04:46:26 EDT 2011


On Thu, Sep 22, 2011 at 12:56 AM, 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.

If you know the packet processing path, then kprobes/jprobes can help
you inspect the kernel data structures.

More on kprobes:
http://lxr.linux.no/linux+v3.0.4/Documentation/kprobes.txt

-Amit



More information about the Kernelnewbies mailing list