Re: [tcpdump-workers] Sending a packet to localhost?

2009-02-22 Thread Tyler Littlefield
you are able to send packets to eth0, set the ip address to 127.0.0.1 Hope that's what your asking. - Original Message - From: "Oliver Zheng" To: Sent: Sunday, February 22, 2009 3:04 PM Subject: [tcpdump-workers] Sending a packet to localhost? Hi, Is it possible to send a packet to

[tcpdump-workers] Sending a packet to localhost?

2009-02-22 Thread Oliver Zheng
Hi, Is it possible to send a packet to localhost and have the application receive it? On Linux, there is (at least) lo and eth0. I tried sending a TCP packet to both lo and eth0, however, it seems like the Linux TCP/IP stack and application do not receive the packet. The exact same packet works on

Re: [tcpdump-workers] Problems with two threads capturing on

2009-02-22 Thread Johan Mazel
2009/2/22 Guy Harris > > On Feb 22, 2009, at 11:41 AM, Johan Mazel wrote: > > What happens if you run one instance of tcpdump capturing on wlan0 and >>> another instance capturing on eth0? Do they both report packets being >>> captured, or does just the one capturing on wlan0 report packets? >>

Re: [tcpdump-workers] Problems with two threads capturing on

2009-02-22 Thread Guy Harris
On Feb 22, 2009, at 11:41 AM, Johan Mazel wrote: What happens if you run one instance of tcpdump capturing on wlan0 and another instance capturing on eth0? Do they both report packets being captured, or does just the one capturing on wlan0 report packets? Yes, I just checked. "Yes" the

Re: [tcpdump-workers] Problems with two threads capturing on

2009-02-22 Thread Johan Mazel
> > On Feb 20, 2009, at 1:46 AM, Johan Mazel wrote: > > I'm trying to use libpcap to capture packets on two interfaces (eth0 and >> wlan0). >> > > Linux, I presume? > You guess right: Ubuntu 8.10 and libpcap 0.9.8-5. :) > My problem is that packets are only captured in the wlan0 thread. >> >