Firehol claims it is "already running" but fails to start. Firewall is left completely open.
1) $ sudo /etc/init.d/firehol stop Stopping iptables firewall: FireHOL ...FireHOL: Clearing Firewall: OK done. 2) $ sudo /etc/init.d/firehol start Starting iptables firewall: FireHOL ...Stopping: FireHOL is already running. done.
What should happen: firewall should be enabled, blocking unwanted traffic.
What actually happens: Firewall is open, letting everything trough. $ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
Bug bypass: 'sudo /etc/init.d/firehol restart'
Tested on Ubuntu 5.10 Breezy Badger, firehol 1.231-2 and iptables 1.3.1-2ubuntu1.1. Was reproducible on multiple computers. Vesa Nieminen and "Linux-verkon hallinta" course helped to find this bug.
Firehol claims it is "already running" but fails to start. Firewall is left completely open.
1) $ sudo /etc/init.d/firehol stop
Stopping iptables firewall: FireHOL ...FireHOL: Clearing Firewall: OK
done.
2) $ sudo /etc/init.d/firehol start
Starting iptables firewall: FireHOL ...Stopping: FireHOL is already running.
done.
What should happen: firewall should be enabled, blocking unwanted traffic.
What actually happens: Firewall is open, letting everything trough.
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Bug bypass: 'sudo /etc/init.d/firehol restart'
Tested on Ubuntu 5.10 Breezy Badger, firehol 1.231-2 and iptables 1.3.1-2ubuntu1.1. Was reproducible on multiple computers. Vesa Nieminen and "Linux-verkon hallinta" course helped to find this bug.