I think this started happening after 5.1->5.2 update yesterday, as I still have a banned IP listed so definitely was working:
but today I am unable to start the fail2ban service.
The relevant section is:
This won't work because /var/log/auth.log isn't there on Debian 12.
It matches https://github.com/fusionpbx/fusionpbx-install.sh/blob/master/debian/resources/fail2ban/jail.local so my question is where does "fusionpbx" [whatever that is] actually log to? systemd?
Code:
Chain sip-auth-ip (1 references)
target prot opt source destination
DROP 0 -- 193.107.216.241 0.0.0.0/0
but today I am unable to start the fail2ban service.
Code:
Feb 20 17:23:53 ukwpbx systemd[1]: Started fail2ban.service - Fail2Ban Service.
Feb 20 17:23:53 ukwpbx fail2ban-server[52545]: 2024-02-20 17:23:53,954 fail2ban.configreader [52545]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
Feb 20 17:23:53 ukwpbx fail2ban-server[52545]: 2024-02-20 17:23:53,966 fail2ban [52545]: ERROR Failed during configuration: Have not found any log file for fusionpbx jail
Feb 20 17:23:53 ukwpbx fail2ban-server[52545]: 2024-02-20 17:23:53,971 fail2ban [52545]: ERROR Async configuration of server failed
Feb 20 17:23:53 ukwpbx systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
Feb 20 17:23:53 ukwpbx systemd[1]: fail2ban.service: Failed with result 'exit-code'.
The relevant section is:
Code:
[fusionpbx]
enabled = true
port = 80,443
protocol = tcp
filter = fusionpbx
logpath = /var/log/auth.log
action = iptables-allports[name=fusionpbx, protocol=all]
# sendmail-whois[name=fusionpbx, dest=root, sender=fail2ban@example.org] #no smtp server installed
maxretry = 20
findtime = 60
bantime = 3600
This won't work because /var/log/auth.log isn't there on Debian 12.
It matches https://github.com/fusionpbx/fusionpbx-install.sh/blob/master/debian/resources/fail2ban/jail.local so my question is where does "fusionpbx" [whatever that is] actually log to? systemd?