Flood Filter active but not working

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

Moderators: Lapo, Bax

bryanadams

Flood Filter active but not working

Postby bryanadams » 19 Apr 2012, 06:58

hi
my config is below,
when i send same messages 6-10 times system doesnt ban me ..
for example. i send 7 times "holahola" but no action from server side
holahola
holahola
holahola
holahola
holahola
holahola
holahola

<floodFilter active="true">
<banDurationMinutes>1440</banDurationMinutes>
<maxFloodingAttempts>5</maxFloodingAttempts>
<secondsBeforeBan>5</secondsBeforeBan>
<banMode>NAME</banMode>
<logFloodingAttempts>true</logFloodingAttempts>
<banMessage>you banned</banMessage>
</floodFilter>
what's problem?
thanks
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Flood Filter active but not working

Postby Lapo » 19 Apr 2012, 16:36

It sounds like you didn't configure which messages to filter.
Go back to the AdminTool > ZoneConfigurator > FloodFilter, there you find a list of requests that are filtered and the amount of req/second that you want to allow. Add the PublicMessage and maybe set it to 4 req/sec. Restart and try flooding you will see that the filter will trigger :)
The same can be done for private messages, buddy messages and almost all other requests available from client side.

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
bryanadams

Re: Flood Filter active but not working

Postby bryanadams » 03 Jun 2012, 16:48

Thans Lapo flood is ok now :)

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Google [Bot] and 48 guests