freeradius and dhcp relaying

Phil Mayers p.mayers at
Thu Jan 13 12:18:29 CET 2011

On 13/01/11 11:03, Alan DeKok wrote:
> Seppo Sandberg wrote:
>> If I was inclined to create such a patch how would we begin to tackle the issue? I guess you would tell me how you would like to have it implemented?
>    See src/main/dhcpd.c
>    Look for "relay".  Add a cache (hash table or rbtree) for XID, and
> maybe (XID,MAC).  Add entries to the cache on forward, remove entries on
> reply.

What's the rationale for keeping state? I was under the impression that 
DHCP relays could be stateless. Since you can chain relays, but replies 
go straight back to the first one (via the giaddr field)

More information about the Freeradius-Users mailing list