dhcp server - some bugs ?
    Alan DeKok 
    aland at deployingradius.com
       
    Sun Jun 22 16:54:38 CEST 2008
    
    
  
EvilEzh wrote:
> 1. As i understand responses is hardcoded(preset) to discover and
> request. DHCP-Message-Type = ... in config file is ignored,
  It *should* pay attention to DHCP-Message-Type.  If not, patches are
welcome.
> 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.
  That would be good, yes.
> 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.
  OK.
> 3. I'd suggest #define DEFAUL_PACKET_SIZE (300), some clients refuse
> large packets silently.
  Yes.  udhcp ignores packets > 300 bytes.
> 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.
  I think it's a kernel thing.
  I'm at conferences all this week (yes, multiple), so I'll have less
time for looking into these issues.
  Alan DeKok.
    
    
More information about the Freeradius-Users
mailing list