add readme on how to setup fail2ban

This commit is contained in:
Uwe Steinmann 2019-01-16 09:32:20 +01:00
parent 219a74e09a
commit 5a949f37a7

18
doc/README.Fail2ban Normal file
View File

@ -0,0 +1,18 @@
Adding authentication failure check for fail2ban
=================================================
You will have to use 5.1.10 for this to work.
Add a filter /etc/fail2ban/filter.d/seeddms.conf with the content
[Definition]
failregex = \[error\] -- \(<HOST>\) op.Login login failed
then configure a new jail in /etc/fail2ban/jail.d/seeddms.conf
[seeddms]
enabled = yes
port = http,https
filter = seeddms
logpath = /home/www-data/seeddms-demo/data/log/*.log