test: cover the encoded scan-path case with the rule it expects to match
ci / middleware (go) (push) Canceled after 0s
ci / py-monitor (python) (push) Canceled after 0s
ci / java-cache (maven) (push) Canceled after 0s
ci / shell-sync (syntax) (push) Canceled after 0s

This commit is contained in:
hoelee committed 2026-11-18 09:06:34 +08:00
1 parent b5e7143742
commit de280a2fd9
39 files changed
+2703 -1

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
displayName: Bot Filter
type: middleware
import: github.com/hoelee/traefik-botfilter
summary: Rejects common scans and temporarily bans suspicious clients using bounded per-IP scoring.
testData:
statusCode: 403
requireUserAgent: true
requireAccept: true
requireHost: true
browserValidation: true
whitelistCIDRs:
- 192.168.0.0/16
- 10.0.0.0/8
temporaryBanMinutes: 15
blockedUserAgents:
- curl
- wget
- python
blockedPaths:
- /.env
- /.git
- /wp-login.php
- /xmlrpc.php
- /phpmyadmin
blockedExtensions:
- .env
- .bak
- .zip