Initial commit

This commit is contained in:
2025-12-03 15:42:58 +00:00
commit e7128e8652
13 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# gitea.local
[Definition]
failregex = .*(Failed authentication attempt|invalid credentials|Attempted access of unknown user).* from <HOST>
ignoreregex =

View File

@@ -0,0 +1,8 @@
[gitea-docker]
enabled = true
filter = gitea
logpath = /var/log/gitea/access.log
maxretry = 10
findtime = 3600
bantime = 900
action = iptables-allports[chain="FORWARD"]

View File

@@ -0,0 +1,9 @@
[nginx-badbots]
enabled = true
port = http,https
filter = nginx-error-common
logpath = /var/log/nginx/access.log
maxretry = 10
findtime = 60
bantime = 3600
chain = DOCKER-USER

View File

@@ -0,0 +1,19 @@
[nginx-http-auth]
enabled = true
port = http,https
filter = nginx-http-auth
logpath = /var/log/nginx/error.log
maxretry = 3
findtime = 600
bantime = 86400
chain = DOCKER-USER