History log of /netbsd-current/external/bsd/dhcpcd/dist/src/if.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: dhcpcd-10_0_8 dhcpcd-10_0_7
# 1.1.1.31 24-May-2024 roy

Update to dhcpcd-10.0.7 with the following changes:

* DHCP: use request_time, fallback_time and ipv4ll_time rather than reboot timeout
* DHCP6: Wait for IRT to elapse before requesting advertisments
* DHCPv6: Don't re-INFORM if the RA changes
* privsep: Reduce fd use
* dhcpcd: Add support for arp persist defence
* Move dhcp(v4) packet size check earlier
* Define the Azure Endpoint and other site-specific options
* add RFC4191 support by @goertzenator in #297
* dhcpcd: Respect IPV6_PREFERRED_ONLY flag regardless of state
* Fix time_offset to be int to match RFC-2132
* hooks/30-hostname: Exit with 0 if setting hostname is not needed


Revision tags: dhcpcd-10_0_6a dhcpcd-10_0_6 dhcpcd-10_0_4 dhcpcd-10_0_3 dhcpcd-10_0_2 dhcpcd-10_0_1
# 1.1.1.30 21-Apr-2023 roy

Update to dhcpcd-10.0.1 with the following changes:

* privsep: keep resources open rather than open/close
* dhcp6: OPTION_NTP_SERVER is now preferred over OPTION_SNTP_SERVER
* Misc bug fixes mainly around privsep for many platforms.
* Fix for reading the some BSD routing table entries.
* Fix reading authtokens from config.

Big new release, mainly around better privsep process management
which allows us to detect when they exit unexpectedly.


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base dhcpcd-9_4_1
# 1.1.1.29 22-Oct-2021 roy

Update to dhcpcd-9.4.1 with the following changes:

* BSD: Find the correct interface for tunnelled routes
* OpenBSD: Fix uniqueness of routes for matching priorities
* Linux: Support more platforms for seccomp (thanks to Fabrice Fontaine)
* eloop: Process all waiting fd's as they come in
* control: Unlink sockets when not in privsep
* privsep: Renamed Master to Manager
* privsep: Renamed Privilged Actioneer to Privileged Proxy
* privsep: Fix getting interface VLANID on BSD
* privsep: Enforce proper alignment of serialized struct cmsghdr
* IPv4LL: Don't remove statically assigned addresses
* routes: Fix route comparision for network prefixes with different masks
* DHCP6: Only send FQDN for SOLICIT, REQUEST, RENEW, or REBIND messages
* DHCP6: Don't spam the log when a RA repeatedly triggers an INFORM
* DHCP: Fix infinite INFORM messages


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base dhcpcd-9_4_0
# 1.1.1.28 28-Dec-2020 roy

Update to dhcpcd-9.4.0 with the following changes:

* DHCP: For anonymous, just use a generic ClientID
* link: Split hardware address randomisation out of anonymous option
* link: Only report hardware changes for active interfaces
* link: Report errors obtaining recv buffer size on overflow
* hooks: Add NOCARRIER_ROAMING reason
* hooks: interface_order now reflects priorities again


Revision tags: dhcpcd-9_3_4 dhcpcd-9_3_3 dhcpcd-9_3_2
# 1.1.1.27 01-Nov-2020 roy

Update to dhcpcd-9.3.2 with the following changes:

* DHCP: Add support for IPv6-Only Preferred option, RFC 8925.
* BSD: `LINK_STATE_UNKNOWN` is treated as UP once again
* privsep: pass logging to the privileged actioneer
* privsep: allow logfile re-opening to work
* privsep: close BPF socket on ENXIO
* privsep: don't leave a BOOTP BPF listener rebooting in non master mode


Revision tags: dhcpcd-9_3_1
# 1.1.1.26 12-Oct-2020 roy

Update to dhcpcd-9.3.1 with the following changes:
* dhcpcd: carrier handling issue fixed from 9.3.0
* dhcpcd: log if interface type is unsupported in debug
* duid: memory leak fixed if UUID wanted but none available
* privsep: fix receiving inet and no BPF running
* privsep: allow gettimeofday for SECCOMP
* privsep: fix stderr redirection again


Revision tags: dhcpcd-9_3_0
# 1.1.1.25 05-Oct-2020 roy

Update to dhcpcd-9.3.0 with the following changes:
* dhcpcd: Backticks have been removed from quoting filenames
* dhcpcd: Only manipulate stdin, stdout and stderr if they are valid
* duid: Adjust option so the type can be specified
* logerr: Don't leak logfile fd to scripts
* privsep: Run the launcher process in the sandbox
* BSD: Use `ifi_link_state` as the single source of truth about carrier
* BSD: Ignore vether(4) devices by default


Revision tags: dhcpcd-9_2_0
# 1.1.1.24 06-Sep-2020 roy

Update to dhcpcd-9.2.0 with the following changes:

* route: ensure IPv4LL routes come last in priority
* DHCP: fix many issues with extending the last lease
* privsep: don't read control group from config in privsep
* privsep: only the master process responds to signals
* privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
* privsep: right limit stdin/stderr/stdout
* privsep: dumping a lease is now run in a sandbox
* options: check if kernel supports INET or INET6 before enabling default
* options: let clientid override a prior duid
* options: allow -1 to represent infinity for requested lease time
* dhcpcd: fix a crash initing a new interface after route overflow


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-10_0_1
# 1.1.1.30 21-Apr-2023 roy

Update to dhcpcd-10.0.1 with the following changes:

* privsep: keep resources open rather than open/close
* dhcp6: OPTION_NTP_SERVER is now preferred over OPTION_SNTP_SERVER
* Misc bug fixes mainly around privsep for many platforms.
* Fix for reading the some BSD routing table entries.
* Fix reading authtokens from config.

Big new release, mainly around better privsep process management
which allows us to detect when they exit unexpectedly.


Revision tags: netbsd-10-base dhcpcd-9_4_1
# 1.1.1.29 22-Oct-2021 roy

Update to dhcpcd-9.4.1 with the following changes:

* BSD: Find the correct interface for tunnelled routes
* OpenBSD: Fix uniqueness of routes for matching priorities
* Linux: Support more platforms for seccomp (thanks to Fabrice Fontaine)
* eloop: Process all waiting fd's as they come in
* control: Unlink sockets when not in privsep
* privsep: Renamed Master to Manager
* privsep: Renamed Privilged Actioneer to Privileged Proxy
* privsep: Fix getting interface VLANID on BSD
* privsep: Enforce proper alignment of serialized struct cmsghdr
* IPv4LL: Don't remove statically assigned addresses
* routes: Fix route comparision for network prefixes with different masks
* DHCP6: Only send FQDN for SOLICIT, REQUEST, RENEW, or REBIND messages
* DHCP6: Don't spam the log when a RA repeatedly triggers an INFORM
* DHCP: Fix infinite INFORM messages


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base dhcpcd-9_4_0
# 1.1.1.28 28-Dec-2020 roy

Update to dhcpcd-9.4.0 with the following changes:

* DHCP: For anonymous, just use a generic ClientID
* link: Split hardware address randomisation out of anonymous option
* link: Only report hardware changes for active interfaces
* link: Report errors obtaining recv buffer size on overflow
* hooks: Add NOCARRIER_ROAMING reason
* hooks: interface_order now reflects priorities again


Revision tags: dhcpcd-9_3_4 dhcpcd-9_3_3 dhcpcd-9_3_2
# 1.1.1.27 01-Nov-2020 roy

Update to dhcpcd-9.3.2 with the following changes:

* DHCP: Add support for IPv6-Only Preferred option, RFC 8925.
* BSD: `LINK_STATE_UNKNOWN` is treated as UP once again
* privsep: pass logging to the privileged actioneer
* privsep: allow logfile re-opening to work
* privsep: close BPF socket on ENXIO
* privsep: don't leave a BOOTP BPF listener rebooting in non master mode


Revision tags: dhcpcd-9_3_1
# 1.1.1.26 12-Oct-2020 roy

Update to dhcpcd-9.3.1 with the following changes:
* dhcpcd: carrier handling issue fixed from 9.3.0
* dhcpcd: log if interface type is unsupported in debug
* duid: memory leak fixed if UUID wanted but none available
* privsep: fix receiving inet and no BPF running
* privsep: allow gettimeofday for SECCOMP
* privsep: fix stderr redirection again


Revision tags: dhcpcd-9_3_0
# 1.1.1.25 05-Oct-2020 roy

Update to dhcpcd-9.3.0 with the following changes:
* dhcpcd: Backticks have been removed from quoting filenames
* dhcpcd: Only manipulate stdin, stdout and stderr if they are valid
* duid: Adjust option so the type can be specified
* logerr: Don't leak logfile fd to scripts
* privsep: Run the launcher process in the sandbox
* BSD: Use `ifi_link_state` as the single source of truth about carrier
* BSD: Ignore vether(4) devices by default


Revision tags: dhcpcd-9_2_0
# 1.1.1.24 06-Sep-2020 roy

Update to dhcpcd-9.2.0 with the following changes:

* route: ensure IPv4LL routes come last in priority
* DHCP: fix many issues with extending the last lease
* privsep: don't read control group from config in privsep
* privsep: only the master process responds to signals
* privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
* privsep: right limit stdin/stderr/stdout
* privsep: dumping a lease is now run in a sandbox
* options: check if kernel supports INET or INET6 before enabling default
* options: let clientid override a prior duid
* options: allow -1 to represent infinity for requested lease time
* dhcpcd: fix a crash initing a new interface after route overflow


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_4_1
# 1.1.1.29 22-Oct-2021 roy

Update to dhcpcd-9.4.1 with the following changes:

* BSD: Find the correct interface for tunnelled routes
* OpenBSD: Fix uniqueness of routes for matching priorities
* Linux: Support more platforms for seccomp (thanks to Fabrice Fontaine)
* eloop: Process all waiting fd's as they come in
* control: Unlink sockets when not in privsep
* privsep: Renamed Master to Manager
* privsep: Renamed Privilged Actioneer to Privileged Proxy
* privsep: Fix getting interface VLANID on BSD
* privsep: Enforce proper alignment of serialized struct cmsghdr
* IPv4LL: Don't remove statically assigned addresses
* routes: Fix route comparision for network prefixes with different masks
* DHCP6: Only send FQDN for SOLICIT, REQUEST, RENEW, or REBIND messages
* DHCP6: Don't spam the log when a RA repeatedly triggers an INFORM
* DHCP: Fix infinite INFORM messages


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base dhcpcd-9_4_0
# 1.1.1.28 28-Dec-2020 roy

Update to dhcpcd-9.4.0 with the following changes:

* DHCP: For anonymous, just use a generic ClientID
* link: Split hardware address randomisation out of anonymous option
* link: Only report hardware changes for active interfaces
* link: Report errors obtaining recv buffer size on overflow
* hooks: Add NOCARRIER_ROAMING reason
* hooks: interface_order now reflects priorities again


Revision tags: dhcpcd-9_3_4 dhcpcd-9_3_3 dhcpcd-9_3_2
# 1.1.1.27 01-Nov-2020 roy

Update to dhcpcd-9.3.2 with the following changes:

* DHCP: Add support for IPv6-Only Preferred option, RFC 8925.
* BSD: `LINK_STATE_UNKNOWN` is treated as UP once again
* privsep: pass logging to the privileged actioneer
* privsep: allow logfile re-opening to work
* privsep: close BPF socket on ENXIO
* privsep: don't leave a BOOTP BPF listener rebooting in non master mode


Revision tags: dhcpcd-9_3_1
# 1.1.1.26 12-Oct-2020 roy

Update to dhcpcd-9.3.1 with the following changes:
* dhcpcd: carrier handling issue fixed from 9.3.0
* dhcpcd: log if interface type is unsupported in debug
* duid: memory leak fixed if UUID wanted but none available
* privsep: fix receiving inet and no BPF running
* privsep: allow gettimeofday for SECCOMP
* privsep: fix stderr redirection again


Revision tags: dhcpcd-9_3_0
# 1.1.1.25 05-Oct-2020 roy

Update to dhcpcd-9.3.0 with the following changes:
* dhcpcd: Backticks have been removed from quoting filenames
* dhcpcd: Only manipulate stdin, stdout and stderr if they are valid
* duid: Adjust option so the type can be specified
* logerr: Don't leak logfile fd to scripts
* privsep: Run the launcher process in the sandbox
* BSD: Use `ifi_link_state` as the single source of truth about carrier
* BSD: Ignore vether(4) devices by default


Revision tags: dhcpcd-9_2_0
# 1.1.1.24 06-Sep-2020 roy

Update to dhcpcd-9.2.0 with the following changes:

* route: ensure IPv4LL routes come last in priority
* DHCP: fix many issues with extending the last lease
* privsep: don't read control group from config in privsep
* privsep: only the master process responds to signals
* privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
* privsep: right limit stdin/stderr/stdout
* privsep: dumping a lease is now run in a sandbox
* options: check if kernel supports INET or INET6 before enabling default
* options: let clientid override a prior duid
* options: allow -1 to represent infinity for requested lease time
* dhcpcd: fix a crash initing a new interface after route overflow


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_4_0
# 1.1.1.28 28-Dec-2020 roy

Update to dhcpcd-9.4.0 with the following changes:

* DHCP: For anonymous, just use a generic ClientID
* link: Split hardware address randomisation out of anonymous option
* link: Only report hardware changes for active interfaces
* link: Report errors obtaining recv buffer size on overflow
* hooks: Add NOCARRIER_ROAMING reason
* hooks: interface_order now reflects priorities again


Revision tags: dhcpcd-9_3_4 dhcpcd-9_3_3 dhcpcd-9_3_2
# 1.1.1.27 01-Nov-2020 roy

Update to dhcpcd-9.3.2 with the following changes:

* DHCP: Add support for IPv6-Only Preferred option, RFC 8925.
* BSD: `LINK_STATE_UNKNOWN` is treated as UP once again
* privsep: pass logging to the privileged actioneer
* privsep: allow logfile re-opening to work
* privsep: close BPF socket on ENXIO
* privsep: don't leave a BOOTP BPF listener rebooting in non master mode


Revision tags: dhcpcd-9_3_1
# 1.1.1.26 12-Oct-2020 roy

Update to dhcpcd-9.3.1 with the following changes:
* dhcpcd: carrier handling issue fixed from 9.3.0
* dhcpcd: log if interface type is unsupported in debug
* duid: memory leak fixed if UUID wanted but none available
* privsep: fix receiving inet and no BPF running
* privsep: allow gettimeofday for SECCOMP
* privsep: fix stderr redirection again


Revision tags: dhcpcd-9_3_0
# 1.1.1.25 05-Oct-2020 roy

Update to dhcpcd-9.3.0 with the following changes:
* dhcpcd: Backticks have been removed from quoting filenames
* dhcpcd: Only manipulate stdin, stdout and stderr if they are valid
* duid: Adjust option so the type can be specified
* logerr: Don't leak logfile fd to scripts
* privsep: Run the launcher process in the sandbox
* BSD: Use `ifi_link_state` as the single source of truth about carrier
* BSD: Ignore vether(4) devices by default


Revision tags: dhcpcd-9_2_0
# 1.1.1.24 06-Sep-2020 roy

Update to dhcpcd-9.2.0 with the following changes:

* route: ensure IPv4LL routes come last in priority
* DHCP: fix many issues with extending the last lease
* privsep: don't read control group from config in privsep
* privsep: only the master process responds to signals
* privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
* privsep: right limit stdin/stderr/stdout
* privsep: dumping a lease is now run in a sandbox
* options: check if kernel supports INET or INET6 before enabling default
* options: let clientid override a prior duid
* options: allow -1 to represent infinity for requested lease time
* dhcpcd: fix a crash initing a new interface after route overflow


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_3_2
# 1.1.1.27 01-Nov-2020 roy

Update to dhcpcd-9.3.2 with the following changes:

* DHCP: Add support for IPv6-Only Preferred option, RFC 8925.
* BSD: `LINK_STATE_UNKNOWN` is treated as UP once again
* privsep: pass logging to the privileged actioneer
* privsep: allow logfile re-opening to work
* privsep: close BPF socket on ENXIO
* privsep: don't leave a BOOTP BPF listener rebooting in non master mode


Revision tags: dhcpcd-9_3_1
# 1.1.1.26 12-Oct-2020 roy

Update to dhcpcd-9.3.1 with the following changes:
* dhcpcd: carrier handling issue fixed from 9.3.0
* dhcpcd: log if interface type is unsupported in debug
* duid: memory leak fixed if UUID wanted but none available
* privsep: fix receiving inet and no BPF running
* privsep: allow gettimeofday for SECCOMP
* privsep: fix stderr redirection again


Revision tags: dhcpcd-9_3_0
# 1.1.1.25 05-Oct-2020 roy

Update to dhcpcd-9.3.0 with the following changes:
* dhcpcd: Backticks have been removed from quoting filenames
* dhcpcd: Only manipulate stdin, stdout and stderr if they are valid
* duid: Adjust option so the type can be specified
* logerr: Don't leak logfile fd to scripts
* privsep: Run the launcher process in the sandbox
* BSD: Use `ifi_link_state` as the single source of truth about carrier
* BSD: Ignore vether(4) devices by default


Revision tags: dhcpcd-9_2_0
# 1.1.1.24 06-Sep-2020 roy

Update to dhcpcd-9.2.0 with the following changes:

* route: ensure IPv4LL routes come last in priority
* DHCP: fix many issues with extending the last lease
* privsep: don't read control group from config in privsep
* privsep: only the master process responds to signals
* privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
* privsep: right limit stdin/stderr/stdout
* privsep: dumping a lease is now run in a sandbox
* options: check if kernel supports INET or INET6 before enabling default
* options: let clientid override a prior duid
* options: allow -1 to represent infinity for requested lease time
* dhcpcd: fix a crash initing a new interface after route overflow


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_3_1
# 1.1.1.26 12-Oct-2020 roy

Update to dhcpcd-9.3.1 with the following changes:
* dhcpcd: carrier handling issue fixed from 9.3.0
* dhcpcd: log if interface type is unsupported in debug
* duid: memory leak fixed if UUID wanted but none available
* privsep: fix receiving inet and no BPF running
* privsep: allow gettimeofday for SECCOMP
* privsep: fix stderr redirection again


Revision tags: dhcpcd-9_3_0
# 1.1.1.25 05-Oct-2020 roy

Update to dhcpcd-9.3.0 with the following changes:
* dhcpcd: Backticks have been removed from quoting filenames
* dhcpcd: Only manipulate stdin, stdout and stderr if they are valid
* duid: Adjust option so the type can be specified
* logerr: Don't leak logfile fd to scripts
* privsep: Run the launcher process in the sandbox
* BSD: Use `ifi_link_state` as the single source of truth about carrier
* BSD: Ignore vether(4) devices by default


Revision tags: dhcpcd-9_2_0
# 1.1.1.24 06-Sep-2020 roy

Update to dhcpcd-9.2.0 with the following changes:

* route: ensure IPv4LL routes come last in priority
* DHCP: fix many issues with extending the last lease
* privsep: don't read control group from config in privsep
* privsep: only the master process responds to signals
* privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
* privsep: right limit stdin/stderr/stdout
* privsep: dumping a lease is now run in a sandbox
* options: check if kernel supports INET or INET6 before enabling default
* options: let clientid override a prior duid
* options: allow -1 to represent infinity for requested lease time
* dhcpcd: fix a crash initing a new interface after route overflow


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_3_0
# 1.1.1.25 05-Oct-2020 roy

Update to dhcpcd-9.3.0 with the following changes:
* dhcpcd: Backticks have been removed from quoting filenames
* dhcpcd: Only manipulate stdin, stdout and stderr if they are valid
* duid: Adjust option so the type can be specified
* logerr: Don't leak logfile fd to scripts
* privsep: Run the launcher process in the sandbox
* BSD: Use `ifi_link_state` as the single source of truth about carrier
* BSD: Ignore vether(4) devices by default


Revision tags: dhcpcd-9_2_0
# 1.1.1.24 06-Sep-2020 roy

Update to dhcpcd-9.2.0 with the following changes:

* route: ensure IPv4LL routes come last in priority
* DHCP: fix many issues with extending the last lease
* privsep: don't read control group from config in privsep
* privsep: only the master process responds to signals
* privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
* privsep: right limit stdin/stderr/stdout
* privsep: dumping a lease is now run in a sandbox
* options: check if kernel supports INET or INET6 before enabling default
* options: let clientid override a prior duid
* options: allow -1 to represent infinity for requested lease time
* dhcpcd: fix a crash initing a new interface after route overflow


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_2_0
# 1.1.1.24 06-Sep-2020 roy

Update to dhcpcd-9.2.0 with the following changes:

* route: ensure IPv4LL routes come last in priority
* DHCP: fix many issues with extending the last lease
* privsep: don't read control group from config in privsep
* privsep: only the master process responds to signals
* privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
* privsep: right limit stdin/stderr/stdout
* privsep: dumping a lease is now run in a sandbox
* options: check if kernel supports INET or INET6 before enabling default
* options: let clientid override a prior duid
* options: allow -1 to represent infinity for requested lease time
* dhcpcd: fix a crash initing a new interface after route overflow


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_1_4 dhcpcd-9_1_3
# 1.1.1.23 02-Jul-2020 roy

Update to dhcpcd-9.1.3 with the following changes:

* inet6: Add support for reporting Mobile IPv6 RA's
* inet6: Report RA Proxy flag if set
* BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
* privsep: Don't handle any signals meant for the main process
* eloop: Try and survive a signal storm
* dhcpcd: Add an option to poll the interface carrier state
* script: Make visible some link level parameters to lease dumping
* inet6: Don't regen temp addresses we didn't add
* privsep: Don't limit file writes if logging to a file
* DHCP6: Fix lease timings with nodelay option


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_1_2
# 1.1.1.22 15-Jun-2020 roy

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox


Revision tags: dhcpcd-9_1_1 dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_1_0
# 1.1.1.21 31-May-2020 roy

Update to dhcpcd-9.1.0 with the following changes:

* Leases are stored outside the chroot again
* The chroot directory can now be (and should be) empty [1]
* ARP is now per address rather than per interface
* Filter allowed ioctls in the privileged actioneer
* Filter allowed UDP ports used by sendto(2) in the privileged actioneer
* Filter allowed file paths in the privileged actioneer
* route socket is now drained on overflow as it cannot be
re-opened by the unpriviledged user

* hostname can no longer be clobbered by SLAAC
* grep is no longer used by the test hook
* Interface hardware address type changes are now picked up
* Fixed some RA timing issues
* Fixed nd_* option parsing in dhcpcd.conf
* Allow SIGPIPE in scripts
* Default dhcpcd.conf no longer sends the current hostname
* Default dhcpcd.conf no longer sends a vendorclassid


Revision tags: phil-wifi-20200421 dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_0_2
# 1.1.1.20 21-Apr-2020 roy

Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.


Revision tags: dhcpcd-9_0_1 phil-wifi-20200411 phil-wifi-20200406 dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: is-mlppp-base dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-9_0_0
# 1.1.1.19 02-Apr-2020 roy

Update to dhcpcd-9.0.0 with the following changes:

* Decode interface complex interface names eth0.100:2 eth0i100:2.
This allows us to ignore some virtual interfaces by default
* ARP: Report L2 header address on conflict for more clarity
* DHCP: Support jumbo frames (untested)
* DHCP6: Clean up old lease on failure to confirm/rebind, etc
* RA: Prefer older routers
* INET6: Obscure prefixes are now calculated correctly

* Privilege Separation
* default hostname is now a blank string rather than localhost
* Leases are now dumped over the control socket - you get RA's now as well.
* Better support for many IPv6 routers
* RTM_MISS filtering
* RA: Deprecate stale addresses by setting pltime 0
* DHCP6: Deprecate stale addresses by setting pltime 0


Revision tags: dhcpcd-8_1_6 dhcpcd-8_1_5 dhcpcd-8_1_4 dhcpcd-8_1_3 phil-wifi-20191119 dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-8_1_2
# 1.1.1.18 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-8_1_0
# 1.1.1.17 11-Oct-2019 roy

Import dhcpcd-8.1.0 with the following changes:

* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd


Revision tags: dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-8-0-4
# 1.1.1.16 04-Sep-2019 roy

Import dhcpcd-8.0.4 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
* 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


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

branches: 1.1.1.14.2;
Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-8-0-3
# 1.1.1.15 21-Aug-2019 roy

Import dhcpcd-8.0.3 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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

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


Revision tags: netbsd-9-base dhcpcd-8-0-2 dhcpcd-8-0-1 dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-8-0-0
# 1.1.1.14 24-Jul-2019 roy

Import dhcpcd-8.0.0 with the following changes:

* ARP now supports many requests
* Routing tables now use Red-Black Trees
* Script variables are no longer allocated manually


Revision tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.2; 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-7-2-2
# 1.1.1.13 04-May-2019 roy

Import dhcpcd-7.2.2 with the following changes:
* 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: Validate RTM message lengths

This security issue has been addressed:
* DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.12 17-Apr-2019 roy

Import dhcpcd-7.2.0 with the following changes:
* BSD: PF_LINK sockets now closed when no longer needed
* BSD: Fix detecting interface for scoped routes
* script: Allow "" to mean /dev/null
* script: Add static routers and routes to env
* DHCP: outbound interface is no longer dictated with IP_PKTINFO
* DHCP: BPF sockets now closed when no longer needed
* DHCPv6: Allow nooption dhcp6_unicast to work
* DHCPv6: Don't spam syslog if we always get the same error
* route: Log pid which deleted routes of interest

This release fixes PR bin/53705.


Revision tags: dhcpcd-7-1-1
# 1.1.1.11 07-Feb-2019 roy

Import dhcpcd-7.1.1 with the following changes:

* IPv4LL: Fixed build with this disabled
* IPv4LL: Remember last address between carrier resets
* BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.10 22-Jan-2019 roy

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8
# 1.1.1.9 20-Aug-2018 roy

Import dhcpcd-7.0.8 with the following changes:
* Don't use IP_PKTINFO on NetBSD-7 as it's incomplete.
* Workaround RTM_NEWADDR sending the wrong broadcast address
on NetBSD-7.
* Silence diagnostics if an address vanishes when reading
it's flags on all BSD's.
* Misc compiler warnings fixed.


Revision tags: pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3
# 1.1.1.8 06-Apr-2018 roy

branches: 1.1.1.8.4;
Import dhcpcd-7.0.3 with the following changes:

* dhcp6: fix a null termination overflow on status messages
* options: static routes can be setup in global context again
* routes: dhcpcd added host routes are now reported correctly


Revision tags: pgoyette-compat-0330 dhcpcd-7-0-2
# 1.1.1.7 27-Mar-2018 roy

Import dhcpcd-7.0.2 with the following changes:

* Added support for setproctitle(3)
* Kernel RA is no longer disabled when IPv6 is disabled in dhcpcd
* DHCPv6 PD is no longer stopped if no Routers are found
* If the DHCP leased address is deleted, enter the reboot state
* DHCPv6 unicast is no longer performed when not in master mode
* dhcpcd will now detect netlink/route socket overflows ad re-sync


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

branches: 1.1.1.6.2;
Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-7-0-1
# 1.1.1.6 29-Jan-2018 roy

Import dhcpcd-7.0.1 with the following changes:
* hooks: remove use of local builtin for better portability
* dhcpcd: don't log errors working out carrier for departed interfaces
* ipv4: allow configuration of static broadcast address
* if: don't set MTU during interface discovery
* if: don't activate non matching interfaces to commandline ones
* eloop-bench: fix hangs when using a large number of cycles
* dhcp: don't bind when we've just probed an address to inform


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-7-0-0
# 1.1.1.5 01-Jan-2018 roy

Import dhcpcd-7.0.0 with the following changes:
* 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)
* ipv6: disable kernel RA if interface is active
* hooks: set protocol to link for link layer events


Revision tags: dhcpcd-7-0-0-rc4 dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

branches: 1.1.1.3.2;
Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2
# 1.1.1.4 19-Sep-2017 roy

Import dhcpcd-7.0.0-rc2 with the following changes:

* 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
* dhcp: fix reporting of DNS encoded SIP servers
* dhcp6: fix unicast in non master mode


Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: prg-localcount2-base2 dhcpcd-7-0-0-rc1
# 1.1.1.3 10-May-2017 roy

Import dhcpcd-7.0.0-rc1 with the following changes:
* Default to use VLANID>0 for IAID instead of MAC address
* Stop sharing the DHCPv6 port in master mode with other processes
* Fix some prefix delegation issues when the carrier drops or
addresses become stale
* Fix a crash when starting dhcpcd with -n
* Fix test for preferring a fake lease over a real one
* Show to real address lifetimes being added when adding IPv6
addresses
* Restore the -G, --nogateway option


Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.4; 1.1.1.2.6;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.4;
Import dhcpcd-7.0.0-beta3 with the following changes:
* restored --logfile support as a few people complained it vanished
The new logging code even makes the overall binary size smaller
on most platforms.
* BPF filter now trims garbage trailing the payload
OK, it's not garbage, but userland doesn't know some drivers append
FCS to it.
* support NetBSD's RO_MSGFILTER socket option to reduce avoid context
switching for route(4) messages that don't interest us.
* Don't open sockets if just sending signals.
* HMAC-MD5 test's now check expectations in code rather than relying
on visual confirmation.
* added eloop-bench to test performance of eloop with available
polling mechanisms.


Revision tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

Import dhcpcd-7.0.0-beta. Changes from prior version include:

* source file locations reworked:
dhcpcd source is in src
dhcpcd hooks are in hooks
compat is in compat
* README split into README.md and BUILDING.md
* internal routing is now protocol agnostic
* avoid using __packed and use compile time asserts instead
* addresses some alignment issues
* disable some ARP code on kernels which support RFC5227
* BSD IPv6 kernel settings are now updated to reflect dhcpcd config
* custom logger has been removed, syslog handles everything
as such, the --logfile option has been removed as well.
If you need better/earlier logging, get a better syslogger!
* distinfo and signed distinfo files are now available alongside
release taraballs from this point onwards
* default DBDIR has changed from /var/db to /var/db/dhcpcd
* /etc/dhcpcd.duid moves to DBDIR/duid
* /etc/dhcpcd.secret moves to DBDIR/secret
* lease file names have dhcpcd removed from them as they are now
inside a directory of the same name
* fixed issues with reject routes not working on some platforms
* improved nl80211 support on Linux for working out the SSID
* no longer request NTP by default in dhcpcd.conf
* BPF filtering vastly improved so dhcpcd only wake up on
ARP or DHCP packets destined for it
* support for MUD URL (draft-ietf-opsawg-mud-05)
* if the kernel isn't doing DAD, don't insist on waiting for it
to actually do it
* fix a potential crash where the DHCP or ARP states could be
freed before the packet processing loop naturally breaks
* removed gateway and nogateway options
(these can be controlled by the nooption directive which
works for more than just gateways)
* removed ipv6ra_own and ipv6ra_own_default options
(these can be controled by the ipv6rs/noipv6rs directive)
* fix a crash receiving SIGUSR1