[3/3] kprobes-netpktlog-268-rc3.patch
From: Prasanna S Panchamukhi (prasanna_at_in.ibm.com)
Date: 08/05/04
- Previous message: Mike Becher: "ptrace problem on ia64 with kernel 2.4.26"
- Next in thread: Andi Kleen: "Re: [3/3] kprobes-netpktlog-268-rc3.patch"
- Maybe reply: Andi Kleen: "Re: [3/3] kprobes-netpktlog-268-rc3.patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 5 Aug 2004 15:41:43 +0530 To: linux-kernel@vger.kernel.org, torvalds@osdl.org, ak@muc.de, akpm@osdl.org, suparna@in.ibm.com
Hi,
Below is the [3/3] kprobes-netpktlog-268-rc3.patch
This patch provides network packet tracing using source and destination IP by
trapping at various routines in the network stack.It demonstrates how
a packet travels through the network stack, as suggested by Andi Kleen.
Usage:
Compile the kernel with options CONFIG_KPROBES, CONFIG_NETPKTLOG,
CONFIG_NETFILTER, CONFIG_IP_NF_IPTABLES and CONFIG_IP_NF_TARGET_LOG enabled.
You need to specify the parameters to the netpktlog module.
To filter packets based on source and target ip, insert the module with
source and target ip.
$insmod netpktlog.ko netpktlog=@9.182.15.133,9.182.15.188
To filter packets based on only source ip, insert module with source ip.
$insmod netpktlog.ko netpktlog=@9.182.15.133,
To filter packets based on target ip, insert module with target ip.
$insmod netpktlog.ko netpktlog=@,9.182.15.188
Please see the description of the patch for more details.
Your comments are welcome!
Thanks
prasanna
-- Have a Nice Day! Thanks & Regards Prasanna S Panchamukhi Linux Technology Center India Software Labs, IBM Bangalore Ph: 91-80-25044636 <prasanna@in.ibm.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- text/plain attachment: kprobes-netpktlog-268-rc3.patch
- Previous message: Mike Becher: "ptrace problem on ia64 with kernel 2.4.26"
- Next in thread: Andi Kleen: "Re: [3/3] kprobes-netpktlog-268-rc3.patch"
- Maybe reply: Andi Kleen: "Re: [3/3] kprobes-netpktlog-268-rc3.patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|