PDA

View Full Version : COD2 Linux Server - Latest Server Attacks / Flooding / Help



own3mall
5th January 2024, 00:03
I'm running a COD2 1.0 Linux server with Libcod (this version: https://github.com/damage99/libcod), but players report the server is under attack, randomly lags, and rcon can quit working while it's being flooded.

I found and am using these iptables rules: https://killtube.org/showthread.php?1727-Anti-DDOS-script-collection-thread&highlight=iptables+--flush

Unfortunately, it doesn't appear to be helping. What kind of server attacks are the hackers / exploiters using today in 2024? Are there any additional iptables rules I should set?

In the server.cfg, are there log settings that can help capture some of these attacks? The log is pretty much empty and not of much help in determining what could be going on.

Any help would be appreciated.

Mitch
6th January 2024, 19:39
You don't need any extra rate limiting iptables rules in combination with libcod's builtin rate limiting.
I don't know which new features you are using from damage99's libcod branch.
But It isn't protected against SV_DirectConnect flooding.

https://github.com/voron00/libcod/commit/abe2c83550ed125a4b2921db9a42a88d9cf09ac9

The most up-to-date fork is https://github.com/voron00/libcod

own3mall
12th January 2024, 17:37
You don't need any extra rate limiting iptables rules in combination with libcod's builtin rate limiting.
I don't know which new features you are using from damage99's libcod branch.
But It isn't protected against SV_DirectConnect flooding.

https://github.com/voron00/libcod/commit/abe2c83550ed125a4b2921db9a42a88d9cf09ac9

The most up-to-date fork is https://github.com/voron00/libcod

Thank you! I am using this version now and will see if it helps!