Fail2ban not working?

I have fail2ban loaded:

root@raspbx:~# fail2ban-client status asterisk
Status for the jail: asterisk
|- Filter
| |- Currently failed: 0
| |- Total failed: 0
| - File list: /var/log/asterisk/security_log- Actions
|- Currently banned: 0
|- Total banned: 0
`- Banned IP list:

but I am still getting hundreds of these in my log.

[2019-03-09 23:46:09] NOTICE[16611] res_pjsip/pjsip_distributor.c: Request ‘INVITE’ from ‘<sip:[email protected]>’ failed for ‘212.129.46.161:60179’ (callid: 1208599151-859819024-908390101) - No matching endpoint found

Should fail2ban stop these?

This is not a supported version, lookup their documentation, since you can’t configure it from the GUI.

Here’s a link I found on their site RasPBX - Asterisk for Raspberry Pi / Discussion / Tutorials and How-Tos: Asterisk & Fail2Ban HowTo on RasPBX

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.