tcpdump mailing list archives

Re: Sending a packet to localhost?


From: Oliver Zheng <mailinglists () oliverzheng com>
Date: Sun, 22 Feb 2009 14:34:42 -0800

I am trying to inject a packet to a live TCP stream. It is connected
to the localhost and some other host. The packet i'm trying to inject
is to spoof the other host. Is this possible.

On 2/22/09, Tyler Littlefield <tyler () tysdomain com> wrote:
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" <mailinglists+tcpdump () oliverzheng com>
To: <tcpdump-workers () lists tcpdump org>
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 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 Windows (with WinPcap). Is this not possible?

Thanks,
Oliver
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: