Go to file
roy a468f856ed Import dhcpcd-6.4.0 with the following changes:
*  Only fork when the RA has a RDNSS option AND a valid prefix OR no DHCPv6 instruction.
  *  Handle BSD per interface rtadv kernel flag.
  *  Add a reject route for the delegated prefix so that unassigned prefixes don't go back upstream.
  *  If not specified, Delegated Prefixes will get an automatic SLA of the interface index. If the biggest SLA and the assigned prefix fits into a /64 then dhcpcd creates a /64 prefix so that SLAAC works. If bigger than /64 is needed then dhcpcd creates one rounded upto the nearest multiple of 8. Unless a configured SLA of 0 is assigned, a reject route for the Delegated Prefix is installed to stop unassigned addresses trying to be resolved upstream. Addresses added from Delegated Prefixes now have a default address suffix of 1 instead of using a SLAAC style address.
  *  Don't spam timezone updates unless its actually changed.
  *  Support ND6_IFF_OVERRIDE_RTADV on BSD.
  *  Document why we don't send both FQDN and hostname options.
  *  Respect RFC4861 MAX_RTR_SOLICITATION_DELAY as specified in section 6.3.7.
  *  RFC2131 section 4.4.1 states the client SHOULD wait a random time between one and ten seconds to desynchronize the use of DHCP at startup. Instead we wait a random time between zero and one second to mirror the more modern IPv6RS and DHCPv6 standards unless overridden by defining RFC2131_STRICT.
  *  Always send a carrier as it's no longer encapsulated in the IPv4 stack. When stopping and not departed, run with the STOPPED reason but do not process it in hooks.
  *  Poll kernel neighbour reachability (SIOCGNBRINFO_IN6) for each router instead of sending and listening for Neighbour Soliciation/Advertisement packets. The kernel is privy to a lot more reachability information than userland is.
  *  Ensure that ND6_IFF_PERFORMNUD is set.
  *  controlgroup option changes group ownership of the control socket.
  *  Should use arc4random_uniform when wanting a randon number between 1 and N. Improve the compat arc4random function a little and re-stir on fork.
  *  -4 and -6 are now mutually exclusive and when running on a single interface per protocol pidfiles are created. This means that other control options suchs as -x and -n will require the -4 or -6 option as well.
  *  Implement Stable Private Addresses for SLAAC as per RFC7217. Enable this as default in dhcpcd.conf.
  *  Log error condition if a new or changed Router Advertisment to avoid spamming the log.
  *  Add an IPv6 link-local address before upping the interface if needed. Bring an interface up when we start it and not during discovery. As such, stop waiting on carrier for a second if we did.
  *  Add gateway option to enable the gateway or an interface/profile. Ensure the option and require options disable the nooption option - last wins.
  *  Restarting ntp/yp are not critical and their initialisation continues in the background as well so we may as well background the restart commands for faster dhcpcd performance.
2014-06-14 20:51:03 +00:00
bin remove the build support for GCC 4.1, and any hacks i found for it. 2014-06-13 01:17:45 +00:00
common update for the new function signatures of initstate/srandom 2014-06-12 20:59:46 +00:00
compat No need for LDFLAGS 2014-03-07 05:48:30 +00:00
crypto remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
dist/pf Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
distrib Add asysctl(3) and asysctlbyname(3) wrappers for the common idiom of 2014-06-13 15:45:05 +00:00
doc new tzcode 2014-06-14 17:50:34 +00:00
etc Print BUILDID near the top of /etc/release. 2014-06-14 12:26:26 +00:00
external Import dhcpcd-6.4.0 with the following changes: 2014-06-14 20:51:03 +00:00
extsrc
games remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
gnu remove the build support for GCC 4.1, and any hacks i found for it. 2014-06-13 01:17:45 +00:00
include rename to 60 2014-06-12 18:49:37 +00:00
lib remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
libexec Although the kernel handles non-NUL terminated interface names, it is better 2014-06-06 15:33:14 +00:00
regress eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
rescue Append -Os to DBG, not overwrite in case DBG has more than just -Ox from 2014-01-30 22:19:00 +00:00
sbin Remove reference to (no longer) fixed 4 mbyte kernel memory being reserved, 2014-06-07 10:03:44 +00:00
share PR/48902 - Nikolai Nifanov -- add XSI 2014-06-14 02:05:38 +00:00
sys Add missing siop_clearfifo() and some debugging output (-DDEBUG). 2014-06-14 20:50:12 +00:00
tests Update fmtcheck(3) test now that pointers and longs are differentiated. 2014-06-14 08:19:02 +00:00
tools remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
usr.bin GC X_NCHSTATS 2014-06-14 20:10:42 +00:00
usr.sbin Use asysctl. 2014-06-13 16:00:55 +00:00
x11 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
build.sh Print BUILDID near the beginning of build.sh. 2014-06-14 12:25:00 +00:00
BUILDING Regen from doc/BUILDING.mdoc;1.100: 2014-06-14 12:21:41 +00:00
Makefile remove the build support for GCC 4.1, and any hacks i found for it. 2014-06-13 01:17:45 +00:00
Makefile.inc
UPDATING Add note about the eARM flag day for C++. 2014-05-30 18:33:30 +00:00