On 2020-05-04 13:46, James Moe via Fail2ban-users wrote:
On 2020-05-04 12:06 PM, Gao wrote:
[Mon May 04 09:15:10.359034 2020] [:error] [pid 17835] [client
10.36.36.16:10513] LDAP - Bind user error 49 (Invalid credentials),
referer: https://web.company.com/index.php
Try this:
^.*\[client.*<HOST>\:.*\] LDAP - Bind user error 49.*
Thanks a lot. Your line works.
I also craft a line after try-n-fail:
failregex = [[]client <HOST>:\d+[]]\sLDAP - Bind user error 49
\(Invalid credentials\)
Cheers,
Gao
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users