Fail2ban And Pjsip In Asterisk 12 And 13

Home » Asterisk Users » Fail2ban And Pjsip In Asterisk 12 And 13
Asterisk Users 7 Comments

Hi,

Info !!! not a question !!!

the pjsip logger is different:

[Sep 15 07:33:27] NOTICE[65267] res_pjsip/pjsip_distributor.c: Request from ‘”1001″ ‘ failed for ‘85.25.197.23:5071’
(callid: 1bfa1fcfee1e20dbe9bbbcac5d7bdffc) – No matching endpoint found

and here the RegEx for fail2ban to catch this log:

|NOTICE.* .*: Request from ‘.*’ failed for ‘(:[0-9]{1,5})?’ (.*) –
No matching endpoint found

Regards|

7 thoughts on - Fail2ban And Pjsip In Asterisk 12 And 13