[SRU] firehol locks down Feisty & Gusty systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firehol (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Feisty |
Fix Released
|
Medium
|
Unassigned | ||
Gutsy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Bug is caused by the move to bash 3.2, upstream has been fixed.
http://
Reproduction / Test Case:
> Install firehol
> Set START_FIREHOL to YES in /etc/default/
> Start firehol ("sudo firehol start" in terminal)
> Watch failure
----
When starting firehol during boot in feisty I have lots of messages like this one in /var/log/boot (running upstart):
Jan 5 00:32:46 rcS: * Starting Firewall firehol ESC[80G
Jan 5 00:32:46 rcS:Jan 5 00:32:46 rcS: * Starting Firewall firehol ESC[80G
Jan 5 00:32:46 rcS:
Jan 5 00:32:46 rcS: -------
Jan 5 00:32:46 rcS: ERROR : # 1.
Jan 5 00:32:46 rcS: WHAT : A runtime command failed to execute (returned error 2).
Jan 5 00:32:46 rcS: SOURCE : line 20 of /etc/firehol/
Jan 5 00:32:46 rcS: COMMAND : /sbin/iptables -t filter -A out_world_all_c1 -m state '' --state NEW\,ESTABLISHED -j ACCEPT
Jan 5 00:32:46 rcS: OUTPUT :
Jan 5 00:32:46 rcS:
Jan 5 00:32:46 rcS:
Jan 5 00:32:46 rcS:
Jan 5 00:32:46 rcS:
Jan 5 00:32:46 rcS: -------
Running this command manually as root gives the following error message:
root> /sbin/iptables -t filter -A out_world_all_c1 -m state '' --state NEW\,ESTABLISHED -j ACCEPT
Bad argument `'
Try `iptables -h' or 'iptables --help' for more information.
description: | updated |
description: | updated |
Changed in firehol: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
importance: | Undecided → Medium |
status: | New → Confirmed |
Same here. FireHOL is unable to configure iptables correctly in feisty (everything is OK in both dapper and edgy). With FireHOL's default configuration it returns following errors and it blocks internet connection completely: ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- firehol. conf
-------
ERROR : # 1.
WHAT : A runtime command failed to execute (returned error 2).
SOURCE : line INIT of /etc/firehol/
COMMAND : /sbin/iptables -t filter -A out_world_all_c1 -m state '' --state NEW\,ESTABLISHED -j ACCEPT
OUTPUT :
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `'
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- firehol. conf
ERROR : # 2.
WHAT : A runtime command failed to execute (returned error 2).
SOURCE : line INIT of /etc/firehol/
COMMAND : /sbin/iptables -t filter -A in_world_all_c1 -m state '' --state ESTABLISHED -j ACCEPT
OUTPUT :
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `'
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- firehol. conf
ERROR : # 3.
WHAT : A runtime command failed to execute (returned error 2).
SOURCE : line INIT of /etc/firehol/
COMMAND : /sbin/iptables -t filter -A out_world_irc_c2 -p tcp --sport 32768:61000 --dport 6667 -m state '' --state NEW\,ESTABLISHED -j ACCEPT
OUTPUT :
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `'
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- firehol. conf
ERROR : # 4.
WHAT : A runtime command failed to execute (returned error 2).
SOURCE : line INIT of /etc/firehol/
COMMAND : /sbin/iptables -t filter -A in_world_irc_c2 -p tcp --sport 6667 --dport 32768:61000 -m state '' --state ESTABLISHED -j ACCEPT
OUTPUT :
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `'
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- firehol. conf
ERROR : # 5.
WHAT : A runtime command failed to execute (returned error 2).
SOURCE : line INIT of /etc/firehol/
COMMAND : /sbin/iptables -t filter -A out_world_ftp_c3 -p tcp --sport 32768:61000 --dport ftp -m state '' --state NEW\,ESTABLISHED -j ACCEPT
OUTPUT :
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `'
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- firehol. conf
ERROR : # 6.
WHAT : A runtime command failed to execute (returned error 2).
SOURCE : line INIT of /etc/firehol/
COMMAND : /sbin/iptables -t filter -A in_world_ftp_c3 -p tcp --sport ftp --dport 32768:61000 -m state '' --state ESTABLISHED -j ACCEPT
OUTPUT :
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `'
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- firehol. conf ,RELATED -j ACCEPT
ERROR : # 7.
WHAT : A runtime command failed to execute (returned error 2).
SOURCE : line INIT of /etc/firehol/
COMMAND : /sbin/iptables -t filter -A in_world_ftp_c3 -p tcp --sport ftp-data --dport 32768:61000 -m state '' --state ESTABLISHED\
OUTPUT :
Try `iptables -h' or 'ipt...