#1 2013-11-16 13:00:12

Kansas1327
Player
Reputation: +2
Registered: 2012-11-20
Posts: 81
Website
Windows 8 Chrome 30.0

How to keep players from crashing linux server?

Recently some kid has been crashing a linux server I have. I was thinking maybe he was doing these command crashes which are possible on the windows version (the fixes tuia fixed).

I know for a fact the player has to be in the server in order to crash it, and the player can change his keyhash and IP address whenever he wants, and it is done within a minute. These are some of the IP's he has used:

176.56.174.x
204.14.77.x
46.16.33.x
5.22.x.x

[TNT] Rex, Rebeca are some of his names. This minute I am watching the player list and quickly scanning the new players joining to see who they are, and checking out the IP address. I have kept the server from crashing for around 15 minutes, which before I started doing this it was crashing every 5-10 minutes. I wonder if there is a command crash on linux that no one is aware of?

Thanks if anyone can help, banning is fun (gets the adrenaline rushing) but I have to sleep sometime =]

Offline

    Positive reputation 0   Negative reputation 0

#2 2013-11-16 13:24:39

tuia
BFSoldier
Portugal
Reputation: +1152
Location: Lisbon
Registered: 2012-02-20
Posts: 6,412
Website
Windows XP Firefox 25.0

Re: How to keep players from crashing linux server?

Hmm... It can probably be a new crash method. Can you enable crash dumps in your server?
To enable crash dumps, append to /etc/profile file:

ulimit -c unlimited > /dev/null 2>&1

Reload /etc/profile:

source /etc/profile

Edit /etc/sysctl.conf file and add:

# Append the PID to the core dump file name.
kernel.core_uses_pid = 1

Reload /etc/sysctl.conf:

sysctl -p /etc/sysctl.conf

Last edited by tuia (2013-11-17 13:25:57)

Offline

    Positive reputation 0   Negative reputation 0

#3 2013-11-16 18:15:32

Kansas1327
Player
Reputation: +2
Registered: 2012-11-20
Posts: 81
Website
Windows 8 Chrome 30.0

Re: How to keep players from crashing linux server?

Thanks for the help, Captain Portugal. I asked GameServers to do this. I am guessing it will be around Monday or Tuesday before they ever get to it. They love to slack, and have never moved a bone on any weekend.

Edit: Crashes started on windows server also.

Last edited by Kansas1327 (2013-11-16 19:33:54)

Offline

    Positive reputation 0   Negative reputation 0

#4 2013-11-17 13:35:59

tuia
BFSoldier
Portugal
Reputation: +1152
Location: Lisbon
Registered: 2012-02-20
Posts: 6,412
Website
Windows XP Firefox 25.0

Re: How to keep players from crashing linux server?

I've edited my previous post to be more complete about enabling crash dumps. GameServers should know how to do it, anyway. If they do enable crash dumps, in your BF1942 server directory it will be saved a core.* file after every crash. For example, core.36439 file, the number following core filename is PID at that time of bf1942_lnxded. Upload core file from an induced server crash and I will analyze it.
It must be a new crash method, if your BF1942 Windows server is also being crashed. Does any error dialog message show up when BF1942 Windows server crashes?

Offline

    Positive reputation 0   Negative reputation 0

#5 2013-11-17 18:52:19

Kansas1327
Player
Reputation: +2
Registered: 2012-11-20
Posts: 81
Website
Windows 8 Chrome 30.0

Re: How to keep players from crashing linux server?

It doesn't say anything, just that the server has crashed. server stopped. auto restart enabled, server started.

And of course Gameservers took 13 hours to respond just to say they were not able to enable it.

I am waiting for 30 hours on my other support ticket =] Great service =]

Offline

    Positive reputation 0   Negative reputation 0

#6 2013-12-29 15:29:24

brigadier-
Player
England
Reputation: 0
Location: UK
Registered: 2013-12-29
Posts: 20
Ubuntu Firefox 26.0

Re: How to keep players from crashing linux server?

check server logs, if you can get the actual sequence of the crash packet, you could block it by installing SNORT or something of that nature

Offline

    Positive reputation 0   Negative reputation 0

Board footer