> You can do that using a raw socket.
> Well, I do that with no problem.
> This code is from ctdb ( http://samba.ctdb.org common/system_linux.c )
> and does just that.
>
> (this is part of the ctdb "tickle-ack" and "tcp socketkiller" which ctdb
> uses to make sure that failover and
> session reco
Thanks for the response Aaron.
On Mon, Feb 23, 2009 at 11:34 AM, Aaron Turner wrote:
> In my experience, sending packets on eth0 causes the packet to bypass
> the TCP/IP stack and be sent out sight unseen. Hence, you won't be
> able to inject packets into a TCP stream with the target of the loca
27.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
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