The NetBSD Project

CVS log for src/external/bsd/dhcpcd/dist/src/ipv4ll.c

[BACK] Up to [cvs.NetBSD.org] / src / external / bsd / dhcpcd / dist / src

Request diff between arbitrary revisions


Default branch: roy, ROY, MAIN
Current tag: ROY


Revision 1.1.1.19 / (download) - annotate - [select for diffs] (vendor branch), Mon Dec 18 15:49:42 2023 UTC (4 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-10_0_6a, dhcpcd-10_0_6, HEAD
Changes since 1.1.1.18: +12 -5 lines
Diff to previous 1.1.1.18 (colored)

Import dhcpcd-10.0.6 with the following changes:

 * privsep: Stop proxying stderr to console and fix some detachment issues
 * non-privsep: Fix launcher hangup
 * DHCP6: Allow the invalid interface name - to mean don't assign an address from a delegated prefix
 * DHCP6: Load the configuration for the interface being activated from prefix delegation

Revision 1.1.1.18 / (download) - annotate - [select for diffs] (vendor branch), Fri Apr 21 16:52:39 2023 UTC (11 months, 4 weeks ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-10_0_4, dhcpcd-10_0_3, dhcpcd-10_0_2, dhcpcd-10_0_1
Changes since 1.1.1.17: +1 -1 lines
Diff to previous 1.1.1.17 (colored)

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.

Revision 1.1.1.17 / (download) - annotate - [select for diffs] (vendor branch), Fri Oct 22 13:21:59 2021 UTC (2 years, 5 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, dhcpcd-9_4_1
Changes since 1.1.1.16: +1 -1 lines
Diff to previous 1.1.1.16 (colored)

Update to dhcpcd-9.4.1 with the following changes:

 * BSD: Find the correct interface for tunnelled routes
 * OpenBSD: Fix uniqueness of routes for matching priorities
 * Linux: Support more platforms for seccomp (thanks to Fabrice Fontaine)
 * eloop: Process all waiting fd's as they come in
 * control: Unlink sockets when not in privsep
 * privsep: Renamed Master to Manager
 * privsep: Renamed Privilged Actioneer to Privileged Proxy
 * privsep: Fix getting interface VLANID on BSD
 * privsep: Enforce proper alignment of serialized struct cmsghdr
 * IPv4LL: Don't remove statically assigned addresses
 * routes: Fix route comparision for network prefixes with different masks
 * DHCP6: Only send FQDN for SOLICIT, REQUEST, RENEW, or REBIND messages
 * DHCP6: Don't spam the log when a RA repeatedly triggers an INFORM
 * DHCP: Fix infinite INFORM messages

Revision 1.1.1.16 / (download) - annotate - [select for diffs] (vendor branch), Mon Dec 28 13:56:26 2020 UTC (3 years, 3 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-9_4_0, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.1.1.15: +1 -1 lines
Diff to previous 1.1.1.15 (colored)

Update to dhcpcd-9.4.0 with the following changes:

 * DHCP: For anonymous, just use a generic ClientID
 * link: Split hardware address randomisation out of anonymous option
 * link: Only report hardware changes for active interfaces
 * link: Report errors obtaining recv buffer size on overflow
 * hooks: Add NOCARRIER_ROAMING reason
 * hooks: interface_order now reflects priorities again

Revision 1.1.1.15 / (download) - annotate - [select for diffs] (vendor branch), Fri Nov 20 13:23:38 2020 UTC (3 years, 4 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-9_3_4, dhcpcd-9_3_3
Changes since 1.1.1.14: +13 -5 lines
Diff to previous 1.1.1.14 (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

Revision 1.1.1.14 / (download) - annotate - [select for diffs] (vendor branch), Sun Sep 6 14:54:29 2020 UTC (3 years, 7 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-9_3_2, dhcpcd-9_3_1, dhcpcd-9_3_0, dhcpcd-9_2_0
Changes since 1.1.1.13: +5 -0 lines
Diff to previous 1.1.1.13 (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

Revision 1.1.1.13 / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 15 16:58:02 2020 UTC (3 years, 10 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-9_1_4, dhcpcd-9_1_3, dhcpcd-9_1_2
Changes since 1.1.1.12: +3 -0 lines
Diff to previous 1.1.1.12 (colored)

Update to dhcpcd-9.1.2 with the following changes:

* NetBSD: free ARP state once IPv4LL address announced
* NetBSD: Mark RA dervied addresses as AUTOCONF
* BSD: Only mark static routes from dhcpcd.conf as static
* DHCP6: Ensure requested addresses are requested
* DHCP6: Fix prefix length calculation when no prefix specified
* privsep: Implement a resource limited sandbox

Revision 1.1.1.12 / (download) - annotate - [select for diffs] (vendor branch), Sun May 31 12:50:47 2020 UTC (3 years, 10 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-9_1_1, dhcpcd-9_1_0
Changes since 1.1.1.11: +60 -124 lines
Diff to previous 1.1.1.11 (colored)

Update to dhcpcd-9.1.0 with the following changes:

 * Leases are stored outside the chroot again
 * The chroot directory can now be (and should be) empty [1]
 * ARP is now per address rather than per interface
 * Filter allowed ioctls in the privileged actioneer
 * Filter allowed UDP ports used by sendto(2) in the privileged actioneer
 * Filter allowed file paths in the privileged actioneer
 * route socket is now drained on overflow as it cannot be
   re-opened by the unpriviledged user

 * hostname can no longer be clobbered by SLAAC
 * grep is no longer used by the test hook
 * Interface hardware address type changes are now picked up
 * Fixed some RA timing issues
 * Fixed nd_* option parsing in dhcpcd.conf
 * Allow SIGPIPE in scripts
 * Default dhcpcd.conf no longer sends the current hostname
 * Default dhcpcd.conf no longer sends a vendorclassid

Revision 1.1.1.11 / (download) - annotate - [select for diffs] (vendor branch), Thu Apr 2 12:38:55 2020 UTC (4 years ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, dhcpcd-9_0_2, dhcpcd-9_0_1, dhcpcd-9_0_0
Changes since 1.1.1.10: +4 -2 lines
Diff to previous 1.1.1.10 (colored)

Update to dhcpcd-9.0.0 with the following changes:

 * Decode interface complex interface names eth0.100:2 eth0i100:2.
   This allows us to ignore some virtual interfaces by default
 * ARP: Report L2 header address on conflict for more clarity
 * DHCP: Support jumbo frames (untested)
 * DHCP6: Clean up old lease on failure to confirm/rebind, etc
 * RA: Prefer older routers
 * INET6: Obscure prefixes are now calculated correctly

 * Privilege Separation
 * default hostname is now a blank string rather than localhost
 * Leases are now dumped over the control socket - you get RA's now as well.
 * Better support for many IPv6 routers
 * RTM_MISS filtering
 * RA: Deprecate stale addresses by setting pltime 0
 * DHCP6: Deprecate stale addresses by setting pltime 0

Revision 1.1.1.10 / (download) - annotate - [select for diffs] (vendor branch), Fri Oct 11 11:01:14 2019 UTC (4 years, 6 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp, dhcpcd-8_1_6, dhcpcd-8_1_5, dhcpcd-8_1_4, dhcpcd-8_1_3, dhcpcd-8_1_2, dhcpcd-8_1_1, dhcpcd-8_1_0
Changes since 1.1.1.9: +32 -13 lines
Diff to previous 1.1.1.9 (colored)

Import dhcpcd-8.1.0 with the following changes:

 * Fix carrier status after a route socket overflow
 * Allow domain spaced options
 * DHCP: Allow not sending Force Renew Nonce or Reconf Accept
 * IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
 * ARP: Fix a typo and remove pragma (thus working with old gcc)
 * DHCP6: Fix a cosmetic issue with infinite leases
 * DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
 * Ignore some virtual interfaces such as Tap and Bridge by default
 * BPF: Move validation logic out of BPF and back into dhcpcd

Revision 1.1.1.9 / (download) - annotate - [select for diffs] (vendor branch), Thu Jul 25 08:53:59 2019 UTC (4 years, 8 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: netbsd-9-base, dhcpcd-8-0-6, dhcpcd-8-0-5, dhcpcd-8-0-4, dhcpcd-8-0-3, dhcpcd-8-0-2, dhcpcd-8-0-1
Branch point for: netbsd-9
Changes since 1.1.1.8: +9 -4 lines
Diff to previous 1.1.1.8 (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.1.1.8 / (download) - annotate - [select for diffs] (vendor branch), Wed Jul 24 09:54:54 2019 UTC (4 years, 8 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-8-0-0
Changes since 1.1.1.7: +185 -157 lines
Diff to previous 1.1.1.7 (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

Revision 1.1.1.7 / (download) - annotate - [select for diffs] (vendor branch), Fri Apr 26 14:32:28 2019 UTC (4 years, 11 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: phil-wifi-20190609, dhcpcd-7-2-3a, dhcpcd-7-2-2, dhcpcd-7-2-1
Changes since 1.1.1.6: +5 -3 lines
Diff to previous 1.1.1.6 (colored)

Import dhcpcd-7.2.1 with the following changes:
*  auth: Use consttime_memequal to avoid latency attack
*  DHCP: Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED
*  DHCPv6: Fix a potential buffer overflow reading NA/TA addresses

Revision 1.1.1.6 / (download) - annotate - [select for diffs] (vendor branch), Wed Apr 17 23:33:09 2019 UTC (5 years ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-7-2-0
Changes since 1.1.1.5: +2 -0 lines
Diff to previous 1.1.1.5 (colored)

Import dhcpcd-7.2.0 with the following changes:
  *  BSD: PF_LINK sockets now closed when no longer needed
  *  BSD: Fix detecting interface for scoped routes
  *  script: Allow "" to mean /dev/null
  *  script: Add static routers and routes to env
  *  DHCP: outbound interface is no longer dictated with IP_PKTINFO
  *  DHCP: BPF sockets now closed when no longer needed
  *  DHCPv6: Allow nooption dhcp6_unicast to work
  *  DHCPv6: Don't spam syslog if we always get the same error
  *  route: Log pid which deleted routes of interest

This release fixes PR bin/53705.

Revision 1.1.1.5 / (download) - annotate - [select for diffs] (vendor branch), Tue Jan 22 15:16:25 2019 UTC (5 years, 2 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: pgoyette-compat-20190127, dhcpcd-7-1-1, dhcpcd-7-1-0
Changes since 1.1.1.4: +81 -44 lines
Diff to previous 1.1.1.4 (colored)

Import dhcpcd-7.1.0 with the following changes:

* NetBSD: sets SO_RERROR on to detect receive socket overflow
* BSD: route improvements to avoid listening for own changes
* IP6: implement IP6 address sharing
* BSD: catch UP/DOWN events when interfaces does support media changes
* IPv4LL: remember old address when carrier is lost

Revision 1.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Mon Jan 1 11:48:52 2018 UTC (6 years, 3 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, dhcpcd-7-0-8, dhcpcd-7-0-7, dhcpcd-7-0-6, dhcpcd-7-0-5b, dhcpcd-7-0-5a, dhcpcd-7-0-5, dhcpcd-7-0-4, dhcpcd-7-0-3, dhcpcd-7-0-2, dhcpcd-7-0-1, dhcpcd-7-0-0
Branch point for: phil-wifi, pgoyette-compat, netbsd-7
Changes since 1.1.1.3: +1 -1 lines
Diff to previous 1.1.1.3 (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)
  *  ipv6: disable kernel RA if interface is active
  *  hooks: set protocol to link for link layer events

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 19 19:16:49 2017 UTC (6 years, 7 months ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-7-0-0-rc4, dhcpcd-7-0-0-rc3, dhcpcd-7-0-0-rc2
Changes since 1.1.1.2: +0 -1 lines
Diff to previous 1.1.1.2 (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
  *  dhcp: fix reporting of DNS encoded SIP servers
  *  dhcp6: fix unicast in non master mode

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Fri Apr 14 09:53:07 2017 UTC (7 years ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, dhcpcd-7-0-0-rc1, dhcpcd-7-0-0-beta3, bouyer-socketcan-base1
Branch point for: pgoyette-localcount, netbsd-8, bouyer-socketcan
Changes since 1.1.1.1: +12 -15 lines
Diff to previous 1.1.1.1 (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.
  *  support NetBSD's RO_MSGFILTER socket option to reduce avoid context
     switching for route(4) messages that don't interest us.
  *  Don't open sockets if just sending signals.
  *  HMAC-MD5 test's now check expectations in code rather than relying
     on visual confirmation.
  *  added eloop-bench to test performance of eloop with available
     polling mechanisms.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Mar 31 20:51:16 2017 UTC (7 years ago) by roy
Branch: roy, ROY, MAIN
CVS Tags: dhcpcd-7-0-0-beta2, dhcpcd-7-0-0-beta1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>