Fail2ban: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
Line 4: Line 4:


<code>/etc/fail2ban/filter.d/httpd-ban.conf</code>:
<code>/etc/fail2ban/filter.d/httpd-ban.conf</code>:
<syntaxhighlight lang="conf">
<syntaxhighlight lang="linux-config">
[Definition]
[Definition]
failregex = ^<HOST> .*
failregex = ^<HOST> .*
Line 12: Line 12:


<code>/etc/fail2ban/jail.d/cutomisation.local</code>:
<code>/etc/fail2ban/jail.d/cutomisation.local</code>:
<syntaxhighlight lang="conf">
<syntaxhighlight lang="linux-config">
[httpd]
[httpd]
enabled = true
enabled = true