[Nagiosplug-devel] [ nagiosplug-Patches-2968305 ] check_dhcp: send a REQUEST after receiving OFFERs

SourceForge.net noreply at sourceforge.net
Thu Mar 11 00:15:26 CET 2010


Patches item #2968305, was opened at 2010-03-10 17:15
Message generated for change (Tracker Item Submitted) made by mikhollo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2968305&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Enhancement
Group: release-1.4.14
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mike Holloway (mikhollo)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_dhcp: send a REQUEST after receiving OFFERs

Initial Comment:
Patch against Plugin Version (-V output): 1.4.14
Plugin Name: check_dhcp
Example Plugin Commandline: check_dhcp -i egiga0
Tested on operating system: linux
Tested on architecture: arm/freebsd/linux
Tested with compiler: gcc

Patch adds the sending of a DHCPREQUEST after receiving OFFERs.  This allows DHCP servers to release any IPs allocated by the OFFER back to their free pools immediately, rather than waiting for the offer to timeout.  Some DHCP servers hold these offers for a long time, and will happily issue a new IP to the same device each time because the previous OFFER wasn't followed by a subsequent broadcast/unicast REQUEST.  This could lead to an exhaustion of IP addresses from the DHCP server's free pool on some implementations.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2968305&group_id=29880




More information about the Devel mailing list