SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0001417: creating a non-ethernet uplink assigns an ethernet interface which then cannot be used by the netwizard anymore - MantisBT
MantisBT - Endian Firewall
View Issue Details
0001417Endian FirewallGUIpublic2008-10-31 12:182009-10-27 13:27
peter-endian 
simon-endian 
normalminoralways
closedfixed 
2.2-rc3 
2.32.3 
0001417: creating a non-ethernet uplink assigns an ethernet interface which then cannot be used by the netwizard anymore
I did the following:

- Configured DHCP as main uplink (eth3, eth0 is green, eth1/eth2 are free)
- Configured a second uplink using the interface editor, uplink type ANALOG/UMTS
- Started the netwizard in order to change the main uplink from DHCP to STATIC

In the 3rd step, the netwizard interface selector shows eth1 assigned to RED, but that's wrong, it should be unused.

Taking a look to uplink1/settings shows RED_DEV=eth1, which will be ignored by the uplinks scripts, but not by other scripts.


Solution:
interface editor should write down only the necessary keys of that specific uplink type. Keys which will be used only by other uplink types should not be written down or at least emptied.

This generally may be a source of trouble in several parts of the firewall, which could easily be avoided
No tags attached.
child of 0001934closed simon-endian interface editor changes for 2.3 - meta ticket 
Issue History
2008-10-31 12:18peter-endianNew Issue
2008-10-31 12:18peter-endianAssigned To => simon-endian
2009-06-09 20:01peter-endianRelationship addedchild of 0001934
2009-06-29 09:23simon-endianNote Added: 0002686
2009-08-12 14:23simon-endianNote Added: 0002845
2009-08-12 14:23simon-endianStatusnew => resolved
2009-08-12 14:23simon-endianResolutionopen => fixed
2009-10-27 11:59peter-endianStatusresolved => closed
2009-10-27 12:22peter-endianFixed in Version => 2.3
2009-10-27 13:27peter-endianTarget Versionfuture => 2.3

Notes
(0002686)
simon-endian   
2009-06-29 09:23   
for the moment non-ethernet uplink will have an empty RED_DEV value.
- this will solve it for newly created uplinks.
- will patch netwizard to check if it is a non-ethernet uplink when he reads the list of user ethernet devices
(0002845)
simon-endian   
2009-08-12 14:23   
now get_red_devices has an failover if red_dev is set but uplink does not use an red_dev, red_dev is set to empty string.