akaunting / laravel-firewall

Web Application Firewall (WAF) package for Laravel
https://akaunting.com
MIT License
942 stars 106 forks source link

Tarpit #28

Closed yormy closed 4 years ago

yormy commented 4 years ago

Added a tarpit functionality This is kind of a soft block. Instead of blocking a ip on a violation it records that the violation took place and after a certain grace period (say 3 times) blocking takes effect as the following. The first violation afterwards blocks the ip for a small period of time (say 20 sec), the next violation after that, the blocking will be 40 sec, then 80 secs. This adds up quickly. The reason for this tarpit is that the user is not really blocked permanently (and the admin needs to unblock), but continuing violations they will have to wait much longer each time.

If I need to change anything, just let me know... I just want to give you these additions

denisdulici commented 4 years ago

Duplicate of #15