git: vendor/DHCPCD Import dhcpcd-9.0.0 with the following changes:

Roy Marples roy at crater.dragonflybsd.org
Thu Apr 2 09:27:42 PDT 2020


commit 6e63cc1f9bd88f540fc1d20551f8a802f663f025
Author: Roy Marples <roy at marples.name>
Date:   Thu Apr 2 15:14:14 2020 +0000

    Import dhcpcd-9.0.0 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
    
     * 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
    
     * 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
     * Leases are now dumped over the control socket - you get RA's now as well.
     * Better support for many IPv6 routers
     * RA: Deprecate stale addresses by setting pltime 0
     * DHCP6: Deprecate stale addresses by setting pltime 0

Summary of changes:
 contrib/dhcpcd/LICENSE                             |   2 +-
 contrib/dhcpcd/README.md                           |  10 +-
 contrib/dhcpcd/compat/pidfile.c                    |   2 +-
 contrib/dhcpcd/compat/strtoi.c                     |   4 +-
 contrib/dhcpcd/compat/strtou.c                     |   4 +-
 contrib/dhcpcd/hooks/20-resolv.conf                |   4 +-
 .../dhcpcd/hooks/{30-hostname => 30-hostname.in}   |  53 +-
 contrib/dhcpcd/hooks/50-ntp.conf                   |   2 +-
 contrib/dhcpcd/hooks/dhcpcd-run-hooks.8.in         |  15 +-
 contrib/dhcpcd/hooks/dhcpcd-run-hooks.in           |   2 +-
 contrib/dhcpcd/src/arp.c                           | 166 +++--
 contrib/dhcpcd/src/arp.h                           |  12 +-
 contrib/dhcpcd/src/auth.c                          |   2 +-
 contrib/dhcpcd/src/auth.h                          |   2 +-
 contrib/dhcpcd/src/bpf.c                           | 131 ++--
 contrib/dhcpcd/src/bpf.h                           |   4 +-
 contrib/dhcpcd/src/common.c                        |   5 +-
 contrib/dhcpcd/src/common.h                        |  71 +-
 contrib/dhcpcd/src/control.c                       |  57 +-
 contrib/dhcpcd/src/control.h                       |   5 +-
 contrib/dhcpcd/src/defs.h                          |  14 +-
 contrib/dhcpcd/src/dev.h                           |   2 +-
 contrib/dhcpcd/src/dhcp-common.c                   |   2 +-
 contrib/dhcpcd/src/dhcp-common.h                   |   5 +-
 contrib/dhcpcd/src/dhcp.c                          | 632 +++++++++--------
 contrib/dhcpcd/src/dhcp.h                          |  10 +-
 contrib/dhcpcd/src/dhcp6.c                         | 756 ++++++++++-----------
 contrib/dhcpcd/src/dhcp6.h                         |  27 +-
 contrib/dhcpcd/src/dhcpcd-embedded.c               |  12 +-
 contrib/dhcpcd/src/dhcpcd-embedded.h               |   2 +-
 contrib/dhcpcd/src/dhcpcd.8.in                     |  32 +-
 contrib/dhcpcd/src/dhcpcd.c                        | 651 ++++++++++++------
 contrib/dhcpcd/src/dhcpcd.conf.5.in                |  42 +-
 contrib/dhcpcd/src/dhcpcd.h                        |  28 +-
 contrib/dhcpcd/src/duid.c                          |  26 +-
 contrib/dhcpcd/src/duid.h                          |   6 +-
 contrib/dhcpcd/src/eloop.c                         | 333 ++++++---
 contrib/dhcpcd/src/eloop.h                         |  44 +-
 contrib/dhcpcd/src/if-bsd.c                        | 480 +++++++++----
 contrib/dhcpcd/src/if-options.c                    | 148 ++--
 contrib/dhcpcd/src/if-options.h                    |  12 +-
 contrib/dhcpcd/src/if.c                            | 137 +++-
 contrib/dhcpcd/src/if.h                            |  41 +-
 contrib/dhcpcd/src/ipv4.c                          |   8 +-
 contrib/dhcpcd/src/ipv4.h                          |   2 +-
 contrib/dhcpcd/src/ipv4ll.c                        |   6 +-
 contrib/dhcpcd/src/ipv4ll.h                        |   2 +-
 contrib/dhcpcd/src/ipv6.c                          | 181 +++--
 contrib/dhcpcd/src/ipv6.h                          |  14 +-
 contrib/dhcpcd/src/ipv6nd.c                        | 393 +++++++----
 contrib/dhcpcd/src/ipv6nd.h                        |  14 +-
 contrib/dhcpcd/src/logerr.c                        |  54 +-
 contrib/dhcpcd/src/logerr.h                        |  48 +-
 contrib/dhcpcd/src/privsep-bpf.c                   | 374 ++++++++++
 contrib/dhcpcd/src/{script.h => privsep-bpf.h}     |  30 +-
 contrib/dhcpcd/src/privsep-bsd.c                   | 123 ++++
 contrib/dhcpcd/src/privsep-inet.c                  | 622 +++++++++++++++++
 contrib/dhcpcd/src/{control.h => privsep-inet.h}   |  70 +-
 contrib/dhcpcd/src/privsep-root.c                  | 589 ++++++++++++++++
 contrib/dhcpcd/src/{control.h => privsep-root.h}   |  64 +-
 contrib/dhcpcd/src/privsep.c                       | 736 ++++++++++++++++++++
 contrib/dhcpcd/src/privsep.h                       | 171 +++++
 contrib/dhcpcd/src/route.c                         |  31 +-
 contrib/dhcpcd/src/route.h                         |   2 +-
 contrib/dhcpcd/src/sa.c                            |   2 +-
 contrib/dhcpcd/src/sa.h                            |   2 +-
 contrib/dhcpcd/src/script.c                        | 255 ++++---
 contrib/dhcpcd/src/script.h                        |   8 +-
 68 files changed, 5798 insertions(+), 1998 deletions(-)
 rename contrib/dhcpcd/hooks/{30-hostname => 30-hostname.in} (84%)
 create mode 100644 contrib/dhcpcd/src/privsep-bpf.c
 copy contrib/dhcpcd/src/{script.h => privsep-bpf.h} (57%)
 create mode 100644 contrib/dhcpcd/src/privsep-bsd.c
 create mode 100644 contrib/dhcpcd/src/privsep-inet.c
 copy contrib/dhcpcd/src/{control.h => privsep-inet.h} (56%)
 create mode 100644 contrib/dhcpcd/src/privsep-root.c
 copy contrib/dhcpcd/src/{control.h => privsep-root.h} (55%)
 create mode 100644 contrib/dhcpcd/src/privsep.c
 create mode 100644 contrib/dhcpcd/src/privsep.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e63cc1f9bd88f540fc1d20551f8a802f663f025


-- 
DragonFly BSD source repository


More information about the Commits mailing list