Bad Rcon Attempt Crash
#1

Someone is trying to find my rcon password. After some bad attempts server crash.

Код:
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] BAD RCON ATTEMPT BY: 79.118.226.31
[23:18:01] [debug] Run time error 7: "Stack underflow"
[23:18:01] [debug]  Stack pointer (STK) is 0xCA2D990, stack top (STP) is 0xCA2D990
[23:18:01] [debug] AMX backtrace:
[23:18:01] [debug] Run time error 7: "Stack underflow"
[23:18:01] [debug]  Stack pointer (STK) is 0xCA2D998, stack top (STP) is 0xCA2D990
[23:18:01] [debug] AMX backtrace:
[23:18:01] [debug] Run time error 7: "Stack underflow"
[23:18:01] [debug]  Stack pointer (STK) is 0xCA2D994, stack top (STP) is 0xCA2D990
[23:18:01] [debug] AMX backtrace:
[23:18:01] [debug] Run time error 7: "Stack underflow"
[23:18:01] [debug]  Stack pointer (STK) is 0xCA2D990, stack top (STP) is 0xCA2D990
[23:18:01] [debug] AMX backtrace:
[23:18:01] [debug] Run time error 7: "Stack underflow"
[23:18:01] [debug]  Stack pointer (STK) is 0xCA2D9BC, stack top (STP) is 0xCA2D990
[23:18:01] [debug] AMX backtrace:
[23:18:01] [debug] Run time error 7: "Stack underflow"
[23:18:01] [debug]  Stack pointer (STK) is 0xCA2D9B8, stack top (STP) is 0xCA2D990]
How I can fix this crash?
Reply
#2

https://sampwiki.blast.hk/wiki/Server.cfg
Код:
rcon 0/1 - If 0 is specified the remote rcon feature is disabled.
Reply
#3

I need remote rcon because I have a ucp that sends commands to server via rcon.
Reply
#4

Or just ban IP who tries to attempt wrong password for rcon.
Reply
#5

He/she have dynamic IP.
Reply
#6

No problem, Atleast it won't flood.

Just one attempt and he/she get's ban. If he/she changes again and try to attenpt again on first attempt his/her IP will be banned.

He/She won't continue when he/she get's tired.

This will leave only one message

(Bad Rcon attempt by xx.xx.xx.xx)
IP xx.xx.xx.xx has been banned.

Atleast it won't flood your logs.
Reply
#7

Yeah.. but the server crash.
Reply
#8

Quote:
Originally Posted by bogdyutzu
Посмотреть сообщение
I need remote rcon because I have a ucp that sends commands to server via rcon.
Why not just make your MySQL reflect off of something done to the DB via UCP which reflects in-game instead? Having remote rcon access isn't a smart idea and the best suggestion would be to either do as I said or limit rcon attempts and autoban.
Reply
#9

Because I need live actions. Like Kick, Ban via Admin panel.
Reply
#10

Quote:
Originally Posted by bogdyutzu
Посмотреть сообщение
Because I need live actions. Like Kick, Ban via Admin panel.
This can still be done as suggested via mySQL easily, the thing with mySQL is you can limit the access easily where the remote access if turned on is allowed to everyone publicly if port 7777 is open.

Having Remote Access opened without being connected to the server isn't very safe and secure but that's your decision I would simply just suggest a 1 attempt login or else ban and that will solve your problem, even if they switch their IPs its still going to take a few minutes to do.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)