]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Thu, 27 Nov 2008 16:17:24 +0000 (16:17 +0000)]
Backport adding the src pref address from trunk.
Roy Marples [Thu, 27 Nov 2008 10:37:48 +0000 (10:37 +0000)]
Describe the blacklist option.
Roy Marples [Thu, 27 Nov 2008 09:46:28 +0000 (09:46 +0000)]
If an interface link fd flaps, don't indiscriminately reset the timeout timer. Thanks to Jean Wolter for tracking it down.
Roy Marples [Thu, 27 Nov 2008 09:45:31 +0000 (09:45 +0000)]
Fix warning of monotonic clock existence.
Roy Marples [Tue, 25 Nov 2008 20:59:29 +0000 (20:59 +0000)]
Release 4.0.6
Roy Marples [Tue, 25 Nov 2008 13:12:29 +0000 (13:12 +0000)]
Fix adding of host routes.
Roy Marples [Tue, 25 Nov 2008 12:57:56 +0000 (12:57 +0000)]
CSR should come before other route options according to RFC 3442.
Roy Marples [Tue, 25 Nov 2008 11:37:55 +0000 (11:37 +0000)]
Backport route code from trunk so we correctly handle adding routes via local link.
Roy Marples [Fri, 21 Nov 2008 20:00:26 +0000 (20:00 +0000)]
Remove the S option from the command line description, #121
Roy Marples [Fri, 21 Nov 2008 12:31:50 +0000 (12:31 +0000)]
Release 4.0.5
Roy Marples [Fri, 21 Nov 2008 08:05:55 +0000 (08:05 +0000)]
Backport r1074 to dhcpcd-4.0 which stops sending a ClientID by default. If CMDLINE_COMPAT is enabled then we keep the prior behaviour.
Roy Marples [Fri, 14 Nov 2008 19:18:57 +0000 (19:18 +0000)]
NetBSD sh needs eval here.
Roy Marples [Tue, 11 Nov 2008 09:29:54 +0000 (09:29 +0000)]
Don't restart ntpd if it's not already running.
Roy Marples [Tue, 4 Nov 2008 10:15:08 +0000 (10:15 +0000)]
Release 4.0.4
Roy Marples [Tue, 4 Nov 2008 10:04:40 +0000 (10:04 +0000)]
Trim trailing NULLs from string options, #120.
Roy Marples [Wed, 29 Oct 2008 12:57:08 +0000 (12:57 +0000)]
Release dhcpcd-4.0.3
Roy Marples [Tue, 28 Oct 2008 09:28:05 +0000 (09:28 +0000)]
Re-create the old .info file for applications that parse it.
Roy Marples [Tue, 28 Oct 2008 09:26:42 +0000 (09:26 +0000)]
Wait correctly after a DECLINE and ensure we send the IP we're declining and ServerID that issued it.
Roy Marples [Tue, 28 Oct 2008 09:25:26 +0000 (09:25 +0000)]
Explain why we decline the address in a message.
Roy Marples [Mon, 27 Oct 2008 12:41:04 +0000 (12:41 +0000)]
Allow ntp.conf location to be tunable, #119
Roy Marples [Wed, 22 Oct 2008 08:29:53 +0000 (08:29 +0000)]
Update change log location
Roy Marples [Fri, 17 Oct 2008 21:30:41 +0000 (21:30 +0000)]
We should send the IP address we decline and the server ID for release.
Roy Marples [Tue, 7 Oct 2008 20:02:44 +0000 (20:02 +0000)]
Update bug page.
Roy Marples [Mon, 6 Oct 2008 07:30:17 +0000 (07:30 +0000)]
Simplify the logic of what to put in the message, and ensure that the MTU size is in the DISCOVER message.
Roy Marples [Wed, 1 Oct 2008 20:32:07 +0000 (20:32 +0000)]
Release 4.0.2
Roy Marples [Wed, 1 Oct 2008 18:38:37 +0000 (18:38 +0000)]
Really fix Gentoo #239098.
Roy Marples [Wed, 1 Oct 2008 10:43:38 +0000 (10:43 +0000)]
Fix compat options, Gentoo #239098.
Roy Marples [Fri, 26 Sep 2008 09:13:44 +0000 (09:13 +0000)]
Pull the one patch to the dhcpcd-4.0 branch from git, fixing lastleast option.
Roy Marples [Fri, 26 Sep 2008 07:26:50 +0000 (07:26 +0000)]
Fix -I '' to not send a client ID instead of a blank one, #116.
Roy Marples [Thu, 25 Sep 2008 22:03:05 +0000 (22:03 +0000)]
Punt
Roy Marples [Thu, 25 Sep 2008 22:02:48 +0000 (22:02 +0000)]
Punt
Roy Marples [Thu, 25 Sep 2008 22:02:04 +0000 (22:02 +0000)]
Update for svn.
Roy Marples [Thu, 25 Sep 2008 21:54:36 +0000 (21:54 +0000)]
Branch dhcpcd-4.0
Roy Marples [Tue, 26 Aug 2008 13:27:07 +0000 (13:27 +0000)]
Style
Roy Marples [Mon, 25 Aug 2008 07:34:10 +0000 (07:34 +0000)]
Fix CMDLINE_COMPAT.
Roy Marples [Sun, 24 Aug 2008 11:56:30 +0000 (11:56 +0000)]
Release dhcpcd-4.0.0 :D
Roy Marples [Fri, 22 Aug 2008 09:48:25 +0000 (09:48 +0000)]
Style.
Roy Marples [Fri, 22 Aug 2008 09:44:02 +0000 (09:44 +0000)]
Don't errors when opening a UDP socket for INADDR_ANY and soemthing else already has it open.
Roy Marples [Thu, 21 Aug 2008 08:52:34 +0000 (08:52 +0000)]
Always open a UDP port on the interface.
This stops ICMP not reachable messages when dhcpcd first starts and
the IP we get is already configured on the interface.
Roy Marples [Wed, 20 Aug 2008 08:50:38 +0000 (08:50 +0000)]
Move the --renew option to --rebind as it's more accurate (both are -n). Support --renew when CMDLINE_COMPAT is enabled.
Roy Marples [Wed, 20 Aug 2008 08:40:53 +0000 (08:40 +0000)]
Clarify that dhcpcd will not re-configure itself or use any command line arguments when signalling an existing process to renew.
Roy Marples [Tue, 19 Aug 2008 13:31:59 +0000 (13:31 +0000)]
We should really enter the rebinding state on a requested renew as we're broadcasting instead of unicasting.
Roy Marples [Tue, 19 Aug 2008 10:18:31 +0000 (10:18 +0000)]
Don't run PREINIT when testing.
Roy Marples [Mon, 18 Aug 2008 18:35:12 +0000 (18:35 +0000)]
Fix Test returning to userland.
Roy Marples [Mon, 18 Aug 2008 18:34:40 +0000 (18:34 +0000)]
pidfiles normally have a new line
Roy Marples [Mon, 18 Aug 2008 12:46:18 +0000 (12:46 +0000)]
Fix some config reading.
Roy Marples [Mon, 18 Aug 2008 12:43:05 +0000 (12:43 +0000)]
The require directive now requires that the required options are present in each DHCP message. A few variables and functions have also been renamed to make this part more readable.
Roy Marples [Sun, 17 Aug 2008 15:13:23 +0000 (15:13 +0000)]
Document correct background option in dhcpcd.conf
Roy Marples [Fri, 15 Aug 2008 19:29:24 +0000 (19:29 +0000)]
Fix compat.
Roy Marples [Fri, 15 Aug 2008 19:24:39 +0000 (19:24 +0000)]
Release dhcpcd-4.0.0-rc5
Roy Marples [Fri, 15 Aug 2008 11:33:33 +0000 (11:33 +0000)]
If cmp and diff aren't around, try a text match using cat. After all, we are working with text files.
Roy Marples [Fri, 15 Aug 2008 11:06:27 +0000 (11:06 +0000)]
Don't enforce that keys are space separated
Roy Marples [Fri, 15 Aug 2008 09:07:56 +0000 (09:07 +0000)]
sed may not always be available, so use shell loops to replicate behaviour in this case
Roy Marples [Fri, 15 Aug 2008 03:31:37 +0000 (03:31 +0000)]
Fix cmp test.
Roy Marples [Fri, 15 Aug 2008 03:22:21 +0000 (03:22 +0000)]
Remove the append/clean framework and prefer a store and merge
approach. It's more work, but the end result looks cleaner.
Roy Marples [Thu, 14 Aug 2008 16:16:06 +0000 (16:16 +0000)]
Re-jig the order of doing things to improve our logging.
Roy Marples [Thu, 14 Aug 2008 16:15:45 +0000 (16:15 +0000)]
If a device is not found, report it.
Roy Marples [Thu, 14 Aug 2008 16:00:37 +0000 (16:00 +0000)]
Don't warn about dhcpcd not running when using --renew.
Roy Marples [Thu, 14 Aug 2008 12:37:44 +0000 (12:37 +0000)]
Don't error if no interfaces or the state dir does not exist.
Roy Marples [Thu, 14 Aug 2008 12:17:23 +0000 (12:17 +0000)]
Set the main state dir in the main hook script.
Roy Marples [Thu, 14 Aug 2008 12:14:23 +0000 (12:14 +0000)]
Don't quote for uniqify and use 1 sed call instead of looping.
Roy Marples [Thu, 14 Aug 2008 11:00:58 +0000 (11:00 +0000)]
Move uniqify to dhcpcd-run-hooks
Roy Marples [Thu, 14 Aug 2008 10:38:15 +0000 (10:38 +0000)]
If resolvconf is not present, try and emulate it's functionality just for dhcpcd so we can sanely handle >1 instance running.
Roy Marples [Thu, 14 Aug 2008 10:37:11 +0000 (10:37 +0000)]
Make signature more sane and fix comment.
Roy Marples [Thu, 14 Aug 2008 08:34:38 +0000 (08:34 +0000)]
We should always run the script on FAIL.
Roy Marples [Thu, 14 Aug 2008 08:06:21 +0000 (08:06 +0000)]
Be consistent with dhcient - always PREINIT on startup. We can use this to purge stale configuration.
Roy Marples [Wed, 13 Aug 2008 21:29:30 +0000 (21:29 +0000)]
classid -> vendorclassid to match the RFC description.
Roy Marples [Wed, 13 Aug 2008 20:26:41 +0000 (20:26 +0000)]
Allow reqmask of numbers.
Roy Marples [Wed, 13 Aug 2008 19:41:40 +0000 (19:41 +0000)]
Fix INFORM and document it in dhcpcd-run-hooks.
Roy Marples [Wed, 13 Aug 2008 17:06:02 +0000 (17:06 +0000)]
Fix segfault.
Roy Marples [Wed, 13 Aug 2008 16:02:42 +0000 (16:02 +0000)]
Check for localhost.localdomain as needing a new hostname.
Roy Marples [Wed, 13 Aug 2008 15:39:34 +0000 (15:39 +0000)]
Support head and tail files for resolv.conf
Roy Marples [Wed, 13 Aug 2008 15:09:13 +0000 (15:09 +0000)]
Scrub compile warnings on FreeBSD.
Roy Marples [Wed, 13 Aug 2008 14:56:46 +0000 (14:56 +0000)]
Fix removing old stale entries.
Roy Marples [Wed, 13 Aug 2008 14:53:46 +0000 (14:53 +0000)]
content -> configuration
Roy Marples [Wed, 13 Aug 2008 14:46:49 +0000 (14:46 +0000)]
Remove the word inteface from the signature.
Roy Marples [Wed, 13 Aug 2008 13:00:20 +0000 (13:00 +0000)]
Use append_conf return value.
Roy Marples [Wed, 13 Aug 2008 12:35:33 +0000 (12:35 +0000)]
Don't cast needlessly.
Roy Marples [Wed, 13 Aug 2008 12:29:32 +0000 (12:29 +0000)]
Fix an buffer overflow leading to random bytes in the hardware address.
Roy Marples [Wed, 13 Aug 2008 12:07:27 +0000 (12:07 +0000)]
Add a framework for top an tailing config files with DHCP data and a method for cleaning them.
Roy Marples [Tue, 12 Aug 2008 23:56:09 +0000 (23:56 +0000)]
Fix -n when already running.
Roy Marples [Tue, 12 Aug 2008 23:32:18 +0000 (23:32 +0000)]
Remove the signature variable - each hook makes it's own.
ntp.conf now preserves existing server entries and cleans stale dhcpcd
entries
Roy Marples [Tue, 12 Aug 2008 22:51:33 +0000 (22:51 +0000)]
Default target should not be install ...
Roy Marples [Tue, 12 Aug 2008 20:46:42 +0000 (20:46 +0000)]
ntp.conf could have more than just servers, but DHCP only knows about servers. Solution == use egrep to grab everything but servers and append to it :)
Roy Marples [Tue, 12 Aug 2008 20:44:42 +0000 (20:44 +0000)]
Don't assume comments start with #
Roy Marples [Tue, 12 Aug 2008 16:56:35 +0000 (16:56 +0000)]
Document dhcpcd spining with dhcpcd -x.
Roy Marples [Tue, 12 Aug 2008 16:52:56 +0000 (16:52 +0000)]
leased from should be time_t. Also, add boundtime for the last commit to work.
Roy Marples [Tue, 12 Aug 2008 16:45:12 +0000 (16:45 +0000)]
When requesting an address, probe for it first.
If we have a monotonic clock, then remove time
taken from bound -> announced from the renewal time.
Roy Marples [Tue, 12 Aug 2008 12:20:25 +0000 (12:20 +0000)]
Need time.h for nanosleep.
Roy Marples [Tue, 12 Aug 2008 10:54:09 +0000 (10:54 +0000)]
We should ARP probe after discover.
Roy Marples [Tue, 12 Aug 2008 10:51:42 +0000 (10:51 +0000)]
Spin until dhcpcd exits (timeout 10 seconds) to avoid this race:- dhcpcd -x eth0; dhcpcd eth0
Roy Marples [Tue, 12 Aug 2008 10:50:30 +0000 (10:50 +0000)]
Remove unused function.
Roy Marples [Mon, 11 Aug 2008 09:28:53 +0000 (09:28 +0000)]
Rename exec_script to run_script. Split the exec/fork part to static exec_script. This allows us to use vfork and stop gcc complaining about exec stamping on the env variable.
Roy Marples [Mon, 11 Aug 2008 09:21:07 +0000 (09:21 +0000)]
No longer need these.
Roy Marples [Mon, 11 Aug 2008 08:32:52 +0000 (08:32 +0000)]
Remove loads of code specific to fork()less systems. dhcpcd no longer backgrounds on these systems, but is a lot lighter.
Roy Marples [Fri, 8 Aug 2008 17:55:48 +0000 (17:55 +0000)]
DHCP_option -> DHO_option.
Roy Marples [Fri, 8 Aug 2008 17:45:09 +0000 (17:45 +0000)]
Allow FQDN to be decoded to userland. Also, don't exclude hostname when sending FQDN.
Roy Marples [Fri, 8 Aug 2008 13:47:57 +0000 (13:47 +0000)]
We should not make any restrictions on hostname. RFC2131 says that hostname field *could* be fully or partially qualified.
Roy Marples [Fri, 8 Aug 2008 12:26:05 +0000 (12:26 +0000)]
Ensure that hostname does not begin with a .
Roy Marples [Fri, 8 Aug 2008 11:31:19 +0000 (11:31 +0000)]
Skip the trailing . if it exists on the FQDN.