ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020491ClearOSapp-firewall-custom - Custom Firewallpublic2018-06-25 14:312018-06-26 07:52
ReporterNickH 
Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.4.0 
Target Version7.5.0Fixed in Version7.5.0 
Summary0020491: Custom firewall does not accept rules with quote marks
DescriptionIf 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)
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0020481closeduser2 Allow double quotes in custom firewall rules 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-06-25 14:31 NickH New Issue
2018-06-25 14:43 user2 Status new => resolved
2018-06-25 14:43 user2 Fixed in Version => 7.4.0 Updates
2018-06-25 14:43 user2 Resolution open => fixed
2018-06-25 14:43 user2 Assigned To => user2
2018-06-25 14:43 user2 Relationship added has duplicate 0020481
2018-06-26 07:51 user2 Product Version 7.4.0 Updates => 7.4.0
2018-06-26 07:51 user2 Fixed in Version 7.4.0 Updates => 7.5.0
2018-06-26 07:51 user2 Target Version => 7.5.0
2018-06-26 07:52 user2 Status resolved => closed