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

0001855: if you change the zone subnet the dhcp configuration are inconsistent - MantisBT
MantisBT - Endian Firewall
View Issue Details
0001855Endian FirewallOther Servicespublic2009-05-06 15:462011-03-29 13:12
luca-endian 
peter-endian 
normalmajoralways
confirmedopen 
2.2-rc3 
future 
0001855: if you change the zone subnet the dhcp configuration are inconsistent
If you change the green subnet for instance (but I guess the problem exists for the other zone as well) the dhcp configuration the files /etc/dhcp.conf and /var/efw/dhcp/settings are completely different even if you reboot the firewall.

In this example I changed from 10.123.0.1 to 192.168.0.15
the file dhcp.conf is a mess with pieces of old and new configuration (server dns) how is decided the new dhcp range?

However the funniest thing is that the gui configuration is still the old one as you can see from the screeshot.

/etc/dhcp.conf:
[...]
shared-network GREEN {
    interface br0;
    server-identifier 192.168.0.15;
    subnet 192.168.0.0 netmask 255.255.255.0 {
        pool {
        deny dynamic bootp clients;

        range 192.168.0.100 192.168.0.200;
        default-lease-time 3600;
        max-lease-time 7200;
    }
    option subnet-mask 255.255.255.0;
      option domain-name "southpark";
      option routers 192.168.0.15;
      option wpad "http://192.168.0.15/proxy.pac"; [^]
      option domain-name-servers 10.123.0.1;
    }
}
purple
png dhcp.png (36,084) 2009-05-06 15:46
https://bugs.endian.com/file_download.php?file_id=226&type=bug
png
Issue History
2009-05-06 15:46luca-endianNew Issue
2009-05-06 15:46luca-endianFile Added: dhcp.png
2009-05-06 15:46luca-endianTag Attached: purple
2009-06-09 20:00peter-endianTarget Version => 2.3
2009-07-24 09:12luca-endianStatusnew => confirmed
2009-10-27 13:37peter-endianTarget Version2.3 => 2.3.1
2009-11-25 17:29peter-endianTarget Version2.3.1 => future
2010-01-21 18:18peter-endianStatusconfirmed => acknowledged
2011-03-29 13:12lorenzo-endianNote Added: 0006031
2011-03-29 13:12lorenzo-endianAssigned To => peter-endian
2011-03-29 13:12lorenzo-endianStatusacknowledged => confirmed

Notes
(0006031)
lorenzo-endian   
2011-03-29 13:12   
Hi luca,

I have verified that this problem is still there in 2.3 and 2.4.

Bye

Lo