Differentiating between blocked bad requests and blocked for previous bad requests #533
JasonBarnabe
started this conversation in
Ideas & Proposals
Replies: 3 comments
-
I believe that's the intention behind the Rack::Attack.track('track fail2ban pentesters') do |req|
CGI.unescape(req.query_string) =~ %r{/etc/passwd}
end |
Beta Was this translation helpful? Give feedback.
0 replies
-
Scratch that.... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Has anyone ever figured this out? I'm simply trying to log bans in our database, but I don't want to write to the database thousands of times if we're getting spammed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using the examples from the README:
In the notification handler, is it possible to differentiate between "the user did something bad that was blocked" and "the user previously did something bad, so this non-bad request was blocked"? This would make logging more informative and make it easier to see the actual requests that are flagged as bad.
Beta Was this translation helpful? Give feedback.
All reactions