Roy's Blog

A Hacker's musings on Code | Tech | Life

With the following changes:

  • inet6: Fix default route not being installed
  • DHCP: If root fs is network mounted, enable last lease extend
  • man: Fix lint errors.
  • BSD: avoid RTF_WASCLONED routes
  • DHCP: Give a better message when packet validation fails
  • DHCP: Ensure we have enough data to checksum IP and UDP

The last change fixes a potential DoS attack introduced in dhcpcd-8.0.3 when the checksuming code was changed to accomodate variable length IP headers. The commit says since 7.2.0, but I've now decided that's not the case.

ftp://roy.marples.name/pub/dhcpcd/dhcpcd-8.0.6.tar.xz
https://roy.marples.name/downloads/dhcpcd/dhcpcd-8.0.6.tar.xz

Continue reading...

Minor update with the following changes:

  • dnsmasq: clear cache after updating servers via dbus
  • pdns_recursor: Fix global forwards (thus now installed by default)
  • man: layout and misc fixes
  • build: added import-src target

ftp://roy.marples.name/pub/openresolv/openresolv-3.9.2.tar.xz
https://roy.marples.name/downloads/openresolv/openresolv-3.9.2.tar.xz

Continue reading...

With the following changes:

  • BSD: Fixed router reachability tests
  • inet6: If router unreachable, just solicit a new one
  • inet6: Fon't install a default route if only lladdresses
  • build: New make target import-src, only imports the bare essentials
  • inet6: Stop listening to NA messages
  • BSD: Listen to RTM_MISS messages
  • DHCP: Fix in_cksum for Big Endian
  • DHCP{,6}: Don't log an error if the lease file is truncated
  • Solaris: Now fully supported!

ftp://roy.marples.name/pub/dhcpcd/dhcpcd-8.0.4.tar.xz
https://roy.marples.name/downloads/dhcpcd/dhcpcd-8.0.4.tar.xz

Continue reading...

With the following changes:

  • DHCP: Work with IP headers with options
  • script: Assert that env string are correctly terminated
  • script: Terminate env strings with no value
  • script: Don't attempt to use an invalid env string
  • route: Fix NULL deference error when using static routes
  • ARP: Respect IFF_NOARP
  • DHCP: Add support for ARPHRD_NONE interfaces
  • DHCP: Allow full DHCP support for PtP interfaces, but not by default
  • DragonFlyBSD: 500704 announces IPv6 address flag changes
  • control: sends correct buffer to listeners

DragonFlyBSD-500704 kernel has the functionality dhcpcd needs to compile without any warnings. There are still improvements to be made to the whole network stack, but none of them are dhcpcd specific.

dhcpcd-ui now correctly reports SSD association and all the addresses obtained (regression from dhcpcd-7)

dhcpcd now supports QMI interfaces in RawIP mode - this is basically PtP interface without any L2 frame header. Because PtP interfaces normally configure their address via a 3rd party tool (dhcpcd waits for this address to appear), DHCP is not enabled by default. You can now enable it like so

interface wwan0
    dhcp

Or just add --dhcp on the command line.

ftp://roy.marples.name/pub/dhcpcd/dhcpcd-8.0.3.tar.xz
https://roy.marples.name/downloads/dhcpcd/dhcpcd-8.0.3.tar.xz

Continue reading...

With the following changes:

  • NetBSD: Can be build without ARP support but listen to kernel DaD
  • ND6: Removed NA support from SMALL builds
  • ND6: Remove and warn about NA issues on OS's other than NetBSD and Linux
  • script: /tmp files are now cleaned up for systems without open_memstream(3)
  • configure: open_memstream(3) detected on recent glibc
  • DHCP: Avoid duplicate read of UDP socket when BPF is also open
  • IP: Avoid adding address if already exists on OS other than Linux
  • IP6: Avoid adding address is already exists on Solaris
  • route: Fixed a NULL de-reference error on statically configured routes
  • DHCP6: Move to REQUEST when any IA has error no-binding in RENEW/REBIND
  • DragonFlyBSD: Now compiles and works for
  • IP: Accept packets with IP header options

I don't anticipate any more releases for a while as this is looking really good now!

ftp://roy.marples.name/pub/dhcpcd/dhcpcd-8.0.2.tar.xz
https://roy.marples.name/downloads/dhcpcd/dhcpcd-8.0.2.tar.xz

Continue reading...