Software /
code /
prosody-modules
Comparison
mod_log_auth/README.markdown @ 2347:a47520a2c59d
mod_log_auth/README: Update regex for 9d43095d915f (fixes #764)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Nov 2016 17:24:07 +0100 |
parent | 1803:4d73a1a6ba68 |
comparison
equal
deleted
inserted
replaced
2346:dd1f0173f538 | 2347:a47520a2c59d |
---|---|
24 configuration for fail2ban: | 24 configuration for fail2ban: |
25 | 25 |
26 # /etc/fail2ban/filter.d/prosody-auth.conf | 26 # /etc/fail2ban/filter.d/prosody-auth.conf |
27 # Fail2Ban configuration file for prosody authentication | 27 # Fail2Ban configuration file for prosody authentication |
28 [Definition] | 28 [Definition] |
29 failregex = Failed authentication attempt \(not-authorized\) from IP: <HOST> | 29 failregex = Failed authentication attempt \(not-authorized\) for user .* from IP: <HOST> |
30 ignoreregex = | 30 ignoreregex = |
31 | 31 |
32 And at the appropriate place (usually the bottom) of | 32 And at the appropriate place (usually the bottom) of |
33 /etc/fail2ban/jail.conf add these lines: | 33 /etc/fail2ban/jail.conf add these lines: |
34 | 34 |