I am sending SYN packets using raw sockets in Linux. The response(SYN+ACK) is being intercepted by the OS and it is responding with a RST. I would like to prevent the OS from intercepting this packet, and let it be handled by my application. How can I accomplish this?
views:
221answers:
1
+1
A:
You could make a rule in IPtables to filter outgoing RST packets.
iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP
Don't forget to disable it later! Have fun.
kmm
2009-08-25 11:52:02