Repository navigation
Is it possible to expose the match_discriminator for blocklists? #570
Unanswered
monfresh
asked this question in
Questions (Q&A)
Replies: 2 comments
|
@monfresh Neat question! I don't see an easy way to expose the Allow2Ban discriminator at the moment. I'd welcome a PR adding more instrumentation or events to Allow2Ban/Fail2Ban to enable your use case. |
0 replies
|
The fact it's not possible to expose the discriminator for blocklists without resorting to thread-local hacks suggests the data structure used for blocklists is lacking. I've come across RackAttackAdmin library and it monkey-patches RackAttack and modified how blocklists work. I'm not sure if the modifications are enough for this feature, but it's worth checking out: https://github.com/TylerRick/rack_attack_admin#fail2banallow2ban |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi. For notifications, I'm logging the following text:
For throttles, it works great. For example:
However, for blocklists, it doesn't specify the
user_id:Here is my blocklist:
Is there a way to expose the Allow2Ban key as the match_discriminator?
Thanks!
All reactions