]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Mon, 14 Jul 2014 15:43:00 +0000 (15:43 +0000)]
Typos
Roy Marples [Mon, 14 Jul 2014 13:58:24 +0000 (13:58 +0000)]
Fix import
Roy Marples [Mon, 14 Jul 2014 13:43:33 +0000 (13:43 +0000)]
Release dhcpcd-6.4.2
Roy Marples [Mon, 14 Jul 2014 12:55:19 +0000 (12:55 +0000)]
Fix gcc build errors.
Roy Marples [Mon, 14 Jul 2014 11:30:15 +0000 (11:30 +0000)]
Release dhcpcd-6.4.1
Roy Marples [Sun, 13 Jul 2014 22:01:01 +0000 (22:01 +0000)]
Use __NetBSD_Version__ macro instead of __NetBSD_Prereq__
Roy Marples [Fri, 11 Jul 2014 13:24:29 +0000 (13:24 +0000)]
Reduce use of s6_addr
Roy Marples [Fri, 11 Jul 2014 10:13:52 +0000 (10:13 +0000)]
Use structures to better bescribe IA and PD options.
Roy Marples [Wed, 9 Jul 2014 10:51:20 +0000 (10:51 +0000)]
Ensure we have enough data for prefix exclude length in the option.
We don't request the excluded prefix itself, just what it is.
Ensure the excluded prefix is not applied to downstream interfaces.
Hopefully fixes [
ac7063e671 ].
Roy Marples [Wed, 9 Jul 2014 04:41:23 +0000 (04:41 +0000)]
Only create a pseudo interface for PD when we have other IA types as well.
Roy Marples [Wed, 9 Jul 2014 04:40:53 +0000 (04:40 +0000)]
Ensure iaid was previously set before testing equality.
Roy Marples [Tue, 8 Jul 2014 19:29:45 +0000 (19:29 +0000)]
Pseudo interfaces also have an address list, do loop through all of them.
Describe reject routes better.
Roy Marples [Tue, 8 Jul 2014 19:28:52 +0000 (19:28 +0000)]
Fix delegated prefix handling and improve DAD checking.
Roy Marples [Tue, 8 Jul 2014 19:25:21 +0000 (19:25 +0000)]
ifclass= separates psuedo interfaces to avoid option collision.
Roy Marples [Tue, 8 Jul 2014 08:41:08 +0000 (08:41 +0000)]
Typo
Roy Marples [Tue, 8 Jul 2014 07:56:39 +0000 (07:56 +0000)]
Handle truncated saved leases.
Fixes [
7704dc4ae0 ]
Roy Marples [Mon, 7 Jul 2014 18:10:18 +0000 (18:10 +0000)]
Fix a null reference
Roy Marples [Mon, 7 Jul 2014 17:45:36 +0000 (17:45 +0000)]
Remove forced error
Roy Marples [Mon, 7 Jul 2014 17:23:16 +0000 (17:23 +0000)]
Don't report DUID or IAID or the pseudo interface.
Roy Marples [Mon, 7 Jul 2014 16:42:30 +0000 (16:42 +0000)]
Fix some memory error with prior patch.
Roy Marples [Mon, 7 Jul 2014 14:44:06 +0000 (14:44 +0000)]
Typo
Roy Marples [Mon, 7 Jul 2014 14:41:18 +0000 (14:41 +0000)]
When requesting a IA_PD and another IA type, create a psuedo interface
to handle the IA_PD.
ia_pd_mix config option disables this and mixes IA_PD in the single session as
per draft-ietf-dhc-dhcpv6-stateful-issues-06.
Roy Marples [Mon, 7 Jul 2014 10:01:24 +0000 (10:01 +0000)]
There are no pd's in the config if we're not dealing with them.
Roy Marples [Mon, 7 Jul 2014 09:36:17 +0000 (09:36 +0000)]
Fix const
Roy Marples [Mon, 7 Jul 2014 09:21:35 +0000 (09:21 +0000)]
Fix Prefix Exclude encoding/decoding.
Roy Marples [Sat, 5 Jul 2014 19:47:22 +0000 (19:47 +0000)]
We should use NBBY rather than a magic 8.
Roy Marples [Sat, 5 Jul 2014 15:40:01 +0000 (15:40 +0000)]
Fix fallback test
Roy Marples [Fri, 4 Jul 2014 20:46:24 +0000 (20:46 +0000)]
Remove dead store.
Roy Marples [Fri, 4 Jul 2014 20:20:48 +0000 (20:20 +0000)]
Specify the Prefix Exclude option.
Roy Marples [Fri, 4 Jul 2014 19:44:15 +0000 (19:44 +0000)]
Support RFC6603 to fix [
ac7063e671 ].
Roy Marples [Fri, 4 Jul 2014 11:53:56 +0000 (11:53 +0000)]
Add --pfxdlgonly and --nopfxdlg options to spawn separate dhcpcd instances
to allow for RFC conformance when you need to configure a Prefix Delegation
and a Normal Address for DHCPv6 on the same interface.
Roy Marples [Thu, 3 Jul 2014 23:11:00 +0000 (23:11 +0000)]
Print user defined options via -V
Roy Marples [Thu, 3 Jul 2014 14:23:32 +0000 (14:23 +0000)]
Accept \n as end of command on the control interface.
Roy Marples [Thu, 3 Jul 2014 10:07:35 +0000 (10:07 +0000)]
Fix a potential segfault when reloading configurations.
Thanks to Eelco Dolstra for the patch.
Roy Marples [Thu, 3 Jul 2014 09:47:42 +0000 (09:47 +0000)]
Fix dumping DHCPv6 leases. This broke when we ignored IAIDs we didn't ask for.
Roy Marples [Wed, 2 Jul 2014 18:59:19 +0000 (18:59 +0000)]
Fix defining new options in dhcpcd.conf and requesting them.
Roy Marples [Wed, 2 Jul 2014 13:24:55 +0000 (13:24 +0000)]
Fix compile.
Roy Marples [Wed, 2 Jul 2014 13:15:18 +0000 (13:15 +0000)]
Stop restoring kernel flags to their state before dhcpcd ran.
As multiple dhcpcd daemons could be in use to facilitate separate sessions
per DHCPv6 IA resetting them at exist could break the others.
Roy Marples [Wed, 2 Jul 2014 12:57:50 +0000 (12:57 +0000)]
Ref RFC7217
Roy Marples [Wed, 2 Jul 2014 11:42:08 +0000 (11:42 +0000)]
Fix some more compiler errors
Roy Marples [Wed, 2 Jul 2014 11:20:04 +0000 (11:20 +0000)]
Fix a compile error
Roy Marples [Wed, 2 Jul 2014 11:10:46 +0000 (11:10 +0000)]
Remove dead store.
Roy Marples [Wed, 2 Jul 2014 10:57:18 +0000 (10:57 +0000)]
Minor optimisation
Roy Marples [Wed, 2 Jul 2014 10:51:31 +0000 (10:51 +0000)]
No point in delaying a static configuration
Roy Marples [Wed, 2 Jul 2014 08:23:28 +0000 (08:23 +0000)]
Add a comment to describe why we deny the ability to assign prefixes
to the requesting interface [
ac7063e671 ].
Roy Marples [Tue, 1 Jul 2014 21:14:59 +0000 (21:14 +0000)]
Set addr to zero if unset.
Roy Marples [Tue, 1 Jul 2014 21:06:07 +0000 (21:06 +0000)]
Fix link handling where kernel reported flags in LINK_UP may not be valid
when we actually process them.
Roy Marples [Tue, 1 Jul 2014 20:34:19 +0000 (20:34 +0000)]
Support http://datatracker.ietf.org/doc/draft-ietf-dhc-dhcpv6-stateful-issues.
It's not an RFC yet, but it seems it's needed for Prefix Delegation to work
on ComCast where a IA_NA is required as well.
Roy Marples [Mon, 30 Jun 2014 15:55:28 +0000 (15:55 +0000)]
Start the correct interface reference for added devices.
Roy Marples [Mon, 30 Jun 2014 15:43:58 +0000 (15:43 +0000)]
Improve startup with regards to carrier checking and adding a link-local
IPv6 address.
Roy Marples [Mon, 30 Jun 2014 12:08:00 +0000 (12:08 +0000)]
Don't log errors about restoring RA for departed interfaces.
Roy Marples [Mon, 30 Jun 2014 11:28:14 +0000 (11:28 +0000)]
Add debugging messages for interface arrival/departure.
Only init state and run preinit for new interfaces.
Roy Marples [Mon, 30 Jun 2014 11:08:19 +0000 (11:08 +0000)]
Fix compile issue.
Roy Marples [Mon, 30 Jun 2014 09:44:07 +0000 (09:44 +0000)]
Revert [
26bc10be24 ] as some compile can't output to /dev/null.
Roy Marples [Sun, 29 Jun 2014 02:58:19 +0000 (02:58 +0000)]
Fix gcc unused value error
Roy Marples [Sun, 22 Jun 2014 13:05:05 +0000 (13:05 +0000)]
Add the ability to dump DHCPv6 leases.
Control DHCPv4 vs DHCPv6 dumping via the family option.
Roy Marples [Sun, 22 Jun 2014 10:06:53 +0000 (10:06 +0000)]
Simplfy configure CC test. Thanks to Thomas De Schampheleire.
Roy Marples [Sat, 21 Jun 2014 15:46:31 +0000 (15:46 +0000)]
Test that the CC command works and makes an exectuable rather
than using the type command.
Thanks to Thomas De Schampheleire.
Roy Marples [Sat, 21 Jun 2014 12:45:55 +0000 (12:45 +0000)]
You can't request a prefix length with for a normal address.
You can't request a specific temporary address.
Roy Marples [Sat, 21 Jun 2014 11:42:36 +0000 (11:42 +0000)]
Allow the request of a DHCPv6 address or prefix, a prefix length must be specified.
Roy Marples [Fri, 20 Jun 2014 22:32:44 +0000 (22:32 +0000)]
Skip arpping directives if we have a profile but not parsing one.
Roy Marples [Wed, 18 Jun 2014 21:12:39 +0000 (21:12 +0000)]
If just given a domain and no search list, make the search list the domain.
This allows correct formatting when building resolv.conf.
Roy Marples [Mon, 16 Jun 2014 09:57:55 +0000 (09:57 +0000)]
FreeBSD doesn't like %R, go back to Li
Roy Marples [Sat, 14 Jun 2014 21:06:25 +0000 (21:06 +0000)]
Fix import
Roy Marples [Sat, 14 Jun 2014 20:13:12 +0000 (20:13 +0000)]
Release dhcpcd-6.4.0
Roy Marples [Sat, 7 Jun 2014 21:05:19 +0000 (21:05 +0000)]
Fix compile warning
Roy Marples [Sat, 7 Jun 2014 21:02:29 +0000 (21:02 +0000)]
Fix a potential garbage jump
Roy Marples [Fri, 6 Jun 2014 20:15:33 +0000 (20:15 +0000)]
Remove old options no longer used
Roy Marples [Fri, 6 Jun 2014 20:08:07 +0000 (20:08 +0000)]
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.
Roy Marples [Fri, 6 Jun 2014 19:22:54 +0000 (19:22 +0000)]
No argument for gateway
Roy Marples [Fri, 6 Jun 2014 19:19:29 +0000 (19:19 +0000)]
Add gateway option to enable the gateway or an interface/profile.
Ensure the option and require options disable the nooption option - last wins.
Roy Marples [Fri, 6 Jun 2014 17:31:55 +0000 (17:31 +0000)]
Just check for an revent, the handler will deal with it correctly.
Roy Marples [Thu, 5 Jun 2014 20:23:19 +0000 (20:23 +0000)]
Default to private stable addresses via dhcpcd.conf instead of the binary
so that upgraders aren't adversely affected.
Roy Marples [Thu, 5 Jun 2014 17:42:21 +0000 (17:42 +0000)]
Allow the use of libmd in static or /usr builds
Roy Marples [Thu, 5 Jun 2014 14:24:21 +0000 (14:24 +0000)]
No need for this file
Roy Marples [Thu, 5 Jun 2014 14:21:27 +0000 (14:21 +0000)]
Remove test files
Roy Marples [Thu, 5 Jun 2014 14:16:33 +0000 (14:16 +0000)]
Fix compile on FreeBSD
Roy Marples [Thu, 5 Jun 2014 13:56:16 +0000 (13:56 +0000)]
Fix be64enc test on NetBSD.
Roy Marples [Thu, 5 Jun 2014 13:54:38 +0000 (13:54 +0000)]
Fix configure
Roy Marples [Thu, 5 Jun 2014 13:53:20 +0000 (13:53 +0000)]
be32enc is missing on OpenBSD, so provide a configure test.
Fix compile on OpenBSD.
Roy Marples [Thu, 5 Jun 2014 13:03:49 +0000 (13:03 +0000)]
Ensure we init before forking, but run the preinit scripts afterwards
Roy Marples [Thu, 5 Jun 2014 12:33:18 +0000 (12:33 +0000)]
If we can turn off IPv6 auto link-addr in the kernel, lets do so
to ensure we have the best chance of generating our private link-addr.
Roy Marples [Thu, 5 Jun 2014 11:38:04 +0000 (11:38 +0000)]
Ensure OWN is set by SLAAC private before initing.
Add a link-local address before running any PREINIT script
as well as at start incase a 3rd party removed it.
Move kernel tweaks to RA to DEBUG messages.
Roy Marples [Wed, 4 Jun 2014 23:54:15 +0000 (23:54 +0000)]
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.
Roy Marples [Wed, 4 Jun 2014 23:34:39 +0000 (23:34 +0000)]
Don't set local-link addresses as no prefix route.
Disable autoconf if we're owning IPv6.
Roy Marples [Wed, 4 Jun 2014 20:27:40 +0000 (20:27 +0000)]
Default SLAAC to use RFC7271 addresses.
Create an IPv6 link-local address if non exists at startup using the
configured SLAAC method.
Roy Marples [Tue, 3 Jun 2014 21:20:49 +0000 (21:20 +0000)]
Clarify comments.
Roy Marples [Tue, 3 Jun 2014 21:09:42 +0000 (21:09 +0000)]
Fix compile on Linux
Roy Marples [Tue, 3 Jun 2014 20:52:42 +0000 (20:52 +0000)]
Check against reserved IPv6 addresses.
Start using be*enc BSD functions and supply own if missing in common.h.
Roy Marples [Tue, 3 Jun 2014 14:03:14 +0000 (14:03 +0000)]
Warn when SO_REUSEPORT fails instead of bailing to accomodate dodgy Linux headers.
Roy Marples [Tue, 3 Jun 2014 12:49:48 +0000 (12:49 +0000)]
Only one place should decide how netiface and netid are formed
for generating stable private addresses.
Ensure that dhcpcd.secret is readable only by dhcpcd.
Roy Marples [Tue, 3 Jun 2014 09:32:01 +0000 (09:32 +0000)]
Don't export empty RA options
Roy Marples [Mon, 2 Jun 2014 23:59:05 +0000 (23:59 +0000)]
Log error condition if a new or changed Router Advertisment to avoid
spamming the log.
Roy Marples [Mon, 2 Jun 2014 23:42:52 +0000 (23:42 +0000)]
Revert prior patch and just continue instead of logging more errors. Same effect.
Roy Marples [Mon, 2 Jun 2014 23:30:50 +0000 (23:30 +0000)]
Log each malloc failure because we log individual failures so we don't see
any Success error messages on an invalid condition.
Roy Marples [Mon, 2 Jun 2014 17:10:13 +0000 (17:10 +0000)]
Fix compile on Linux
Roy Marples [Mon, 2 Jun 2014 16:31:37 +0000 (16:31 +0000)]
Use SHA256Init on OpenBSD .... grrr
Roy Marples [Mon, 2 Jun 2014 15:00:24 +0000 (15:00 +0000)]
Fix compile on FreeBSD
Roy Marples [Mon, 2 Jun 2014 14:48:33 +0000 (14:48 +0000)]
Implement Stable Private Addresses for SLAAC as per RFC7217.
Add a SHA256 implementation by Collin Percival if one in libc/libmd not found.
Roy Marples [Fri, 30 May 2014 22:08:30 +0000 (22:08 +0000)]
Wups, not ready for this code yet.