You are here: Big Brother Bot ForumGeneral CategoryGeneral DiscussionFYI: If you are getting abuse reports too with linux CoD4 dedicated server(s).
Pages: [1]   Go Down
  Print  
Author Topic: FYI: If you are getting abuse reports too with linux CoD4 dedicated server(s).  (Read 920 times) Bookmark and Share
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4
Posts: 29
Offline Offline
WWW
« on: August 07, 2011, 09:49:10 AM »

Hello people,

I seemed to get a few abuse reports saying my game servers were spamming random hosts.
After analysing the traffic I found out that it was something spoofing source addresses and then send a getstatus message to our server in which it responds with an answer, but only 30 times a second and with changing source IP's every now and then. So this when used with a lot of servers was basically DDoS-ing some sites.



I started using a script that is also used for Q3 based games, but it is not perfect as it needs to run every x minutes to update the ban list.

Instead I found this thread: http://icculus.org/pipermail/cod/2011-August/015397.html
Here they talk about this problem and already have a server patch to test out. So if you also have the same issue as I have with your linux CoD4 server follow that thread!

Just a heads up.

Greetings,
Box
Logged


[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: August 07, 2011, 10:54:10 AM »

Thanks for sharing this info.

This issue is also announced here: http://forum.bigbrotherbot.net/cod4/important-pactch-for-cod4-servers/
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3483
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: August 07, 2011, 02:45:21 PM »

[troll]Is that the replacement DDOS tools for LOIC that the Anonymous are trying out ?[/troll]
Logged

Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod4
Posts: 68
Offline Offline
WWW
« Reply #3 on: August 08, 2011, 07:58:52 AM »

how can I know I need this patch or not?
What symptoms of DDoS cod4 server?
What can I check it?
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #4 on: August 09, 2011, 12:50:13 AM »

You better install the patch anyways I think.
Logged

Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4
Posts: 29
Offline Offline
WWW
« Reply #5 on: August 09, 2011, 10:37:50 AM »

What i did to check out is run a tcpdump -i eth0 -nn "port 28960" in the SSH shell as root. Alternatively you could write to a pcap file and view in wireshark.
This is what I see now for ex.:
Code:
19:25:13.591194 IP 85.17.159.77.80 > 78.129.232.31.28960: UDP, length 14
19:25:13.596441 IP 85.17.159.77.80 > 78.129.232.21.28960: UDP, length 14
19:25:13.601938 IP 85.17.159.77.80 > 78.129.232.21.28960: UDP, length 14
19:25:13.626675 IP 85.17.159.77.80 > 78.129.232.31.28960: UDP, length 14
19:25:13.642666 IP 85.17.159.77.80 > 78.129.232.21.28960: UDP, length 14
19:25:13.642674 IP 85.17.159.77.80 > 78.129.232.21.28960: UDP, length 14
19:25:13.644415 IP 85.17.159.77.80 > 78.129.232.21.28960: UDP, length 14
19:25:13.649911 IP 85.17.159.77.80 > 78.129.232.22.28960: UDP, length 14
19:25:13.670399 IP 85.17.159.77.80 > 78.129.232.31.28960: UDP, length 14
19:25:13.670410 IP 85.17.159.77.80 > 78.129.232.31.28960: UDP, length 14
19:25:13.674647 IP 85.17.159.77.80 > 78.129.232.31.28960: UDP, length 14

But the best way is to patch it anyways. Better to be safe than sorry.

On my server it does not reply to requests made by IP's using a source port lower than 1024 anyways (in normal situations it should always be 1024+), set using IPTables (default DENY policy):
Code:
iptables -A INPUT -m state --state NEW -m udp -p udp --sport 1024: --dport 28960 -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Logged

Tags: cod4 ddos linux getstatus 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal