SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 06/07/2014, 08:25 AM   #1
rhaskos
Little Clucker
 
Join Date: Jul 2013
Location: Romania
Posts: 17
Reputation: 0
Default Incoming connection flood

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!

Code:
[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
rhaskos is offline   Reply With Quote
Old 06/07/2014, 09:05 AM   #2
niCe
Huge Clucker
 
niCe's Avatar
 
Join Date: Mar 2008
Location: CZ
Posts: 390
Reputation: 424
Default Re: Incoming connection flood

Update your server to 0.3z-R3 (http://forum.sa-mp.com/showthread.php?t=524049) and use minconnectiontime server variable to stop the attack, in case connections are affecting server's CPU and RAM.
__________________
[ENG] s2.gta-multiplayer.cz:7777 WTLS 2 (Singleplayer Features)
[ENG] s3.gta-multiplayer.cz:7777 WTLS 3 (Singleplayer Features)

- Pool, basketball, golf, Poker Texas Holdem, races and other minigames
- Video game QUB3D
- Roulette, blackjack, slots, video poker and horse-betting
- Stock market BAWSAQ
- Organizations and offices
- Missions from Big Smoke, Sweet, Zero, Cesar or Woozie!
- Gang wars
- More than 30 jobs (police, paramedic, firefighter, burglar, pimp, valet, pizza-boy and more)
- Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and more
Watch the TRAILER
Servers are hosted at Evolution Host
niCe is offline   Reply With Quote
Old 06/07/2014, 09:05 AM   #3
VladimirMark
Huge Clucker
 
VladimirMark's Avatar
 
Join Date: May 2014
Location: Russia
Posts: 362
Reputation: 21
Default Re: Incoming connection flood

Update your server pack to 0.3z R3 and below the #include <samp> add a
Code:
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!
__________________
Rep+ If I really helped you
Mapping is what I do.
Contact me:




Last edited by VladimirMark; 07/07/2014 at 06:53 PM.
VladimirMark is offline   Reply With Quote
Old 06/07/2014, 09:58 AM   #4
rhaskos
Little Clucker
 
Join Date: Jul 2013
Location: Romania
Posts: 17
Reputation: 0
Default Re: Incoming connection flood

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.
rhaskos is offline   Reply With Quote
Old 06/07/2014, 10:35 AM   #5
niCe
Huge Clucker
 
niCe's Avatar
 
Join Date: Mar 2008
Location: CZ
Posts: 390
Reputation: 424
Default Re: Incoming connection flood

No, you have to add new line "minconnectiontime 1000" in server.cfg.
__________________
[ENG] s2.gta-multiplayer.cz:7777 WTLS 2 (Singleplayer Features)
[ENG] s3.gta-multiplayer.cz:7777 WTLS 3 (Singleplayer Features)

- Pool, basketball, golf, Poker Texas Holdem, races and other minigames
- Video game QUB3D
- Roulette, blackjack, slots, video poker and horse-betting
- Stock market BAWSAQ
- Organizations and offices
- Missions from Big Smoke, Sweet, Zero, Cesar or Woozie!
- Gang wars
- More than 30 jobs (police, paramedic, firefighter, burglar, pimp, valet, pizza-boy and more)
- Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and more
Watch the TRAILER
Servers are hosted at Evolution Host
niCe is offline   Reply With Quote
Old 06/07/2014, 10:40 AM   #6
rhaskos
Little Clucker
 
Join Date: Jul 2013
Location: Romania
Posts: 17
Reputation: 0
Default Re: Incoming connection flood

Okay, thank you! Vladimir, read niCe's post. Anyway, thank you for your answers!
rhaskos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incoming connection (Flood? Bot Attack?) David (Sabljak) Scripting Help 7 30/08/2017 04:23 AM
[Ajuda] incoming connection raphaelmarquesgarcia Português/Portuguese 10 22/06/2013 06:26 PM
[Ajuda] Incoming connection SkullFire Português/Portuguese 4 01/05/2013 03:26 AM
[Ajuda] Incoming Connection: [RW]_Claudio Português/Portuguese 2 15/11/2012 02:43 AM
[Ajuda] Incoming connection fodaoeusim Português/Portuguese 3 15/07/2012 03:28 PM


All times are GMT. The time now is 06:13 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.