dhcp server - some bugs ?

EvilEzh ezh at telcobalt.lv
Sun Jun 22 16:49:15 CEST 2008


1. As i understand responses is hardcoded(preset) to discover and request. 
DHCP-Message-Type = ... in config file is ignored, so i can't respond to 
RELEASE, INFORM, DECLINE. Always is NAK. Response to request also could be 
NAK, not always ACK. It is possible respond to request with NAK if change 
RLM_UPDATED to rejected or something like this. Would be nice if dhcp server 
check  for DHCP-Message-Type is set.
2. in dhcp.c ... when checking for know packet type. (packet->data[242] >=8) 
should be  > 8 so inform messages also be passed to proces.
3. I'd suggest #define DEFAUL_PACKET_SIZE (300), some clients refuse large 
packets silently.
4. couldn't find out why, but packet incoming from real ip addresses to 
broadcast are ignored. 0.0.0.0 -> 255.255.255.255 - processed, 10.1.0.3 -> 
255.255.255.255 - ignored.

Harlads 




More information about the Freeradius-Users mailing list