Use mod_log_auth module from Prosody
https://modules.prosody.im/mod_log_auth.html https://hg.prosody.im/prosody-modules/file/tip/mod_log_auth
download module, move to dir add log_auth to config
[metronome] | |
enabled = true | |
port = 5290,5291,5292,5280 | |
filter = metronome-auth | |
logpath = /var/log/metronome/metronome.log |
Use mod_log_auth module from Prosody
https://modules.prosody.im/mod_log_auth.html https://hg.prosody.im/prosody-modules/file/tip/mod_log_auth
download module, move to dir add log_auth to config
[Definition] | |
failregex = Failed authentication attempt \(not-authorized\) for user .* from IP: <HOST> | |
ignoreregex = |