tcpdump mailing list archives
Re: [tcpdump-workers]
From: "Harley Stenzel" <hstenzel () users sourceforge net>
Date: Mon, 24 Sep 2007 12:16:37 -0400
On 9/24/07, Amine Mustapha Smaali <mustapha.smaali () setcom eu> wrote:
Hi All, I'm a new member in this maling list and I'm pleased to join this list. So, I have one question concerning the libpcap. I wrote a C code to wait for specific ethernet frames. The frames received contains TCP/IP packets encapsulated in ESP packets. Those packets are destinated to the machine (FreeBSD machine with more than 1 IP address) capting the frames. My question is how to pass the TCP/IP packets received to the TCP/IP stack of the system? In other word, I have process running on the system which creates a TCP socket and which is waiting for those TCP/IP packets?
This is not something that libpcap can be used for. Look at raw sockets or tun/tap sorts to do the injection into local stack. --Harley - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [tcpdump-workers] Amine Mustapha Smaali (Sep 24)
- Re: [tcpdump-workers] Harley Stenzel (Sep 24)
- Re: [tcpdump-workers] Amine Mustapha Smaali (Sep 24)
- Re: [tcpdump-workers] Harley Stenzel (Sep 24)
- Re: [tcpdump-workers] Amine Mustapha Smaali (Sep 24)
- Re: [tcpdump-workers] Harley Stenzel (Sep 24)