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

0003485: status - network status -> display stops on dhcp Current dynamic leases - MantisBT
MantisBT - Endian Firewall
View Issue Details
0003485Endian FirewallGUIpublic2011-02-16 12:132011-03-21 12:06
mvrk 
peter-endian 
normalminoralways
confirmedopen 
2.4.1 
 
0003485: status - network status -> display stops on dhcp Current dynamic leases
Hi,

Since i activated the dhcp server, when i go to the status -> network status page, the display of the page stops on :

Current dynamic leases
IP address MAC address Hostname Lease expires (local time d/m/y)
On httpd error_log every time i access the page with dhcpd turned on i see this error:

root@router:/var/log/httpd # cat error_log
Month '-1' out of range 0..11 at /var/efw/header.pl line 1650
Month '-1' out of range 0..11 at /var/efw/header.pl line 1650
No tags attached.
jpg network_status.jpg (129,174) 2011-02-16 12:13
https://bugs.endian.com/file_download.php?file_id=616&type=bug
jpg

? dhcpd.leases (9,900) 2011-03-17 14:20
https://bugs.endian.com/file_download.php?file_id=649&type=bug
Issue History
2011-02-16 12:13mvrkNew Issue
2011-02-16 12:13mvrkFile Added: network_status.jpg
2011-02-16 13:30lorenzo-endianNote Added: 0005715
2011-02-16 13:30lorenzo-endianAssigned To => lorenzo-endian
2011-02-16 13:30lorenzo-endianStatusnew => feedback
2011-02-16 13:43mvrkNote Added: 0005717
2011-02-17 12:03mvrkNote Added: 0005723
2011-03-07 18:20lorenzo-endianNote Added: 0005866
2011-03-17 14:20mvrkFile Added: dhcpd.leases
2011-03-17 14:20mvrkNote Added: 0005985
2011-03-21 12:04lorenzo-endianNote Added: 0005998
2011-03-21 12:04lorenzo-endianStatusfeedback => confirmed
2011-03-21 12:06lorenzo-endianAssigned Tolorenzo-endian => peter-endian

Notes
(0005715)
lorenzo-endian   
2011-02-16 13:30   
Hi mvrk,

I have tried but on my 2.4.1 installation all works fine...

Which version are you running? Is it up-to-date?

Thanks in advance!

Lo
(0005717)
mvrk   
2011-02-16 13:43   
Yes, 2.4.1 and its up to date.

May some of my custom dhcp configurations? :

one-lease-per-client true;

failover peer "dhcp" {
  primary;
  address 192.168.2.229;
  port 519;
  peer address 192.168.2.7;
  peer port 520;
  max-response-delay 60;
  max-unacked-updates 10;
  mclt 600;
  split 128;
  load balance max seconds 3;
}
(0005723)
mvrk   
2011-02-17 12:03   
It seems when the dhcpd.leases files get filled by leases from the other dhcp pear, it breaks the display.
(0005866)
lorenzo-endian   
2011-03-07 18:20   
Hi mvrk,

could you post your dhcpd.leases file which creates this trouble?

Please hide any sensitive data before posting

Thanks in advance!

Lo
(0005985)
mvrk   
2011-03-17 14:20   
Hi,

I just uploaded my dhcpd.leases file.
(0005998)
lorenzo-endian   
2011-03-21 12:04   
Hey mvrk,

I can confirm that this problem exists...

In /var/log/httpd/error_log this error appears:

Month '-1' out of range 0..11 at /var/efw/header.pl line 1650

Thanks a lot for reporting it and for the tests and the support!

Have a nice day!

Lo