16 lines
402 B
Plaintext
16 lines
402 B
Plaintext
# /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]
|