Forum

> > CS2D > General > Bannned from own server
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Bannned from own server

23 replies
Page
To the start Previous 1 2 Next To the start

old Re: Bannned from own server

CmDark
User Off Offline

Quote
My biggest suggestion would be:

using Lua:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Allow_IP = {}; --Put authorized IP's(remote rcon check) 
Allow_USGN = {}; --Put authorized USGN's(normalCheck)
function auth_rcon ( c, p, ip )
  if (p~=0) then
	if Allow_USGN[player(p,"usgn")]==true then
	    msg2(p,"You aren't authorized for rcon.");
	return 1
	else
	return 0
	end
  elseif (p==0) then
	if Allow_IP[ip]==true then
	return 0
	else
	return 1
	end
  end
end

addhook('rcon','auth_rcon');

Basically, add the USGNs and IPs that you want to allow to use it (remember to allow 127.0.0.1 and your static ip if you want yourself to be able to use rcon in a dedi svr.)

old Re: Bannned from own server

Polygon3D
BANNED Off Offline

Quote
Lets look at the problem at hand.

1. Check the logs for rcon user,(if the 'hacker' is smart they would have deleted logs.) and manually banip them.

2. Don't use rcon, or at least restrict users to an ip range, I would also recommend getting server scripts that use say commands. You can find out who is abusive just by reports instead of logs.

old Re: Bannned from own server

Night Till Death
User Off Offline

Quote
Here is my advice...disable the rcon...it wont give them the abillity to BAN you and neither will it give up the chance to ban them...create a server by New Game and BAN them from there...they can use the rcon if you dont have it...there for it will disable the abillity for them to ban YOU + if you are the server they CANT ban you ever...

old Re: Bannned from own server

J3sse
User Off Offline

Quote
Night Till Death has written
Here is my advice...disable the rcon...it wont give them the abillity to BAN you and neither will it give up the chance to ban them...create a server by New Game and BAN them from there...they can use the rcon if you dont have it...there for it will disable the abillity for them to ban YOU + if you are the server they CANT ban you ever...


If you want to host 247 server, dedicated server is preferred. Might be a keylogger, make sure to check for that. Also, give rcon pw to people you REALLY TRUST, maybe for ones you know IRL.
To the start Previous 1 2 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview