Up to [cvs.NetBSD.org] / src / external / bsd / dhcpcd / dist / src
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: roy, ROY, MAIN
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.
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
Upate to dhcpcd-9.3.4 with the following changes: With the following changes: * DHCP: If error adding the address in oneshot, exit with failure * DHCP: Only listen to the address if we successfully added it * DHCP6: Fix segfault introduced in dhcpcd-9.3.3 * DHCP6: Abort in test mode when an error is returned by server * options: allow --ia_na=1 and --ia_pd=2 on the command line * options: Allow duid to take a value
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
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
Mostly merge changes from HEAD upto 20200411
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 #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
Update to dhcpcd-8.1.5 with the following changes: * 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
Pull up the following revisions, requested by roy in ticket #461: external/bsd/dhcpcd/dist/src/arp.c up to 1.1.1.13 external/bsd/dhcpcd/dist/src/arp.h up to 1.1.1.9 external/bsd/dhcpcd/dist/src/control.c up to 1.1.1.9 external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.33 external/bsd/dhcpcd/dist/src/dhcp.c up to 1.30 external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.14 external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.29 external/bsd/dhcpcd/dist/src/eloop.c up to 1.1.1.8 external/bsd/dhcpcd/dist/src/eloop.h up to 1.1.1.6 external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.15 external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.18 external/bsd/dhcpcd/dist/src/if.h up to 1.1.1.13 external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.19 external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.13 external/bsd/dhcpcd/dist/src/ipv6nd.h up to 1.1.1.14 external/bsd/dhcpcd/dist/src/script.c up to 1.1.1.12 doc/3RDPARTY (manually adjusted) 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
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
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
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
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)
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)
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
Import dhcpcd-8.0.1 with the following changes: * Compile fixes for various build options on various platforms * IPv4LL is fixed on NetBSD-8 * Script buffers are freed on forking
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.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.
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.
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
Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
file ipv4.c was added on branch netbsd-7 on 2018-07-27 10:43:21 +0000
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 ipv4.c was added on branch pgoyette-localcount on 2017-04-26 02:52:23 +0000
file ipv4.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