Files
traefik-botfilter/.traefik.yml
T
hoelee de280a2fd9
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
test: cover the encoded scan-path case with the rule it expects to match
2026-11-18 09:06:34 +08:00

29 lines
594 B
YAML

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