Debugging IP packet through Linux stack
From: amit mehta <hidden>
Date: 2011-09-22 08:46:26
From: amit mehta <hidden>
Date: 2011-09-22 08:46:26
On Thu, Sep 22, 2011 at 12:56 AM, Abu Rasheda [off-list ref] 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