Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
msaladna authored Feb 20, 2017
1 parent 4dbdc66 commit 09f96cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ typically /etc/fail2ban/filter.d.
Activate the jail by adding the following to jail.conf:


>[evasive]
```
[evasive]
enabled = true
filter = apache-modevasive
action = iptables-multiport[name=evasive, port="http,https", proto=tcp]
Expand All @@ -126,6 +127,7 @@ maxretry = 1
findtime = 120
bantime = 120
ignoreip = 127.0.0.1
```

Then reload fail2ban: `fail2ban-client reload`. It's also recommended to
activate recidive support to ban long-term abusers.
Expand Down

0 comments on commit 09f96cd

Please sign in to comment.