ClearFoundation Tracker - ClearOS
View Issue Details
0000625ClearOSapp-firewall - Firewallpublic2012-05-25 10:112012-06-05 17:46
bchambers 
dsokoloski 
normalmajoralways
closedfixed 
6.2.0 
6.2.0 Updates6.2.0 Updates 
0000625: Validation routine in Firewall class allows invalid entries

validate_address function will allow address entered as a hostname with no 'dot' (eg. toronto) as OK. In addition to violating RFC standards, it breaks ClearOS's own API when a hostname is used and other libraries validate the hostname used by the Network_Utils class.
In Egress firewall, enter a destination domain rule with a hostname with no dots...eg. toronto
If you have come up against this bug, remote the offending line by editing the file /etc/clearos/firewall.conf near the bottom of the file.
No tags attached.
Issue History
2012-05-25 10:11bchambersNew Issue
2012-05-25 10:11bchambersStatusnew => assigned
2012-05-25 10:11bchambersAssigned To => dsokoloski
2012-06-04 20:08user2Statusassigned => resolved
2012-06-04 20:08user2Fixed in Version => 6.2.0 Updates
2012-06-04 20:08user2Resolutionopen => fixed
2012-06-05 17:37user2Note Added: 0000522
2012-06-05 17:37user2Statusresolved => closed
2012-06-05 17:46user2Note Deleted: 0000522
2012-06-05 17:46user2Note Added: 0000525

Notes
(0000525)
user2   
2012-06-05 17:46   
Errata: http://clearsdn.clearcenter.com/software/detail.php?aid=224 [^]