Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to monitor Call of Duty server?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to monitor Call of Duty server?

FreekFreek Member
edited March 2013 in Help

The past couple of days some assclowns get a kick out of bringing down my COD2 gameservers. As they do not bring down the whole VPS but merely the COD2 servers hosted on it, I don't get any notifications of them being down since the VPS is still up.
Does anyone have experience monitoring Call of Duty servers? Simple pinging ip:port doesn't work. I do see that Pingdom has an option to monitor an UDP port for a response. Problem is that I do not know any responses and I just only know one string, 'getstatus' which always has a difference response (i.e. map, no/players, ping).

Thanks!

Comments

  • SpeedBusSpeedBus Member, Host Rep
    edited March 2013

    Hmm not sure if this offers a way to do what you need, http://www.gametracker.com/

    but sure does track if a game server is up etc

    EDIT : http://www.gametracker.com/servers/

  • You could query your server.. here's an implementation of COD server query protocol in PHP: http://gameq.sourceforge.net/
    But it would surely be better to monitor packets with tcpdump, see what they're sending to crash it, and then drop those packets.

  • What else do you have on that server? I noticed that after the last update from a few days ago apache consumes more memory and is causing out of memory situations for some customers. Do you have apache there? Is this on OpenVZ?If yes, anything in failcnt?

  • We can monitor COD2 services over at NodePing (https://nodeping.com)
    Use our TCP port check for you host. The default port, I think, is 3074 for COD but you'll have to check your configuration to be sure.
    Unlimited SMS alerts along with email and twitter. Provider plan also has webhook alerts (trigger a restart of the services) and voice calls.

  • jarjar Patron Provider, Top Host, Veteran

    How are they bringing it down?

  • Are they flooding the port? What's going on from your side?

  • CiriumCirium Member
    edited March 2013

    I have a cronjob setup that restarts my game servers when they crash.

  • FreekFreek Member

    @SpeedBus said: Hmm not sure if this offers a way to do what you need, http://www.gametracker.com/

    but sure does track if a game server is up etc

    EDIT : http://www.gametracker.com/servers/

    Yeah I already have gametracker but it does not notify you if a server goes down by email or so.

    @superpilesos said: You could query your server.. here's an implementation of COD server query protocol in PHP: http://gameq.sourceforge.net/

    But it would surely be better to monitor packets with tcpdump, see what they're sending to crash it, and then drop those packets.

    Thanks.
    I will lookingo the tcpdump monitoring part. I do not see any strange things in the game logfile itself, so I am not sure how they are doing this as I already patched my gameserver to most known exploits.

    @rds100 said: What else do you have on that server? I noticed that after the last update from a few days ago apache consumes more memory and is causing out of memory situations for some customers. Do you have apache there? Is this on OpenVZ?If yes, anything in failcnt?

    I host 4 COD2 Servers, 1 COD4 Server, 2 TeamSpeak 3 Server and 1 nginx/mysql website which purges the gameserver logfiles into stats on this VPS.
    No apache and this is on KVM

    @NodePing said: Use our TCP port check for you host. The default port, I think, is 3074 for COD but you'll have to check your configuration to be sure.

    Thanks for the tip.

    @jarland said: How are they bringing it down?

    Not sure. Gameserver logfile does not show anything unusual. I have already patched my server against known exploits such as the 'getstatus' UDP flood exploit, call va() exploit, smokes are disabled which can lagg and eventually bring down a server, ingame console is disabled as well.

    @mnpeep said: Are they flooding the port? What's going on from your side?

    UDP Flood is not possible, I have iptables setup to drop UDP floods on those specific ports.

    @Cirium said: I have a cronjob setup that restarts my game servers when they crash.

    A watchdog would also be nice to have. Care to share your cronjob :D ?

  • jarjar Patron Provider, Top Host, Veteran

    If there's nothing in your error logs it wouldn't hurt to ask your provider if anything has been strange around the rough time frames you can piece together.

  • raindog308raindog308 Administrator, Veteran

    Overheard on a morning show long ago:

    "Have you seen Call of Duty?"
    "What's that, a scat porno?"

    Once you hear that joke, you can never get it out of your mind everytime you hear the name of the game.

Sign In or Register to comment.