While on regressions of OpenBSD's dhclient...

From: Sean Winn <sean_at_gothic.net.au>
Date: Fri, 15 Jul 2005 21:21:38 +1000
Handling of hostnames sent by the DHCP server has gone back to the  
buggy handling of dhclient 2.x

Hostnames like ....


Hostname sent via ISC dhcpd 3.x: dhcp194.private.gothic.net.au
         Used on FreeBSD 4.x, 5.x system: dhcp194.private.gothic.net.au
         Used on FreeBSD CURRENT (probably RELENG_6):  
64:68:63:70:31:39:34:2e:70:72:69:76:61:74:65:2e:67:6f:74:68:69:63:2e: 
6e:65:74:2e:61:75:0

See bin/83468

Basically, pretty_print_option() gets upset over the trailing NUL.  
Whether the server should be sending the NUL, or the client ignoring  
it, I don't know, but later versions of ISC dhclient do have a fix and  
that's attached to the PR

There's still the underlying problem that if the lease changes hostname  
while dhclient is running, dhclient won't change the hostname, but  
that's a common fault in both dhclient versions.
Received on Fri Jul 15 2005 - 09:21:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC