Last active
July 27, 2022 20:01
-
-
Save teol/49f9b1d158ae7b15139a0ec68f8ec21a to your computer and use it in GitHub Desktop.
crowdsec-http-antiflood
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: leaky | |
name: teol/antiflood | |
description: "anti flood against endpoints" | |
filter: "evt.Meta.log_type in ['http_access-log', 'http_error-log'] && Meta.http_path startsWith '/picture' && evt.Parsed.verb in ['GET', 'POST']" | |
leakspeed: 0.5s #tweak | |
capacity: 10 #tweak | |
groupby: "evt.Meta.source_ip + '/' + evt.Meta.http_path" | |
blackhole: 1m | |
labels: | |
service: http | |
type: attack | |
remediation: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment