Does ISC-DHCP supports RFC 4014

Roberto Innocente inno at sissa.it
Sun Jun 7 18:45:31 UTC 2015


I made a patch to isc dhcp server 4.3.2 so that it supports rfc4014.
It keeps the radius attributes in the lease assigned.
It can answer to requests by dhcp leasquery or omapi with the
radius attributes. In particular it can answer with the User-Name
obtained for 802.1x authenticated clients.

eg . small python script using pypureomapi queries dhcp server and gets 
back
username(get-ip-l : get-ip-lease trough omapi)

$PYPUREOMAPI/get-ip-l 169.254.1.183
ip 169.254.1.182 mac 00:12:22:33:77:89 User-Name = kitten

I took the simplest road to store all radius attributes in one hex
option as in this example lease, it remains under the responsability of 
the
clients to decode them :

lease 169.254.1.183 {
starts 4 2015/05/28 06:04:23;
ends 4 2015/05/28 06:09:23;
cltt 4 2015/05/28 06:04:23;
binding state active;
next binding state free;
rewind binding state free;
hardware ethernet 00:12:22:33:77:89;
option agent.circuit-id "cir 123";
option agent.radius-attributes 1:8:6b:69:74:74:65:6e;
}

write to me for the simple python script querying for usernames.

-- 
Roberto Innocente - SISSA
inno at sissa.it - +39 40 3787541


More information about the dhcp-users mailing list