Jun 29 - Update: Fail2ban, welcome email, dunning sequence, escalation
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# /etc/fail2ban/jail.d/jqc.conf
|
||||
#
|
||||
# Jail for JQC login brute-force protection.
|
||||
# Bans IPs that fail login 5 times within 5 minutes for 1 hour.
|
||||
#
|
||||
# Adjust logpath to match your actual log file location.
|
||||
|
||||
[jqc-login]
|
||||
enabled = true
|
||||
filter = jqc-login
|
||||
logpath = /var/www/jqc/logs/jqc.log
|
||||
maxretry = 5
|
||||
findtime = 300
|
||||
bantime = 3600
|
||||
action = iptables-multiport[name=jqc, port="80,443", protocol=tcp]
|
||||
Reference in New Issue
Block a user