> 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 recoveries are as fast as possible. It does this by
> injecting/spoofing carefully crafted TCP packets
> and sending them to the locally established socket.)
>
> ...

That is indeed what I'm trying to do - I'll try it when I get home.

How does Libpcap do it then if it's not with raw sockets?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to