On Tue, 20 Apr 2004, patrick wrote: > using a socket(AF_INET, SOCK_RAW, IPPROTO_TCP), I send a SYN to host A > I get back SYN, ACK. > then, despite the fact that the socket is RAW the kernel sends out a RST to > host A. Yes. This is expected as you now have two TCP stacks running, both of which gets the packet. "man 7 raw" for details on the socket type you are using and its limitaions. You can use iptables/netfilter to stop the packets from being processed by the kernel TCP by DROPing the packets.. Regards Henrik - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html