----- Original Message ----
From: Shuveb Hussain <shuveb@xxxxxxxxx>
To: kernelnewbies@xxxxxxxxxxxx
Sent: Wednesday, April 11, 2007 4:07:24 PM
Subject: Capturing Ethernet frames from userspace
From: Shuveb Hussain <shuveb@xxxxxxxxx>
To: kernelnewbies@xxxxxxxxxxxx
Sent: Wednesday, April 11, 2007 4:07:24 PM
Subject: Capturing Ethernet frames from userspace
Hi,
I need to capture some UDP and ICMP packets in userspace along with
the Ethernet headers. Is libnetfiler_queue or ipqueue a good solution?
Is there any rule(s) I need to add to iptables in order for it to
deliver certain packets to my user space program?
Please advise on how to go about doing this.
use pcap library
TIA,
--
Shuveb Hussain.
When you lose, be patient. When you achieve, be even more patient.
EasyVZ: http://easyvz.sourceforge.net
Blog: http://binarykarma.org
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
I need to capture some UDP and ICMP packets in userspace along with
the Ethernet headers. Is libnetfiler_queue or ipqueue a good solution?
Is there any rule(s) I need to add to iptables in order for it to
deliver certain packets to my user space program?
Please advise on how to go about doing this.
use pcap library
TIA,
--
Shuveb Hussain.
When you lose, be patient. When you achieve, be even more patient.
EasyVZ: http://easyvz.sourceforge.net
Blog: http://binarykarma.org
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.