Up to [cvs.NetBSD.org] / src / external / bsd / dhcpcd / dist / hooks
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: roy, ROY, MAIN
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
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.
Mostly merge changes from HEAD upto 20200411
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.0 with the following changes: * ARP now supports many requests * Routing tables now use Red-Black Trees * Script variables are no longer allocated manually
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
file 10-wpa_supplicant was added on branch netbsd-7 on 2018-07-27 10:43:20 +0000
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
Sync with HEAD
2552809
file 10-wpa_supplicant was added on branch pgoyette-localcount on 2017-04-26 02:52:23 +0000
file 10-wpa_supplicant was added on branch bouyer-socketcan on 2017-03-31 20:51:17 +0000
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