ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000804ClearOSapp-port-forwarding - Port Forwardingpublic2012-10-27 08:022013-02-05 12:18
Reporterplfinch 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.3.0 Updates 
Target VersionFixed in Version6.3.0 Updates 
Summary0000804: Cannot enable port range forward after disable
DescriptionWhen created a port range forwarding rule in the webgui it is enabled by default. If it is later disabled in the webgui and can no longer be enabled again. Selecting "Enable" on the rule results in the rules displaying again with the rule still disabled and still showing the Enable button.
Steps To ReproduceTo reproduce create a port range forwarding rule such as TCP ports 1001-1005 forwarding to IP 192.168.10.100 (assuming 192.168.10.X is LAN, ClearOS Gateway configuration with 1 WAN and 1 LAN interface). Once created the rule is enabled by default and will show the Disable button in the webgui. Selecting Disable works, the rule is disabled, and the Enable button is displayed. Now select Enable to re-enable the rule and when the webgui refreshes the rule will still be disabled and will still be showing the Enable button.
Additional Information--1--

Following errors are noted in /var/log/system and may be related:

Oct 18 12:51:01 gateway engine: error: PHP deprecated: /usr/clearos/apps/firewall/libraries/Firewall.php (645): Function ereg() is deprecated

I am unsure if error/deprecated means the ereg call actually fails or ereg still works but will be omitted in future version.

--2--

Two users have reported the issue in the forum:

http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,7/func,view/id,47075/ [^]

http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,7/func,view/id,44920/ [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000576)
plfinch (reporter)
2012-10-27 11:36

I am experiencing and able to reproduce the problem on 64-bit ClearOS. I do not have a 32-bit system avaiable to test.
(0000577)
plfinch (reporter)
2012-11-10 08:19

If you are unable to reproduce this problem please let me know so we can figure out what is unique with my situation. My ClearOS install is pretty pure except for tweaks to force disable of ipv6.
(0000578)
user2
2012-11-11 16:07

SVN revision 4901
(0000583)
user2
2012-11-13 08:01

The fix is now in the updates-testing repo:

yum --enablerepo=clearos-updates-testing upgrade app-port-forwarding
(0000692)
user2
2013-02-05 12:16

Source Code Changelog
---------------------------------------------------
- Fixed enable port range [tracker 0000804][tracker 0000804]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=4901 [^]
U webconfig/apps/port_forwarding/trunk/controllers/port_forwarding.php
(0000693)
user2
2013-02-05 12:18

Just doing some bug database cleanup and adding SVN details.

- Issue History
Date Modified Username Field Change
2012-10-27 08:02 plfinch New Issue
2012-10-27 11:36 plfinch Note Added: 0000576
2012-10-29 09:20 user2 Assigned To => user2
2012-10-29 09:20 user2 Status new => acknowledged
2012-11-10 08:19 plfinch Note Added: 0000577
2012-11-11 16:07 user2 Note Added: 0000578
2012-11-11 16:07 user2 Status acknowledged => resolved
2012-11-11 16:07 user2 Fixed in Version => 6.3.0 Updates
2012-11-11 16:07 user2 Resolution open => fixed
2012-11-13 08:01 user2 Note Added: 0000583
2013-02-05 12:16 user2 Checkin
2013-02-05 12:16 user2 Note Added: 0000692
2013-02-05 12:18 user2 Note Added: 0000693
2013-02-05 12:18 user2 Category firewall => app-port-forwarding - Port Forwarding
2013-02-05 12:18 user2 Summary Cannot Enable Port Range Forward After Disable => Cannot enable port range forward after disable
2013-02-05 12:18 user2 Status resolved => closed
2013-02-05 12:18 user2 Assigned To user2 =>