Fail2ban: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
[apache-overflows] | [apache-overflows] | ||
enabled = true | enabled = true | ||
port = http,https | port = http,https | ||
Line 19: | Line 18: | ||
[apache-badbots] | [apache-badbots] | ||
enabled = true | enabled = true | ||
port = http,https | port = http,https | ||
Line 27: | Line 25: | ||
[apache-nohome] | [apache-nohome] | ||
enabled = true | enabled = true | ||
port = http,https | port = http,https | ||
Line 35: | Line 32: | ||
[php-url-fopen] | [php-url-fopen] | ||
enabled = true | enabled = true | ||
port = http,https | port = http,https |
Latest revision as of 06:51, 25 June 2024
jail.local
[sshd] enabled = true port = ssh logpath = %(sshd_log)s backend = %(sshd_backend)s maxretry = 10 bantime = -1 action = iptables[name=SSH, port=22, protocol=tcp] telegram
[apache-overflows] enabled = true port = http,https filter = apache-overflows logpath = /var/log/apache*/*error.log maxretry = 2
[apache-badbots] enabled = true port = http,https filter = apache-badbots logpath = /var/log/apache*/*error.log maxretry = 2
[apache-nohome] enabled = true port = http,https filter = apache-nohome logpath = /var/log/apache*/*error.log maxretry = 2
[php-url-fopen] enabled = true port = http,https filter = php-url-fopen logpath = /var/log/apache*/*access.log