› VitalPBX Community Support › General Discussion › GUI Fail2ban not working › Reply To: RE: GUI Fail2ban not working
-
- March 15, 2018 at 4:52 pm
Here is some info from the fail2ban.log the firewall is blocking correctly just not fail2ban
2018-03-15 10:47:06,559 fail2ban.actions [13977]: ERROR Failed to start jail ‘vitalpbx-gui’ action ‘firewallcmd-ipset’: Error starting action
2018-03-15 10:47:06,867 fail2ban.action [13977]: ERROR ipset create fail2ban-asterisk-udp hash:ip timeout 600
firewall-cmd –direct –add-rule ipv4 filter ombu_fail2ban 0 -m set –match-set fail2ban-asterisk-udp src -j REJECT –reject-with icmp-port-unreachable — stdout: ”
2018-03-15 10:47:06,868 fail2ban.action [13977]: ERROR ipset create fail2ban-asterisk-udp hash:ip timeout 600
firewall-cmd –direct –add-rule ipv4 filter ombu_fail2ban 0 -m set –match-set fail2ban-asterisk-udp src -j REJECT –reject-with icmp-port-unreachable — stderr: ‘ipset v6.29: Kernel error received: Operation not permittednx1b[91mError: COMMAND_FAILEDx1b[00mn’
2018-03-15 10:47:06,869 fail2ban.action [13977]: ERROR ipset create fail2ban-asterisk-udp hash:ip timeout 600
firewall-cmd –direct –add-rule ipv4 filter ombu_fail2ban 0 -m set –match-set fail2ban-asterisk-udp src -j REJECT –reject-with icmp-port-unreachable — returned 13
2018-03-15 10:47:06,869 fail2ban.actions [13977]: ERROR Failed to start jail ‘asterisk’ action ‘firewallcmd-ipset-udp’: Error starting action
2018-03-15 10:47:08,072 fail2ban.server [13977]: INFO Jail vitalpbx-gui is not a FileFilter instance0