How to stop attacks -
ThatThoseTheThy - 20.05.2014
I have a problem with my server, from time to time a different community attacks my server and bans all the members, meaning they are using some type of cheap rcon-server-hack thing. anyway my question is, is there a way to script that rcon commands can't work? I mean in the server.cgf i am afraid they can change it, so i want to change in the script itself.
I mean i can do OnRconCommand(cmd[])
but still have accses to /ban(My scripts /ban uses "SendRconCommand("ban");").
Any suggestions or thoughts?
Re: How to stop attacks -
verlaj - 20.05.2014
What i think is...someone from your community gotta be using it.
anyways,
you can have them banned using :
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
if(!success) //If the password was incorrect
{
Ban(playerid);
}
else
{
Ban(playerid); //ban them anyways xD
}
return 1;
}
Re: How to stop attacks -
JFF - 20.05.2014
add
rcon 0
in Server.cfg
it will disable rcon commands
Re: How to stop attacks -
ikkentim - 20.05.2014
Quote:
Originally Posted by JFF
add
rcon 0
in Server.cfg
it will disable rcon commands
|
Incorrect. It disables the ability of controlling the server remotely. You can still execute commands thru the server console.
Re: How to stop attacks -
ThatThoseTheThy - 20.05.2014
The thing is no one from my community can use the /rcon login [pass] because no matter what they put there they get banned. I made the script to do so.
So it's a external hack which i myself seen it working.
Re: How to stop attacks -
Threshold - 20.05.2014
Quote:
Originally Posted by JFF
add
rcon 0
in Server.cfg
it will disable rcon commands
|
Quote:
Originally Posted by JFF
add
rcon 0
in Server.cfg
it will disable rcon commands
|
Quote:
Originally Posted by JFF
add
rcon 0
in Server.cfg
it will disable rcon commands
|
Quote:
Originally Posted by JFF
add
rcon 0
in Server.cfg
it will disable rcon commands
|
Quote:
Originally Posted by JFF
add
rcon 0
in Server.cfg
it will disable rcon commands
|
Quote:
Originally Posted by JFF
add
rcon 0
in Server.cfg
it will disable rcon commands
|
Quote:
Originally Posted by JFF
add
rcon 0
in Server.cfg
it will disable rcon commands
|
--
Do you get the message?
There is no way to simply 'disable' a native RCON command from actually executing.
By adding 'rcon 0' to your server.cfg, you are disabling the external Remote Console, so players can't keep trying to access your server externally which they can eventually do using a program which I don't know if I am allowed to mention. It's not so much a 'hack', it is just more of a 'trial and error' program which keeps guessing until it is correct. Externally, they can do this an infinite amount of times without being automatically banned.
This way, the only way RCON can be accessed is by people in the server. As you said, if they use /rcon login, they get banned, so the solution is right in front of you.
Re: How to stop attacks -
ThatThoseTheThy - 20.05.2014
Quote:
Originally Posted by BenzoAMG
--
Do you get the message?
There is no way to simply 'disable' a native RCON command from actually executing.
By adding 'rcon 0' to your server.cfg, you are disabling the external Remote Console, so players can't keep trying to access your server externally which they can eventually do using a program which I don't know if I am allowed to mention. It's not so much a 'hack', it is just more of a 'trial and error' program which keeps guessing until it is correct. Externally, they can do this an infinite amount of times without being automatically banned.
This way, the only way RCON can be accessed is by people in the server. As you said, if they use /rcon login, they get banned, so the solution is right in front of you.
|
That didn't stop them. I'll try once again. is there any script that when someone bans it shows the Admin IP and the hackers IP(Assuming this somehow will work also for console ban). like it checks the IP of the console banner?
Re: How to stop attacks -
Campbell- - 20.05.2014
Quote:
Originally Posted by ThatThoseTheThy
That didn't stop them. I'll try once again. is there any script that when someone bans it shows the Admin IP and the hackers IP(Assuming this somehow will work also for console ban). like it checks the IP of the console banner?
|
- Change your RCON password.
- Disable remote RCON access.
- Create logs to see why your people get banned by who (Command Log, Ban Log, RCON-Command Log (OnRconCommand())).
Re: How to stop attacks -
ThatThoseTheThy - 20.05.2014
Quote:
Originally Posted by Campbell-
- Change your RCON password.
- Disable remote RCON access.
- Create logs to see why your people get banned by who (Command Log, Ban Log, RCON-Command Log (OnRconCommand())).
|
I change it daily. It is disabled for about a week now. They get banned by a external console that uses rcon.
If I find their ip I might be able to do something about it. So my quesyion is there a way to know the ip of a banner that used the server console?
Re: How to stop attacks - Guest4390857394857 - 21.05.2014
is it your own scripted gamemode or any thing you downloaded from here like ng-rp ?