Respond to DHCP Lease Query requests using rlm_cache

Alan DeKok aland at deployingradius.com
Sun Aug 30 18:22:43 CEST 2015


On Aug 30, 2015, at 11:14 AM, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:
>> I've pushed changes to the v3.0.x
> 
> and v3.1.x?

  Once I clean up my v3.1.x branch.

>> I think that should now work.
> 
> Neat.

  After testing (and a few more patches), it works.

> I'll add a Pool-Action Status to the new rlm_redis_ippool (which will become the new rlm_ippool), then we can abstract getting the lease information back.

  Nice.

  The DHCP lease query allows querying by MAC, client IP, or by client identifier.  Which one is being used in the packet?  <laughs>  You've got to look for the non-empty field, and use that.  What if there are two non-empty fields?  The DHCP people laugh at you... that's not supposed to happen, so we'll ignore it!

  Alan DeKok.




More information about the Freeradius-Users mailing list