#1024822 asterisk: fail2ban no longer monitors asterisk

Package:
asterisk
Source:
asterisk
Description:
Open Source Private Branch Exchange (PBX)
Submitter:
"James.Bottomley@HansenPartnership.com"
Date:
2024-06-07 12:12:21 UTC
Severity:
important
#1024822#5
Date:
2022-11-25 22:37:19 UTC
From:
To:
Upgrading to the current version of asterisk changes the log
location in /etc/asterisk/logger.conf from messages->messages.log

This causes fail2ban to stop logging asterisk because its configuration
in /etc/fail2ban/jail.conf is logfile = /var/log/asterisk/messages

Either change the logging path back to what it was or update fail2ban to look
in the new location.

#1024822#10
Date:
2024-06-07 12:09:35 UTC
From:
To:
reassign 1024822 fail2ban
retitle 1024822 fail2ban: misses asterisk logs using suffix .log since asterisk 19
thanks

Quoting James.Bottomley@HansenPartnership.com (2022-11-25 23:37:19)

This was a deliberate change upstream, in effect since Asterisk 19rc1
(upstream git commit 55c53de022).

I am therefore reassigning to fail2ban for adjusting there.

Also, fixing logrotate which has been missing this change as well.

Thanks for reporting,

 - Jonas