Re:SACK Panic – Multiple TCP-based remote denial-of-service ...
by LinuxBender on Tuesday June 18, 2019 @07:34AM
(#20211851)
Thats a great idea. That would certainly help if someone unwittingly had some malware that enabled this behavior on their host, but you still wanted them to reach you.
Re:SACK Panic – Multiple TCP-based remote denial-of-service ...
by isodude on Tuesday June 18, 2019 @07:37AM
(#20211870)
Or a totally unrelated misconfiguration, I assume this is why this particular host is sending a low MSS.
I just assume that stripping MSS should be enough, looking through the information that is available.
iptables -t mangle -I PREROUTING -p tcp --tcp-flags SYN SYN -m tcpmss --mss 1:500 -j TCPOPTSTRIP --strip-options mss
I experimented with a host that sends out mss 216 and the communication was still ok with the above, but not while dropping the traffic.