]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Tue, 27 Apr 2010 10:46:44 +0000 (10:46 +0000)]
Quiet should always be quiet on the console regardless of debug.
Roy Marples [Mon, 19 Apr 2010 12:36:28 +0000 (12:36 +0000)]
Reorganise the opening and closing of sockets a bit.
Attempt at addressing #190.
Roy Marples [Mon, 19 Apr 2010 11:16:43 +0000 (11:16 +0000)]
Force gatetway to zero instead of adding a host route when the interface
does not support ARP. This improves performance slighty.
Addresses #188.
Roy Marples [Thu, 15 Apr 2010 13:22:41 +0000 (13:22 +0000)]
Check to see if any routers require a host route if they are on a
different subnet.
This fixes issues with badly configured DHCP servers.
We may need to extent this check to any route with a host destination
in the future.
Roy Marples [Tue, 13 Apr 2010 12:10:16 +0000 (12:10 +0000)]
closefrom(3) on FreeBSD is a void return.
Thanks to Naohiro Aota.
Roy Marples [Thu, 1 Apr 2010 19:13:22 +0000 (19:13 +0000)]
We don't use arpble anymore.
Roy Marples [Wed, 31 Mar 2010 08:48:44 +0000 (08:48 +0000)]
Release dhcpcd-5.2.2
Roy Marples [Wed, 31 Mar 2010 08:46:46 +0000 (08:46 +0000)]
Update copyright
Roy Marples [Tue, 30 Mar 2010 19:46:03 +0000 (19:46 +0000)]
Ensure SSID is terminated.
Roy Marples [Fri, 12 Mar 2010 20:33:15 +0000 (20:33 +0000)]
Randomize ip_id and remove IPTOS_LOWDELAY and IP_DF flags.
This makes us a better net citizen.
Roy Marples [Thu, 11 Mar 2010 10:02:03 +0000 (10:02 +0000)]
Fix compile on old systems with broken headers.
Roy Marples [Sat, 6 Mar 2010 17:46:01 +0000 (17:46 +0000)]
We should not set a maximum message size bigger than what we can
actually handle.
Roy Marples [Sat, 6 Mar 2010 17:16:20 +0000 (17:16 +0000)]
Close the fp.
Roy Marples [Fri, 5 Mar 2010 15:51:31 +0000 (15:51 +0000)]
Don't display NULL platforms.
Roy Marples [Fri, 5 Mar 2010 15:47:46 +0000 (15:47 +0000)]
Set the broadcast flag for interfaces that say they need it.
Roy Marples [Sat, 27 Feb 2010 16:00:28 +0000 (16:00 +0000)]
Release dhcpcd-5.2.1
Roy Marples [Sat, 27 Feb 2010 15:57:44 +0000 (15:57 +0000)]
Include platform.h
Roy Marples [Sat, 27 Feb 2010 15:33:18 +0000 (15:33 +0000)]
Fix import target.
Roy Marples [Sat, 27 Feb 2010 08:58:55 +0000 (08:58 +0000)]
Release dhcpcd-5.2.0
Roy Marples [Sat, 27 Feb 2010 08:37:00 +0000 (08:37 +0000)]
Only UDP based on current state, not the offer.
Roy Marples [Fri, 26 Feb 2010 20:37:30 +0000 (20:37 +0000)]
Enable net.ipv4.conf.$iface.promote_secondaries on Linux so that
we keep the subnet when changing addresses on the same subnet.
Roy Marples [Fri, 26 Feb 2010 15:06:51 +0000 (15:06 +0000)]
When trying IPv4LL from a DHCP lease with an IPv4LL address, just
use the address and nothing else.
Roy Marples [Fri, 26 Feb 2010 15:06:23 +0000 (15:06 +0000)]
Open and close sockets better.
Roy Marples [Fri, 26 Feb 2010 13:46:07 +0000 (13:46 +0000)]
Deleting all timeouts for the interface is better.
Roy Marples [Fri, 26 Feb 2010 13:41:38 +0000 (13:41 +0000)]
Clear timeouts when starting ipv4ll.
Roy Marples [Thu, 25 Feb 2010 09:22:30 +0000 (09:22 +0000)]
Fix a crash when server sends more than one of the same option.
Thanks to Xia Weizhong.
Roy Marples [Wed, 17 Feb 2010 22:23:17 +0000 (22:23 +0000)]
Allow IPv4LL address range to be configured by DHCP.
We now check the message for a DHCP cookie instead of the address
assigned to test for local link.
Roy Marples [Wed, 17 Feb 2010 13:26:45 +0000 (13:26 +0000)]
Use a more descriptive vendorid, to include OS arch and platform.
Roy Marples [Sun, 31 Jan 2010 20:17:35 +0000 (20:17 +0000)]
Release dhcpcd-5.1.5
Roy Marples [Thu, 28 Jan 2010 20:12:54 +0000 (20:12 +0000)]
-J, --broadcast now sets the broadcast flag in DHCP messages.
Roy Marples [Wed, 27 Jan 2010 11:51:30 +0000 (11:51 +0000)]
Clear leased address when discarding.
Another fix for #185.
Roy Marples [Tue, 26 Jan 2010 08:07:21 +0000 (08:07 +0000)]
If we reboot an old valid lease but fail to ACK it, we need to
clear the address when discovering.
Roy Marples [Mon, 25 Jan 2010 20:06:15 +0000 (20:06 +0000)]
Ensure that we don't inherit OS and others from env.
Roy Marples [Sun, 24 Jan 2010 21:01:59 +0000 (21:01 +0000)]
Spelling corrections.
Thanks to Soren Jacobsen.
Roy Marples [Thu, 14 Jan 2010 02:23:19 +0000 (02:23 +0000)]
Infinite lease times are always valid when reading leases.
Roy Marples [Thu, 14 Jan 2010 02:04:41 +0000 (02:04 +0000)]
-H, --xidhwaddr will use the last four bytes of the hardware address
as the xid instead of generating a random number.
Thanks to Aurelien.
Roy Marples [Thu, 14 Jan 2010 01:44:49 +0000 (01:44 +0000)]
Update copyright
Roy Marples [Wed, 13 Jan 2010 23:54:45 +0000 (23:54 +0000)]
Don't warn about unsupported family for infiniband.
Thanks to Aurelien.
Roy Marples [Wed, 13 Jan 2010 23:44:14 +0000 (23:44 +0000)]
Import cut down arc4ramdom.c from OpenBSD for better randomness.
Partially addresses #183.
Roy Marples [Wed, 23 Dec 2009 08:22:32 +0000 (08:22 +0000)]
Release dhcpcd-5.1.4
Roy Marples [Wed, 23 Dec 2009 08:05:57 +0000 (08:05 +0000)]
Fix compile.
Roy Marples [Wed, 23 Dec 2009 07:18:22 +0000 (07:18 +0000)]
Only warn about CSR when binding.
Roy Marples [Mon, 14 Dec 2009 14:47:16 +0000 (14:47 +0000)]
Fix finding deleted routes on Linux.
Roy Marples [Mon, 14 Dec 2009 14:46:54 +0000 (14:46 +0000)]
Style
Roy Marples [Thu, 3 Dec 2009 13:30:09 +0000 (13:30 +0000)]
Wait 1/100th of a second before release as testing shows the
release is sent correctly even in a heavy load.
Roy Marples [Tue, 1 Dec 2009 00:57:45 +0000 (00:57 +0000)]
Fix the -S option, #181.
Roy Marples [Tue, 24 Nov 2009 01:15:08 +0000 (01:15 +0000)]
Give the RELEASE packet a chance to leave the kernel
before dropping the ip.
Roy Marples [Fri, 20 Nov 2009 15:14:27 +0000 (15:14 +0000)]
If we have to bring an interface up, and we don't have any carriers
then we need to wait for a second to allow an interface to settle.
Roy Marples [Fri, 20 Nov 2009 14:35:36 +0000 (14:35 +0000)]
Small code optimisation.
Roy Marples [Fri, 20 Nov 2009 12:40:59 +0000 (12:40 +0000)]
Fix the import target a little.
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.