Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions filter.d/traefik-404.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Version 2023/03/06
# Fail2Ban filter configuration for traefik 404
# Count 404 hits as potential threat actors e.g. bots blind scanning or DNS walking
# WARNING: This is an extremely aggressive filer.
# Unless you are certain you need it you almost certainly do not.
# ignoreip's are required as you WILL see false positives.

[INCLUDES]

before = common.conf

[Definition]

failregex = ^<HOST>.*"(GET|POST|HEAD).*HTTP\/[0-9]+(.[0-9]+)?"\ (404)\ .*$
ignoreregex =