History log of /netbsd-current/external/bsd/dhcpcd/dist/src/script.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.17 19-Oct-2023 roy

Sync with dhcpcd-10.0.4


# 1.16 19-Jul-2023 roy

Sync with dhcpcd-10.0.2


# 1.15 21-Apr-2023 roy

Merge changes


Revision tags: netbsd-10-base
# 1.14 22-Oct-2021 roy

Sync update


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.13 28-Dec-2020 roy

Sync with dhcpcd-9.4.0


# 1.12 20-Nov-2020 roy

Sync with dhcpcd-9.3.3


# 1.11 12-Oct-2020 roy

Sync withn dhcpcd-9.3.1


# 1.10 05-Oct-2020 roy

Sync with dhcpcd-9.3.0


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.16 19-Jul-2023 roy

Sync with dhcpcd-10.0.2


# 1.15 21-Apr-2023 roy

Merge changes


Revision tags: netbsd-10-base
# 1.14 22-Oct-2021 roy

Sync update


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.13 28-Dec-2020 roy

Sync with dhcpcd-9.4.0


# 1.12 20-Nov-2020 roy

Sync with dhcpcd-9.3.3


# 1.11 12-Oct-2020 roy

Sync withn dhcpcd-9.3.1


# 1.10 05-Oct-2020 roy

Sync with dhcpcd-9.3.0


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.15 21-Apr-2023 roy

Merge changes


Revision tags: netbsd-10-base
# 1.14 22-Oct-2021 roy

Sync update


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.13 28-Dec-2020 roy

Sync with dhcpcd-9.4.0


# 1.12 20-Nov-2020 roy

Sync with dhcpcd-9.3.3


# 1.11 12-Oct-2020 roy

Sync withn dhcpcd-9.3.1


# 1.10 05-Oct-2020 roy

Sync with dhcpcd-9.3.0


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.14 22-Oct-2021 roy

Sync update


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.13 28-Dec-2020 roy

Sync with dhcpcd-9.4.0


# 1.12 20-Nov-2020 roy

Sync with dhcpcd-9.3.3


# 1.11 12-Oct-2020 roy

Sync withn dhcpcd-9.3.1


# 1.10 05-Oct-2020 roy

Sync with dhcpcd-9.3.0


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.13 28-Dec-2020 roy

Sync with dhcpcd-9.4.0


# 1.12 20-Nov-2020 roy

Sync with dhcpcd-9.3.3


# 1.11 12-Oct-2020 roy

Sync withn dhcpcd-9.3.1


# 1.10 05-Oct-2020 roy

Sync with dhcpcd-9.3.0


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.12 20-Nov-2020 roy

Sync with dhcpcd-9.3.3


# 1.11 12-Oct-2020 roy

Sync withn dhcpcd-9.3.1


# 1.10 05-Oct-2020 roy

Sync with dhcpcd-9.3.0


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.11 12-Oct-2020 roy

Sync withn dhcpcd-9.3.1


# 1.10 05-Oct-2020 roy

Sync with dhcpcd-9.3.0


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.10 05-Oct-2020 roy

Sync with dhcpcd-9.3.0


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.9 02-Jul-2020 roy

Sync


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.8 15-Jun-2020 roy

Sync


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.7 04-Jun-2020 roy

Sync


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.6 31-May-2020 roy

Sync


Revision tags: phil-wifi-20200421
# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.5 13-Apr-2020 roy

Sync


Revision tags: phil-wifi-20200411 phil-wifi-20200406
# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


Revision tags: is-mlppp-base
# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.4 05-Apr-2020 christos

Don't block signals when running hooks. Here ctx->sigset == defsigs ==
0x60006003, which blocks SIGTERM by default, so running something simple
from a hook, like /etc/rc.d/racoon restart does not work. The script
is then stuck waiting for the daemon to die, which it won't since it will
never receive the signal, and the hook never terminates.


# 1.3 02-Apr-2020 roy

Sync


# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.3 02-Apr-2020 roy

Sync


# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


# 1.2 26-Jan-2020 christos

prevent coredump when state == NULL


# 1.1 31-Mar-2017 roy

branches: 1.1.1;
Initial revision


Revision tags: dhcpcd-8_1_2
# 1.1.1.12 13-Nov-2019 roy

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* 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
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing


Revision tags: dhcpcd-8_1_1 dhcpcd-8_1_0 dhcpcd-8-0-6 dhcpcd-8-0-5 dhcpcd-8-0-4 dhcpcd-8-0-3
# 1.1.1.11 21-Aug-2019 roy

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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

dhcpcd-ui now correctly reports SSD association and all the addresses obtained (regression from dhcpcd-7)


Revision tags: netbsd-9-base dhcpcd-8-0-2
# 1.1.1.10 30-Jul-2019 roy

branches: 1.1.1.10.2;
Import dhcpcd-8.0.2 with the following changes:

* NetBSD: Can be build without ARP support but listen to kernel DaD
* ND6: Removed NA support from SMALL builds
* DHCP: Avoid duplicate read of UDP socket when BPF is also open
* IP: Avoid adding address if already exists on OS other than Linux
* route: Fixed a NULL de-reference error on static routes
* DHCP6: Move to REQUEST if any IA has no-binding in REWNEW/REBIND
* IP: Accept packets with IP header options


Revision tags: dhcpcd-8-0-1
# 1.1.1.9 25-Jul-2019 roy

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 tags: dhcpcd-8-0-0
# 1.1.1.8 24-Jul-2019 roy

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 tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2 dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.7 17-Apr-2019 roy

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 tags: dhcpcd-7-1-1
# 1.1.1.6 07-Feb-2019 roy

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


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.5 22-Jan-2019 roy

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 tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8 pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3 pgoyette-compat-0330 dhcpcd-7-0-2 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1 dhcpcd-7-0-0
# 1.1.1.4 01-Jan-2018 roy

branches: 1.1.1.4.2; 1.1.1.4.4; 1.1.1.4.6;
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 tags: dhcpcd-7-0-0-rc4
# 1.1.1.3 06-Dec-2017 roy

Import dhcpcd-7.0.0-rc4 with the following changes:
* Don't flush prefix routes/routers if kernel does not support RA
* 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


Revision tags: matt-nb8-mediatek-base dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8;
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 tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

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


Revision tags: dhcpcd-8-0-3
# 1.1.1.11 21-Aug-2019 roy

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: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners

dhcpcd-ui now correctly reports SSD association and all the addresses obtained (regression from dhcpcd-7)


Revision tags: netbsd-9-base dhcpcd-8-0-2
# 1.1.1.10 30-Jul-2019 roy

Import dhcpcd-8.0.2 with the following changes:

* NetBSD: Can be build without ARP support but listen to kernel DaD
* ND6: Removed NA support from SMALL builds
* DHCP: Avoid duplicate read of UDP socket when BPF is also open
* IP: Avoid adding address if already exists on OS other than Linux
* route: Fixed a NULL de-reference error on static routes
* DHCP6: Move to REQUEST if any IA has no-binding in REWNEW/REBIND
* IP: Accept packets with IP header options


Revision tags: dhcpcd-8-0-1
# 1.1.1.9 25-Jul-2019 roy

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 tags: dhcpcd-8-0-0
# 1.1.1.8 24-Jul-2019 roy

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 tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2 dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.7 17-Apr-2019 roy

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 tags: dhcpcd-7-1-1
# 1.1.1.6 07-Feb-2019 roy

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


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.5 22-Jan-2019 roy

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 tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8 pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3 pgoyette-compat-0330 dhcpcd-7-0-2 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1 dhcpcd-7-0-0
# 1.1.1.4 01-Jan-2018 roy

branches: 1.1.1.4.2; 1.1.1.4.4; 1.1.1.4.6;
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 tags: dhcpcd-7-0-0-rc4
# 1.1.1.3 06-Dec-2017 roy

Import dhcpcd-7.0.0-rc4 with the following changes:
* Don't flush prefix routes/routers if kernel does not support RA
* 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


Revision tags: matt-nb8-mediatek-base dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8;
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 tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

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


Revision tags: dhcpcd-8-0-2
# 1.1.1.10 30-Jul-2019 roy

Import dhcpcd-8.0.2 with the following changes:

* NetBSD: Can be build without ARP support but listen to kernel DaD
* ND6: Removed NA support from SMALL builds
* DHCP: Avoid duplicate read of UDP socket when BPF is also open
* IP: Avoid adding address if already exists on OS other than Linux
* route: Fixed a NULL de-reference error on static routes
* DHCP6: Move to REQUEST if any IA has no-binding in REWNEW/REBIND
* IP: Accept packets with IP header options


Revision tags: dhcpcd-8-0-1
# 1.1.1.9 25-Jul-2019 roy

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 tags: dhcpcd-8-0-0
# 1.1.1.8 24-Jul-2019 roy

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 tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2 dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.7 17-Apr-2019 roy

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 tags: dhcpcd-7-1-1
# 1.1.1.6 07-Feb-2019 roy

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


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.5 22-Jan-2019 roy

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 tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8 pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3 pgoyette-compat-0330 dhcpcd-7-0-2 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1 dhcpcd-7-0-0
# 1.1.1.4 01-Jan-2018 roy

branches: 1.1.1.4.2; 1.1.1.4.4; 1.1.1.4.6;
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 tags: dhcpcd-7-0-0-rc4
# 1.1.1.3 06-Dec-2017 roy

Import dhcpcd-7.0.0-rc4 with the following changes:
* Don't flush prefix routes/routers if kernel does not support RA
* 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


Revision tags: matt-nb8-mediatek-base dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8;
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 tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

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


Revision tags: dhcpcd-8-0-1
# 1.1.1.9 25-Jul-2019 roy

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 tags: dhcpcd-8-0-0
# 1.1.1.8 24-Jul-2019 roy

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 tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2 dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.7 17-Apr-2019 roy

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 tags: dhcpcd-7-1-1
# 1.1.1.6 07-Feb-2019 roy

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


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.5 22-Jan-2019 roy

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 tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8 pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3 pgoyette-compat-0330 dhcpcd-7-0-2 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1 dhcpcd-7-0-0
# 1.1.1.4 01-Jan-2018 roy

branches: 1.1.1.4.2; 1.1.1.4.4; 1.1.1.4.6;
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 tags: dhcpcd-7-0-0-rc4
# 1.1.1.3 06-Dec-2017 roy

Import dhcpcd-7.0.0-rc4 with the following changes:
* Don't flush prefix routes/routers if kernel does not support RA
* 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


Revision tags: matt-nb8-mediatek-base dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8;
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 tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

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


Revision tags: dhcpcd-8-0-0
# 1.1.1.8 24-Jul-2019 roy

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 tags: dhcpcd-7-2-3a phil-wifi-20190609 dhcpcd-7-2-2 dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.7 17-Apr-2019 roy

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 tags: dhcpcd-7-1-1
# 1.1.1.6 07-Feb-2019 roy

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


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.5 22-Jan-2019 roy

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 tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8 pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3 pgoyette-compat-0330 dhcpcd-7-0-2 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1 dhcpcd-7-0-0
# 1.1.1.4 01-Jan-2018 roy

branches: 1.1.1.4.2; 1.1.1.4.4; 1.1.1.4.6;
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 tags: dhcpcd-7-0-0-rc4
# 1.1.1.3 06-Dec-2017 roy

Import dhcpcd-7.0.0-rc4 with the following changes:
* Don't flush prefix routes/routers if kernel does not support RA
* 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


Revision tags: matt-nb8-mediatek-base dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8;
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 tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

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


Revision tags: dhcpcd-7-2-1 dhcpcd-7-2-0
# 1.1.1.7 17-Apr-2019 roy

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 tags: dhcpcd-7-1-1
# 1.1.1.6 07-Feb-2019 roy

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


Revision tags: pgoyette-compat-20190127 dhcpcd-7-1-0
# 1.1.1.5 22-Jan-2019 roy

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 tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 dhcpcd-7-0-8 pgoyette-compat-0728 dhcpcd-7-0-7 phil-wifi-base pgoyette-compat-0625 dhcpcd-7-0-6 dhcpcd-7-0-5b dhcpcd-7-0-5a dhcpcd-7-0-5 pgoyette-compat-0521 dhcpcd-7-0-4 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 dhcpcd-7-0-3 pgoyette-compat-0330 dhcpcd-7-0-2 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base dhcpcd-7-0-1 dhcpcd-7-0-0
# 1.1.1.4 01-Jan-2018 roy

branches: 1.1.1.4.2; 1.1.1.4.6;
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 tags: dhcpcd-7-0-0-rc4
# 1.1.1.3 06-Dec-2017 roy

Import dhcpcd-7.0.0-rc4 with the following changes:
* Don't flush prefix routes/routers if kernel does not support RA
* 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


Revision tags: matt-nb8-mediatek-base dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8;
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 tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

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


Revision tags: dhcpcd-7-0-0
# 1.1.1.4 01-Jan-2018 roy

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 tags: dhcpcd-7-0-0-rc4
# 1.1.1.3 06-Dec-2017 roy

Import dhcpcd-7.0.0-rc4 with the following changes:
* Don't flush prefix routes/routers if kernel does not support RA
* 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


Revision tags: matt-nb8-mediatek-base dhcpcd-7-0-0-rc3 dhcpcd-7-0-0-rc2 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 dhcpcd-7-0-0-rc1 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8;
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 tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

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


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 dhcpcd-7-0-0-beta3
# 1.1.1.2 14-Apr-2017 roy

branches: 1.1.1.2.4;
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 tags: dhcpcd-7-0-0-beta2 dhcpcd-7-0-0-beta1
# 1.1.1.1 31-Mar-2017 roy

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