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.4
Import dhcpcd-10.0.4 with the following change: privsep: Notify processes that dhcpcd has daemonised so they dup stdout and stderr to /dev/null. This avoids scripts failing with SIGPIPE if they try and write to these streams.
Sync with dhcpcd-10.0.2
Import dhcpcd-10.0.2 with the following changes: * BSD: When we get RTM_NEWADDR the interface must have IFF_UP * BSD: Fix non INET6 builds * DHCP: Don't enforce the message came port 67 * privsep: Allow zero length messages through * dhcpcd: deal with HANGUP and EPIPE better * dhcpcd: Fix waitip address family * privsep: Check if we have a root process before sending it stuff * privsep: Only unlink control sockets if we created them * common: Improve valid_domain and check correct return * common: Allow hwaddr_ntoa to print an empty string * privsep: Send only what we have put in the buffer to script env
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.4.0
Update to dhcpcd-9.4.0 with the following changes: * DHCP: For anonymous, just use a generic ClientID * link: Split hardware address randomisation out of anonymous option * link: Only report hardware changes for active interfaces * link: Report errors obtaining recv buffer size on overflow * hooks: Add NOCARRIER_ROAMING reason * hooks: interface_order now reflects priorities again
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 with dhcpcd-9.3.0
Update to dhcpcd-9.3.0 with the following changes: * dhcpcd: Backticks have been removed from quoting filenames * dhcpcd: Only manipulate stdin, stdout and stderr if they are valid * duid: Adjust option so the type can be specified * logerr: Don't leak logfile fd to scripts * privsep: Run the launcher process in the sandbox * BSD: Use `ifi_link_state` as the single source of truth about carrier * BSD: Ignore vether(4) devices by default
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.2 with the following changes: * NetBSD: free ARP state once IPv4LL address announced * NetBSD: Mark RA dervied addresses as AUTOCONF * BSD: Only mark static routes from dhcpcd.conf as static * DHCP6: Ensure requested addresses are requested * DHCP6: Fix prefix length calculation when no prefix specified * privsep: Implement a resource limited sandbox
Sync
Update to dhcpcd-9.1.1 with the following changes: * Restore dumping leases from stdin * auth: Only accept RECONFIGURE messages from LL addresses * auth: Access the RDM monotonic counter file via privsep * ARP: call arp_announced() when cancelling it * BSD: fwip(4) interfaces are now ignored by default * privsep: Ensure IPC buffers are large enough to carry messages * privsep: Only open RAW sockets for the needed protocols * privsep: Fix indirect ioctls returning data * privsep: wait for processes on SIGCHLD rather than when sent a STOP cmd * eloop: just use ppoll/pollts(2), falling back to pselect(2)
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.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
Don't block signals when running hooks. Here ctx->sigset == defsigs == 0x60006003, which blocks SIGTERM by default, so running something simple from a hook, like /etc/rc.d/racoon restart does not work. The script is then stuck waiting for the daemon to die, which it won't since it will never receive the signal, and the hook never terminates.
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
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
prevent coredump when state == NULL
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
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
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 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.
file script.c was added on branch netbsd-7 on 2018-07-27 10:43:21 +0000
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
Sync with HEAD
2552819
file script.c was added on branch pgoyette-localcount on 2017-04-26 02:52:24 +0000
file script.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