Incoming connection flood
#1

Okay, I have a problem with my server. Someone is flooding my server with "Incoming connnection", I think that is a bot flooding. I've already added an anti bot flood protection, when someone has 3 connections or more on the same IP he will be banned. Anyway, that's not the problem, I've looked into server_log and I saw that every "Incoming connection" come with a different IP. What can I do in that case?
Already searched on ****** but I didn't found nothing that helped me. Any answer is welcome!

Код:
[12:12:56] Incoming connection: 92.80.149.150:62204
[12:13:08] Incoming connection: 188.214.5.139:50435
[12:13:09] Incoming connection: 5.13.231.154:55633
[12:13:09] Incoming connection: 151.233.151.90:53588
[12:13:12] Incoming connection: 188.27.105.236:52481
[12:13:22] Incoming connection: 151.233.151.90:53589
[12:13:25] Incoming connection: 86.34.75.114:12063
Reply
#2

Update your server to 0.3z-R3 (https://sampforum.blast.hk/showthread.php?tid=524049) and use minconnectiontime server variable to stop the attack, in case connections are affecting server's CPU and RAM.
Reply
#3

Update your server pack to 0.3z R3 and below the #include <samp> add a
Код:
minconnectiontime 1000
this will accept a connection to the server every 1 second, you can change that by editting the 1000 to whatever you like. Notice: The time must be in miliseconds!! 1000 miliseconds = 1 second

EDIT: Sorry in the server.cfg not in the script!
Reply
#4

Just one question
I need to define "minconnectiontime 1000" right? Cause if I try to compile without #define I get an error.

Thank you for your support and fast answer! +1 rep to both of you.
Reply
#5

No, you have to add new line "minconnectiontime 1000" in server.cfg.
Reply
#6

Okay, thank you! Vladimir, read niCe's post. Anyway, thank you for your answers!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)