AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Rcon Password Protect (https://forums.alliedmods.net/showthread.php?t=149937)

DarthNinja 02-13-2011 06:03

[ANY] Rcon Password Protect
 
1 Attachment(s)
[Any] Rcon Password Protect
Version 1.1.0



Description:
Very basic plugin - if an admin tries to view or change the rcon password using sm_cvar or sm_rcon they will be denied and their info logged.
Users will only be able to access the rcon password via rcon rcon_password, in which case the obviously already have it.


Commands:
~None
Cvars:
sm_rpp_version - Version

Install Instructions:
  1. Drag and drop.

Notes:
The log file is saved to /logs/RCON_PASSWORD_EXPLOITS.log and lists the client's name, steamid, time, etc.

ToDo:
  • Nothing

Version History:
  • V1.0.0
    • Initial Release
  • V1.1.0
    • Code cleanup
    • Now uses Plugin_Stop
Total downloads prior to last edit: 818

sinblaster 02-13-2011 09:57

Re: [ANY] Rcon Password Protect
 
cheers I'll have a look. Will you be adding any punishment system or something to make one alert of an attempt. If someone tries to steal rcon pass, the first you know about it is if you check logs, is this correct?

DarthNinja 02-13-2011 18:10

Re: [ANY] Rcon Password Protect
 
Quote:

Originally Posted by sinblaster (Post 1414321)
cheers I'll have a look. Will you be adding any punishment system or something to make one alert of an attempt. If someone tries to steal rcon pass, the first you know about it is if you check logs, is this correct?

I can add kick/ban support if you/anyone want that.
At the moment, they are denied and logged, so yes you would have to check your logs.

The log file is only created if someone is caught, so if you see it on your server, you should have a look inside it.

delirium_trigger 02-13-2011 19:00

Re: [ANY] Rcon Password Protect
 
There is a lot of exploitation in L4D2 with downloading cfg files from servers and sending false packets of data to get authentication.

Somehow there are players who are able to get root admin to my server with this plugin installed. I am still not 100% the direct method they are using. I already have consistency enforced and sv_allowupload 0. However, players are still able to get to it.

Do you have any suggestions or any other ways of protecting my server?

sinblaster 02-13-2011 22:55

Re: [ANY] Rcon Password Protect
 
Quote:

Somehow there are players who are able to get root admin to my server with this plugin installed.
Bugger that
For your download issue, this?
[VSP] Anti-flood plugin "Serversecure"

DarthNinja 02-14-2011 01:09

Re: [ANY] Rcon Password Protect
 
delirium_trigger:
Please read the description.

-Edit:
Do you have ServerSecure installed?

blue zebra 02-14-2011 02:04

Re: [ANY] Rcon Password Protect
 
One question.
Can you add that function to your script: (?)
Only for the admins from the admins_simple.ini can send the rcon_password cvar to the server? Anyone else must be kicked or banned from the server when he send this cvar to the server? On my servers, my logs full with the: Bad rcon password ......... rows. Too many loser try to cracking these servers.
(sorry for my bad english)

DarthNinja 02-14-2011 21:19

Re: [ANY] Rcon Password Protect
 
PHP Code:


// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 1440

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 5 

??

irogue 02-14-2011 21:38

Re: [ANY] Rcon Password Protect
 
Thanks, helps alot imho as you said in your desciption if the client doesn't know the pw and is requesting it then really there is no reason they should be requesting it.

I also have my sv_rcon_maxfailures on 1 in the server.cfg

sinblaster 02-15-2011 00:25

Re: [ANY] Rcon Password Protect
 
Quote:

Originally Posted by DarthNinja (Post 1415582)
PHP Code:


// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 1440

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 5 

??


Whats the ?? lol are you asking if this is a good idea? My answer is yes. It looks great


All times are GMT -4. The time now is 00:50.

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