Hello,
I am running FreePBX 17.0.19.28 and Asterisk 22.4.1 on Debian 12. The system handles calls properly, but /var/log/fail2ban.log records the following four lines every five minutes:
2025-07-06 01:00:43,250 fail2ban.transmitter [2119]: ERROR Command ['get', 'ignoreip'] has failed. Received IndexError('list index out of range')
2025-07-06 01:00:43,338 fail2ban.transmitter [2119]: ERROR Command ['set', 'addignoreip', '192.168.0.60'] has failed. Received Exception("Invalid command '192.168.0.60' (no set action or not yet implemented)")
2025-07-06 01:00:43,426 fail2ban.transmitter [2119]: ERROR Command ['set', 'addignoreip', '127.0.0.1'] has failed. Received Exception("Invalid command '127.0.0.1' (no set action or not yet implemented)")
2025-07-06 01:00:43,514 fail2ban.transmitter [2119]: ERROR Command ['set', 'addignoreip', '127.0.1.1'] has failed. Received Exception("Invalid command '127.0.1.1' (no set action or not yet implemented)")
Those three IP addresses are in the ignore list for all of the fail2ban jails:
root@ivr28:/etc/fail2ban# !365
for J in `fail2ban-client status | grep "Jail list:" | awk -F: '{print $2}' | sed -e s/,//g`; do echo $J; echo =======================; fail2ban-client get $J ignoreip; echo; done
apache-api
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
apache-badbots
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
apache-tcpwrapper
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
asterisk-iptables
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
openvpn
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
pbx-gui
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
recidive
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
ssh-iptables
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
sshd
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
vsftpd-iptables
=======================
These IP addresses/networks are ignored:
|- 192.168.0.60
|- 127.0.0.1
`- 127.0.1.1
root@ivr28:/etc/fail2ban#
Does anyone know what might be causing this?