DataSoft/Honeyd — Issue #12: DHCP Implementation is too minimal 
Author: PherricOxide
Created: 2012-02-23 01:51:09+00:00
State: open
Labels: Type:Extension

Honeyd's DHCP currently ignores the lease time (and a bunch of other DHCP params...), which means after the lease expires it'll keep hanging on to the IP even though it'll likely be assigned to someone else as well.

# Things to do
Parse lease time and any other useful stuff out of DHCP ack packets
Attempt to renew address if the lease time is coming up soon (1/2 lease time is standard for a renew attempt)
Try and release/lease if the renew fails

Basically, implement all the lease parts of the protocol that are currently being ignored.