]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Fri, 20 Nov 2009 12:20:10 +0000 (12:20 +0000)]
Allow --without-getline to skip the getline test.
This makes NetBSD importing a little easier.
Roy Marples [Thu, 19 Nov 2009 21:53:25 +0000 (21:53 +0000)]
Re-apply lease info if different - fixes occasional release being broadcast.
Ensure we use a new xid when releasing.
Roy Marples [Thu, 19 Nov 2009 21:31:41 +0000 (21:31 +0000)]
dhcpcd should log to syslog even with quiet.
Roy Marples [Sun, 25 Oct 2009 23:21:21 +0000 (23:21 +0000)]
Style.
Roy Marples [Sun, 25 Oct 2009 23:08:14 +0000 (23:08 +0000)]
Release dhpcd-5.1.3
Roy Marples [Sun, 25 Oct 2009 14:44:28 +0000 (14:44 +0000)]
Document default behaviour better for running on a single interface.
Roy Marples [Sun, 25 Oct 2009 10:56:54 +0000 (10:56 +0000)]
We need to enable waitip when running on a single interface to retain
compat with older dhcpcd versions.
Roy Marples [Sat, 24 Oct 2009 22:36:56 +0000 (22:36 +0000)]
Typo.
Thanks to Christoph Egger.
Roy Marples [Sat, 17 Oct 2009 15:31:39 +0000 (15:31 +0000)]
Don't always request classless_static_routes, instead add it to dhcpcd.conf
as a default option. Add a debug message when adding classless_static_routes.
This is because some DHCP servers have this option badly setup and it could
not be otherwise disabled.
Roy Marples [Sat, 17 Oct 2009 06:58:42 +0000 (06:58 +0000)]
Don't allow the same hook to be added more than once.
Roy Marples [Fri, 16 Oct 2009 21:36:51 +0000 (21:36 +0000)]
If using --with-hooks, don't detect any other hooks.
Roy Marples [Fri, 16 Oct 2009 21:13:41 +0000 (21:13 +0000)]
Release dhcpcd-5.1.2
Roy Marples [Fri, 16 Oct 2009 19:59:30 +0000 (19:59 +0000)]
Add back -w, --waitip so that user has total control over behaviour.
Roy Marples [Thu, 15 Oct 2009 07:33:24 +0000 (07:33 +0000)]
The hwaddr could have changed for existing interfaces.
Roy Marples [Thu, 15 Oct 2009 07:32:49 +0000 (07:32 +0000)]
Only work with ethernet by default so firewire does not slow down the boot.
Roy Marples [Thu, 15 Oct 2009 00:33:23 +0000 (00:33 +0000)]
Multiple debug no longer stops backgrounding.
Roy Marples [Thu, 15 Oct 2009 00:30:54 +0000 (00:30 +0000)]
Just have one open socket for AF_NET.
Roy Marples [Wed, 14 Oct 2009 15:16:07 +0000 (15:16 +0000)]
Remove the -w option and make it the default action if at least one
interface reports a carrier.
Roy Marples [Tue, 13 Oct 2009 06:02:30 +0000 (06:02 +0000)]
wait -> waitip
It's more descriptive and allows future wait$entity commands.
Roy Marples [Sat, 10 Oct 2009 16:25:06 +0000 (16:25 +0000)]
wait should work in dhcpcd.conf
Roy Marples [Fri, 9 Oct 2009 19:24:22 +0000 (19:24 +0000)]
Abort when we have an invalid interface list.
Roy Marples [Fri, 9 Oct 2009 19:23:50 +0000 (19:23 +0000)]
Always unlink the lease file on ARP failure so we never rebind the failed address.
Roy Marples [Fri, 9 Oct 2009 19:00:34 +0000 (19:00 +0000)]
We need to ensure sockets are open for sending a DECLINE.
Roy Marples [Fri, 9 Oct 2009 16:26:23 +0000 (16:26 +0000)]
Remeber preferred domain list order so we fall back correctly.
Stop ypbind when we don't have any domains so we don't stall.
Roy Marples [Fri, 9 Oct 2009 13:12:20 +0000 (13:12 +0000)]
Add new hook, 50-ypbind for BSD ypbind versions.
configure now detects ntpd and ypbind for automatic hook install.
Roy Marples [Thu, 8 Oct 2009 20:21:23 +0000 (20:21 +0000)]
Improve import so it's more generic.
Roy Marples [Thu, 8 Oct 2009 19:56:52 +0000 (19:56 +0000)]
Add an extra timeout for IPv4LL when in use.
Roy Marples [Thu, 8 Oct 2009 07:07:25 +0000 (07:07 +0000)]
Timeout should not automagically increase when using IPv4LL.
If we need extra we should handle that at handle_exit_timeout() and log.
Roy Marples [Wed, 7 Oct 2009 21:11:14 +0000 (21:11 +0000)]
-w, --wait forces dhcpcd to wait for an ip address or timeout when
running on more than one interface.
Roy Marples [Fri, 2 Oct 2009 20:57:44 +0000 (20:57 +0000)]
Don't export git .gitignore file
Roy Marples [Fri, 2 Oct 2009 19:08:59 +0000 (19:08 +0000)]
Improve config generation style more
Roy Marples [Fri, 2 Oct 2009 18:39:03 +0000 (18:39 +0000)]
Style config.h a little better.
Roy Marples [Sat, 26 Sep 2009 08:00:25 +0000 (08:00 +0000)]
Report ClientID being used in debug.
Roy Marples [Thu, 24 Sep 2009 21:29:18 +0000 (21:29 +0000)]
Add -fno-common to debugging CFLAGS.
Declare udp_dhcp_len as extern.
Include common.h in dhcp.h to get _packed definition.
Thanks to David Wu for pointing this out.
Roy Marples [Tue, 22 Sep 2009 06:26:04 +0000 (06:26 +0000)]
Release dhcpcd-5.1.1
Roy Marples [Sun, 20 Sep 2009 16:20:31 +0000 (16:20 +0000)]
Add a comment about enabling a ClientID.
Roy Marples [Sat, 19 Sep 2009 14:25:48 +0000 (14:25 +0000)]
Fix various typos and grammatical errors.
Roy Marples [Wed, 9 Sep 2009 10:32:48 +0000 (10:32 +0000)]
Simplify config.
Roy Marples [Mon, 7 Sep 2009 21:05:46 +0000 (21:05 +0000)]
Don't null terminate gratuitously when handling quotes.
Roy Marples [Fri, 4 Sep 2009 23:27:53 +0000 (23:27 +0000)]
Really fix no debug by default.
Roy Marples [Fri, 4 Sep 2009 23:15:18 +0000 (23:15 +0000)]
Disable debugging by default if not built from git.
Roy Marples [Thu, 3 Sep 2009 12:18:03 +0000 (12:18 +0000)]
Accept --bindir and --sbindir to modify SBINDIR - we don't use BINDIR.
--help now prints a simple message.
Roy Marples [Thu, 3 Sep 2009 10:10:51 +0000 (10:10 +0000)]
Use our defined CPPFLAGS and CFLAGS for compile tests.
Roy Marples [Wed, 2 Sep 2009 20:21:11 +0000 (20:21 +0000)]
Release dhcpcd-5.1.0
Roy Marples [Wed, 2 Sep 2009 18:32:28 +0000 (18:32 +0000)]
Remove escapes in man pages for vendor ,"hello world"
Roy Marples [Tue, 1 Sep 2009 20:38:01 +0000 (20:38 +0000)]
Allow an un-encapsulated vendor option.
Roy Marples [Tue, 1 Sep 2009 20:37:34 +0000 (20:37 +0000)]
Fix parsing of escape codes.
Roy Marples [Tue, 1 Sep 2009 07:45:11 +0000 (07:45 +0000)]
We should not affect other interfaces when handling new interface
notifications.
Roy Marples [Mon, 31 Aug 2009 21:51:17 +0000 (21:51 +0000)]
Don't pass "dhcpcd $iface" to discover_interfaces so our
denyinterfaces config option works for hotplugged interfaces.
Roy Marples [Wed, 12 Aug 2009 08:38:41 +0000 (08:38 +0000)]
Whitespace.
Roy Marples [Tue, 11 Aug 2009 20:13:58 +0000 (20:13 +0000)]
Fix timeout of 0 disabling the timeout.
Roy Marples [Tue, 11 Aug 2009 20:13:41 +0000 (20:13 +0000)]
Fix persistent option.
Roy Marples [Wed, 5 Aug 2009 21:39:42 +0000 (21:39 +0000)]
Don't check family on point to point interfaces as we monitor them.
Roy Marples [Wed, 5 Aug 2009 21:16:09 +0000 (21:16 +0000)]
Some drivers report ENODEV when bring the interface up if their kill switch is on.
This stops dhcpcd from using the interface, so we now just blunder on and await
a carrier up event.
IMO, ENODEV is the wrong error code as the device IS present, it's just disabled.
But the patch here still makes sense.
Roy Marples [Wed, 5 Aug 2009 21:15:50 +0000 (21:15 +0000)]
Enable debugging for git by default.
Roy Marples [Wed, 5 Aug 2009 21:08:44 +0000 (21:08 +0000)]
Only allow hardware families we know we can work with by default.
If an interface with a different hardware family is requested by the user then
emit a warning.
Roy Marples [Wed, 5 Aug 2009 20:36:31 +0000 (20:36 +0000)]
Move icc to the back of the queue
Roy Marples [Wed, 29 Jul 2009 08:59:36 +0000 (08:59 +0000)]
Include sys/types.h to compile on NetBSD-4
Roy Marples [Sun, 26 Jul 2009 21:56:43 +0000 (21:56 +0000)]
Remove superfluous support words.
Roy Marples [Sun, 26 Jul 2009 19:37:46 +0000 (19:37 +0000)]
Pretty hooks output and abort if no cc found.
Roy Marples [Sun, 26 Jul 2009 19:29:37 +0000 (19:29 +0000)]
Support more autotools options
Roy Marples [Sun, 26 Jul 2009 17:26:18 +0000 (17:26 +0000)]
Ignore some autotool options.
Roy Marples [Sun, 26 Jul 2009 17:18:10 +0000 (17:18 +0000)]
Allow multiple hooks
Roy Marples [Sun, 26 Jul 2009 16:40:47 +0000 (16:40 +0000)]
Warn for unknown options
Roy Marples [Sun, 26 Jul 2009 15:27:00 +0000 (15:27 +0000)]
Fix -f /path/to/config, #176.
Also, warn if we cannot open the file.
Roy Marples [Sat, 25 Jul 2009 23:37:20 +0000 (23:37 +0000)]
Fix usage.
Roy Marples [Sat, 25 Jul 2009 23:22:10 +0000 (23:22 +0000)]
-e, --env var=value
now pushes var=value to the environment when dhcpcd-run-hooks is run.
This allows the possibility to set env vars that hook scripts can work off.
A good example of this is 30-hostname so that force_hostname=YES can set
the hostname regardless of the current hostname.
--reconfigure now takes the short option -g.
Roy Marples [Sat, 25 Jul 2009 23:11:07 +0000 (23:11 +0000)]
Fix section.
Roy Marples [Sat, 25 Jul 2009 17:57:49 +0000 (17:57 +0000)]
Documentation updates.
A few minor corrections, but mainly updates the expected behaviour for the hostname being sent.
Roy Marples [Tue, 21 Jul 2009 20:51:00 +0000 (20:51 +0000)]
cd .. vs cd -, so we don't echo the directory
Roy Marples [Tue, 21 Jul 2009 20:09:46 +0000 (20:09 +0000)]
Bump version to indicate a new branch.
Roy Marples [Tue, 21 Jul 2009 20:07:13 +0000 (20:07 +0000)]
Don't leave configure test files around when aborting.
Roy Marples [Mon, 20 Jul 2009 15:49:05 +0000 (15:49 +0000)]
Test for fqdn name.
Roy Marples [Sun, 19 Jul 2009 20:03:58 +0000 (20:03 +0000)]
Don't FAIL the script when testing
Roy Marples [Sat, 18 Jul 2009 11:31:56 +0000 (11:31 +0000)]
Test for getifaddrs support.
Roy Marples [Thu, 16 Jul 2009 11:03:09 +0000 (11:03 +0000)]
Fix import.
Roy Marples [Wed, 15 Jul 2009 09:36:43 +0000 (09:36 +0000)]
Add import target for easy import into NetBSD
Roy Marples [Tue, 14 Jul 2009 22:01:42 +0000 (22:01 +0000)]
Documentation update
Roy Marples [Tue, 14 Jul 2009 21:52:43 +0000 (21:52 +0000)]
Add comment about GNUMakefile
Roy Marples [Tue, 14 Jul 2009 21:01:59 +0000 (21:01 +0000)]
Fix compile without memory debug
Add configure option for --with-hook=ntp
Add debug CFLAGS for git clones
Fix manpage installation
Roy Marples [Tue, 14 Jul 2009 15:10:09 +0000 (15:10 +0000)]
Fix tests and compile for NetBSD.
Roy Marples [Tue, 14 Jul 2009 13:59:30 +0000 (13:59 +0000)]
Replace the mk stubs with a autotools like configure script.
Split compat libc functions out into subdir.
Roy Marples [Sun, 12 Jul 2009 15:10:16 +0000 (15:10 +0000)]
Add some logging for errors reading/writing the leasefile.
Roy Marples [Sat, 11 Jul 2009 21:19:42 +0000 (21:19 +0000)]
We should remove the leasefile for IPv4LL addresses also on release.
Roy Marples [Sat, 11 Jul 2009 21:02:41 +0000 (21:02 +0000)]
Remove the leasefile on release.
Roy Marples [Sat, 11 Jul 2009 20:00:03 +0000 (20:00 +0000)]
Don't run the script with NAK when testing.
Roy Marples [Sat, 11 Jul 2009 18:54:43 +0000 (18:54 +0000)]
Allow testing of INFORM and REQUEST messages.
Roy Marples [Sat, 11 Jul 2009 15:14:54 +0000 (15:14 +0000)]
Don't alter the MTU when testing.
Roy Marples [Sat, 11 Jul 2009 15:14:31 +0000 (15:14 +0000)]
Don't print (null) when there is no NAK message.
Roy Marples [Sat, 11 Jul 2009 15:04:13 +0000 (15:04 +0000)]
Promote bytes to size_t for sizeof comparison.
Roy Marples [Sat, 11 Jul 2009 07:03:23 +0000 (07:03 +0000)]
Use ssize_t which is a signed int and test if read() returns -1.
Roy Marples [Wed, 8 Jul 2009 22:18:39 +0000 (22:18 +0000)]
Release dhcpcd-5.0.6
Roy Marples [Wed, 8 Jul 2009 19:22:31 +0000 (19:22 +0000)]
Ensure that DBDIR and RUNDIR exist if defined as /var/db/dhcpcd and/or /var/run/dhcpcd.
Roy Marples [Wed, 8 Jul 2009 17:05:29 +0000 (17:05 +0000)]
Ensure that ntp.conf exists before removing markers.
Roy Marples [Wed, 8 Jul 2009 17:01:38 +0000 (17:01 +0000)]
Change get_option_addr to accept struct in_addr * instead of uint32_t *
to fix an alignment issue on SGI MIPS.
Roy Marples [Sun, 5 Jul 2009 11:33:46 +0000 (11:33 +0000)]
Add -W, --whitelist addr/cidr
This only allows packets from the addresses listed and overrides
blacklist if set.
Roy Marples [Sat, 4 Jul 2009 00:58:03 +0000 (00:58 +0000)]
Silence more GCC warnings about unused return values.
Roy Marples [Sat, 4 Jul 2009 00:38:55 +0000 (00:38 +0000)]
Document nooption
Roy Marples [Sat, 4 Jul 2009 00:06:25 +0000 (00:06 +0000)]
When we get an ACK we should close DHCP sockets so we don't handle any NAKs
during ARP testing.
This is important as some broken DHCP servers NAK immediately after an ACK
in some situations.
Roy Marples [Sat, 4 Jul 2009 00:03:01 +0000 (00:03 +0000)]
Log the MTU changes.