CVS import: src/external/bsd/dhcpcd/dist
"Roy Marples" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: roy Date: Mon Aug 17 11:49:46 UTC 2026 Update of /cvsroot/src/external/bsd/dhcpcd/dist In directory ivanova.netbsd.org:/tmp/cvs-serv7794 Log Message: Import dhcpcd-10.5.1 with the following changes: * DHCP: Only send the rapid commit option when configured to * DHCP6: Mirror the prior DHCP rapid commit fix to DHCPv6 * ipv6nd: don't leave a carrier expiry timeout on a freed interface * ipv4: clear added state if we didn't delete the address * DHCP: script reason should be RELEASE on RELEASE, not STOP * control: Harden the socket at the fs level dhcpcd-10.5.0 changes: * Format code with clang-format * privsep: Change IPC to use SOCK_STREAM * BPF: Split OS specific code out into own files and add libpcap support * hooks: Escape interface names and use printf * Delete DHCPv6 IA FD from the loop before closing it * eloop: Use kqueue or epoll to wait for a fd to become ready * route: Rework rt structure so sockaddrs are pointers * dhcp-common: Escape ifname for lease file * privsep: smaller buffer size without INET6 * script: add ifxname as the escaped string * DHCP: Don't really expire the lease when testing * DHCP: Don't add a trailing : on vendor if no machine arch * privsep: Don't open PF_INET socket for each ioctl * script: Use correct buffer length variable * privsep: Remove PS_BUFLEN * privsep: Simplify readerror * timezone: disallow directory traversal * privsep: ps_root_readfile should return the real file size * options: Fix userclass boundary * ND6: fix OOB reject mask for an undefined option * DHCP6: Ensure IA_PD Prefix Lenth is valid * ND: Enforce require and reject policy * ARP: check we have enough to read the frame header * hooks: Quote assignment of compat vars correctly * DHCP: Santize messages from servers for output * ARP: Iterate over states safely as the cb could remove ours * privsep: Check data is terminated when a string * auth: clear keys with memset_explicit * auth: Ensure remaining dlen matches hash digest length * hooks: don't read past truncated ip6 address starting fe * ipv6: Only regen temp addrs with sufficent pltime * eloop: Improve timespecdiff * eloop: Fix compile warning where UTIME_MAX is a calculation * vsio: Allow zero length options * DHCP6: Fix configuring the suffix to delegated prefixes * IPv6: Fix numerous issues extending temporary address times * script: Fix buffer over and under flows in script_buftoenv * control: Avoid hangup in the recvdata path * IPv6ND: Free routeinfo when it expires * DHCPv6: Prefix exclude option can be 17 octets * DHCPv6: When deprecating addresses, restart on prefix deletions * IPv4: uset old_ia when adding an address causes early removal * dhcp: add configurable backoff parameters for DHCPv4 * options: Introdce policy groups * control: remove unprivileged socket * DHCP: deconfigure even when state is NULL or NONE Status: Vendor Tag: ROY Release Tags: dhcpcd-10_5_1 U src/external/bsd/dhcpcd/dist/LICENSE U src/external/bsd/dhcpcd/dist/README.md U src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks C src/external/bsd/dhcpcd/dist/hooks/20-resolv.conf C src/external/bsd/dhcpcd/dist/hooks/29-lookup-hostname C src/external/bsd/dhcpcd/dist/hooks/30-hostname C src/external/bsd/dhcpcd/dist/hooks/50-ntp.conf U src/external/bsd/dhcpcd/dist/hooks/10-wpa_supplicant U src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8 U src/external/bsd/dhcpcd/dist/hooks/01-test U src/external/bsd/dhcpcd/dist/hooks/15-timezone U src/external/bsd/dhcpcd/dist/hooks/50-ypbind U src/external/bsd/dhcpcd/dist/src/if.c U src/external/bsd/dhcpcd/dist/src/defs.h C src/external/bsd/dhcpcd/dist/src/ipv6.c U src/external/bsd/dhcpcd/dist/src/dhcpcd.h U src/external/bsd/dhcpcd/dist/src/ipv4ll.h U src/external/bsd/dhcpcd/dist/src/arp.c U src/external/bsd/dhcpcd/dist/src/queue.h U src/external/bsd/dhcpcd/dist/src/dhcpcd.8 U src/external/bsd/dhcpcd/dist/src/sa.c U src/external/bsd/dhcpcd/dist/src/privsep-inet.c C src/external/bsd/dhcpcd/dist/src/privsep.c U src/external/bsd/dhcpcd/dist/src/bpf.h U src/external/bsd/dhcpcd/dist/src/privsep-bpf.c U src/external/bsd/dhcpcd/dist/src/dhcp-common.h C src/external/bsd/dhcpcd/dist/src/dhcp6.c C src/external/bsd/dhcpcd/dist/src/ipv6nd.c U src/external/bsd/dhcpcd/dist/src/auth.h U src/external/bsd/dhcpcd/dist/src/common.h C src/external/bsd/dhcpcd/dist/src/if-options.c U src/external/bsd/dhcpcd/dist/src/control.h U src/external/bsd/dhcpcd/dist/src/privsep-bsd.c N src/external/bsd/dhcpcd/dist/src/bpf-bsd.c U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c C src/external/bsd/dhcpcd/dist/src/script.c C src/external/bsd/dhcpcd/dist/src/dhcp.c U src/external/bsd/dhcpcd/dist/src/privsep-control.h U src/external/bsd/dhcpcd/dist/src/eloop.h U src/external/bsd/dhcpcd/dist/src/logerr.h U src/external/bsd/dhcpcd/dist/src/duid.h U src/external/bsd/dhcpcd/dist/src/privsep-root.c U src/external/bsd/dhcpcd/dist/src/ipv4.c U src/external/bsd/dhcpcd/dist/src/route.h C src/external/bsd/dhcpcd/dist/src/if-bsd.c U src/external/bsd/dhcpcd/dist/src/privsep.h C src/external/bsd/dhcpcd/dist/src/bpf.c U src/external/bsd/dhcpcd/dist/src/privsep-bpf.h U src/external/bsd/dhcpcd/dist/src/sa.h U src/external/bsd/dhcpcd/dist/src/dev.h U src/external/bsd/dhcpcd/dist/src/privsep-inet.h U src/external/bsd/dhcpcd/dist/src/if.h C src/external/bsd/dhcpcd/dist/src/ipv6.h C src/external/bsd/dhcpcd/dist/src/dhcpcd.c U src/external/bsd/dhcpcd/dist/src/ipv4ll.c U src/external/bsd/dhcpcd/dist/src/arp.h U src/external/bsd/dhcpcd/dist/src/dhcp.h U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf U src/external/bsd/dhcpcd/dist/src/privsep-control.c U src/external/bsd/dhcpcd/dist/src/eloop.c C src/external/bsd/dhcpcd/dist/src/logerr.c U src/external/bsd/dhcpcd/dist/src/duid.c U src/external/bsd/dhcpcd/dist/src/privsep-root.h U src/external/bsd/dhcpcd/dist/src/ipv4.h C src/external/bsd/dhcpcd/dist/src/route.c U src/external/bsd/dhcpcd/dist/src/common.c U src/external/bsd/dhcpcd/dist/src/if-options.h U src/external/bsd/dhcpcd/dist/src/control.c U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h U src/external/bsd/dhcpcd/dist/src/script.h U src/external/bsd/dhcpcd/dist/src/ipv6nd.h U src/external/bsd/dhcpcd/dist/src/auth.c U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf.5 U src/external/bsd/dhcpcd/dist/src/dhcp-common.c U src/external/bsd/dhcpcd/dist/src/dhcp6.h 17 conflicts created by this import. Use the following command to help the merge: cvs checkout -jROY:yesterday -jROY src/external/bsd/dhcpcd/dist