Re: TCP auto-RST unwanted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux