Roy's Blog

A Hacker's musings on Code | Tech | Life

dhcpcd-7.2.2 has been released with the following fixes:

  • DHCP: Ensure dhcp is running on the interface received from
  • BSD: Link handling has been simplified, however it is expected that if an interface supports SIOCGIFMEDIA then it reports the correct link status via route(4) for reliable operations
  • BPF: ARP filter is more robust
  • BSD and sun: Validate RTM message lengths

This security issue has been addressed

  • DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

IT IS HIGHLY RECOMMENDED YOU UPGRADE DHCPCD!

Patch for dhcpcd-7 if you don't want to upgrade to dhcpcd-7.2.2:
https://roy.marples.name/cgit/dhcpcd.git/commit/?h=dhcpcd-7&id=c1ebeaafeb324bac997984abdcee2d4e8b61a8a8
https://roy.marples.name/cgit/dhcpcd.git/commit/?h=dhcpcd-7&id=896ef4a54b0578985e5e1360b141593f1d62837b

dhcpcd-6.11.7 has been released as well, with this in. I have no plans to fix earlier versions, heck you shouldn't even be using dhcpcd-6!

Many thanks to Maxime Villard max@m00nbsd.net for discovering this issue.

FTP: ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.2.2.tar.xz
HTTP: https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.2.2.tar.xz
FTP: ftp://roy.marples.name/pub/dhcpcd/dhcpcd-6.11.7.tar.xz
HTTP: https://roy.marples.name/downloads/dhcpcd/dhcpcd-6.11.7.tar.xz

Continue reading...

Welcome to 2018 :)
dhcpcd-7.0.0 has been released!

Here's the list of changes from rc4:

  • dhcp: when unicasting on L3, unicast on L2 as well
  • dhcp: when rebooting, don't set cidaddr
  • dhcp6: don't listen on IPv6 addresses when not using DHCPv6
  • dhcp: only set probe state when probing (fixes REBOOT reason)
  • linux: use IFA_F_NOPREFIXROUTE for IPv4 addresses
  • ipv6: disable kernel RA if interface is active
  • hooks: set protocol to link for link layer events

ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.0.0.tar.xz
ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.0.0.tar.xz.distinfo.asc
https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.0.0.tar.xz
https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.0.0.tar.xz.distinfo.asc

Continue reading...

dhcpcd-7.0.0-rc4 has been released with the following changes:

  • Mark routes as set by RA/DHCP in Linux
  • Don't flush prefix routes/routers if kernel does not support RA
  • Remove OpenBSD route labels
  • dhcp: improve errors around UDP checksum failure
  • dhcp: announce existing addresses before rebooting
  • bpf: rework loop so that we can close/reopen fd inside and abort
  • ipv6nd: don't handle NA/RA for non active interfaces
  • dhcp6: listen on all addresses in non master mode
  • dhcpcd-run-hooks: set protocol in dhcpcd, don't guess
  • Ensure that xid is unique across all interfaces
  • dhcp6: redirect message to interface which uses the xid
  • bsd: strip scope from LL addresses when detecting their addition
  • ipv6nd: fix address lifetime overflow on carrier up
  • dhcp6: fix confirmation of lease on carrier up
  • eloop: fix signal catching before eloop is started on Linux

I was hoping this would be the final 7.0.0 release, but two of the above fixes were quite invasive. Maybe there will be zero issues at Christmas!

ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.0.0-rc4.tar.xz
ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.0.0-rc4.tar.xz.distinfo.asc
https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.0.0-rc4.tar.xz
https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.0.0-rc4.tar.xz.distinfo.asc

Continue reading...

dhcpcd-7.0.0-rc3 has been released with the following noteable changes:

  • Fixed handling RA's from multiple routers
  • Fixed changing to a better route based on gateway
  • IPv6 default route is now deleted when config is not persistent
  • Use hmac(3) if available in libc to reduce binary size

ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.0.0-rc3.tar.xz
ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.0.0-rc3.tar.xz.distinfo.asc
https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.0.0-rc3.tar.xz
https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.0.0-rc3.tar.xz.distinfo.asc

Continue reading...

Here's the changelog:

  • dhcp: fixed classless static routes
  • prefix delegation: build routes after assigning addresses
  • dhcp: on lease expiration, discover only when carrier
  • ip6: fix potential segfault when lifetime overflows
  • bsd: compile on recent OpenBSD platforms
  • dhcp: fix reporting of DNS encoded SIP servers
  • dhcp6: fix unicast in non master mode

All the critical issues people have highighted have now been resolved, so hopefully this is the last rc before release :)

Continue reading...