ClearFoundation Tracker - ClearOS
View Issue Details
0001170ClearOSapp-port-forwarding - Port Forwardingpublic2013-06-04 08:332013-06-11 12:37
bchambers 
bchambers 
normalmajoralways
closedfixed 
6.4.0 
6.4.0 Updates 
0001170: Possible to create invalid port forward rule when using ranges
Adding port forward range takes a start port and an end port. It is possible to add a range to these fields.

Eg.

start: 10000:10999
end: 10000:109999

if you you misundertand the input fields. If you do the above, you have created an invalid rule and...drum roll...

Firewall then panics...

Bad.
Validate start/end to not allow ranges (eg. colon separator).
No tags attached.
Issue History
2013-06-04 08:33bchambersNew Issue
2013-06-04 08:33bchambersStatusnew => assigned
2013-06-04 08:33bchambersAssigned To => bchambers
2013-06-04 09:27bchambersCheckin
2013-06-04 09:27bchambersNote Added: 0000870
2013-06-04 09:27bchambersStatusassigned => resolved
2013-06-04 09:27bchambersResolutionopen => fixed
2013-06-11 12:37bchambersStatusresolved => closed

Notes
(0000870)
bchambers   
2013-06-04 09:27   
Source Code Changelog
---------------------------------------------------
- Fixed regex which allowed invalid port ranges to be entered [fixed tracker 0001170]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=6093 [^]
U webconfig/apps/port_forwarding/trunk/controllers/port_forwarding.php
U webconfig/apps/port_forwarding/trunk/deploy/info.php
U webconfig/apps/port_forwarding/trunk/language/en_US/port_forwarding_lang.php
U webconfig/apps/port_forwarding/trunk/packaging/app-port-forwarding.spec