Posts: 9
Threads: 6
Joined: Mar 2010
Reputation:
0
Hi, my server is working fine but i have one litle problem. It seems server is having flood atack or something like that. My server have 200 slots (i can't do more becouse flooders will crash it). At day are playing about 110 people, and when someone trying connect whey see message: Server is full, connection is retrying. If player whait's 2-3 mins he will be connect. How i can fix this bug? What i should do for it?
Thanks for helping.
Posts: 518
Threads: 17
Joined: Oct 2006
Reputation:
0
What OS are you running? Did you run some kind of packet sniffer? (tcpdump on Linux).
Posts: 9
Threads: 6
Joined: Mar 2010
Reputation:
0
Linux Debian 5, and i have tcpdump, did it is shit? How i can fix it ?
Posts: 518
Threads: 17
Joined: Oct 2006
Reputation:
0
At the time the server is full, run tcpdump -n and look for the same IP spamming a lot of packets of the same size.
If you think you found him, confirm this by running tcpdump -n | grep "IP.HERE"
If you confirmed it's that IP addresses flooding the server with the same packet size, block him by running iptables -A INPUT -s IP_HERE -j DROP