Rrrr
Tink
- Joined
- May 28, 2009
- Messages
- 343
- Reaction score
- 25
Command:
iptables-restart : I ran this command 3x without changing any rules.
Issue:
Sometime I get none, one or two messages: "iptables: Invalid argument. Run `dmesg' for more information."
I checked the rules, they seem fine.
Cause (?):
It seems to do with how much I wait between running this command, but I am not sure.
iptables-restart : I ran this command 3x without changing any rules.
Issue:
Sometime I get none, one or two messages: "iptables: Invalid argument. Run `dmesg' for more information."
I checked the rules, they seem fine.
Cause (?):
It seems to do with how much I wait between running this command, but I am not sure.
Code:
root@vultr:~ $ iptables-restart
iptables: Setting chains to policy ACCEPT: filter mangle [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
ip6tables: Setting chains to policy ACCEPT: filter [ OK ]
ip6tables: Flushing firewall rules: [ OK ]
ip6tables: Unloading modules: [ OK ]
ip6tables: Applying firewall rules: [ OK ]
Stopping fail2ban: [ OK ]
Starting fail2ban: mkdir: cannot create directory `/var/run/fail2ban': File exists
[ OK ]
ln: creating symbolic link `/usr/sbin/iptables': File exists
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
Setting base permissions...Done
Setting specific permissions...
1384 [============================]
Finished setting permissions
Stopping fail2ban: [ OK ]
Starting fail2ban: mkdir: cannot create directory `/var/run/fail2ban': File exists
[ OK ]
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@vultr:~ $ iptables-restart
iptables: Setting chains to policy ACCEPT: filter mangle [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
ip6tables: Setting chains to policy ACCEPT: filter [ OK ]
ip6tables: Flushing firewall rules: [ OK ]
ip6tables: Unloading modules: [ OK ]
ip6tables: Applying firewall rules: [ OK ]
Stopping fail2ban: [ OK ]
Starting fail2ban: mkdir: cannot create directory `/var/run/fail2ban': File exists
[ OK ]
ln: creating symbolic link `/usr/sbin/iptables': File exists
iptables: Invalid argument. Run `dmesg' for more information.
iptables: Invalid argument. Run `dmesg' for more information.
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
Setting base permissions...Done
Setting specific permissions...
1384 [============================]
Finished setting permissions
Stopping fail2ban: [ OK ]
Starting fail2ban: mkdir: cannot create directory `/var/run/fail2ban': File exists
[ OK ]
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@vultr:~ $ iptables-restart
iptables: Setting chains to policy ACCEPT: filter mangle [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
ip6tables: Setting chains to policy ACCEPT: filter [ OK ]
ip6tables: Flushing firewall rules: [ OK ]
ip6tables: Unloading modules: [ OK ]
ip6tables: Applying firewall rules: [ OK ]
Stopping fail2ban: [ OK ]
Starting fail2ban: mkdir: cannot create directory `/var/run/fail2ban': File exists
[ OK ]
ln: creating symbolic link `/usr/sbin/iptables': File exists
iptables: Invalid argument. Run `dmesg' for more information.
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
Setting base permissions...Done
Setting specific permissions...
1384 [============================]
Finished setting permissions
Stopping fail2ban: ^[[A [ OK ]
Starting fail2ban: mkdir: cannot create directory `/var/run/fail2ban': File exists
[ OK ]
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.