Try `iptables -h' or 'iptables --help' for more information.
[root@freepbx ~]# Try `iptables -h' or 'iptables --help' for more information.
> 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s 1.2.2.ip/32 -j fpbxknownreg
> iptables v1.4.21: unknown option "-w5"
> Try `iptables -h' or 'iptables --help' for more information.
> 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s ip.2.1.1/3 2 -j fpbxknownreg
> iptables v1.4.21: unknown option "-w5"
> Try `iptables -h' or 'iptables --help' for more information.
-bash: command substitution: line 1: unexpected EOF while looking for matching `''
-bash: command substitution: line 5: syntax error: unexpected end of file
-bash: Try: command not found
[root@freepbx ~]# 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s ip.2.1.1/32 - j fpbxknownreg
-bash: 1517779731:: command not found
[root@freepbx ~]# iptables v1.4.21: unknown option "-w5"
Bad argument `v1.4.21:'
Try `iptables -h' or 'iptables --help' for more information.
[root@freepbx ~]# Try `iptables -h' or 'iptables --help' for more information.
> 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s ip.ip.169.ip/3 2 -j fpbxknownreg
> iptables v1.4.21: unknown option "-w5"
> Try `iptables -h' or 'iptables --help' for more information.
> 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s ip.167.ip.ip/32 -j fpbxknownreg
> iptables v1.4.21: unknown option "-w5"
> Try `iptables -h' or 'iptables --help' for more information.
-bash: command substitution: line 1: unexpected EOF while looking for matching `''
-bash: command substitution: line 5: syntax error: unexpected end of file
-bash: Try: command not found
[root@freepbx ~]# 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s ip.ip.25.ip/32 -j fpbxknownreg
-bash: 1517779731:: command not found
[root@freepbx ~]# iptables v1.4.21: unknown option "-w5"
Bad argument `v1.4.21:'
Try `iptables -h' or 'iptables --help' for more information.
[root@freepbx ~]# Try `iptables -h' or 'iptables --help' for more information.
> 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s ip.ip.1.ip/3 2 -j fpbxknownreg
> iptables v1.4.21: unknown option "-w5"
> Try `iptables -h' or 'iptables --help' for more information.
> 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s ip.ip.ip.2/3 2 -j fpbxknownreg
> iptables v1.4.21: unknown option "-w5"
> Try `iptables -h' or 'iptables --help' for more information.
-bash: command substitution: line 1: unexpected EOF while looking for matching `''
-bash: command substitution: line 5: syntax error: unexpected end of file
-bash: Try: command not found
[root@freepbx ~]# 1517779731: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s ip.ip.2.ip/32 - j fpbxknownreg
-bash: 1517779731:: command not found
[root@freepbx ~]# iptables v1.4.21: unknown option "-w5"
Bad argument `v1.4.21:'
Try `iptables -h' or 'iptables --help' for more information.
[root@freepbx ~]# Try `iptables -h' or 'iptables --help' for more information.
> PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/mod ules/firewall/drivers/Iptables.class.php on line 828
> PHP Fatal error: Uncaught exception 'Exception' with message 'Firewall is not r unning!' in /var/www/html/admin/modules/firewall/Attacks.class.php:17
> Stack trace:
> #0 phar:///var/www/html/
> #1 phar:///var/www/html/admin/modules/
> #2 /var/www/html/admin/modules/firewall/hooks/voipfirewalld(3): include('phar:// /var/www...')
> #3 {main}
> thrown in /var/www/html/admin/modules/firewall/Attacks.class.php on line 17
No, no-one has, and yes, it’s a bug. It means your system THINKS it’s running on a newer version of iptables than it is - it’s actuall checking PHP_VERSION, and only applying that if it’s running PHP 5.6 or higher.
So, my question is, why is your machine running a new version of PHP, but an old version of iptables? 8-\