DHCPLEASEQUERY

Visit Publisher Site
Get DHCPLEASEQUERY Hosting

Sponsored by TMDHosting

Acting as if it were a real DHCP relay agent (IP Helper), this class will send a DHCPLEASEQUERY packet over IP to a remote DHCP server to inquire about all known lease information for a given IP address. I wrote this as part of a PHP based syslog replacement. Upon receiving a syslog message from a remote DHCP server, it sends a DHCPLEASEQUERY packet back to the DHCP server to inquire about the rest of the otherwise unknown information about the lease. It then takes that information, does a quick lookup in MySQL to find the user who has a DSL router with the MAC address involved and..wa-la. Now you have an actual session record that can be stored/updated in MySQL and can tell big brother things like who had IP xxx on a given date/time...etc. This functionality is crucial as an ISP and for those like us who migrate away from using Radius, session logging becomes quite difficult without something like this in place.

Visit publisher site: DHCPLEASEQUERY

Listing Details

Version:
1.0 
Filed in:
Scripts / PHP / Scripts & Programs / Networking Tools / Other
Submitted on:
 
Last Updated:
Dec 12, 2010 
Publisher:
Other listings by this publisher

License & Pricing Information

LICENSE #1
License Type:
GPL
Price:
$0.00 USD
Additional Info:
Free to re-use/re-distribute so long as the original source headers are retained.

Featured Marketplace Listings

User Reviews 

Be the first to review this listing!
  • Not yet reviewed by any member.... You can be the FIRST one to write a review for DHCPLEASEQUERY