]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Fri, 31 Jan 2014 15:00:58 +0000 (15:00 +0000)]
Remove used var
Roy Marples [Fri, 31 Jan 2014 14:43:08 +0000 (14:43 +0000)]
Support AFTR-Name, RFC6334.
Roy Marples [Fri, 31 Jan 2014 14:26:58 +0000 (14:26 +0000)]
Remove debug
Roy Marples [Fri, 31 Jan 2014 14:25:18 +0000 (14:25 +0000)]
Support RECONFIGURE DHCPv6 messages.
Roy Marples [Fri, 31 Jan 2014 12:45:55 +0000 (12:45 +0000)]
Changed in 2014
Roy Marples [Fri, 31 Jan 2014 12:43:20 +0000 (12:43 +0000)]
Provide a string for FORCERENEW
Roy Marples [Fri, 31 Jan 2014 12:41:30 +0000 (12:41 +0000)]
Force renew now works when we are in the informed state.
Roy Marples [Fri, 31 Jan 2014 12:26:39 +0000 (12:26 +0000)]
Implement Force Renew Nonce Capability option, RFC6704
Roy Marples [Fri, 31 Jan 2014 12:03:54 +0000 (12:03 +0000)]
As we need to actuall drain the kernel buffer, don't bother setting the receive buffer size
Roy Marples [Fri, 31 Jan 2014 11:47:27 +0000 (11:47 +0000)]
Implement support for RFC 3203, FORCERENEW message.
Roy Marples [Thu, 30 Jan 2014 14:20:24 +0000 (14:20 +0000)]
Improve authentication logging.
Roy Marples [Thu, 30 Jan 2014 13:27:49 +0000 (13:27 +0000)]
Warn on missing auth if we request it but do not require it.
Roy Marples [Thu, 30 Jan 2014 13:04:42 +0000 (13:04 +0000)]
Change to using a NTP time stamp for Replay Detection as that seems
to be the norm.
Roy Marples [Thu, 30 Jan 2014 08:25:11 +0000 (08:25 +0000)]
Send auth when all protocol options specified.
Roy Marples [Wed, 29 Jan 2014 19:46:44 +0000 (19:46 +0000)]
Don't mistakenly assume that a previously used token implies we should
encode the auth option.
Roy Marples [Wed, 29 Jan 2014 18:33:43 +0000 (18:33 +0000)]
If no status message given, supply a default.
Roy Marples [Wed, 29 Jan 2014 17:21:14 +0000 (17:21 +0000)]
If we aren't sending an authentication option, don't update it.
Roy Marples [Wed, 29 Jan 2014 14:16:31 +0000 (14:16 +0000)]
Fix compile
Roy Marples [Wed, 29 Jan 2014 14:05:58 +0000 (14:05 +0000)]
Add nodhcp and nodhcp6 directives.
Thanks to Sebastian Huber for the initial patch and testing.
Roy Marples [Mon, 27 Jan 2014 11:34:26 +0000 (11:34 +0000)]
Typo, thanks to Iain Hibbert.
Roy Marples [Sat, 25 Jan 2014 02:50:27 +0000 (02:50 +0000)]
Fix compile on NetBSD
Roy Marples [Sat, 25 Jan 2014 02:41:42 +0000 (02:41 +0000)]
Warn about missing auth
Roy Marples [Sat, 25 Jan 2014 02:31:45 +0000 (02:31 +0000)]
Fix monofile truncation.
Roy Marples [Sat, 25 Jan 2014 02:23:41 +0000 (02:23 +0000)]
Reply authentication every time we send a message as have updated
the elapsed time.
Roy Marples [Sat, 25 Jan 2014 01:35:53 +0000 (01:35 +0000)]
Implement RFC 1321 MD5 Message-Digest if not provided in libc.
Implement RFC 2104 HMAC Keyed Hashing.
Implement RFC 3118 Authentication for DHCP Messages
and RFC 3315 Authentication options.
Roy Marples [Fri, 24 Jan 2014 11:09:39 +0000 (11:09 +0000)]
Ensure that config.h or common.h is the first included local header.
Thanks to Sebastian Huber.
Roy Marples [Fri, 24 Jan 2014 11:00:38 +0000 (11:00 +0000)]
Add prefix to copyright constant.
Thanks to Sebastian Huber.
Roy Marples [Wed, 22 Jan 2014 10:39:30 +0000 (10:39 +0000)]
RFC 3927 2.5 only metions the senders IP, not the targets.
Clarify other comments and fix formatting a little.
Roy Marples [Tue, 21 Jan 2014 17:13:42 +0000 (17:13 +0000)]
Report error from correct function.
Roy Marples [Tue, 21 Jan 2014 16:30:39 +0000 (16:30 +0000)]
Fix compile
Roy Marples [Tue, 21 Jan 2014 16:27:47 +0000 (16:27 +0000)]
Move vimaster checks to if-bsd.c
Make a note to try and support similar on Linux.
Roy Marples [Tue, 21 Jan 2014 15:57:30 +0000 (15:57 +0000)]
Skip Virtual Interface Masters.
Currently this only applies to FreeBSD VAP masters as dhcpcd should
only work on wlandev created clones.
Roy Marples [Tue, 21 Jan 2014 13:40:33 +0000 (13:40 +0000)]
Clarify IPv4LL defence failure.
Roy Marples [Tue, 21 Jan 2014 09:58:55 +0000 (09:58 +0000)]
We're not extracting the address from proc, so convert our match address
to the same string format and compare instead.
Roy Marples [Mon, 20 Jan 2014 16:16:54 +0000 (16:16 +0000)]
Fix payload address calculation.
Thanks to Sebastian Huber.
Roy Marples [Mon, 20 Jan 2014 15:19:11 +0000 (15:19 +0000)]
Fix trim sed fallback
Roy Marples [Mon, 20 Jan 2014 15:01:53 +0000 (15:01 +0000)]
Check that we have ctrl_interface defined in wpa_supplicant.conf
and pass this parameter to wpa_cli(8).
If not set, warn about not interacting with wpa_supplicant(8).
Roy Marples [Mon, 20 Jan 2014 09:29:14 +0000 (09:29 +0000)]
Remove unused var
Roy Marples [Sun, 19 Jan 2014 22:35:52 +0000 (22:35 +0000)]
Detect IPv6 address flags at interface discovery on Linux.
Roy Marples [Sat, 18 Jan 2014 15:17:37 +0000 (15:17 +0000)]
Clarify dhcpcd needing to run on interfaces delegating to.
Show how to ignore a specific interface and disable automatic configuration
in the example.
Roy Marples [Sat, 18 Jan 2014 15:01:37 +0000 (15:01 +0000)]
Clarify which DHCP protocol vendor and user class options affect.
Roy Marples [Sat, 18 Jan 2014 14:49:29 +0000 (14:49 +0000)]
IAID must be used within an interface block.
IA_PD must be used within an interface block.
You cannot assign a delegated prefix to the requesting interface.
Roy Marples [Thu, 16 Jan 2014 09:29:42 +0000 (09:29 +0000)]
Fix an off-by-1 error decoding RFC3361.
We can use RFC3361 to decode the RFC3495 TSP sub option 3.
This means that RFC3495 is now fully supported.
Roy Marples [Wed, 15 Jan 2014 20:24:38 +0000 (20:24 +0000)]
Release dhcpcd-6.2.1
Roy Marples [Tue, 14 Jan 2014 22:50:36 +0000 (22:50 +0000)]
Changed in 2014.
Roy Marples [Tue, 14 Jan 2014 22:49:08 +0000 (22:49 +0000)]
Note NetBSD and OpenBSD problems with DHCPv6 stateful addressing.
Also note correct service options.
Roy Marples [Tue, 14 Jan 2014 21:53:24 +0000 (21:53 +0000)]
Changed in 2014.
Roy Marples [Tue, 14 Jan 2014 21:52:33 +0000 (21:52 +0000)]
On BSD, flush routes and prefixes only when we want to own them.
Roy Marples [Tue, 14 Jan 2014 14:42:00 +0000 (14:42 +0000)]
We changed these files in 2014
Roy Marples [Tue, 14 Jan 2014 14:40:36 +0000 (14:40 +0000)]
Mark more data as read only.
Thanks to Sebastian Huber.
Roy Marples [Tue, 14 Jan 2014 14:24:31 +0000 (14:24 +0000)]
bpf(4) says that we need to include sys/time.h as well.
Thanks to Sebastian Huber.
Roy Marples [Tue, 14 Jan 2014 12:23:36 +0000 (12:23 +0000)]
We changed these files in 2014
Roy Marples [Tue, 14 Jan 2014 11:45:35 +0000 (11:45 +0000)]
Free option definition recursively as we can embed in our encap.
Roy Marples [Tue, 14 Jan 2014 11:13:36 +0000 (11:13 +0000)]
Fix some possible NULL dereferences, CID
1153963 .
Roy Marples [Tue, 14 Jan 2014 10:56:21 +0000 (10:56 +0000)]
Fix CID:
1153964 and
1153966
Roy Marples [Tue, 14 Jan 2014 09:42:17 +0000 (09:42 +0000)]
Typo.
Thanks to Russell Bell.
Roy Marples [Wed, 8 Jan 2014 20:23:04 +0000 (20:23 +0000)]
Fix definition
Roy Marples [Wed, 8 Jan 2014 14:44:00 +0000 (14:44 +0000)]
Add support for RFC3495 DHCP option for CableLabs Clients.
Note that for the TSP suboption 3 we only support the FQDN encoding.
Roy Marples [Wed, 8 Jan 2014 11:34:51 +0000 (11:34 +0000)]
Modern init systems such as OpenRC and systemd can be installed on top
of the base system init.
However, the user can easily flip between them so we need to work out
which init system is in use at runtime rather than compile time.
Roy Marples [Sun, 5 Jan 2014 08:36:40 +0000 (08:36 +0000)]
Fix compile errors and warnings with IPv6 disabled.
Roy Marples [Fri, 3 Jan 2014 21:12:19 +0000 (21:12 +0000)]
Welcome to 2014! Relese dhcpcd-6.2.0.
Roy Marples [Fri, 3 Jan 2014 17:16:12 +0000 (17:16 +0000)]
Change configure to detect fossil for debugging.
Make dist now exports the current fossil checkin.
Remove old .git files.
Roy Marples [Fri, 13 Dec 2013 14:54:14 +0000 (14:54 +0000)]
Tweak unicast a little
Roy Marples [Fri, 13 Dec 2013 09:35:35 +0000 (09:35 +0000)]
Fix multiple arping options
Roy Marples [Fri, 13 Dec 2013 09:11:42 +0000 (09:11 +0000)]
Move some errors into debug.
Roy Marples [Thu, 12 Dec 2013 16:25:58 +0000 (16:25 +0000)]
Fix NAK backoff when a server NAKs a REQUEST after a DISCOVER.
Roy Marples [Thu, 12 Dec 2013 13:33:09 +0000 (13:33 +0000)]
Android ships buggy ICMP6 filter headers.
Supply our own until they fix their shit.
Roy Marples [Thu, 12 Dec 2013 10:24:14 +0000 (10:24 +0000)]
Fix NAK backoff
Roy Marples [Tue, 10 Dec 2013 13:15:19 +0000 (13:15 +0000)]
Fix sending of DHCPv6 FQDN when only hostname specified
Roy Marples [Tue, 10 Dec 2013 12:28:38 +0000 (12:28 +0000)]
Don't request a DHCPv6 lease when testing
Roy Marples [Fri, 6 Dec 2013 19:56:04 +0000 (19:56 +0000)]
Fix some memory issues.
Roy Marples [Fri, 6 Dec 2013 19:15:06 +0000 (19:15 +0000)]
Fix vendor options a litle
Roy Marples [Fri, 6 Dec 2013 17:47:53 +0000 (17:47 +0000)]
Add support for RFC3925 Vendor-Identifying Vendor Options
Roy Marples [Fri, 6 Dec 2013 17:47:52 +0000 (17:47 +0000)]
Now that we only use dhcpcd-definitions.conf, remove te static var union.
Roy Marples [Thu, 5 Dec 2013 00:40:03 +0000 (00:40 +0000)]
Fix a compile warning
Roy Marples [Wed, 4 Dec 2013 13:21:45 +0000 (13:21 +0000)]
Pedantic change
Roy Marples [Wed, 4 Dec 2013 10:48:22 +0000 (10:48 +0000)]
Fix some memory errors
Roy Marples [Tue, 3 Dec 2013 23:38:00 +0000 (23:38 +0000)]
Remove dead options
Roy Marples [Tue, 3 Dec 2013 23:33:13 +0000 (23:33 +0000)]
Fix brain damage
Roy Marples [Tue, 3 Dec 2013 23:10:21 +0000 (23:10 +0000)]
Fix a few memory leaks, DHCPv6 prefix definition and the -V option.
Roy Marples [Tue, 3 Dec 2013 17:55:40 +0000 (17:55 +0000)]
Fix encapsulated options.
IA_NA, IA_TA and IA_PD can now be expressed fully in our config :)
Roy Marples [Mon, 2 Dec 2013 20:45:19 +0000 (20:45 +0000)]
Fix a crash freeing our embedded config
Roy Marples [Mon, 2 Dec 2013 17:17:05 +0000 (17:17 +0000)]
Minor correction
Roy Marples [Mon, 2 Dec 2013 16:42:09 +0000 (16:42 +0000)]
Remove hard coded DHCP/DHCPv6 options and then to dhcpcd-definitions.conf
This file replaces dhcpcd-embedded.conf
This actually results in a slightly smaller binary than before and has the
added advantage that the option definitions are now all held within one file.
Roy Marples [Mon, 2 Dec 2013 14:34:04 +0000 (14:34 +0000)]
If an embedded or encapsulated option variable differs from the parent
variable, prefix it with the parent varaible and an underscore.
Document request, norequest and array.
Ignore string arrays.
Roy Marples [Sun, 1 Dec 2013 17:45:42 +0000 (17:45 +0000)]
Remove dup type check
Roy Marples [Sun, 1 Dec 2013 17:43:49 +0000 (17:43 +0000)]
Allow string and binhex types to have lengths.
This is useful when you embed two strings in the same option.
Roy Marples [Sat, 30 Nov 2013 09:43:39 +0000 (09:43 +0000)]
Fix a warning
Roy Marples [Fri, 29 Nov 2013 18:41:02 +0000 (18:41 +0000)]
Style
Roy Marples [Fri, 29 Nov 2013 18:38:38 +0000 (18:38 +0000)]
Use a different buffer for reading our embedded config
so we don't lose track of it when dealing with whitespace.
Roy Marples [Fri, 29 Nov 2013 18:38:25 +0000 (18:38 +0000)]
-g is more portable than -ggdb
Roy Marples [Fri, 29 Nov 2013 18:23:39 +0000 (18:23 +0000)]
Fix comment about termination correctness.
Roy Marples [Fri, 29 Nov 2013 17:38:44 +0000 (17:38 +0000)]
Remove whitespace between options
Roy Marples [Fri, 29 Nov 2013 17:10:10 +0000 (17:10 +0000)]
initial define lengths are calculated during the make phase
Roy Marples [Fri, 29 Nov 2013 17:09:37 +0000 (17:09 +0000)]
Trim whitespace between command and argument
Roy Marples [Fri, 29 Nov 2013 12:48:52 +0000 (12:48 +0000)]
I had no idea what I was smoking when I moved these to dhcp-common.
Move them back, mark them static and remove the unused.
Roy Marples [Fri, 29 Nov 2013 12:02:45 +0000 (12:02 +0000)]
get_option should not perform length validation based on the option number
Roy Marples [Fri, 29 Nov 2013 12:02:17 +0000 (12:02 +0000)]
Add type for rfc3442
Roy Marples [Fri, 29 Nov 2013 11:15:03 +0000 (11:15 +0000)]
Read the embedded config into global values rather than each time
per interface.
Add config toggles to build dhcpcd-embedded.conf into dhcpcd or
to read it at runtime. The build process will now build .c and .h
files based on dhcpcd-embedded.conf and provide defines to reduce
the number or re-allocs if it grows (ie has the full DHCP option list).
Roy Marples [Wed, 27 Nov 2013 21:35:45 +0000 (21:35 +0000)]
Check length before accessing memory to silence valgrind.