dhcpcd-6.11.0 released
Roy Marples
Mon May 09 10:04:35 2016Hi List!
dhcpcd-6.11.0 has been released with the following changes:
* pidfile directory is now created correctly at startup.
* bootp "leases" are now stored so dhcpcd can dump them.
* ARP state is keep open so we can detect duplicates
(currently this is only logged, no action is taken).
* --lastleastextend allows dhcpcd to extend a DHCP lease once
it has expired. The lease is dropped if any other node
claims the address.
* Delegated Prefix reject routes will be correctly bound to the
loopback interface. If a delegated address uses the whole prefix,
then the reject route is removed. If this address is removed, the
reject route is restored.
* dhcp code has been reworked around a classic BOOTP structure
instead of a fixed size DHCP structure based on a max MTU of 1500.
Each reference to it also has a size so we know it's length.
Adding an option to a message is now guarded via easy macros.
Option concatenation buffer is no longer a fixed size.
The last point is the big bullet item and why the minor version was
bumped because it's quite a large change.
This was needed because the Coverity static analyser was complaining
that the DHCP lease was tainted. While this was a false positive, the
reworked code is now a lot more flexable (hopefully more clear to read
as well!) and will eventually allow for jumbo sized DHCP packets.
There have been a lot more cleanups due to Coverity as well, but for the
most part these were quite minor changes. Most were false positives and
reworking the code to make it a bit clearer to Coverity (and to me and
hopefully others) allowed it to then pass. Some were not false
positives, and none were in the actual parsing code (which is good, so
no exploits).
So, as of dhcpcd-6.11.0 passes both Clang and Coverity static analysis
checks!
ftp://roy.marples.name/pub/dhcpcd/dhcpcd-6.11.0.tar.xz
http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.11.0.tar.xz
Roy
Archive administrator: postmaster@marples.name