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); }); }
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.