Hello everyone,
my server is getting an udp syn flood, I tried several things on the Internet for about 3 hours now and nothing did really work.
First I tried to limit the incoming connections per IP with :
Code:
iptables -I INPUT -p udp --dport 6666 -i eth0 -m state --state NEW -m recent --set --name flood --rsource
iptables -I INPUT -p udp --dport 6666 -i eth0 -m state --state NEW -m recent --update --seconds 60 --hitcount 10 --name flood --rsource -j DROP
But It didn't really help at all AFAIK. I also tried to cut it down to the packet length but that also did not help. Since I'm not familiar with the iptables ratelimit settings, I hope someone could lead me in the right direction.
Best Regards