rack / rack-attack

Rack middleware for blocking & throttling
MIT License
5.57k stars 337 forks source link

Instrument fail2ban #655

Open woahdae opened 7 months ago

woahdae commented 7 months ago

Previously, if a request triggered a ban, there was no instrumentation for knowing the ban occurred.

This instruments bans under the ban.rack_attack notification.