So forgive me if this is a dumb question, I'm not much of a networking expert. A friends server is being flooded by a certain IP, which is pretty obvious when looking at the output of tcptrace
, as there are hundreds of connections with state "RESET".
I did the obvious thing and blocked said IP address using iptables:
iptables -I INPUT -s <bad guy> -j DROP
Which, as far as I understand, should do the trick. Now instead of "RESET" the connections show up as "SYN_SENT" in tcptrace
, which makes no sense to me.
Am I overlooking something? Do I need to take some extra steps for the kernel to drop the connection completely?
EDIT:
An additional oddity is that, neither with nor without the iptables rule in place, do any strange connections show up with netstat -tuna
(gotta love that command), which I read multiple times, should not be the case.