Preliminary implementation of DHCP relay
authorAlan T. DeKok <aland@freeradius.org>
Fri, 3 Jul 2009 20:08:18 +0000 (22:08 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 3 Jul 2009 20:08:18 +0000 (22:08 +0200)
commitcd815ceefce4e4df1db312320d17bad3f960298b
treea34deaab7f7a50cc4bc84da297254c0c7acd84d5
parentdc8544fbd280aa42cc385d44ee06e8410feb1e92
Preliminary implementation of DHCP relay

For now, it can only relay packets if giaddr = 0.
If giaddr != 0, we are required to cache the packet by XID/MAC, so that
we can capture the response on the DHCP port, look up the XID/MAC, and
respond to the client.

We will also need to update the fr_dhcp_encode function, which can
currently only respond to clients, and not originate packets.
share/dictionary.dhcp
src/main/dhcpd.c