Files
glchat/deploy/fail2ban/jail.local.tpl
T

28 lines
656 B
Smarty
Raw Normal View History

# Сгенерировано deploy/install.sh — не редактируйте вручную.
# Jail для неудачных входов в приложение (AGENT.md 9.6).
[glchat-auth]
enabled = true
filter = glchat-auth
logpath = /opt/glchat/caddy/logs/access.log
maxretry = 10
findtime = 5m
bantime = 30m
action = iptables-allports[name=glchat-auth]
[sshd]
enabled = true
port = ${SSH_PORT}
maxretry = 5
findtime = 10m
bantime = 1h
action = iptables-allports[name=sshd]
[recidive]
enabled = true
logpath = /var/log/fail2ban.log
banaction = iptables-allports
bantime = 1w
findtime = 1d
maxretry = 3
action = iptables-allports[name=recidive]