ClearFoundation Tracker - ClearOS
View Issue Details
0020491ClearOSapp-firewall-custom - Custom Firewallpublic2018-06-25 14:312018-06-26 07:52
NickH 
user2 
normalminoralways
closedfixed 
7.4.0 
7.5.07.5.0 
0020491: Custom firewall does not accept rules with quote marks
If there is a quoted string in a firewall rule the webconfig says "Invalid rule". See ticket 562471. The rule in question is:
$IPTABLES -I FORWARD -m iprange --src-range 194.100.6.1-194.100.6.254 -m string --algo bm --string "globo.com" -j DROP
this fails.
In this case the following works:
$IPTABLES -I FORWARD -m iprange --src-range 194.100.6.1-194.100.6.254 -m string --algo bm --string globo.com -j DROP
but you would not be able to remove the quotes if there were a space in the string.

(note the actual rule reported by the user used "iptables". I have converted it to "$IPTABLES" but the bug still persists)
No tags attached.
has duplicate 0020481closed user2 Allow double quotes in custom firewall rules 
Issue History
2018-06-25 14:31NickHNew Issue
2018-06-25 14:43user2Statusnew => resolved
2018-06-25 14:43user2Fixed in Version => 7.4.0 Updates
2018-06-25 14:43user2Resolutionopen => fixed
2018-06-25 14:43user2Assigned To => user2
2018-06-25 14:43user2Relationship addedhas duplicate 0020481
2018-06-26 07:51user2Product Version7.4.0 Updates => 7.4.0
2018-06-26 07:51user2Fixed in Version7.4.0 Updates => 7.5.0
2018-06-26 07:51user2Target Version => 7.5.0
2018-06-26 07:52user2Statusresolved => closed

There are no notes attached to this issue.