Zone Flood Protection Rate

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

AdmiralSnackbar
Posts: 5
Joined: 03 Sep 2019, 19:41

Zone Flood Protection Rate

Postby AdmiralSnackbar » 09 Aug 2021, 19:26

Smartfox 2x version: 2.16.3
Client Tech: Unity 2019

Good afternoon,

We have been interested in applying flood protection to our server. Of course, Smartfox2x most definitly has one for zones and that was the first thing we tried. In our experience the mechanism certainly bans users when the absolute number of messages has been reached, but disregards the rate of those messages. Is there anything we can do to factor in that rate before resulting in a ban? If not, is there an anti-flooding tool that would work best with smartfox? Perhaps we are missing a step in our setup? Any insight would be grealty appreciated.

Thank you!
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Zone Flood Protection Rate

Postby Lapo » 10 Aug 2021, 14:52

Hi,
In our experience the mechanism certainly bans users when the absolute number of messages has been reached

It's not an absolute number of messages, it's a number of requests per second.

The Flood Filter allows to configure a specific number of requests/sec for a number of different requests, such as JoinRoom or SetRoomVariables, Public/Private messages etc.

If you go in the AdminTool > Zone Configurator and choose one of your Zones, you can define these filters under the Flood Filter tab, where you can add each request and the rate-per-second you want to use.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 99 guests