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
Anonymous | Login | 2022-05-19 22:52 UTC | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003266 | Endian Firewall | DHCP Server | public | 2010-11-08 08:31 | 2013-09-24 09:04 | ||||
Reporter | gmar_87 | ||||||||
Assigned To | simon-endian | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 2.4 | ||||||||
Target Version | Fixed in Version | 2.3 | |||||||
Summary | 0003266: Expired Leases | ||||||||
Description | Expired DHCP leases are never cleared from Endian Firewall. I have leases from August 2010 still appearing in the web-interface. The only way i can clear them is to edit or delete the dhcpd.leases file in /var/efw/dhcp Can a feature be added so that we can choose how long to keep expired leases (1 week, 2 weeks, etc..)? | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
![]() |
||||||
|
![]() |
|
(0005181) gmar_87 (reporter) 2010-11-23 07:34 |
An option to clear all dynamic leases regardless of age would also be much appreciated. |
(0005183) lorenzo-endian (manager) 2010-11-23 10:06 |
Hi gmar_87, In "Services" >> "DHCP serer", if you click on the "+" sign, you should be able to set the leases for the DHCP ... Does a reconfiguration of these setup solve the problem? Thanks in advance! Lo |
(0005190) gmar_87 (reporter) 2010-11-24 09:19 |
Hi Lo, I have tried re-entering the configuration and saving settings but an old lease is still shown. Here is my dhcpd.conf, minus the fixed leases i have setup: ******dhcpd.conf****** ddns-update-style none; deny bootp; authoritative; option wpad code 252 = text; shared-network GREEN { interface br0; server-identifier 10.1.1.1; subnet 10.1.1.0 netmask 255.255.255.0 { pool { deny dynamic bootp clients; range 10.1.1.50 10.1.1.60; } default-lease-time 3600; max-lease-time 7200; option subnet-mask 255.255.255.0; option domain-name "GMAR"; option routers 10.1.1.1; option wpad "http://10.1.1.1/proxy.pac"; [^] option domain-name-servers 10.1.1.1; ******dhcpd.conf****** As you can see, the max lease time is 120 minutes. After 120 minutes the lease still appears on this page, but the "Lease expires (local time d/m/y)" column shows and strike through the time stamp. See screenshot attached. |
(0005293) lorenzo-endian (manager) 2010-12-03 13:27 |
Hi gmar_87, I can confirm that the leases stay there even when expired; I think that this aspect should be improved :-) Thanks for providing this hint to us! Lo |
(0008535) Anonymous (viewer) 2013-09-24 09:04 |
Hi guys to clear the dhcp lease information just remove the file "dhcp lease" and "dhcp lease~" in "/var/lib/dhcp". And refresh the web interface.... |
![]() |
|||
Date Modified | Username | Field | Change |
2010-11-08 08:31 | gmar_87 | New Issue | |
2010-11-23 07:06 | lorenzo-endian | Assigned To | => lorenzo-endian |
2010-11-23 07:06 | lorenzo-endian | Status | new => acknowledged |
2010-11-23 07:34 | gmar_87 | Note Added: 0005181 | |
2010-11-23 10:06 | lorenzo-endian | Note Added: 0005183 | |
2010-11-23 10:06 | lorenzo-endian | Status | acknowledged => feedback |
2010-11-24 09:19 | gmar_87 | Note Added: 0005190 | |
2010-11-24 09:20 | gmar_87 | File Added: Endian_2.4.1_DHCP_ExpiredLease.jpg | |
2010-12-03 13:27 | lorenzo-endian | Note Added: 0005293 | |
2010-12-03 13:27 | lorenzo-endian | Assigned To | lorenzo-endian => simon-endian |
2010-12-03 13:27 | lorenzo-endian | Status | feedback => confirmed |
2011-02-17 09:31 | lorenzo-endian | Customer Occurencies | => 0 |
2011-02-17 09:31 | lorenzo-endian | Severity | feature => minor |
2011-02-18 17:09 | ra-endian | Severity | minor => tweak |
2013-09-24 09:04 | Anonymous | Note Added: 0008535 | |
2013-09-24 09:04 | Anonymous | Relationship added | duplicate of 0001100 |
2013-09-24 09:04 | Anonymous | Status | confirmed => resolved |
2013-09-24 09:04 | Anonymous | Fixed in Version | => 2.3 |
2013-09-24 09:04 | Anonymous | Resolution | open => fixed |
Copyright © 2000 - 2012 MantisBT Group |