Up to [cvs.NetBSD.org] / src / external / bsd / dhcpcd / dist / src
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Sync with dhcpcd-10.0.7
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
Merge changes
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.
Sync update
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
Sync with dhcpcd-9.3.3
Update to dhcpcd-9.3.3 with the following changes: * dhcpcd: Don't create a launcher process if keeping in foreground * dhcpcd: Add --noconfigure option * control: Create an unpriv socket for non master mode * options: Don't log unknown ones when printing pidfile location
Sync withn dhcpcd-9.3.1
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
Sync
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
Sync
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
Sync
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
Sync with HEAD
Sync
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.
Sync
Update to dhcpcd-9.0.1 with the following changes: * privsep: Improve error when we don't have permission to write lease PR bin/55135 * privsep: Fix hooks restarting other daemons
Mostly merge changes from HEAD upto 20200411
Apply patch, requested by roy in ticket #825: external/bsd/dhcpcd/dist/src/arp.c (apply patch) external/bsd/dhcpcd/dist/src/arp.h (apply patch) external/bsd/dhcpcd/dist/src/bpf.c (apply patch) external/bsd/dhcpcd/dist/src/bpf.h (apply patch) external/bsd/dhcpcd/dist/src/common.h (apply patch) external/bsd/dhcpcd/dist/src/defs.h (apply patch) external/bsd/dhcpcd/dist/src/dhcp.c (apply patch) external/bsd/dhcpcd/dist/src/dhcp6.c (apply patch) external/bsd/dhcpcd/dist/src/dhcp6.h (apply patch) external/bsd/dhcpcd/dist/src/dhcpcd.c (apply patch) external/bsd/dhcpcd/dist/src/eloop.h (apply patch) external/bsd/dhcpcd/dist/src/if-bsd.c (apply patch) external/bsd/dhcpcd/dist/src/if-options.c (apply patch) external/bsd/dhcpcd/dist/src/if.c (apply patch) external/bsd/dhcpcd/dist/src/if.h (apply patch) external/bsd/dhcpcd/dist/src/ipv4ll.c (apply patch) external/bsd/dhcpcd/dist/src/ipv6.c (apply patch) external/bsd/dhcpcd/dist/src/ipv6nd.c (apply patch) external/bsd/dhcpcd/dist/src/ipv6nd.h (apply patch) external/bsd/dhcpcd/dist/src/logerr.c (apply patch) external/bsd/dhcpcd/dist/src/logerr.h (apply patch) doc/3RDPARTY (apply patch) Update to dhcpcd-8.1.7 which fixes the following issues: * 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 - fixes PR bin/54997 * INET6: Obscure prefixes are now calculated correctly * macro logerr commands to allow an alternative logger
Sync
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
Pull up the following, requested by roy in ticket # 661: external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.37 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.32 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.16 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.8 external/bsd/dhcpcd/dist/src/ipv6.h up to 1.8 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.16 external/bsd/dhcpcd/dist/src/script.c up to 1.2 doc/3RDPARTY manually edited Update to dhcpcd-8.1.6 with the following changes: * INET6: Support a /128 prefix advertised via RA * BSD: More address validation from route(4) messages * DHCP: Fix a potential segfault on DaD failure * IPv4LL: Fix a potential segfault when dropping IPv4LL addresses
Sync
Update to dhcpcd-8.1.6 with the following changes: * INET6: Support a /128 prefix advertised via RA * BSD: More address validation from route(4) messages * DHCP: Fix a potential segfault on DaD failure * IPv4LL: Fix a potential segfault when dropping IPv4LL addresses
Pull up the following, requested by roy in ticket #602: external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.4 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.36 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.31 external/bsd/dhcpcd/dist/src/dhcp.h up to 1.1.1.14 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.15 external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.31 external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in up to 1.1.1.16 external/bsd/dhcpcd/dist/src/if-options.c up to 1.20 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.20 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.7 external/bsd/dhcpcd/dist/src/ipv6.h up to 1.7 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.15 doc/3RDPARTY (manually updated) Import dhcpcd 8.1.5, which fixes: * IPv6ND: Fix reachable test * DHCP6: Work better with infinite addresses * DHCP6: Suboption 3 of NTP Server is a FQDN * DHCP6: Fix deprecating a delegated prefix * DHCP: Ensure we have a lease to extract options from * options: Fix allocating the script option * inet: Allow forcing a host route from an interface without a lease * dhcpcd: Don't wait for an address family to complete if not using it
Sync
Import dhcpcd-8.1.3 with the following changes: * dhcpcd: Only report SSID when we have a carrier * IPv6ND: Fix reachable test * DHCP6: Work better with infinite addresses * DHCP6: Suboption 3 of NTP Server is a FQDN * DHCP6: Fix deprecating a delegated prefix * DHCP: Ensure we have a lease to extract options from
Pull up the following revisions, requested by roy in ticket #340: external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.32 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.29 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.28 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.6 src/doc/3RDPARTY (manually edited) Import dhcpcd-8.1.1 with the following changes: * IPv6: Fix a potential crash when learning interface addresses. * DHCP: Fix fallout from dhcpcd-8.1.0 for checksum calculation.
Sync
Import dhcpcd-8.1.1 with the following changes: * IPv6: Fix a potential crash when learning interface addresses. * DHCP: Fix fallout from dhcpcd-8.1.0 for checksum calculation.
Import dhcpcd-8.1.1 with the following changes: * IPv6: Fix a potential crash when learning interface addresses. * DHCP: Fix fallout from dhcpcd-8.1.0 for checksum calculation.
Pull up the following revisions, requested by roy in ticket #302: external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h up to 1.1.1.2 external/bsd/dhcpcd/NetBSD-upgrade up to 1.2 external/bsd/dhcpcd/dist/compat/crypt/sha256.c delete external/bsd/dhcpcd/dist/compat/crypt/hmac.c delete external/bsd/dhcpcd/dist/compat/crypt/hmac.h delete external/bsd/dhcpcd/dist/compat/crypt/md5.c delete external/bsd/dhcpcd/dist/compat/crypt/md5.h delete external/bsd/dhcpcd/dist/compat/crypt/sha256.h delete external/bsd/dhcpcd/dist/compat/_strtoi.h delete external/bsd/dhcpcd/dist/compat/arc4random.c delete external/bsd/dhcpcd/dist/compat/arc4random.h delete external/bsd/dhcpcd/dist/compat/arc4random_uniform.c delete external/bsd/dhcpcd/dist/compat/arc4random_uniform.h delete external/bsd/dhcpcd/dist/compat/bitops.h delete external/bsd/dhcpcd/dist/compat/consttime_memequal.h delete external/bsd/dhcpcd/dist/compat/dprintf.c delete external/bsd/dhcpcd/dist/compat/dprintf.h delete external/bsd/dhcpcd/dist/compat/endian.h delete external/bsd/dhcpcd/dist/compat/pidfile.c delete external/bsd/dhcpcd/dist/compat/pidfile.h delete external/bsd/dhcpcd/dist/compat/queue.h delete external/bsd/dhcpcd/dist/compat/rb.c delete external/bsd/dhcpcd/dist/compat/rbtree.h delete external/bsd/dhcpcd/dist/compat/reallocarray.c delete external/bsd/dhcpcd/dist/compat/reallocarray.h delete external/bsd/dhcpcd/dist/compat/strlcpy.c delete external/bsd/dhcpcd/dist/compat/strlcpy.h delete external/bsd/dhcpcd/dist/compat/strtoi.c delete external/bsd/dhcpcd/dist/compat/strtoi.h delete external/bsd/dhcpcd/dist/compat/strtou.c delete external/bsd/dhcpcd/dist/.gitignore delete external/bsd/dhcpcd/dist/BUILDING.md delete external/bsd/dhcpcd/dist/Makefile delete external/bsd/dhcpcd/dist/Makefile.inc delete external/bsd/dhcpcd/dist/config-null.mk delete external/bsd/dhcpcd/dist/configure delete external/bsd/dhcpcd/dist/iconfig.mk delete external/bsd/dhcpcd/dist/hooks/Makefile delete external/bsd/dhcpcd/dist/hooks/50-dhcpcd-compat delete external/bsd/dhcpcd/dist/hooks/50-yp.conf delete external/bsd/dhcpcd/dist/src/Makefile delete external/bsd/dhcpcd/dist/src/GNUmakefile delete external/bsd/dhcpcd/dist/src/dev.c delete external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf delete external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf delete external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in delete external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in delete external/bsd/dhcpcd/dist/src/genembedc delete external/bsd/dhcpcd/dist/src/genembedh delete external/bsd/dhcpcd/dist/src/if-linux-wext.c delete external/bsd/dhcpcd/dist/src/if-linux.c delete external/bsd/dhcpcd/dist/src/if-sun.c delete external/bsd/dhcpcd/dist/src/dev/Makefile delete external/bsd/dhcpcd/dist/src/dev/udev.c delete external/bsd/dhcpcd/dist/tests/crypt/.gitignore delete external/bsd/dhcpcd/dist/tests/crypt/GNUmakefile delete external/bsd/dhcpcd/dist/tests/crypt/Makefile delete external/bsd/dhcpcd/dist/tests/crypt/README.md delete external/bsd/dhcpcd/dist/tests/crypt/run-test.c delete external/bsd/dhcpcd/dist/tests/crypt/test.h delete external/bsd/dhcpcd/dist/tests/crypt/test_hmac_md5.c delete external/bsd/dhcpcd/dist/tests/Makefile delete external/bsd/dhcpcd/dist/tests/eloop-bench/.gitignore delete external/bsd/dhcpcd/dist/tests/eloop-bench/Makefile delete external/bsd/dhcpcd/dist/tests/eloop-bench/README.md delete external/bsd/dhcpcd/dist/tests/eloop-bench/eloop-bench.c delete external/bsd/dhcpcd/dist/src/arp.c up to 1.1.1.12 external/bsd/dhcpcd/dist/src/bpf.c up to 1.13 external/bsd/dhcpcd/dist/src/bpf.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/common.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/common.h up to 1.1.1.9 external/bsd/dhcpcd/dist/src/control.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.30 external/bsd/dhcpcd/dist/src/dhcp-common.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/dhcp-common.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.28 external/bsd/dhcpcd/dist/src/dhcp.h up to 1.1.1.11 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.13 external/bsd/dhcpcd/dist/src/dhcpcd.8.in up to 1.4 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.27 external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in up to 1.1.1.15 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.14 external/bsd/dhcpcd/dist/src/if-options.c up to 1.18 external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.17 external/bsd/dhcpcd/dist/src/if.h up to 1.1.1.12 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.18 external/bsd/dhcpcd/dist/src/ipv4.h up to 1.1.1.11 external/bsd/dhcpcd/dist/src/ipv4ll.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/ipv4ll.h up to 1.1.1.8 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.5 external/bsd/dhcpcd/dist/src/ipv6.h up to 1.6 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.12 external/bsd/dhcpcd/dist/src/route.c up to 1.1.1.15 external/bsd/dhcpcd/sbin/dhcpcd/Makefile up to 1.49 doc/3RDPARTY modified manually 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
Sync
Import dhcpcd-8.0.5 with the following changes: * inet6: Fix default route not being installed * DHCP: If root fs is network mounted, enable last lease extend * man: Fix lint errors. * DHCP: Give a better message when packet validation fails * DHCP: Ensure we have enough data to checksum IP and UDP The last change fixes a potential DoS attack introduced in dhcpcd-8.0.3 when the checksuming code was changed to accomodate variable length IP headers.
Catch up to current for the following files, requested by roy in ticket #177: external/bsd/dhcpcd/dist/BUILDING.md up to 1.1.1.5 external/bsd/dhcpcd/dist/Makefile up to 1.1.1.7 external/bsd/dhcpcd/dist/Makefile.inc up to 1.1.1.3 external/bsd/dhcpcd/dist/configure up to 1.1.1.15 external/bsd/dhcpcd/dist/compat/rb.c up to 1.1.1.2 external/bsd/dhcpcd/dist/compat/rbtree.h up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/Makefile up to 1.1.1.2 external/bsd/dhcpcd/dist/src/Makefile up to 1.1.1.6 external/bsd/dhcpcd/dist/src/bpf.c up to 1.12 external/bsd/dhcpcd/dist/src/control.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/control.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.27 external/bsd/dhcpcd/dist/src/dhcp-common.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.25 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.12 external/bsd/dhcpcd/dist/src/dhcpcd.8.in up to 1.3 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.25 external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in up to 1.1.1.14 external/bsd/dhcpcd/dist/src/duid.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.12 external/bsd/dhcpcd/dist/src/if-linux.c up to 1.1.1.16 external/bsd/dhcpcd/dist/src/if-options.c up to 1.17 external/bsd/dhcpcd/dist/src/if-options.h up to 1.1.1.11 external/bsd/dhcpcd/dist/src/if-sun.c up to 1.1.1.11 external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.16 external/bsd/dhcpcd/dist/src/if.h up to 1.1.1.11 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.17 external/bsd/dhcpcd/dist/src/ipv4.h up to 1.1.1.10 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.4 external/bsd/dhcpcd/dist/src/ipv6.h up to 1.5 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.11 external/bsd/dhcpcd/dist/src/ipv6nd.h up to 1.1.1.11 external/bsd/dhcpcd/dist/src/route.c up to 1.1.1.14 external/bsd/dhcpcd/dist/src/route.h up to 1.1.1.9 external/bsd/dhcpcd/dist/src/sa.c up to 1.1.1.6 external/bsd/dhcpcd/dist/src/script.c up to 1.1.1.11 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 Changes in dhcpcd-8.0.3: * 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)
Sync
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
Sync
Import dhcpcd-8.0.2 with the following changes: * NetBSD: Can be build without ARP support but listen to kernel DaD * ND6: Removed NA support from SMALL builds * DHCP: Avoid duplicate read of UDP socket when BPF is also open * IP: Avoid adding address if already exists on OS other than Linux * route: Fixed a NULL de-reference error on static routes * DHCP6: Move to REQUEST if any IA has no-binding in REWNEW/REBIND * IP: Accept packets with IP header options
As dhcpcd no longer supports IPv4 address advertisement for SMALL builds, remove the equivalent IPv6 functionality. This shouldn't be an issue as this is only used for IPv6 address sharing, which only the NetBSD kernel currently supports.
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
Sync with HEAD
Sync to head, requested by roy in ticket #1250: external/bsd/dhcpcd/dist/compat/consttime_memequal.h up to 1.1.1.1 external/bsd/dhcpcd/dist/.arcconfig delete external/bsd/dhcpcd/dist/BUILDING.md up to 1.1.1.3 external/bsd/dhcpcd/dist/LICENSE up to 1.1.1.3 external/bsd/dhcpcd/dist/Makefile up to 1.1.1.6 external/bsd/dhcpcd/dist/configure up to 1.1.1.11 external/bsd/dhcpcd/dist/iconfig.mk up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/20-resolv.conf up to 1.2 external/bsd/dhcpcd/dist/hooks/29-lookup-hostname up to 1.2 external/bsd/dhcpcd/dist/hooks/30-hostname up to 1.2 external/bsd/dhcpcd/dist/hooks/50-ntp.conf up to 1.2 external/bsd/dhcpcd/dist/hooks/50-yp.conf up to 1.2 external/bsd/dhcpcd/dist/hooks/50-ypbind.in up to 1.2 external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.3 external/bsd/dhcpcd/dist/src/Makefile up to 1.1.1.5 external/bsd/dhcpcd/dist/src/arp.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/arp.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/auth.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/auth.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/bpf.c up to 1.8 external/bsd/dhcpcd/dist/src/bpf.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/common.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/common.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/control.c up to 1.1.1.5 external/bsd/dhcpcd/dist/src/control.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.20 external/bsd/dhcpcd/dist/src/dev.c up to 1.1.1.4 external/bsd/dhcpcd/dist/src/dev.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dhcp-common.c up to 1.1.1.5 external/bsd/dhcpcd/dist/src/dhcp-common.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.18 external/bsd/dhcpcd/dist/src/dhcp.h up to 1.1.1.9 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.6 external/bsd/dhcpcd/dist/src/dhcp6.h up to 1.1.1.9 external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dhcpcd.8.in up to 1.1.1.12 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.18 external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in up to 1.1.1.12 external/bsd/dhcpcd/dist/src/dhcpcd.h up to 1.1.1.9 external/bsd/dhcpcd/dist/src/duid.c up to 1.1.1.5 external/bsd/dhcpcd/dist/src/eloop.c up to 1.1.1.6 external/bsd/dhcpcd/dist/src/eloop.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.6 external/bsd/dhcpcd/dist/src/if-linux-wext.c up to 1.1.1.3 external/bsd/dhcpcd/dist/src/if-linux.c up to 1.1.1.12 external/bsd/dhcpcd/dist/src/if-options.c up to 1.13 external/bsd/dhcpcd/dist/src/if-options.h up to 1.1.1.8 external/bsd/dhcpcd/dist/src/if-sun.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.12 external/bsd/dhcpcd/dist/src/if.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.13 external/bsd/dhcpcd/dist/src/ipv4.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/ipv4ll.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/ipv4ll.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.1.1.16 external/bsd/dhcpcd/dist/src/ipv6.h up to 1.1.1.10 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.6 external/bsd/dhcpcd/dist/src/ipv6nd.h up to 1.1.1.9 external/bsd/dhcpcd/dist/src/logerr.c up to 1.1.1.3 external/bsd/dhcpcd/dist/src/logerr.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/route.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/route.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/sa.c up to 1.1.1.4 external/bsd/dhcpcd/dist/src/sa.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/script.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/script.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dev/udev.c up to 1.1.1.3 external/bsd/dhcpcd/dist/tests/Makefile up to 1.1.1.2 external/bsd/dhcpcd/sbin/dhcpcd/Makefile up to 1.45 Import dhcpcd-7.2.1 with the following changes: * auth: Use consttime_memequal to avoid latency attack * DHCP: Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED * DHCPv6: Fix a potential buffer overflow reading NA/TA addresses
Import dhcpcd-7.2.1 with the following changes: * auth: Use consttime_memequal to avoid latency attack * DHCP: Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED * DHCPv6: Fix a potential buffer overflow reading NA/TA addresses
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.
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
Sync with HEAD
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
Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes)
Sync to head the following, requested by roy in ticket #1633: external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.16 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.13 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.1.1.13 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.1.1.12 doc/3RDPARTY (manually edited) 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.
Sync to head the following, requested by roy in ticket #981: external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.16 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.13 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.1.1.13 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.1.1.12 doc/3RDPARTY (manually edited) 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.
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.
Sync with HEAD
Pull up following revision(s) (requested by roy in ticket #1621): external/bsd/dhcpcd/dist/compat/crypt/sha256.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/crypt/md5.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/crypt/md5.h up to 1.1.1.2 external/bsd/dhcpcd/dist/compat/crypt/sha256.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/crypt/hmac.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/crypt/hmac.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/_strtoi.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/arc4random.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/arc4random.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/arc4random_uniform.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/arc4random_uniform.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/bitops.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/dprintf.c up to 1.1.1.2 external/bsd/dhcpcd/dist/compat/dprintf.h up to 1.1.1.2 external/bsd/dhcpcd/dist/compat/endian.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/pidfile.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/pidfile.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/queue.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/reallocarray.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/reallocarray.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/strtoi.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/strtoi.h up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/strtou.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/strlcpy.c up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/strlcpy.h up to 1.1.1.1 external/bsd/dhcpcd/dist/config-null.mk up to 1.1.1.1 external/bsd/dhcpcd/dist/configure up to 1.1.1.8 external/bsd/dhcpcd/dist/iconfig.mk up to 1.1.1.1 external/bsd/dhcpcd/dist/hooks/01-test up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/02-dump up to 1.1.1.1 external/bsd/dhcpcd/dist/hooks/10-wpa_supplicant up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/15-timezone up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/20-resolv.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/29-lookup-hostname up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/30-hostname up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/50-dhcpcd-compat up to 1.1.1.1 external/bsd/dhcpcd/dist/hooks/50-ntp.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/50-yp.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/50-ypbind.in up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/Makefile up to 1.1.1.1 external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in up to 1.1.1.4 external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.1.1.4 external/bsd/dhcpcd/dist/src/GNUmakefile up to 1.1.1.1 external/bsd/dhcpcd/dist/src/Makefile up to 1.1.1.4 external/bsd/dhcpcd/dist/src/arp.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/arp.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/auth.c up to 1.1.1.5 external/bsd/dhcpcd/dist/src/auth.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/bpf.c up to 1.7 external/bsd/dhcpcd/dist/src/bpf.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/common.c up to 1.1.1.5 external/bsd/dhcpcd/dist/src/common.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/control.c up to 1.1.1.3 external/bsd/dhcpcd/dist/src/control.h up to 1.1.1.2 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.15 external/bsd/dhcpcd/dist/src/dev.c up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dev.h up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcp-common.c up to 1.1.1.4 external/bsd/dhcpcd/dist/src/dhcp-common.h up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.11 external/bsd/dhcpcd/dist/src/dhcp.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.1.1.12 external/bsd/dhcpcd/dist/src/dhcp6.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd.8.in up to 1.1.1.10 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.13 external/bsd/dhcpcd/dist/src/dhcpcd.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in up to 1.1.1.10 external/bsd/dhcpcd/dist/src/dhcpcd.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/duid.c up to 1.1.1.3 external/bsd/dhcpcd/dist/src/duid.h up to 1.1.1.1 external/bsd/dhcpcd/dist/src/eloop.c up to 1.1.1.5 external/bsd/dhcpcd/dist/src/eloop.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/genembedc up to 1.1.1.1 external/bsd/dhcpcd/dist/src/genembedh up to 1.1.1.1 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/if-linux-wext.c up to 1.1.1.2 external/bsd/dhcpcd/dist/src/if-linux.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/if-options.c up to 1.10 external/bsd/dhcpcd/dist/src/if-options.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/if-sun.c up to 1.1.1.4 external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/if.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/ipv4.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/ipv4ll.c up to 1.1.1.4 external/bsd/dhcpcd/dist/src/ipv4ll.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.1.1.11 external/bsd/dhcpcd/dist/src/ipv6.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/ipv6nd.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/logerr.c up to 1.1.1.2 external/bsd/dhcpcd/dist/src/logerr.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/route.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/route.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/sa.c up to 1.1.1.3 external/bsd/dhcpcd/dist/src/sa.h up to 1.1.1.2 external/bsd/dhcpcd/dist/src/script.c up to 1.1.1.4 external/bsd/dhcpcd/dist/src/script.h up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dev/Makefile up to 1.1.1.1 external/bsd/dhcpcd/dist/src/dev/udev.c up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/crypt/.gitignore up to 1.1.1.1 external/bsd/dhcpcd/dist/tests/crypt/GNUmakefile up to 1.1.1.1 external/bsd/dhcpcd/dist/tests/crypt/Makefile up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/crypt/README.md up to 1.1.1.1 external/bsd/dhcpcd/dist/tests/crypt/run-test.c up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/crypt/test.h up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/crypt/test_hmac_md5.c up to 1.1.1.3 external/bsd/dhcpcd/dist/tests/Makefile up to 1.1.1.1 external/bsd/dhcpcd/dist/tests/eloop-bench/.gitignore up to 1.1.1.1 external/bsd/dhcpcd/dist/tests/eloop-bench/Makefile up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/eloop-bench/README.md up to 1.1.1.1 external/bsd/dhcpcd/dist/tests/eloop-bench/eloop-bench.c up to 1.1.1.3 external/bsd/dhcpcd/dist/.arcconfig up to 1.1.1.1 external/bsd/dhcpcd/dist/.gitignore up to 1.4 external/bsd/dhcpcd/dist/BUILDING.md up to 1.1.1.2 external/bsd/dhcpcd/dist/LICENSE up to 1.1.1.2 external/bsd/dhcpcd/dist/Makefile up to 1.1.1.5 external/bsd/dhcpcd/dist/Makefile.inc up to 1.1.1.2 external/bsd/dhcpcd/dist/README.md up to 1.1.1.3 external/bsd/dhcpcd/dist/bpf-filter.h delete external/bsd/dhcpcd/dist/common.c delete external/bsd/dhcpcd/dist/arp.c delete external/bsd/dhcpcd/dist/arp.h delete external/bsd/dhcpcd/dist/auth.c delete external/bsd/dhcpcd/dist/auth.h delete external/bsd/dhcpcd/dist/dhcpcd.c delete external/bsd/dhcpcd/dist/control.c delete external/bsd/dhcpcd/dist/common.h delete external/bsd/dhcpcd/dist/config.h delete external/bsd/dhcpcd/dist/dhcp-common.c delete external/bsd/dhcpcd/dist/control.h delete external/bsd/dhcpcd/dist/defs.h delete external/bsd/dhcpcd/dist/dev.h delete external/bsd/dhcpcd/dist/dhcpcd-definitions.conf delete external/bsd/dhcpcd/dist/dhcp-common.h delete external/bsd/dhcpcd/dist/dhcp.c delete external/bsd/dhcpcd/dist/dhcp.h delete external/bsd/dhcpcd/dist/dhcp6.c delete external/bsd/dhcpcd/dist/dhcp6.h delete external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in delete external/bsd/dhcpcd/dist/dhcpcd-embedded.c delete external/bsd/dhcpcd/dist/dhcpcd.8.in delete external/bsd/dhcpcd/dist/dhcpcd-embedded.c.in delete external/bsd/dhcpcd/dist/dhcpcd-embedded.h delete external/bsd/dhcpcd/dist/dhcpcd-embedded.h.in delete external/bsd/dhcpcd/dist/ipv4.c delete external/bsd/dhcpcd/dist/if.c delete external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in delete external/bsd/dhcpcd/dist/dhcpcd.h delete external/bsd/dhcpcd/dist/dhcpcd.conf delete external/bsd/dhcpcd/dist/dhcpcd.conf.5.in delete external/bsd/dhcpcd/dist/duid.c delete external/bsd/dhcpcd/dist/duid.h delete external/bsd/dhcpcd/dist/eloop.c delete external/bsd/dhcpcd/dist/eloop.h delete external/bsd/dhcpcd/dist/if-bsd.c delete external/bsd/dhcpcd/dist/if-options.c delete external/bsd/dhcpcd/dist/if-options.h delete external/bsd/dhcpcd/dist/if.h delete external/bsd/dhcpcd/dist/crypt/hmac_md5.c delete external/bsd/dhcpcd/dist/crypt/crypt.h delete external/bsd/dhcpcd/dist/ipv4.h delete external/bsd/dhcpcd/dist/ipv4ll.c delete external/bsd/dhcpcd/dist/ipv6.c delete external/bsd/dhcpcd/dist/ipv4ll.h delete external/bsd/dhcpcd/dist/ipv6.h delete external/bsd/dhcpcd/dist/ipv6nd.c delete external/bsd/dhcpcd/dist/ipv6nd.h delete external/bsd/dhcpcd/dist/script.c delete external/bsd/dhcpcd/dist/script.h delete external/bsd/dhcpcd/dist/dhcpcd-hooks/15-timezone delete external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test delete external/bsd/dhcpcd/dist/dhcpcd-hooks/02-dump delete external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu delete external/bsd/dhcpcd/dist/dhcpcd-hooks/10-wpa_supplicant delete external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf delete external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname delete external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname delete external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf delete external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind delete usr.sbin/postinstall/postinstall: revision 1.211-1.213 etc/rc.d/dhcpcd upto 1.5 doc/3RDPARTY manual edit Import dhcpcd-7.0.7. Adjust postinstal and rc file.
Pull up the following revisions, requested by roy in ticket #941: external/bsd/dhcpcd/dist/configure up to 1.1.1.8 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.15 external/bsd/dhcpcd/dist/src/if-linux.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.1.1.11 external/bsd/dhcpcd/dist/src/route.c up to 1.1.1.8 doc/3RDPARTY manual edit Import dhcpcd-7.0.7 with the following changes: * host routes work correctly again * vlanid is also used to calculate slaac stable private addresses
file ipv6.c was added on branch netbsd-7 on 2018-07-27 10:43:21 +0000
Import dhcpcd-7.0.7 with the following changes: * host routes work correctly again * vlanid is also used to calculate slaac stable private addresses
Sync with HEAD
Catch up to current in src/external/bsd/dhcpcd/dist, requested by roy in ticket #849: external/bsd/dhcpcd/dist/Makefile up to 1.1.1.5 external/bsd/dhcpcd/dist/src/arp.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/auth.c up to 1.1.1.5 external/bsd/dhcpcd/dist/src/auth.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/bpf.c up to 1.7 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.13 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.11 external/bsd/dhcpcd/dist/src/dhcp.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.1.1.12 external/bsd/dhcpcd/dist/src/dhcp6.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd.8.in up to 1.1.1.9 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.12 external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in up to 1.1.1.9 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/if-linux.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/if-options.c up to 1.10 external/bsd/dhcpcd/dist/src/ipv4ll.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/ipv6.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/ipv6nd.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/route.c up to 1.1.1.7 doc/3RDPARTY (manually modified) Import dhcpcd 7.0.5b. Changes: * Routing: Fix case when cloning route changes but needs to be replaced * DHCP6: Transpose DHCP userclass option into DHCP6 * DHCP6: Fix sending custom vendor class option * Auth: Allow zero value replay detection data * Auth: Allow different tokens for send and receive * ND6: Warn if router lifetime is set to zero * DHCP6: Softwire Address and Port-Mapped Clients, RFC7598 * dhcp: Clarified some checksumming code, style and commentary (thanks to Maxime Villard) * dhcp6: IAID is now unique per IA type rather than global * ip6: if an IA callback causes a fork, exit earlier
Import dhcpcd-7.0.5a. Only change is to fix builds without INET6.
Import dhcpcd-7.0.5 with the following changes: * dhcp: Clarified some checksumming code, style and commentary (thanks to Maxime Villard) * dhcp6: IAID is now unique per IA type rather than global * ip6: if an IA callback causes a fork, exit earlier
Catch up to current in external/bsd/dhcpcd/, requested by roy in ticket #707: external/bsd/dhcpcd/dist/configure up to 1.1.1.7 external/bsd/dhcpcd/dist/hooks/10-wpa_supplicant up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/15-timezone up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/20-resolv.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/29-lookup-hostname up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/30-hostname up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/50-ntp.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/50-yp.conf up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/50-ypbind.in up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in up to 1.1.1.4 external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.1.1.4 external/bsd/dhcpcd/dist/src/arp.c up to 1.1.1.6 external/bsd/dhcpcd/dist/src/common.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.11 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.9 external/bsd/dhcpcd/dist/src/dhcp.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.1.1.10 external/bsd/dhcpcd/dist/src/dhcp6.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/dhcpcd.8.in up to 1.1.1.8 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.10 external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in up to 1.1.1.7 external/bsd/dhcpcd/dist/src/dhcpcd.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/if-linux.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/if-options.c up to 1.8 external/bsd/dhcpcd/dist/src/if-options.h up to 1.1.1.7 external/bsd/dhcpcd/dist/src/if-sun.c up to 1.1.1.4 external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/if.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/ipv4.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/ipv6.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/ipv6.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.1.1.7 external/bsd/dhcpcd/dist/src/ipv6nd.h up to 1.1.1.5 external/bsd/dhcpcd/dist/src/logerr.h up to 1.1.1.3 external/bsd/dhcpcd/dist/src/route.c up to 1.1.1.6 external/bsd/dhcpcd/dist/src/route.h up to 1.1.1.4 external/bsd/dhcpcd/dist/src/dev/udev.c up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/eloop-bench/eloop-bench.c up to 1.1.1.3 external/bsd/dhcpcd/include/config.h up to 1.3 external/bsd/dhcpcd/sbin/dhcpcd/Makefile up to 1.43 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 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 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
Resolve conflicts between branch and HEAD
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
Pull up following revision(s) (requested by roy in ticket #478): doc/3RDPARTY: 1.1472, 1.1474, 1.1489, 1.1492 external/bsd/dhcpcd/dist/.gitignore: up to 1.4 external/bsd/dhcpcd/dist/LICENSE: up to 1.1.1.2 external/bsd/dhcpcd/dist/Makefile.inc: up to 1.1.1.2 external/bsd/dhcpcd/dist/README.md: up to 1.1.1.3 external/bsd/dhcpcd/dist/compat/crypt/hmac.c: up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/crypt/hmac.h: up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/crypt/md5.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/compat/strlcpy.c: up to 1.1.1.1 external/bsd/dhcpcd/dist/compat/strlcpy.h: up to 1.1.1.1 external/bsd/dhcpcd/dist/configure: up to 1.1.1.4 external/bsd/dhcpcd/dist/hooks/01-test: up to 1.1.1.2 external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in: up to 1.1.1.3 external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/Makefile: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/arp.c: up to 1.1.1.5 external/bsd/dhcpcd/dist/src/arp.h: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/auth.c: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/auth.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/bpf.c: up to 1.6 external/bsd/dhcpcd/dist/src/bpf.h: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/common.c: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/common.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/control.c: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/control.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/crypt/crypt.h: delete external/bsd/dhcpcd/dist/src/crypt/hmac_md5.c: delete external/bsd/dhcpcd/dist/src/defs.h: up to 1.1.1.8 external/bsd/dhcpcd/dist/src/dev.c: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dev.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcp-common.c: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/dhcp-common.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcp.c: up to 1.7 external/bsd/dhcpcd/dist/src/dhcp.h: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/dhcp6.c: up to 1.1.1.8 external/bsd/dhcpcd/dist/src/dhcp6.h: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd.8.in: up to 1.1.1.7 external/bsd/dhcpcd/dist/src/dhcpcd.c: up to 1.7 external/bsd/dhcpcd/dist/src/dhcpcd.conf: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in: up to 1.1.1.5 external/bsd/dhcpcd/dist/src/dhcpcd.h: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/eloop.c: up to 1.1.1.5 external/bsd/dhcpcd/dist/src/eloop.h: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/if-bsd.c: up to 1.1.1.6 external/bsd/dhcpcd/dist/src/if-linux-wext.c: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/if-linux.c: up to 1.1.1.7 external/bsd/dhcpcd/dist/src/if-options.c: up to 1.6 external/bsd/dhcpcd/dist/src/if-options.h: up to 1.1.1.5 external/bsd/dhcpcd/dist/src/if-sun.c: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/if.c: up to 1.1.1.5 external/bsd/dhcpcd/dist/src/if.h: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/ipv4.c: up to 1.1.1.7 external/bsd/dhcpcd/dist/src/ipv4.h: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/ipv4ll.c: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/ipv4ll.h: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/ipv6.c: up to 1.1.1.7 external/bsd/dhcpcd/dist/src/ipv6.h: up to 1.1.1.5 external/bsd/dhcpcd/dist/src/ipv6nd.c: up to 1.1.1.6 external/bsd/dhcpcd/dist/src/ipv6nd.h: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/logerr.c: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/logerr.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/route.c: up to 1.1.1.5 external/bsd/dhcpcd/dist/src/route.h: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/sa.c: up to 1.1.1.3 external/bsd/dhcpcd/dist/src/sa.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/src/script.c: up to 1.1.1.4 external/bsd/dhcpcd/dist/src/script.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/crypt/Makefile: up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/crypt/run-test.c: up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/crypt/test.h: up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/crypt/test_hmac_md5.c: up to 1.1.1.3 external/bsd/dhcpcd/dist/tests/eloop-bench/Makefile: up to 1.1.1.2 external/bsd/dhcpcd/dist/tests/eloop-bench/eloop-bench.c: up to 1.1.1.2 external/bsd/dhcpcd/include/config.h: up to 1.2 external/bsd/dhcpcd/sbin/Makefile.inc: up to 1.5 external/bsd/dhcpcd/sbin/dhcpcd/Makefile: up to 1.42 Update dhcpcd to 7.0.0.
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
Import dhcpcd-7.0.0-rc4 with the following changes: * Don't flush prefix routes/routers if kernel does not support RA * dhcp: improve errors around UDP checksum failure * dhcp: announce existing addresses before rebooting * bpf: rework loop so that we can close/reopen fd inside and abort * ipv6nd: don't handle NA/RA for non active interfaces * dhcp6: listen on all addresses in non master mode * dhcpcd-run-hooks: set protocol in dhcpcd, don't guess * Ensure that xid is unique across all interfaces * dhcp6: redirect message to interface which uses the xid * bsd: strip scope from LL addresses when detecting their addition * ipv6nd: fix address lifetime overflow on carrier up * dhcp6: fix confirmation of lease on carrier up
Import dhcpcd-7.0.0-rc3 with the following noteable changes: * Fixed handling RA's from multiple routers * Fixed changing to a better route based on gateway * IPv6 default route is now deleted when config is not persistent * Use hmac(3) if available in libc to reduce binary size Fixes PR bin/52554
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
Sync with HEAD
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
Sync with HEAD
2552819
file ipv6.c was added on branch pgoyette-localcount on 2017-04-26 02:52:23 +0000
file ipv6.c was added on branch bouyer-socketcan on 2017-04-14 09:53:08 +0000
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.
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
Initial revision