With iptables I want to accept three-way handshake of a TCP connection and then drop the connection. Is it possible, if so how?
Check this - search for --tcp-flags
You should accepts packets with SYN, SYN+ACK and ACK flags set, and drop everything else.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago