r299512 breaks dhclient on some networks
Don Lewis
truckman at FreeBSD.org
Thu May 19 08:38:04 UTC 2016
On 18 May, Ian FREISLICH wrote:
> On 05/18/16 20:19, Don Lewis wrote
>> It looks to me like r299512 is changing the format of the client
>> identifier by inserting the struct hardware hlen field into it. That's
>> not valid if htype is non-zero the way I interpret RFC 2132. On the
>> other hand, I would think that the server would interpret the client ID
>> as an opaque cookie, so I wouldn't think it would make a difference
>> (other than thinking this is a new client) unless your server is
>> configured to look for specific client IDs.
>
> It's not that the server isn't working. The client is discarding the
> server's offer for whatever reason.
There may be some other place in the code that validates the response
and that calculates the client ID the old way. When it sees the
response with the new client ID, it doesn't match and the client
discards the response because it thinks the response is for some other
host.
More information about the freebsd-current
mailing list