Author Topic: Global IP logger  (Read 5567 times)

0 Members and 1 Guest are viewing this topic.

Offline Pizzaboy

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Global IP logger
« on: March 01, 2009, 01:35:23 AM »
Hi,

I've been looking for Global IP logger, without results.

It would be useful to track hackers or people who crash your server or mess it up through console.


Pizzaboy

EDIT: Sorry, posted on wrong place. Move this to suggest ideas section please.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Global IP logger
« Reply #1 on: March 01, 2009, 07:18:45 AM »
If you have logging enabled in ulx's server.ini (and it is by default), every player that joins gets a line like the following
"[time]Client "<name>" spawned in server (<ip>:<port>)<steamid>"
stored in the logs.
There are also logs made whenever a player connects, however, that doesn't mean they spawned into the server.
(A banned player using join spam, etc, could cause multiple "connected" entries)

See your server gmod\data\ulx_logs folder. They're by date
When searching, the file, use "spawned in server" as text to search for to find IPs

As for console, I believe there are already convars to enable logging of that sort built into Source server.
I don't remember what I had to type, but I now see "rcon from <ip> : <command>" whenever rcon is used.
I know there's a way to have that save, I just don't remember it. It's not ULX.
Try in your server or game client console typing "find log" and it will print out all the convars and little tips for them that include the word "log"
« Last Edit: March 01, 2009, 07:22:38 AM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Global IP logger
« Reply #2 on: March 01, 2009, 07:28:55 AM »
Found these using Google.
You find out exactly how they work.
Code: [Select]
log <on/off>  Enables server logging.
sv_logbans <0/1> Log server bans in the server logs.
sv_logecho <0/1> Echo log information to the console.
sv_logfile <0/1> Log server information in the log file.
sv_log_onefile <0/1> Log server information to only one file.
sv_logsdir Folder in the game directory where server logs will be stored.

Again, those have nothing to do with ULX; though ULX stores much of the same information in a different format.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming