Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im victim of a sync flood attack over udp port, this came from a lot of different ips. The machine, dedicated server, is hlds game server, and the attacker overload the udp ports, this cause a big trouble ingame, with packet loss and high ping for every user in the game.
The server is under linux, with iptables activated, and for now, with some rules to stop this attack, but nothing happend for my lucky.
TCPDUMP LOG (not all)
Quote:
22:04:48.662622 IP pool-96-238-164-34.rcmdva.east.verizon.net.http > MyIP.27018: UDP, length 5
22:04:48.662627 IP pool-96-238-164-34.rcmdva.east.verizon.net.http > MyIP.27018: UDP, length 5
22:04:48.662630 IP pool-96-238-164-34.rcmdva.east.verizon.net.http > MyIP.27018: UDP, length 5
22:04:48.662639 IP pool-96-238-164-34.rcmdva.east.verizon.net.http > MyIP.27018: UDP, length 5
22:04:48.662647 IP pool-96-238-164-34.rcmdva.east.verizon.net.http > MyIP.27018: UDP, length 5
22:04:48.662650 IP pool-96-238-164-34.rcmdva.east.verizon.net.http > MyIP.27018: UDP, length 5
22:04:48.662659 IP pool-96-238-164-34.rcmdva.east.verizon.net.http > MyIP.27018: UDP, length 5
22:04:50.740788 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740795 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740802 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740808 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740815 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740821 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740828 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740835 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740842 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740848 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740855 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740862 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
22:04:50.740868 IP c-76-111-159-207.hsd1.md.comcast.net.25565 > MyIP.27015: UDP, length 5
IPTABLES
Quote:
iptables -A INPUT -p udp -m length --length 5 -j DROP
iptables -A INPUT -p udp -m multiport --dport 20000:60000 -m state --state NEW -m recent --set --name HLDSFLOOD
iptables -A INPUT -p udp -m multiport --dport 20000:60000 -m state --state NEW -m recent --update --seconds 1 --hitcount 10 --name HLDSFLOOD -j DROP
Thanks in advance. Let me know if you need more info to solve this kind of attack.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.