[ECOS] DHCP xid

Robin Farine acnrf@dial.eunet.ch
Thu Jan 31 09:27:00 GMT 2002


On Thu, 2002-01-31 at 18:08, Gary Thomas wrote: 
> On Thu, 2002-01-31 at 09:57, Robin Farine wrote:
> > Hugo,
> > 
> > Thank you for your work on this subject and the patch that resulted.
> > 
> > [ humble, red faced guy speaking softly ]
> > 
> > Ahem, forget this if it's already donethe case but, as Martin Buck
> > emphasized in his e-mail, when the DHCP client receives a reply, it
> > should first make sure that the fields 'htype', 'hlen' and 'chaddr'
> > match its own ESA before accepting the reply since the XID doesn't
> > suffice to exclude e.g. broadcasted replies destined to other clients.
> > 
> 
> I agree.  I tested this and indeed the DHCP server (at least the Linux
> one) broadcasts its results, even though they are only useful to a 
> particular node.
> 

This happens when the client asks for a broadcasted reply (B flag)
because its network stack isn't able to receive a unicast without an IP
address beeing configured. 




More information about the Ecos-discuss mailing list