dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on March 16, 2016, 06:38:22 PM

Title: Forum Hard Hit Preventer
Post by: Chip on March 16, 2016, 06:38:22 PM
source: http://custom.simplemachines.org/mods/index.php?mod=4091

This mod records all non-action visits (aka board index, individual boards and topics) from an IP address for all members EXCEPT for admin and moderators within the session data.  If the visitor is recorded as having more hits than a specified number of times per minutes, this mod will automatically place a ban in the .htaccess file.  The default (and minimum) is set to 30 (one hit every 2 seconds), which I feel is more than reasonable for most users.

There is a new setting under Admin => Configuration => Security and Moderation called:
o Maximum number of visits allowed before automatic ban

currently under testing
Title: Re: Forum Hard Hit Preventer
Post by: Zoops on March 16, 2016, 07:36:22 PM
What, so if we click on something more than every two seconds, we get blocked? This is to prevent Denial of Service attacks?
Title: Re: Forum Hard Hit Preventer
Post by: Chip on March 16, 2016, 07:45:06 PM
no, DoS attacks affect the server.

this is for bots and other automated assaults.

this will only be deployed if I see a need to and I'd probably set it to 40-60 hits/min. per guest/member.
Title: Re: Forum Hard Hit Preventer
Post by: Roman Totale on March 16, 2016, 11:15:43 PM
Skimmed the thread title thought this was about preventing good inhalations of crack cocaine briefly...
Title: Re: Forum Hard Hit Preventer
Post by: Jega on March 17, 2016, 07:24:50 AM
I bet you'll end up using it. the mod.
SimplePortal 2.3.6 © 2008-2014, SimplePortal