Up to [cvs.NetBSD.org] / pkgsrc / net / dhcpcd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.113 / (download) - annotate - [select for diffs], Sun Oct 2 19:40:06 2022 UTC (5 months, 3 weeks ago) by nros
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
HEAD
Changes since 1.112: +6 -6
lines
Diff to previous 1.112 (colored)
pkglint fixes
Revision 1.112 / (download) - annotate - [select for diffs], Sun Oct 2 18:47:50 2022 UTC (5 months, 3 weeks ago) by nros
Branch: MAIN
Changes since 1.111: +3 -6
lines
Diff to previous 1.111 (colored)
Update net/dhcpcd to version 9.4.1 Fix MASTER_SITES. Notable changes from git log: Better RFC 4707 conformance. Fix getting interface VLANID on *BSD. Fix Compile on DragonFlyBSD.
Revision 1.111 / (download) - annotate - [select for diffs], Thu Feb 18 17:09:33 2021 UTC (2 years, 1 month ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1
Changes since 1.110: +2 -2
lines
Diff to previous 1.110 (colored)
dhcpcd: update to 9.4.0 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 * Linux: SECCOMP fixes for privsep for various platforms * Linux: Persist IP when wireless is roaming
Revision 1.110 / (download) - annotate - [select for diffs], Thu Dec 3 14:17:50 2020 UTC (2 years, 3 months ago) by zafer
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base,
pkgsrc-2020Q4
Changes since 1.109: +2 -2
lines
Diff to previous 1.109 (colored)
update master site
Revision 1.109 / (download) - annotate - [select for diffs], Sat Nov 28 14:30:13 2020 UTC (2 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.108: +2 -2
lines
Diff to previous 1.108 (colored)
Update to dhcpcd-9.3.4 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
Revision 1.108 / (download) - annotate - [select for diffs], Fri Nov 20 13:27:23 2020 UTC (2 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.107: +2 -2
lines
Diff to previous 1.107 (colored)
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 * privsep: Fix Linux ARM32 and operating over a serial terminal * Linux: Fix detection of IPv4 addresses * Linux: Fix namespace matching issue
Revision 1.107 / (download) - annotate - [select for diffs], Sun Nov 1 14:27:43 2020 UTC (2 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.106: +2 -2
lines
Diff to previous 1.106 (colored)
Update to dhcpcd-9.3.2 with the following changes: With the following changes: * DHCP: Add support for IPv6-Only Preferred option, RFC 8925. * BSD: LINK_STATE_UNKNOWN is treated as UP once again * privsep: fix Linux SECCOMP for more platforms * privsep: add a debugger for SECCOMP (disabled by default) * privsep: pass logging to the privileged actioneer * privsep: allow logfile re-opening to work * privsep: close BPF socket on ENXIO * privsep: don't leave a BOOTP BPF listener rebooting in non master mode
Revision 1.106 / (download) - annotate - [select for diffs], Mon Oct 12 14:12:06 2020 UTC (2 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.105: +2 -2
lines
Diff to previous 1.105 (colored)
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 * Linux: use libbsd setproctitle as it works with more kernel configs
Revision 1.105 / (download) - annotate - [select for diffs], Mon Oct 5 15:55:15 2020 UTC (2 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.104: +2 -2
lines
Diff to previous 1.104 (colored)
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: Support SECCOMP on Linux * privsep: Run the launcher process in the sandbox * privsep: getifaddrs now carries ifa_data for BSD * BSD: Use `ifi_link_state` as the single source of truth about carrier * BSD: Ignore vether(4) devices by default * Linux: If in a network namespace, don't load udev plugin
Revision 1.104 / (download) - annotate - [select for diffs], Sun Sep 6 15:01:00 2020 UTC (2 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3
Changes since 1.103: +2 -2
lines
Diff to previous 1.103 (colored)
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 * Linux: fix reading the IPv6 forwarding proc entry
Revision 1.103 / (download) - annotate - [select for diffs], Fri Jul 3 10:49:07 2020 UTC (2 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.102: +2 -2
lines
Diff to previous 1.102 (colored)
Update to dhcpcd-9.1.4 with the following changes: * Fix SMALL builds * Ensure DBDIR exists at startup
Revision 1.102 / (download) - annotate - [select for diffs], Thu Jul 2 14:05:31 2020 UTC (2 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.101: +2 -2
lines
Diff to previous 1.101 (colored)
Update to dhcpcd-9.1.3 with the following changes: * configure: Fix fallout with disabling embedded config * 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 * configure: add --with-eghook=foo * dhcpcd: Add an option to poll the interface carrier state * script: Make visible some link level parameters to lease dumping * Linux: ignore unsupported interfaces by default, such as sit0 * Linux: support aarch64 for reading cpu info * Linux: keep the generic netlink socket around to get ssid with privsep * Linux: restore fix when no address is returned by getifaddrs(3) * 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
Revision 1.101 / (download) - annotate - [select for diffs], Thu Jun 4 13:15:04 2020 UTC (2 years, 9 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base,
pkgsrc-2020Q2
Changes since 1.100: +2 -2
lines
Diff to previous 1.100 (colored)
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)
Revision 1.100 / (download) - annotate - [select for diffs], Tue Apr 21 09:59:48 2020 UTC (2 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.99: +2 -2
lines
Diff to previous 1.99 (colored)
Update to dhcpcd-9.0.2 with the following changes: * Control sockets are not opened in test mode * privsep: no longer aborts if protocol not available * inet6: Don't regen temporary addresses without a state * inet6: Reduce RA log spam * dhcp6: Don't log when things consitently fail * inet6: Add temporary directive to slaac option [1] * Ensure current interface flags persist when setting a flag * DHCP via BPF is now aligned correctly * CMSG buffers are now aligned correctly * hostnames are no longer clobbered when being forced and a RA is recieved [1] dhcpcd no longer looks at any possible kernel settings when deciding to manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun and some OS's have or are removing RA and thus temporary address managemnt from the kernel so said knobs are no longer there.
Revision 1.99 / (download) - annotate - [select for diffs], Mon Apr 13 16:24:09 2020 UTC (2 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.98: +35 -2
lines
Diff to previous 1.98 (colored)
Update to dhcpcd-9.0.1 with the following changes: * Privilege Separation * Linux default hostname is (none), everyone is is a blank string * Leases are now dumped over the control socket - you get RA's now as well. * Better support for many IPv6 routers * NetBSD: RTM_MISS filtering * RA: Deprecate stale addresses by setting pltime 0 * DHCP6: Deprecate stale addresses by setting pltime 0 * Linux: Improve router reachability detection Note that the kernel will still say it's failed when deleting the entry * Linux: Note router preference in ip -6 route output * Linux: Fix compile warning if HAVE_IN6_ADDR_GEN_MODE_NONE isn't supported * Linux: Fix syslog support when /dev/log isn't in /dev * privsep: configure defaults to user dhcpcd if _dhcpcd or _dhcp are unsuitable * privsep: Improve error when we don't have permission to write lease * privsep: Fix hooks restarting other daemons
Revision 1.98 / (download) - annotate - [select for diffs], Thu Apr 9 16:31:53 2020 UTC (2 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.97: +2 -2
lines
Diff to previous 1.97 (colored)
Update to dhcpcd-8.1.7 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
Revision 1.97 / (download) - annotate - [select for diffs], Mon Jan 27 21:18:53 2020 UTC (3 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Changes since 1.96: +2 -2
lines
Diff to previous 1.96 (colored)
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
Revision 1.95.4.1 / (download) - annotate - [select for diffs], Tue Jan 7 19:31:09 2020 UTC (3 years, 2 months ago) by bsiegert
Branch: pkgsrc-2019Q4
Changes since 1.95: +2 -2
lines
Diff to previous 1.95 (colored) next main 1.96 (colored)
Pullup ticket #6108 - requested by roy net/dhcpd: bugfix Revisions pulled up: - net/dhcpcd/Makefile 1.96 - net/dhcpcd/distinfo 1.93 --- Module Name: pkgsrc Committed By: roy Date: Fri Jan 3 10:15:18 UTC 2020 Modified Files: pkgsrc/net/dhcpcd: Makefile distinfo Log Message: 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 * Linux: fix RA time unit confusion If you are suffering from IPv6 addresses not transitioning from the tentative state (regression from dhcpcd-8.1 on Linux), you will need to do one of the following after installing dhcpcd: * reboot OR * dhcpcd -x * echo 1000 > /proc/sys/net/ipv6/neigh/$interface/retrans_time_ms * ip -f inet6 a flush * start dhcpcd as normal
Revision 1.96 / (download) - annotate - [select for diffs], Fri Jan 3 10:15:18 2020 UTC (3 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.95: +2 -2
lines
Diff to previous 1.95 (colored)
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 * Linux: fix RA time unit confusion If you are suffering from IPv6 addresses not transitioning from the tentative state (regression from dhcpcd-8.1 on Linux), you will need to do one of the following after installing dhcpcd: * reboot OR * dhcpcd -x * echo 1000 > /proc/sys/net/ipv6/neigh/$interface/retrans_time_ms * ip -f inet6 a flush * start dhcpcd as normal
Revision 1.95 / (download) - annotate - [select for diffs], Fri Dec 20 22:28:04 2019 UTC (3 years, 3 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base
Branch point for: pkgsrc-2019Q4
Changes since 1.94: +2 -2
lines
Diff to previous 1.94 (colored)
Update to dhcpcd-8.1.4 with the following change: * options: Fix allocating the script option
Revision 1.94 / (download) - annotate - [select for diffs], Fri Dec 20 11:54:48 2019 UTC (3 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.93: +2 -2
lines
Diff to previous 1.93 (colored)
Import dhcpcd-8.1.3 with the following changes: * Linux: prefer ms RA times * Linux: Support kernels without PR_SET_MM_MAP * dhcpcd: Only report SSID when we have a carrier * IPv6ND: Fix reachable test * DHCP6: Work better with infinite addresses * DHCP6: Suboption 3 of NTP Server is a FQDN * DHCP6: Fix deprecating a delegated prefix * DHCP: Ensure we have a lease to extract options from
Revision 1.93 / (download) - annotate - [select for diffs], Wed Nov 13 10:53:36 2019 UTC (3 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.92: +2 -2
lines
Diff to previous 1.92 (colored)
Import dhcpcd-8.1.2 with the following changes: * hooks: STOPPED is now run on timeout and exit * musl: Fix build * Linux: Validate RTM_NEWADDR/RTM_DELADDR messages * BSD: Use IP_REVCIF rather than IN_PKTINFO * build: address sanitisation is enabled for debug builds * build: Improve detection of dlsym requirements * 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 * OpenBSD: Fix carrier detection for OpenBSD-6.6 * dhcpcd: Report SSID connection to when we gain carrier * DHCP: Fix corruption of address flags when renewing
Revision 1.92 / (download) - annotate - [select for diffs], Wed Oct 16 14:46:05 2019 UTC (3 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.91: +2 -2
lines
Diff to previous 1.91 (colored)
Import dhcpcd-8.1.1 with the following changes: * IPv6: Fix a potential crash when udevs marks an interface ready. * Linux: compat shim added for setproctitle(3). * arc4random: fixed UB in compat shim. * DHCP: Fix fallout from dhcpcd-8.1.0 for checksum calculation.
Revision 1.91 / (download) - annotate - [select for diffs], Fri Oct 11 10:57:19 2019 UTC (3 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.90: +2 -2
lines
Diff to previous 1.90 (colored)
Import dhcpcd-8.1.0 with the following changes: * DragonFlyBSD: Improved rc.d handling * 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
Revision 1.90 / (download) - annotate - [select for diffs], Fri Sep 13 12:01:53 2019 UTC (3 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base,
pkgsrc-2019Q3
Changes since 1.89: +2 -2
lines
Diff to previous 1.89 (colored)
Import dhcpcd-8.0.6 with the following change: * DHCP: Ensure we have enough data to checksum IP and UDP (really fixed)
Revision 1.89 / (download) - annotate - [select for diffs], Fri Sep 13 10:47:43 2019 UTC (3 years, 6 months ago) by roy
Branch: MAIN
Changes since 1.88: +2 -2
lines
Diff to previous 1.88 (colored)
Import dhcpcd-8.0.5 with the following changes: * inet6: Fix default route not being installed * DHCP: If root fs is network mounted, enable last lease extend * man: Fix lint errors. * BSD: avoid RTF_WASCLONED routes * DHCP: Give a better message when packet validation fails * DHCP: Ensure we have enough data to checksum IP and UDP The last change fixes a potential DoS attack introduced in dhcpcd-8.0.3 when the checksuming code was changed to accomodate variable length IP headers.
Revision 1.88 / (download) - annotate - [select for diffs], Wed Sep 4 13:32:40 2019 UTC (3 years, 6 months ago) by roy
Branch: MAIN
Changes since 1.87: +2 -2
lines
Diff to previous 1.87 (colored)
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 * build: New make target import-src, only imports the bare essentials * 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 * Solaris: Now fully supported!
Revision 1.87 / (download) - annotate - [select for diffs], Wed Aug 21 17:08:33 2019 UTC (3 years, 7 months ago) by roy
Branch: MAIN
Changes since 1.86: +2 -2
lines
Diff to previous 1.86 (colored)
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: Add support for ARPHRD_NONE interfaces * DHCP: Allow full DHCP support for PtP interfaces, but not by default * DragonFlyBSD: 500704 announces IPv6 address flag changes * control: sends correct buffer to listeners DragonFlyBSD-500704 kernel has the functionality dhcpcd needs to compile without any warnings. There are still improvements to be made to the whole network stack, but none of them are dhcpcd specific. dhcpcd-ui now correctly reports SSD association and all the addresses obtained (regression from dhcpcd-7) dhcpcd now supports QMI interfaces in RawIP mode - this is basically PtP interface without any L2 frame header. Because PtP interfaces normally configure their address via a 3rd party tool (dhcpcd waits for this address to appear), DHCP is not enabled by default. You can now enable it like so interface wwan0 dhcp Or just add --dhcpcd on the command line.
Revision 1.86 / (download) - annotate - [select for diffs], Tue Jul 30 10:30:22 2019 UTC (3 years, 7 months ago) by roy
Branch: MAIN
Changes since 1.85: +2 -2
lines
Diff to previous 1.85 (colored)
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 * ND6: Remove and warn about NA on OS's other than NetBSD and Linux * script: tmp files are removed for systems without open_memstream(3) * configure: open_memstream(3) detected on recent glibc * DHCP: Avoid duplicate read of UDP socket when BPF is also open * IP: Avoid adding address if already exists on OS other than Linux * IP6: Avoid adding address is already exists on Solaris * route: Fixed a NULL de-reference error on static routes * DHCP6: Move to REQUEST if any IA has no-binding in REWNEW/REBIND * DragonFlyBSD: Now compiles and works for * IP: Accept packets with IP header options
Revision 1.85 / (download) - annotate - [select for diffs], Thu Jul 25 09:03:00 2019 UTC (3 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.84: +2 -2
lines
Diff to previous 1.84 (colored)
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
Revision 1.84 / (download) - annotate - [select for diffs], Wed Jul 24 10:08:17 2019 UTC (3 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.83: +2 -2
lines
Diff to previous 1.83 (colored)
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 * DHCP addresses are added with vltime of the lease time and pltime of the rebind time (Linux only)
Revision 1.83 / (download) - annotate - [select for diffs], Wed Jun 26 10:07:38 2019 UTC (3 years, 9 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Changes since 1.82: +2 -2
lines
Diff to previous 1.82 (colored)
Import dhcpcd-7.2.3 with the following changes: * OpenBSD: compiles again * BSD: Check RTM lengths incase of kernel issues * DHCP6: Don't stop even when last router goes away * DHCP6: Fix inform from RA * hostname: Fix short hostname check
Revision 1.82 / (download) - annotate - [select for diffs], Sat May 4 09:46:39 2019 UTC (3 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.81: +2 -2
lines
Diff to previous 1.81 (colored)
Import dhcpcd-7.2.2 with the following changes: * DHCP: Ensure dhcp is running on the interface received from * BSD: Link handling has been simplified, however it is expected that if an interface supports SIOCGIFMEDIA then it reports the correct link status via route(4) for reliable operations * BPF: ARP filter is more robust * BSD and sun: Validate RTM message lengths This security issue has been addressed * DHCPv6: Fix a potential read overflow with D6_OPTION_PD_EXCLUDE Many thanks to Maxime Villard <max@m00nbsd.net> for discovering this issue.
Revision 1.81 / (download) - annotate - [select for diffs], Fri Apr 26 14:39:23 2019 UTC (3 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.80: +2 -2
lines
Diff to previous 1.80 (colored)
Import dhcpcd-7.2.1 with the following changes: * Solaris: Many more issues fixed * OpenBSD: Don't spam syslog when cannot send NA * FreeBSD: Fix fetching IPv6 address lifetimes These security issues are also addressed: * auth: Use consttime_memequal to avoid latency attack consttime_memequal is supplied if libc does not support it dhcpcd >=6.2 <7.2.1 are vulnerable * DHCP: Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED dhcpcd >=4 <7.2.1 are vulnerable * DHCPv6: Fix a potential buffer overflow reading NA/TA addresses dhcpcd >=7 <7.2.1 are vulnerable Many thanks to Maxime Villard <max@m00nbsd.net> for discovering these issues.
Revision 1.80 / (download) - annotate - [select for diffs], Wed Apr 17 23:47:27 2019 UTC (3 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.79: +2 -2
lines
Diff to previous 1.79 (colored)
Import dhcpcd-7.2.0 with the following changes: * build: latest gmake-3 works once more * build: exits on error in a subdir * BSD: PF_LINK sockets now closed when no longer needed * BSD: Fix detecting interface for scoped routes * Solaris: Many, many, many fixes - pretty much works now * 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
Revision 1.79 / (download) - annotate - [select for diffs], Thu Feb 7 21:43:50 2019 UTC (4 years, 1 month ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1
Changes since 1.78: +2 -2
lines
Diff to previous 1.78 (colored)
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 * FreeBSD: Avoid panicing kernel for IPv6 prefix routes
Revision 1.78 / (download) - annotate - [select for diffs], Tue Jan 22 15:31:41 2019 UTC (4 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.77: +2 -2
lines
Diff to previous 1.77 (colored)
dhcpcd-7.1.0 has been released with the following changes: * OpenBSD: works alongside slaacd(8) * NetBSD: sets SO_RERROR on to detect receive socket overflow * BSD: route improvements to avoid listening for own changes * Linux: use NETLINK_BROADCAST_ERROR * BSD: avoid late address deletion messages by testing address existance * IP6: implement IP6 address sharing * BSD: catch UP/DOWN events when interfaces does support media changes * IPv4LL: remember old address when carrier is lost
Revision 1.77 / (download) - annotate - [select for diffs], Mon Aug 20 16:27:13 2018 UTC (4 years, 7 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Changes since 1.76: +2 -2
lines
Diff to previous 1.76 (colored)
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.
Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 24 08:01:59 2018 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.75: +2 -2
lines
Diff to previous 1.75 (colored)
Import dhcpcd-7.0.7 with the following changes: * host routes work correctly again * vlanid is also used to calculate slaac stable private addresses
Revision 1.75 / (download) - annotate - [select for diffs], Sat Jun 2 09:57:15 2018 UTC (4 years, 9 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.74: +2 -2
lines
Diff to previous 1.74 (colored)
Import dhcpcd-7.0.5 with the following changes: * dhcp: Clarified some checksumming code, style and commentary (thanks to Maxime Villard) * dhcp6: IAID is now unique per IA type rather than global * ip6: if an IA callback causes a fork, exit earlier
Revision 1.74 / (download) - annotate - [select for diffs], Wed May 2 22:13:16 2018 UTC (4 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.73: +2 -2
lines
Diff to previous 1.73 (colored)
Update to dhcpcd-7.0.4 with the following changes: * OpenBSD: Fix adding INET6 on-link routes without an address * Linux: Improve interface renaming * Linux: If listening to dev manager, let it remove interfaces * Routing: Fix case when cloning route changes but needs to be replaced * DHCP6: Transpose DHCP userclass option into DHCP6 * DHCP6: Fix sending custom vendor class option * Auth: Allow zero value replay detection data * Auth: Allow different tokens for send and receive * ND6: Warn if router lifetime is set to zero * DHCP6: Softwire Address and Port-Mapped Clients, RFC7598
Revision 1.73 / (download) - annotate - [select for diffs], Fri Apr 6 17:02:26 2018 UTC (4 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.72: +2 -2
lines
Diff to previous 1.72 (colored)
Import dhcpcd-7.0.3 with the following changes: * udev: uses the logerr framework * BSD: fix segfault when IPv6 addresses exist and carrier 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
Revision 1.72 / (download) - annotate - [select for diffs], Tue Mar 27 08:18:40 2018 UTC (5 years ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Changes since 1.71: +2 -2
lines
Diff to previous 1.71 (colored)
Update to dhcpcd-7.0.2: * 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
Revision 1.71 / (download) - annotate - [select for diffs], Mon Jan 29 11:16:26 2018 UTC (5 years, 1 month ago) by roy
Branch: MAIN
Changes since 1.70: +2 -2
lines
Diff to previous 1.70 (colored)
Import dhcpcd-7.0.1 with the following changes: * hooks: remove use of local builtin for better portability * Fix build issue when `__GNUC__ <= 2` (thanks to Chris Hathhorn) * 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 * configure: make `--includedir=/usr/src/foo` work * eloop-bench: fix hangs when using a large number of cycles * dhcp: don't bind when we've just probed an address to inform
Revision 1.70 / (download) - annotate - [select for diffs], Mon Jan 1 11:57:20 2018 UTC (5 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.69: +2 -2
lines
Diff to previous 1.69 (colored)
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) * linux: use IFA_F_NOPREFIXROUTE for IPv4 addresses * ipv6: disable kernel RA if interface is active * hooks: set protocol to link for link layer events
Revision 1.69 / (download) - annotate - [select for diffs], Wed Dec 6 10:43:55 2017 UTC (5 years, 3 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4
Changes since 1.68: +2 -2
lines
Diff to previous 1.68 (colored)
dhcpcd-7.0.0-rc4 has been released with the following changes: * Mark routes as set by RA/DHCP in Linux * Don't flush prefix routes/routers if kernel does not support RA * Remove OpenBSD route labels * 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 * eloop: fix signal catching before eloop is started on Linux
Revision 1.68 / (download) - annotate - [select for diffs], Sat Oct 7 14:18:43 2017 UTC (5 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.67: +2 -2
lines
Diff to previous 1.67 (colored)
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
Revision 1.67 / (download) - annotate - [select for diffs], Tue Sep 19 19:25:46 2017 UTC (5 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base,
pkgsrc-2017Q3
Changes since 1.66: +2 -2
lines
Diff to previous 1.66 (colored)
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 * bsd: compile on recent OpenBSD platforms * dhcp: fix reporting of DNS encoded SIP servers * dhcp6: fix unicast in non master mode
Revision 1.66 / (download) - annotate - [select for diffs], Sat Sep 16 08:37:35 2017 UTC (5 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.65: +2 -3
lines
Diff to previous 1.65 (colored)
dhcpcd*: follow redirect
Revision 1.65 / (download) - annotate - [select for diffs], Wed May 10 10:58:11 2017 UTC (5 years, 10 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base,
pkgsrc-2017Q2
Changes since 1.64: +3 -3
lines
Diff to previous 1.64 (colored)
Import dhcpcd-7.0.0-rc1 with the following changes: * Default to use VLANID>0 for IAID instead of MAC address * BSD: Add support for RTA_LABEL * 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 * Install dhcpcd-definitions.conf to the correct directory * Restore the -G, --nogateway option
Revision 1.64 / (download) - annotate - [select for diffs], Fri Apr 14 10:05:26 2017 UTC (5 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.63: +2 -2
lines
Diff to previous 1.63 (colored)
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. * install udev.so on supported platforms to fix segfaults. * support NetBSD's RO_MSGFILTER socket option to reduce avoid context switching for route(4) messages that don't interest us. * support OpenBSD's ROUTE_MSGFILTER which does the same. * 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.
Revision 1.63 / (download) - annotate - [select for diffs], Fri Mar 31 21:18:12 2017 UTC (5 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.62: +2 -1
lines
Diff to previous 1.62 (colored)
Set PKGNAME to strip - from beta suffix to satisfy pkglint
Revision 1.62 / (download) - annotate - [select for diffs], Fri Mar 31 21:09:27 2017 UTC (5 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.61: +2 -2
lines
Diff to previous 1.61 (colored)
Import dhcpcd-7.0.0-beta1 Summary of changes since dhcpcd-6.11.5: * 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 * fix detecting IPv6 DAD on OpenBSD * remove custom Solaris DLPI filtering in favour of BPF (note there seems to be a kernel issue where the DHCP fd receives ARP's as well, the only side effect is a noisy syslog) * 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 memory leak on systems where posix_spawnattr_init allocates memory by calling posix_spawnattr_destroy afterwards * fix a crash receiving SIGUSR1
Revision 1.61 / (download) - annotate - [select for diffs], Sun Oct 9 10:16:28 2016 UTC (6 years, 5 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4
Changes since 1.60: +2 -2
lines
Diff to previous 1.60 (colored)
Import dhcpcd-6.11.5 with the following change: * Fix a define to allow dhcpcd to better manage routes on OpenBSD
Revision 1.60 / (download) - annotate - [select for diffs], Fri Oct 7 08:26:14 2016 UTC (6 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.59: +2 -2
lines
Diff to previous 1.59 (colored)
Import dhcpcd-6.11.4 with the following changes: * Fixed octal and hex string parsing in options. * Ignore bogus RTM_DELADDR on FreeBSD when the interface goes down. * Several statically sized buffers have been removed and replaced with dynamically sized ones where we have no real idea of what the size will be. * Reverse IPv4 route removal order. * Improved handling of Netlink messages on Linux. * Poll for tentative link-local addresses if needed. * Added --small configure directive to reduce binary size * Allow DHCPv6, IPv4lL and authentication to be compiled out * dhcpcd requries the interface to be up when considering link status * Add support for ifa_addrflags in getifaddrs(3) * Add support for ifam_addrflags and ifam_pid from route(4) * If T1 or T2 are not set in DHCPv6 messages, use a default from the lowest pltime instead of the expiration time. * Validate lease before moving to REQUEST when both ends use rapid commit. * If lease validation fails, don't restart the DISCOVER phase if we're already in it.
Revision 1.59 / (download) - annotate - [select for diffs], Tue Aug 16 16:15:47 2016 UTC (6 years, 7 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base,
pkgsrc-2016Q3
Changes since 1.58: +2 -2
lines
Diff to previous 1.58 (colored)
Import dhcpcd-6.11.3 with the following changes: * Workaround a 14 year old BSD issue where initial address lifetimes are transfered to the prefix route and are not updated again, causing the kernel to remove the route. The fix is to initially add the address with infinite lifetimes and then change the lifetimes to the correct ones. * IPv6 RA routes are now expired by dhcpcd. * Fix gateway interface assignment on BSD. * Only mask off signals we do something with (allows coredumps on some platforms) * Fix a memory issue where an old lease could be read and discarded but the buffer length not reset. * Bind DHCPv6 to the link-local address when not running in master mode so that many dhcpcd instances can run per interface.
Revision 1.58 / (download) - annotate - [select for diffs], Fri Jul 29 10:51:16 2016 UTC (6 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.57: +2 -2
lines
Diff to previous 1.57 (colored)
dhcpcd-6.11.2 has been imported with the following changes: * It's now possible to exclude the vendor-class option. * pkg-config can now be host selectable in configure, thanks to Heiko Becker. * Fixed a NULL pointer dereference when checking ARP conflicts. * Revert a change in 6.11.1 which causes some packets not to be read correctly from the BPF socket. * Commandline options are now applied to profiles. * Fixed some potential memory issues for non embebbeded configs, thanks to Koichi Okamoto. * Simplified route handling on BSD. * Fix expiration of IPv6 routers if a static route was present. * --inactive now starts with all interfaces inactive. subsequent calls to dhcpcd can activate/deactivate them. * Illumos (Solaris) is now a supported plaform.
Revision 1.57 / (download) - annotate - [select for diffs], Fri Jun 17 19:46:39 2016 UTC (6 years, 9 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base,
pkgsrc-2016Q2
Changes since 1.56: +2 -2
lines
Diff to previous 1.56 (colored)
Import dhcpcd-6.11.1 with the following changes: * Fix truncated packet handling where the DHCP message is less than the BOOTP size * Rework the raw socket handling around an fd for initial Solaris support * Only pull one message from the raw socket - eloop will handle the looping * Netmask fixes for STATIC and INFORM * Rework if_address to use struct ipv4_addr, like the ipv6 counter parts * Split BSD handlink into many smaller functions to improve readability * empty DNS entries are no longer created * Test for hostname_fqdn being set to server or blank * Allow an SLA 0 and prefix length of 0 to delegate the whole prefix ia_pd 1 wm1/0 * Fix prefix delegation address timings on renew
Revision 1.56 / (download) - annotate - [select for diffs], Mon May 9 10:24:32 2016 UTC (6 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.55: +2 -2
lines
Diff to previous 1.55 (colored)
Import dhcpcd-6.11.0 with the following changes: * pidfile directory is now created correctly at startup. * bootp "leases" are now stored so dhcpcd can dump them. * ARP state is keep open so we can detect duplicates (currently this is only logged, no action is taken). * --lastleastextend allows dhcpcd to extend a DHCP lease once it has expired. The lease is dropped if any other node claims the address. * Delegated Prefix reject routes will be correctly bound to the loopback interface. If a delegated address uses the whole prefix, then the reject route is removed. If this address is removed, the reject route is restored. * dhcp code has been reworked around a classic BOOTP structure instead of a fixed size DHCP structure based on a max MTU of 1500. Each reference to it also has a size so we know it's length. Adding an option to a message is now guarded via easy macros. Option concatenation buffer is no longer a fixed size. * many more changes so that dhcpcd passes all current Coverity tests.
Revision 1.55 / (download) - annotate - [select for diffs], Wed Apr 20 09:02:44 2016 UTC (6 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.54: +2 -2
lines
Diff to previous 1.54 (colored)
Import dhcpcd-6.10.3 with the following changes: * Support iSNS, RFC4174 * Fix Prefix Delegation with SLA 0 and warn that it's not really RFC compliant * Fix build with --disable-embedded * On an IPv4LL defence, an ARP announcement is now sent in accordance with RFC 3927 Section 2.5 dhcpcd-6.10.2 had the following changes: * Add fix for CVE-2014-7913. * eloop performance and API improvements. * Don't send a blank hostname. * Prefix Delegation default value fixes. * Prefix Delegation suffix is now configurable. * dhcpcd.conf now allows embedded comments. * IPv6 static address support. * ipv6ra_accept_nopublic has been removed, all prefixes now accepted. * Support RTF_CONNECTED on NetBSD. * Fix compile on older platforms which lack O_CLOEXEC. Thanks to OBATA Akio. * Remove pidfile handling from dhcpcd and use pidfile_lock(3). If not available, use a compat shim. * Fix ignoring messages sent to the kernel and receive via another one on Linux. * Fix changing routes on BSD.
Revision 1.54 / (download) - annotate - [select for diffs], Wed Jan 20 19:27:07 2016 UTC (7 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base,
pkgsrc-2016Q1
Changes since 1.53: +2 -2
lines
Diff to previous 1.53 (colored)
Update to dhcpcd-6.10.1 with the following changes: * Add -P, --printpidfile to print the pidfile dhcpcd will use to stdout * Fix a crash when a non active interface departs * Add the -1, --oneshot option which causes dhcpcd to exit once an interface has been configured * Fix delegation activating interfaces
Revision 1.53 / (download) - annotate - [select for diffs], Thu Jan 7 17:29:48 2016 UTC (7 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.52: +4 -3
lines
Diff to previous 1.52 (colored)
Import dhcpcd-6.10.0 with the following changes: * --noption requires an argument * optimise the ARP BPF filter, thanks to Nate Karstens * send gratuitous ARP each time we apply our IP address * fix truncation of hostnames based on the short hostname option * improve routing and address management by always loading all interfaces, routes and addresses even for interfaces we are not directly working on * timezone, lookup-hostname, wpa_supplicant and YP hooks are no longer installed by default but are installed to an example directory * fix compile on kFreeBSD thanks to Christoph Egger for providing a temporary build host * improve error logging of packet parsing * fix ignoring routing messages generated by dhcpcd just before forking * fix handling of rapid commit messages (allow ACK after DISCOVER) * add PROBE state so we can easily reject DHCP messages received during the ARP probe phase * fix CVE-2016-1503 * fix CVE-2016-1504
Revision 1.52 / (download) - annotate - [select for diffs], Mon Nov 30 16:22:32 2015 UTC (7 years, 3 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Changes since 1.51: +2 -2
lines
Diff to previous 1.51 (colored)
Update to dhcpcd-6.9.4 with the following changes: * dhcpcd will now configure chrony if installed and ntp isn't * dhcpcd no longer attempts temporary address management on Linux * replace the SixRD decode function with a generic definition * try harder to ensure only 1 lladdr exists per interface on BSD * kFreeBSD compiles once more, thanks to JS Junior * change IPv6 routes on MTU change * -p works with -x on an already running process started without -p * fix TEST for IPv4LL * Correct size allocation for prefix delegation, thanks to Jade * Add an option to enable DHCPv6 Information Request without the need for dhcpcd to recieve an IPv6 Router Advertisement with the Other Configuration bit set. * Introduce the optional option type, which allows embedded options to be optional * Mark our logger function as sysloglike because we enjoy using %m * Don't check link state if not instruted to before working out if we can fork early or not. * Add a -N --renew option to renew any existing address early * Obey the hostname_short option even for configured FQDN hostnames * -U, --dumplease now works with standard input. It no longer works with a filename. * If dumping leases, skip authentication and address expiry checks * Fix adding host routes via a gateway on Linux * Fix adding static routes via a gateway on BSD * Always send LOG_DEBUG to syslog(3) even if we are in quiet mode. It's upto syslog to filter it. * If testing or dumping leases, don't send to syslog only stdout/stderr.
Revision 1.51 / (download) - annotate - [select for diffs], Fri Sep 4 12:30:04 2015 UTC (7 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3
Changes since 1.50: +2 -2
lines
Diff to previous 1.50 (colored)
Update to dhcpcd-6.9.3 with the following changes: * Fixed compile on various platform/compiler variations * Statically assigned IPv4 addresses now undergo ARP checks * Statically assigned interface_mtu= works again * Statically assigned DHCP variables persist across lease renews
Revision 1.50 / (download) - annotate - [select for diffs], Fri Aug 21 10:53:36 2015 UTC (7 years, 7 months ago) by roy
Branch: MAIN
Changes since 1.49: +2 -2
lines
Diff to previous 1.49 (colored)
Update to dhcpcd-6.9.2 with the following changes: * Only run the IPv4LL script and rebuild routes on drop when an address is actually dropped. * Add noup directive to stop master mode bringing an interface up. * Fix compile for old Linux systems. * If only IPv4LL addresses exist, assign a default route to the interface so that IPv4LL can talk to non IPv4LL on the same link. * Set DHCPv4 MTU on routes instead of the interface. This matches IPv6 behaviour and works around dodgy interfaces where a MTU change can reset the PHY causing an infinite loop. * MTU is now requsted by default in dhcpcd.conf again. * noauthrequired also allows unauthenticated FORCERENEW and RECONFIGURE messages. * Simplify the socket code by adding a custom function instead of having the same #ifdef mess for systems without SOCK_CLOEXEC. Thanks to Christos Zoulas. * Don't do platform init or setting interface MTU if too small when testing or dumping leases. * Build new_domain_name from other sources if blank before checking it's blank to remove any prior config. Thanks to Paul Walrath. * Describe adding an IPv6 temporary address. * Don't delete dhcpcd assigned IPv6 link-local addresses when releasing leases. * Reference old DHCPv6 FQDN when processing the hostname.
Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 9 10:32:25 2015 UTC (7 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.48: +4 -4
lines
Diff to previous 1.48 (colored)
Update to dhcpcd-6.9.1 with the following changes: * Change packaging from bz2 to xz * Fixed waitip * For Prefix Delegation, servers must now support RFC7550 * Fixed detecting host routes in DHCP messages * Fixed ARP checking that failed in some situations * Fixed static address assignment in dhcpcd.conf * Split IPv4LL state from DHCP and into it's own state * Reject any NA/RA with a hop limit != 255 * Replace if_oneup with if_afwaited and af_waited for hook scripts * Fix a potential buffer overrun if an embedded DHCP option is a zero length or fails to parse - thanks to Paul Stewart * Check fclose for errors - thanks to Bob * wpad_url has been added to dhcpcd-definitions.conf * Fix a double free when failing to send a DHCPv6 RELEASE Thanks to Todd Blanchard. * Correct IPv6 public address test, thanks to Micha? K?pie? * Fix DHCPv6 starting if no public addresses found in the RA but the M or O bit was set * Replaced custom uptime() with clock_gettime(2) * Fix DHCPv6 elapsed time
Revision 1.48 / (download) - annotate - [select for diffs], Sat May 16 23:37:25 2015 UTC (7 years, 10 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base,
pkgsrc-2015Q2
Changes since 1.47: +2 -2
lines
Diff to previous 1.47 (colored)
Import dhcpcd-6.9.0 with the following changes: * Fix IPv6 prefix underflow when confirming deprecated but valid leases * eloop.c and .h are now 100% portable outside of dhcpcd (provided the system supports recent POSIX and either you or the system provide working TAILQ macros) * Allow waitip to work per interface. * Handle ND options in the same way we handle DHCP and DHCPv6 options. * Add new variable of type bitflags:flags where the flags ABCDEFGH, A is 10000000, B is 01000000, etc. Variables with the name reserved are no longer processed. * Improve IN_IFF_TENTATIVE with ip sharing.
Revision 1.47 / (download) - annotate - [select for diffs], Tue May 5 10:22:49 2015 UTC (7 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.46: +2 -2
lines
Diff to previous 1.46 (colored)
Update to dhcpcd-6.8.2. Changes include: * Compile on QNX * Fix handling of ND6_IFF_OVERRIDE_RTADV * Fix adding host routes on BSD * If RTF_LOCAL is defined, don't create local routes * Don't destroy existing routes where possible * Support kqueue(2) and epoll(7) if available * dhcpcd can now act as a pure BOOTP client * IPv6 default route only installed when a working address is added * Fixed host routes inside a CSR option * Support IN_IFF_TENTATIVE on NetBSD
Revision 1.46 / (download) - annotate - [select for diffs], Wed Jan 7 09:01:01 2015 UTC (8 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base,
pkgsrc-2015Q1
Changes since 1.45: +2 -2
lines
Diff to previous 1.45 (colored)
Import dhcpcd-6.6.7 with the following changes: * Clarify timeout and reboot timeout, make it more sane * A server should not NAK an INFORM * The noalias directive will now remove any IPv4 addresses existing on the interface when we want to add our own * For BSD systems stop polling for IPv6 router reachability Instead, expect for cached neighour route additions/changes/removals to be announced by the kernel. Currently only NetBSD-7.99.3 does this. * Store acquired time for each IPv6 address so we can correctly offset pltime and vltime if we need to re-add them * test mode no longer turns off kernel rtadv handling
Revision 1.45 / (download) - annotate - [select for diffs], Tue Dec 9 20:16:27 2014 UTC (8 years, 3 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base,
pkgsrc-2014Q4
Changes since 1.44: +2 -2
lines
Diff to previous 1.44 (colored)
Import dhcpcd-6.6.5 with the following changes: * Allow STOPPED to be processed by dhcpcd-run-hooks(8) * Don't attempt to match IFT to ARP types directly * If neither dig nor host are present, fallback to getent(1) * If IFF_UP is not set when we get a carrier up event, poll for it instead of giving up * Failure to bind to the DHCP port on the wildcard address when it's in-use is not an error
Revision 1.44 / (download) - annotate - [select for diffs], Wed Nov 26 16:09:29 2014 UTC (8 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.43: +2 -2
lines
Diff to previous 1.43 (colored)
Import dhcpcd-6.6.4 with the following changes: * Fix a compile warning in dhcpcd-6.6.3 * Notify dhcpcd-run-hooks if running in debug mode * Report selected profile in test mode
Revision 1.43 / (download) - annotate - [select for diffs], Wed Nov 26 13:38:37 2014 UTC (8 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.42: +2 -2
lines
Diff to previous 1.42 (colored)
Import dhcpcd-6.6.3 with the following changes: * Log which IP address we are ARPing. * Only free other ARP states if not assinging an IPv4LL address. * Reload global config when running per interface commands. This matches the signal behaviour. * If we don't have a hardware address, fallback to creating a default IAID from the interface name and index as we used to. * Loopback interfaces have routes scoped to the host only. * If we don't have a hwlen and no clientid has been set, force a DUID based ClientID. * Disable IPv6RS if a loopback, pointopoint or not a multicast interface. * If allowinterfaces is not specified, allow all configured interfaces to work, such as loopback and ppp. * When not daemonising, don't exit on timeout. * Zero length UDP packets are not an error condition on the socket. Thanks to Micha? K?pie?. * If the IP address is still on the interface when reading a lease, fake add the address and routes so the lease can be cleaned up if needed.
Revision 1.42 / (download) - annotate - [select for diffs], Fri Nov 14 11:52:50 2014 UTC (8 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.41: +2 -2
lines
Diff to previous 1.41 (colored)
Update dhcpcd-6.6.2 with the following changes: * TAILQ macros are now pulled in via config.h only so dhcpcd compiles on systems where sys/queue.h does not exist at all * Remove DHCP state correctly when the interface departs * End the IPv4LL state when DHCP is stopped * Ensure that any DHCP leased offered still exists when assigning an IPv4LL address
Revision 1.41 / (download) - annotate - [select for diffs], Fri Nov 7 20:18:06 2014 UTC (8 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.40: +3 -2
lines
Diff to previous 1.40 (colored)
Import dhcpcd-6.6.1 with the following changes: * Log the address IPv4LL defends * PREINIT, UNKNOWN and CARRIER are not either up nor down states * ARP code re-written to allow for many ARP states * IPv4LL address is now pseudo random based on HW address instead of really random as per RFC 3927 Section 2.1 * If not doing DHCP or DHCP6, disable the DNS requirement in the RA to fork. * Treat IPv4LL as fallback and start DHCP discovery even if the prior lease was IPv4LL when rebooting. * When we transition from REQUEST to DISCOVER in a reboot, start IPv4LL at the same time as discover to ensure we have an address quicker. * Improve handling of the IPv6LL address at startup * Support old Linux kernels where IFLA_AF_SPEC may not exist * When stopping interfaces, skip past pseudo interfaces instead of finding the master as only the masters are sorted correctly Added another mirror site, http://cflags.cc/roy/dhcpcd
Revision 1.40 / (download) - annotate - [select for diffs], Sat Oct 18 00:00:52 2014 UTC (8 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.39: +2 -2
lines
Diff to previous 1.39 (colored)
Import dhcpcd-6.5.1 with the following changes: * Use RTF_PINNED when deleting routes when available Allows dhcpcd to control IPv4 routing on newer FreeBSDs * Don't work on bridge, or ptp interfaces unless explicitly told * Poll for IFF_RUNNING again but avoid constantly sending IFF_UP (should now fix all carrier problems on BSD virtual interfaces) * Don't crash when processing IPv6 route calls from the kernel when IPv6 resources have been disabled in dhcpcd * Allow the same IP address to be shared across different interfaces Interface with the lowest metric gets the IP address, will move to the next highest if dropped (interface departs, carrier drops, etc) * Use correct interface gateway on FreeBSD, removes need for linkaddr.c on kFreeBSD * Delegated prefix addresses are now reported via DELEGATE6 * Fix copying the correct timezone file * Work better with unknown delegated prefix lengths * Move IPv4LL and ARP to the DHCP eloop queue to fix timing issues * Add IA PD documentation update from christos@netbsd.org
Revision 1.39 / (download) - annotate - [select for diffs], Mon Oct 6 18:28:47 2014 UTC (8 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.38: +2 -3
lines
Diff to previous 1.38 (colored)
Import dhcpcd-6.5.0 with the following changes: * Fix an unaligned access error on BeagleBone Black with FreeBSD. Thanks to Guy Yur for the patch. * Remove the fast loop trying to up an interface which does not report carrier. * Remove vis based encoding - instead validate against option type and stop at invalid [1] This removes all shell escaped encoding - dhcpcd will assume that IF the --script option is a shell, it will quote variables correctly. The stock dhcpcd-run-hooks does. * dhcpcd -V now prints how the variables will be decoded. * Changed some options in dhcpcd-definitions.conf to more sensible defaults. * Don't daemonise on delegated address dad. * Don't drop delegated reject route when forking. * Fix IPv6 handling of link-local addresses on KAME stacks. * Work on OpenBSD-5.6 without any special interface setup needed. * Callout to handlecarrier when we don't have real carrier support and rely on looking at IFF_UP and IFF_RUNNING. This allows our hooks to know that dhcpcd thinks we have a carrier or not. [1] DHCP option encodings defined in dhcpcd-definitions.conf * domain (RFC3397)/dname (string) is strict domain name allowance (ie, [alnum] with _- (but not at the start or end)) * string is now printable ascii (1-127) until invalid * ascii is all ascii (1-127) until invalid * raw is all chars (1-255) until NUL * binhex is a hex representation of the option including embedded NULs * ssid is still escpaed octal because it's expected to be human readable AND can technically be all NUL * everything else has strict option -> value encoding
Revision 1.38 / (download) - annotate - [select for diffs], Wed Oct 1 00:20:37 2014 UTC (8 years, 5 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base,
pkgsrc-2014Q3
Changes since 1.37: +3 -2
lines
Diff to previous 1.37 (colored)
Roll back to dhcpcd-6.4.3
Revision 1.37 / (download) - annotate - [select for diffs], Sat Sep 27 10:51:05 2014 UTC (8 years, 6 months ago) by roy
Branch: MAIN
Changes since 1.36: +2 -2
lines
Diff to previous 1.36 (colored)
Import dhcpcd-6.4.7 with the following changes: * make test works again * Many bounds checking fixes from Tobias Stoeckmann * Improve error when the authentication token cannot be found * close the IPv4 specific UDP socket when done sending * Implemented a write queue to the control sockets * Only send interfaces to control sockets when in a BOUND state * Add a sample controlgroup directive to dhcpcd.conf to make setup easier * Add variables if_oneup and if_ipwaited so hook scripts know the overall state of dhcpcd better * Pass RC_SVCNAME from enviromment to hooks so that a service hook can know it's name (may not be dhcpcd) * Document every variable set for dhcpcd-run-hooks(8) * Use the nl80211 interface on Linux to get the wireless SSID if we fail to get it via WEXT * Allow SSIDs with non printable characters to be used in ssid selection in dhcpcd.conf * Add an unprivileged control socket so that normal users can obtain dhcpcd running state * Remove all instances of if_indextoname as we already know the index * Only bring in linux/ipv6.h for linux AND glibc * Add _DEFAULT_SOURCE #define to to make glibc-2.20 happy * Check we have allocated IPv6 resources before checkings RA's * configure errors are now logged to config.log * Only hunt for a cross compiler if build != host * Detect removal of IPv6 routes * Don't add link-local addresses to POINTOPOINT interfaces * Don't discard expired DHCPv6 leases when dumping them * If a DHCPv6 lease has no timers, expire it right away * Report delegated addresses * Call dhcpcd-run-hooks correctly when delegated prefixes already exist * Fix a memory error when ia_* config exists but IPv6 is disabled * Ensure servername and bootfile are safely exported * Sanitise the following characters using svis(3) with VIS_CTYLE and VIS_OCTAL: | ^ & ; < > ( ) $ ` \ " ' <tab> <newline> This allows a non buggy unvis(1) to decode it 100% and stays compatible with how dhcpcd used to handle encoding on most platforms. For systems that supply svis(3) there is a code reduction, for systems that do not, a slight code increase. This change mitigates systems affected by bash CVE-2014-6271 and CVE-2014-7169. OK: jperkin@
Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 30 15:54:04 2014 UTC (8 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (colored)
Update to dhcpcd-6.4.3 with the following changes: * Correct DHCPv6 Prefix Delegation option decoding * Ensure that a given buffer is at least BUFSIZ (for getline compat) * Poll interfaces on BSD for IFF_RUNNING if link state cannot be obtained * Check for an IA to use in DHCPv6 lease validation * Fix compile on NetBSD-6 (and possibly earlier NetBSDs) * Warn about exceeding IDGEN_RETRIES when a stable private address cannot be obtained * Fix DHCP option overload handling, thanks to Tobias Stoeckmann
Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 14 14:10:35 2014 UTC (8 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.34: +2 -2
lines
Diff to previous 1.34 (colored)
Update to dhcpcd-6.4.2 to fix a compile error.
Revision 1.34 / (download) - annotate - [select for diffs], Mon Jul 14 11:56:12 2014 UTC (8 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.33: +2 -2
lines
Diff to previous 1.33 (colored)
Update to dhcpcd-6.4.1 with the following changes: * If just given a domain and no search list, make the search list the domain * Skip arpping directives if we have a profile but not parsing one * Allow the request of a DHCPv6 address or prefix, a prefix length must be specified * Add the ability to dump DHCPv6 leases * Improve startup with regards to carrier checking and adding a link-local IPv6 address * Start the correct interface reference for added devices * Support http://datatracker.ietf.org/doc/draft-ietf-dhc-dhcpv6-stateful-issues-06 via the ia_pd_mix option * Fix link handling where kernel reported flags in LINK_UP may not be valid when we actually process them * Fix defining new options in dhcpcd.conf and requesting them * Fix a potential segfault when reloading configurations * Print user defined options via -V * Add support for RFC6603, Prefix Exclude option * When requesting a IA_PD and another IA type, create a psuedo interface to handle the IA_PD * Handle truncated DHCPv6 saved leases
Revision 1.33 / (download) - annotate - [select for diffs], Mon Jul 29 20:42:41 2013 UTC (9 years, 8 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
Import dhcpcd-6.0.4 with the following changes: * hostname is not stamped on anymore if already set * hostname will be set to a FQDN when possible as per RFC4702 section 3.1 * a domain is derived from the FQDN if no domain option is set * add new hostname_short command to send a short hostname for DDNS * hostname_fqdn is now documented, along with a new server setting and the potential problems associated with it * the FQDN option is no longer sent by default for DHCPv4 messages
Revision 1.32 / (download) - annotate - [select for diffs], Tue Oct 23 17:18:16 2012 UTC (10 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4
Changes since 1.31: +1 -2
lines
Diff to previous 1.31 (colored)
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Revision 1.31 / (download) - annotate - [select for diffs], Mon Feb 6 15:43:49 2012 UTC (11 years, 1 month ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1
Changes since 1.30: +2 -2
lines
Diff to previous 1.30 (colored)
Import dhcpcd-5.5.4 with the following changes: * ArchLinux SERVICESTATUS override fixed * Shell portability fixes, including proper printf usage. * Detect a valid ntp.conf before adjusting it * Restart NTP correctly on Debian * reboot timeout changed to 5 seconds * When rebooting and not daemonized, reduce the discover timeout to allow for fallback or IPv4LL * Respect each kernel carrier message * Optimize some bitwise logic * On Linux, pretent a bridge interface does not exist until IFF_LOWER_UP is set * Don't remove interfaces for which commands have not been sent * Store the assigned metric to each route so that we can change metrics on the fly dhcpcd -n --metric 100 iwi0 * Add SixRD support, RFC5969 * Fix SIP server support * Only regen resolv.conf if it has changed * Fix --reconfigure from spinning * Add IPv6 Router Solicitation support we regards to RDNSS and DNSSL, RFC6016 * Add clang to the list of detected compilers * Allow dhcpcd to run on a read only filesystem * Don't attempt to tun the script if an empty string or /dev/null * Stop truncating the netmask sockaddr on routing messages for BSD * Prefer a DHCP lease over an IPv4LL one * Fix carrier handling on BSD * Fix arc4random detection on FreeBSD 7
Revision 1.30 / (download) - annotate - [select for diffs], Wed Apr 6 09:12:36 2011 UTC (11 years, 11 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (colored)
Import dhcpcd-5.2.12 with the following changes: * 20-resolv.conf now uses the correct variable for $IF_METRIC * Compiles on RedHat9 * Exclude interface values when dumping the lease * Parse static value subnet_mask when it exists instead of deriving from ip address * logger calls now resemble dhcpcd calls to syslog(3) * Reject offered IP address if INADDR_BROADCAST or INADDR_ANY * Change the route if source address has changed * Handle partial UDP checksums so we work in Xen domU Thanks to Marius Tomaschewski <mt@suse.de> * Note the address we are requesting in the broadcast log entry * When operating on one interface, respect the timeout for in dhcpcd.conf * Escape | and & characters before passing the value to the shell Ensure we set a valid hostname, DNS domain and NIS domain. Document the need for input validation in dhcpcd-run-hooks(8). Fixes CVE-2011-996 Based on a patch to dhcpcd-3 by Marius Tomaschewski <mt@suse.de>
Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 4 15:30:53 2011 UTC (12 years, 1 month ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base,
pkgsrc-2011Q1
Changes since 1.28: +2 -2
lines
Diff to previous 1.28 (colored)
Update to dhcpcd-5.2.11 Change from dhcpcd-5.2.10 is support for 64-bit routing on NetBSD.
Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 3 10:59:17 2011 UTC (12 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base,
pkgsrc-2010Q4
Changes since 1.27: +2 -3
lines
Diff to previous 1.27 (colored)
Update to dhcpcd-5.2.10 with the following change: * -r, --request option now works again
Revision 1.27 / (download) - annotate - [select for diffs], Tue Dec 7 22:53:48 2010 UTC (12 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.26: +2 -1
lines
Diff to previous 1.26 (colored)
Fix build on OS X, bump PKGREVISION. Note dhcpcd runs but something in OS X seems to be eating the dhcp server's responses, even with the OS X interface config set to manual.
Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 27 12:59:31 2010 UTC (12 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.25: +2 -2
lines
Diff to previous 1.25 (colored)
Update to dhcpcd-5.2.9 with the following changes: * syntax in 50-ypbind hook has been fixed * man page corrections * Compile correctly on Debian kFreeBSD * invoke-rc.d now detected by configure correctly * report hwaddr used by dhcpcd when debug is enabled * Fix detecting inet address for INFORM support * document reason RELEASE in dhcpcd-run-hooks * Support RTM_CHGADDR in the upcoming NetBSD-6 This is used to work out if the hwaddr has changed as the interface does not go down/up unlike other OSes * ntp hook no longer attempts to restart ntpd if 1st attempt failed
Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 4 07:19:06 2010 UTC (12 years, 7 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base,
pkgsrc-2010Q3
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored)
Update to dhcpcd-5.2.7 Changes include: * Compile on Slackware again * Use dynamically sized buffers for reading kernel link events Fixes carrier status on Linux-2.6.35 64bit kernels * Use the active link address on NetBSD-5 * Fix syslog support in dhcpcd-run-hooks
Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 7 22:03:37 2010 UTC (12 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored)
Update to dhcpcd-5.2.6 Changes from dhcpcd-5.2.4 include: * Always daemonise in master mode as some interface up/downs can trigger timeout * Improved NTP handling on Debian based systems * dhcpcd -n will now re-read the configuration file
Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 4 09:04:18 2010 UTC (12 years, 9 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base,
pkgsrc-2010Q2
Changes since 1.22: +2 -2
lines
Diff to previous 1.22 (colored)
Update to dhcpcd-5.2.4 with one change: * Fix crash when using clientid and the interface re-configures
Revision 1.22 / (download) - annotate - [select for diffs], Wed May 26 07:54:42 2010 UTC (12 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.21: +2 -2
lines
Diff to previous 1.21 (colored)
Update to dhcpcd-5.2.3 Changes include: * compile on FreeBSD-8 where closefrom(3) returns void * log the pid of dhcpcd * Indicate server IP received message from even if server ID not present * Fix crashes on IPv4LL failure and add more logging
Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 31 09:11:11 2010 UTC (13 years ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Changes since 1.20: +2 -2
lines
Diff to previous 1.20 (colored)
Import dhcpcd-5.2.2 with the following changes: * The broadcast flag is now automatically set for interfaces that require it, via platform detection. Currently qeth on Linux. * Fix a file descriptor leak on Linux getting platform info. * Don't send a maximum DHCP message size beyond what we can handle. * ip_ip is now randomized. * IPTOS_LOWDELAY and IP_DF flags are no longer set. * SSID is now correctly terminated on Linux.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 27 16:06:59 2010 UTC (13 years, 1 month ago) by roy
Branch: MAIN
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
Impport dhcpcd-5.2.1 with a quick build fix.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 27 15:46:52 2010 UTC (13 years, 1 month ago) by roy
Branch: MAIN
Changes since 1.18: +2 -2
lines
Diff to previous 1.18 (colored)
Import dhcpcd-5.2.0 with the following changes: * VendorID is now dhcpcd-$version:$OS-$version:$machine:$platform * IPv4LL address range can now be used in DHCP requests * sysctl net.ipv4.conf.$iface.promote_secondaries enabled on Linux This resolves a long standing issue of changing ip on the same subnet. * IPv4LL correctly resets the DHCP timer.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 31 20:30:18 2010 UTC (13 years, 1 month ago) by roy
Branch: MAIN
Changes since 1.17: +2 -3
lines
Diff to previous 1.17 (colored)
Update to dhcpcd-5.1.5 with the following changes: * arc4random from OpenBSD imported for better randomness on Linux * -h, --xidhwaddr uses the last 4 bytes of the hardware address as the DHCP xid * no longer warn about InfiniBand being an unsupported family * infinite lease times are valid when reading old leases * discard address correctly if lease is invalid
Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 26 23:59:26 2009 UTC (13 years, 3 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4
Changes since 1.16: +3 -1
lines
Diff to previous 1.16 (colored)
Add --sysconfdir=${PKG_SYSCONFDIR} to CONFIGURE_ARGS, bump pkgrevision
Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 23 09:34:58 2009 UTC (13 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
Import dhcpcd-5.1.4 with the following changes: * dhcpcd logs even in quiet mode. * Sleep for 1/100th of a second to give time for kernel to send RELEASE. * -S option now works. * Only warn about using CSR on bind. * Fix detection of route deletion on Linux.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Oct 25 23:44:49 2009 UTC (13 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.14: +2 -2
lines
Diff to previous 1.14 (colored)
dhcpcd-5.1.3 has been imported with the following changes: * waitip is enabled when running on a single interface. * Classless Static Routes are now enabled by default in dhcpcd.conf instead of being always being requested.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 16 21:43:13 2009 UTC (13 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
Import dhcpcd-5.1.2 with these changes: * ClientID is now reported when interface starts * -w, --wait forces dhcpcd to wait until an interface gets a lease or times out * Ensure DHCP socket is open when sending a DECLINE * Uses new hwaddr if existing interface is downed and then changed. * No longer works on firewire interfaces by default. dhcpcd-5.1.2 has a new behaviour change - when starting up and at least 1 interface has a carrier then it tries to get a lease or times out. It still daemonises regardless. This, along with the -b and -w flags allows total control over the desired behaviour of dhcpcd.
Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 22 06:32:16 2009 UTC (13 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
Update to dhcpcd-5.1.1 Changes from dhcpcd-5.1.0 include: * Fix various typos and grammatical errors. Thanks to Stephen Borrill. * Don't null terminate gratuitously when handling quotes in dhcpcd.conf. * Improve the configure script for cross-compiles.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 2 20:54:18 2009 UTC (13 years, 6 months ago) by roy
Branch: MAIN
Changes since 1.11: +5 -9
lines
Diff to previous 1.11 (colored)
Update to 5.1.0 Changes from 5.0.6 * get_option_addr uses struct in_addr * instead of uint32_t * fixes a crash on sgimips/netbsd, thanks to Tim McIntosh * Use ssize_t which is a signed int and test if read() returns -1 fixes a crash on some embedded systems, thanks to David Wu * Fix -f path/to/config * -e, --env var=value for profile specific env vars * Many issues resolved when running in test mode * Don't print a (null) string when there is no NAK message * Fix compile on NetBSD-4 (PR pkg/41719) * Only allow hardware families we know by default (over-ridable) * Fix persistent and timeout 0 options * Fix parsing of escape code sequencies * Don't bring up interfaces brought down when handling new interfaces * Allow un-encapsulated vendor option * Build system now uses configure script and not mk stubs
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jul 8 22:24:33 2009 UTC (13 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
Update to dhcpcd-5.0.6 Changes from dhcpcd-5.0.4 include * Fix crash on MIPS * Default to requesting interface MTU * Save and restore interface MTU when changing * IP whitelist * Fix detecting correct dstaddr for PtP interfaces at startup * Ensure that the lease and pidfile directories exist at startup
Revision 1.10 / (download) - annotate - [select for diffs], Sun May 24 21:24:56 2009 UTC (13 years, 10 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
Update to dhcpcd-5.0.4 Changes from dhcpcd-5.0.3 include * The requirement of the ServerID option is now configurable * Don't set a MTU lower than 576 * Enforce a minimum lease time of 20 seconds
Revision 1.9 / (download) - annotate - [select for diffs], Tue May 19 08:59:26 2009 UTC (13 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT block). Uncomment some commented out LICENSE lines while here.
Revision 1.8 / (download) - annotate - [select for diffs], Mon May 11 08:29:28 2009 UTC (13 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (colored)
Update to dhcpcd-5.0.3 Changes from 5.0.2 * getifaddrs can return NULL for ifa_addr We now catch this instead of crashing
Revision 1.7 / (download) - annotate - [select for diffs], Sun May 10 16:35:40 2009 UTC (13 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
Update dhcpcd to 5.0.2 Changes from 5.0.1 include * -n option now starts dhcpcd if not already started * 29-lookup-hostname hook installed by default, but skipped in dhcpcd.conf * Fix warning about missing dirs if we don't have any existing state * Fix compile on some Linux distros re linux/wireless.h
Revision 1.6 / (download) - annotate - [select for diffs], Sun May 3 06:41:30 2009 UTC (13 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
Update to dhcpcd-5.0.1 Changes from dhcpcd-5.0.0 include * Silence compile warnings on Sparc64 * Fix address detection
Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 28 21:04:38 2009 UTC (13 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
Update to dhcpcd-5.0.0 Changes from dhcpcd-4.99.18 include * Fixed existing address detection * Added non dhcp option variables to -V * Prefix some generic variable names exported to dhcpcd-run-hooks with if (ifmetric, ifwireless, ifflags) as they may conflict with generic var names when it restarts a service
Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 20 06:38:19 2009 UTC (13 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.3: +3 -2
lines
Diff to previous 1.3 (colored)
Update to dhcpcd-4.99.18 Changes from dhcpcd-4.99.15 include * Allow dhcpcd to work on any interface type when INFORMING or given a ClientID * arping ip selects a different interface profile on success Allows different static IP/DHCP configurations * DHCP messages without a ServerID are now ignored * If DHCP fails, allow fallback to a different interface profile
Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 20 15:46:00 2009 UTC (14 years ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
Update to dhcpcd-4.99.15 Changes from dhcpcd-4.99.14 include * Compiles on DragonFly BSD * Better support for 3rd party configured interfaces such as PPP * Blacklist now happens at the packet level
Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 17 12:02:34 2009 UTC (14 years ago) by roy
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
Use roy@NetBSD.org instead of my personal email.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Mar 5 23:23:26 2009 UTC (14 years ago) by roy
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Import dhcpcd-4.99.14 dhcpcd is a small, bloat free DHCP client which includes these features * DHCP over firewire * User Class * SIP Servers * Domain Search * Classless Static Routes * IPv4LL aka APIPA aka Zeroconf * Node specific Client Identifiers * DHCP over Infiniband * Link carrier and interface addition/removal detection * Dynamic route management
Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 5 23:23:26 2009 UTC (14 years ago) by roy
Branch: MAIN
Initial revision