AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [Any] Paranoia IP Tracker (https://forums.alliedmods.net/showthread.php?t=179059)

DarthNinja 02-25-2012 07:41

[Any] Paranoia IP Tracker
 
1 Attachment(s)
[Any] Paranoia IP Tracker
Version 1.0.1


Description:
Logs players IP addresses to two database tables.

Why?
Maybe you've had an issue with a skiddie attacking your servers and want to track their IP to a steamid. Maybe you've wanted to ban a troublemaker, but they just create new accounts.

Whatever your reason is, this plugin is intended for proactive security/logging, although you could also use it to see where your players are playing from if you were inclined.
The plugin creates and logs to two tables:
  • Paranoia_IPTracker:
    Holds the player's steamid, last used name, a timestamp of their last connect, and the player's last 10 unique IP addresses.
  • Paranoia_IPTrackerLogs:
    Stores a row for every connection with the steamid, name, IP and timestamp for that connection.
    Note: this table is only used if sm_paranoia_ip_verbose is set to 1.

Commands:
  • None

Cvars:
  • sm_paranoia_ip_version
    • Plugin Version
  • sm_paranoia_ip_verbose
    • Set to 1 and the plugin will also log to Paranoia_IPTrackerLogs.

Install Instructions:

  1. Place ParanoiaIPTracker.smx into your addons/sourcemod/plugins/ folder.
  2. Update your databases.cfg file with an entry for "paranoiaip".

Notes:
  • If the plugin loses connection to the database server, it will log to the logs/paranoia_ip.log file as a backup solution.
  • This plugin does NOT support SQLite.

Version History:
  • V1.0.0
    • Initial Release
  • V1.0.1
    • Forgot to escape names.
Total downloads as prior to last edit: 20







DarthNinja 02-25-2012 07:42

Re: [Any] Paranoia IP Tracker
 
Reserved

Groger 02-25-2012 08:47

Re: [Any] Paranoia IP Tracker
 
haha, brilliant :P

**installing**

Aggamemnon 02-26-2012 06:02

Re: [Any] Paranoia IP Tracker
 
Looks great!:avast:

Can this be put into several servers?

DarthNinja 02-26-2012 07:55

Re: [Any] Paranoia IP Tracker
 
Yep

Professor Chaos 02-27-2012 07:58

Re: [Any] Paranoia IP Tracker
 
It was installed before i finished reading the description......

ku5h 02-27-2012 20:57

Re: [Any] Paranoia IP Tracker
 
nice plugin. thx.

TnTSCS 03-02-2012 17:56

Re: [Any] Paranoia IP Tracker
 
nice :)

Will put this to use

PiwneBractwo 03-03-2012 06:54

Re: [Any] Paranoia IP Tracker
 
Nice plugin :)

You can change the date in Paranoia_IPTrackerLogs / ConnectTime ?
In this table I see date for example 1330774025.


Sorry for my english
Regards

monomizer 03-03-2012 09:55

Re: [Any] Paranoia IP Tracker
 
should look something like a database?
"paranoiaip"
{
"driver" "sqlite"
"database" "paranoiaip"
}

or

"paranoiaip"
{
"driver" "sqlite"
"host" "localhost"
"database" "paranoiaip"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}


All times are GMT -4. The time now is 07:04.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.