Rack middleware for blocking & throttling
Full Changelog: https://github.com/rack/rack-attack/compare/v6.6.1...v6.7.0
Details in CHANGELOG entry.
Details in CHANGELOG entry.
Details in CHANGELOG entry.
Details in CHANGELOG entry.
#blocklist
and #safelist
name argument (the first one) is now optional.ActiveSupport::Notifications
, e.g. subscribe to the
throttle.rack_attack
or the blocklist.rack_attack
event.ActiveSupport::Notifications
event naming to comply with the recommneded format.ActiveSupport::Notifications
to the "rack.attack"
event will continue to work (receive event
notifications), but it is going to be removed in a future version. Replace the event name with /rack_attack/
to
continue to be subscribed to all events, or "throttle.rack_attack"
e.g. for specific type of events only.#blacklist
and #whitelist
(use #blocklist
and #safelist
instead).