This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: DHCP server xid
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Robin Farine <acnrf at dial dot eunet dot ch>
- Cc: eCos users <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 29 Jan 2002 12:41:12 +0100
- Subject: Re: [ECOS] DHCP server xid
- References: <1012300287.16054.2.camel@halftrack>
On Tue, Jan 29, 2002 at 11:31:27AM +0100, Robin Farine wrote:
> Hi,
>
> While updating my local eCos sources tree, I noticed a strange change in
> the tcpip package: file src/lib/dhcp_prot.c, RCS version 1.10, routine
> do_dhcp(). This routine always regenerates the XID, even in the case of
> a lease renewal. Moreover, it uses values from the interface request
> which isn't initialized at this point. If some nodes boot at the same
> time and run the same release of their software, they will probably
> generate the same XID, which ultimately results into duplicated IP
> addresses on the network ...
>
> Could someone please give the rationale of this change, I've searched
> the ChangeLog without success (I may have missed it, though).
I think these changes came from the ASCOM PLC guys in Solothurn. Try
asking Anssi and Anand. I don't think they read this list.
Andrew