User:Brush: Difference between revisions
Jump to navigation
Jump to search
Phenomenon (talk | contribs) |
|||
| (24 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
== Contact == | == Contact == | ||
| Line 5: | Line 6: | ||
==ETPro/Lua Referee Monitor== | |||
== Description == | |||
'''Referee monitor in LUA''' | |||
Admin tool, which helps you to check, if just authorized referees login as referees to your servers. | Admin tool, which helps you to check, if just authorized referees login as referees to your servers. | ||
| Line 17: | Line 23: | ||
#when your referees logged in | #when your referees logged in | ||
#if they are really the persons, who they pretend to be | #if they are really the persons, who they pretend to be | ||
#if people tried to hack into the | #if people tried to hack into the referee console | ||
# who spreaded the password accidently on the server | # who spreaded the password accidently on the server | ||
| Line 35: | Line 41: | ||
You can set your prefered field delimiter, which helps you, to import the logs to EXCEL easily. | You can set your prefered field delimiter, which helps you, to import the logs to EXCEL easily. | ||
| Line 49: | Line 54: | ||
*Download the LUA script ''[http://www.crimson-soldiers.org/ref_monitor.lua ref_monitor.lua]'' | *Download the LUA script ''[http://www.crimson-soldiers.org/ref_monitor.lua ref_monitor.lua]'' | ||
*Add the following command to your server.cfg | *Add the following command to your server.cfg to call the script on server start ''[[http://wolfwiki.anime.net/index.php/ETPro:Lua_Mod_API#lua_modules check also ETPRO:Lua Mod API for further informations]]'' | ||
<pre> | |||
set lua_modules "ref_monitor.lua" | |||
</pre> | |||
*Open the script file in your prefered editor and | *Open the script file in your prefered editor and | ||
: set DELIMITER, if you want to import the file to EXCEL, (set to ";" by default) | |||
: set SAFE_FILE or leave it as it is | |||
: set WEAK_FILE or leave it as it is | |||
<pre> | <pre> | ||
| Line 63: | Line 70: | ||
</pre> | </pre> | ||
== | *Save the file and upload it to the etpro folder on the server. | ||
*Ensure, that the script is allowed to create the log files on our server (check File Permissions in ../ET/etpro/.. ) | |||
== Important == | |||
* Please check the file size of the log files from time to time and delete it if it gets too big. | |||
[[Category:ETPro:Mods]] | [[Category:ETPro:Mods]] | ||
== Download == | |||
=== [http://www.crimson-soldiers.org/ref_monitor.lua ref_monitor.lua] === | === [http://www.crimson-soldiers.org/ref_monitor.lua ref_monitor.lua] === | ||
Latest revision as of 17:17, 25 July 2006
Contact
- Homepage
- www.crimson-soldiers.org - catch me in the forum.
ETPro/Lua Referee Monitor
Description
Referee monitor in LUA
Admin tool, which helps you to check, if just authorized referees login as referees to your servers. This tool logs all logins/failed logins. It compares the verified referee password from your server.cfg with the password entered on the server.
So now your are able to notice
- if the servers password is safe
- when your referees logged in
- if they are really the persons, who they pretend to be
- if people tried to hack into the referee console
- who spreaded the password accidently on the server
It logs all login actions into two files:
- contains verified and possibly hacked logins
- contains all failed logins
The logged informations are:
- guid
- ip
- playername
- entered password
- login time and date
You can set your prefered field delimiter, which helps you, to import the logs to EXCEL easily.
Requirements
- Wolfenstein - Enemy Territory, (patched to v2.60) Splashdamage.com
- ET Pro 3.2.3 or higher etpro.anime.net
- write access within the etmain folder
- a referee password - set in your config (set refereePassword "password") [Server configuration]
Installation
- Download the LUA script ref_monitor.lua
- Add the following command to your server.cfg to call the script on server start [check also ETPRO:Lua Mod API for further informations]
set lua_modules "ref_monitor.lua"
- Open the script file in your prefered editor and
- set DELIMITER, if you want to import the file to EXCEL, (set to ";" by default)
- set SAFE_FILE or leave it as it is
- set WEAK_FILE or leave it as it is
DELIMITER = ";" -- set a delimiter char to make the list compatible for imports to EXCEL SAFE_FILE = "successful_logins.txt" -- contains verified AND possibly hacked logins WEAK_FILE = "hacks.txt" -- "hacks.txt" -> contains all failed logins
- Save the file and upload it to the etpro folder on the server.
- Ensure, that the script is allowed to create the log files on our server (check File Permissions in ../ET/etpro/.. )
Important
- Please check the file size of the log files from time to time and delete it if it gets too big.