antonioribeiro / firewall

Firewall package for Laravel applications
BSD 3-Clause "New" or "Revised" License
1.39k stars 163 forks source link

BlockAttacks not working #134

Open joeseld opened 5 years ago

joeseld commented 5 years ago

I tried to use block attacks middleware on all web routes but it is not blocking the attacks. I used Postman's runner and set iteration into 51. After 50 requests, the request and IP still not blocked.

I also added the \PragmaRX\Firewall\Middleware\BlockAttacks::class on 'web' in $middlewareGroups then run this script

for (var i = 1; i <= 60; i++) { $.post(url, function (data) { console.log(data); }); }

but IP still not blocked.