Server Logging

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Server Logging

Postby flea » Tue May 05, 2009 12:59 am

Hi,

I am having some problems with my server, and I was wondering what logging options are available to me.

First thing that I noticed is that server.log is not time-stamped. Is there a config var that can add a timestamp to server.log.

Second, is there a way to log "tell" commands? I believe it might be an attack vector someone is using.

Third, are there any other logging options? Have ppl written scripts for additional logging? Is there a wiki you can point me to on server administration?

Last, map downloading works for me (curl points to my vps), but other players are still getting 'all black' maps. Is there a good way to test this?

Thanks,

flea
--
Happy days.
flea
Member
 
Posts: 15
Joined: Tue Jan 27, 2009 3:58 am

Re: Server Logging

Postby mand1nga » Tue May 05, 2009 6:41 am

First thing that I noticed is that server.log is not time-stamped. Is there a config var that can add a timestamp to server.log.


Yes, try this

Code: Select all
timestamps 1
timeformat "%Y%m%d%H%M "


Second, is there a way to log "tell" commands? I believe it might be an attack vector someone is using.


As far as I can tell, no

Third, are there any other logging options? Have ppl written scripts for additional logging? Is there a wiki you can point me to on server administration?


It depends on what you are looking for. do you need extra information ? or scripts for parsing the server output ?

Last, map downloading works for me (curl points to my vps), but other players are still getting 'all black' maps. Is there a good way to test this?


It seems they can't access to your web server, or some maps aren't stored there. You can debug this telling them to download one of these maps from your web server using a browser.

I hope it helps

Cheers
Last edited by mand1nga on Tue May 05, 2009 2:00 pm, edited 1 time in total.
mand1nga
Alien trapper
 
Posts: 321
Joined: Mon May 12, 2008 12:19 am

Postby esteel » Tue May 05, 2009 12:41 pm

Tell is not logged as its supposed to be for PRIVATE talk. However in the development version its now also flood protected like the other chat commands. Maybe thats what you mean by attack?
Also are you sure the download works for you if you delete the file from your client? If that works, maybe you did not put the external address for your download location in the config, or others just can't get the file from there?
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby flea » Wed Jun 10, 2009 8:17 am

esteel wrote:Tell is not logged as its supposed to be for PRIVATE talk. However in the development version its now also flood protected like the other chat commands. Maybe thats what you mean by attack?
Also are you sure the download works for you if you delete the file from your client? If that works, maybe you did not put the external address for your download location in the config, or others just can't get the file from there?


Hi, thanks for replying. I am glad that tell is flood protected now as certain persons were using it to harass.

As to the download problem, it appears that *NIX variants, particularly of the debian kind need libcurl installed before they can download maps. So now the common answer to
Q: "Why is it all black?"
A: "apt-get install libcurl"

As for "attack", one of our local developers has found an buffer overflow exploit that can be used to rewrite the server's rcon password, I expect he will send you code soon.

Regards,

Flea.
--
Happy days.
flea
Member
 
Posts: 15
Joined: Tue Jan 27, 2009 3:58 am

Postby divVerent » Wed Jun 10, 2009 11:13 am

He should send that info NOW, as an overrun is really an URGENT issue.

To me it looks like your "local developer" is a malicious hacker and first wants to break into some servers.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby tundramagi » Thu Jun 11, 2009 2:28 am

I wonder if grsecurity, which will crash the program when the program tries common buffer overflows (writing to non executable stack, accessing memory incorrectly (well it just deny those) etc) mitigates this new attack.

Also, grsec logs everything (especially crashes etc), so with it and the firewall logs, if anyone trys an overflow against my server I'll have their information :).
tundramagi
Forum addon
 
Posts: 974
Joined: Sun Jan 04, 2009 4:53 pm


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron