mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
19 lines
464 B
Plaintext
19 lines
464 B
Plaintext
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
|