]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Tue, 24 Aug 2010 09:34:21 +0000 (09:34 +0000)]
Improve memory debug for dumping leases.
Roy Marples [Tue, 24 Aug 2010 09:16:07 +0000 (09:16 +0000)]
-U, --dumplease now dumps the lease for the specified interface
dhcpcd does not have to be running for this to work
Roy Marples [Sat, 7 Aug 2010 19:44:21 +0000 (19:44 +0000)]
if_up and if_down variables allow more flexability.
Roy Marples [Wed, 4 Aug 2010 06:59:15 +0000 (06:59 +0000)]
Release dhcpcd-5.2.7
Roy Marples [Wed, 4 Aug 2010 06:44:56 +0000 (06:44 +0000)]
Use the active link layer address if supported.
Roy Marples [Tue, 3 Aug 2010 23:16:35 +0000 (23:16 +0000)]
Fix syslog function.
Thanks to William Hubbs.
Roy Marples [Fri, 23 Jul 2010 16:18:03 +0000 (16:18 +0000)]
eloop functions can now specify a queue.
This allows us to build future IPv6 queues that do not affect the
main IPv4 queue.
Roy Marples [Wed, 21 Jul 2010 20:45:41 +0000 (20:45 +0000)]
Use a dynamic buffer for managing link messages.
Roy Marples [Wed, 21 Jul 2010 08:51:47 +0000 (08:51 +0000)]
Work out the size of the buffer we need to read netlink messages as recent
64-bit Linux kernels have increased their header size and overflowed
the fixed buffer we used.
Could also fix #192.
Roy Marples [Sun, 11 Jul 2010 13:33:25 +0000 (13:33 +0000)]
Fix build for slackware.
Roy Marples [Wed, 7 Jul 2010 21:09:20 +0000 (21:09 +0000)]
Release dhcpcd-5.2.6
Roy Marples [Sat, 26 Jun 2010 10:36:20 +0000 (10:36 +0000)]
Rever prior patch that added an extra second per interface now we
always daemonise in master mode.
Roy Marples [Sat, 26 Jun 2010 09:17:54 +0000 (09:17 +0000)]
Always daemonise on timeout if running in master mode.
Roy Marples [Sat, 26 Jun 2010 09:09:59 +0000 (09:09 +0000)]
Improve config file handling some more on Debian systems.
Roy Marples [Sat, 26 Jun 2010 09:08:47 +0000 (09:08 +0000)]
Wait an extra second per interface for IPv4LL timeout.
Roy Marples [Thu, 10 Jun 2010 10:38:37 +0000 (10:38 +0000)]
Fix compile on NetBSD
Roy Marples [Thu, 10 Jun 2010 09:24:55 +0000 (09:24 +0000)]
Support Debian NTP init script
Roy Marples [Wed, 9 Jun 2010 21:16:04 +0000 (21:16 +0000)]
Add distclean target
Roy Marples [Wed, 9 Jun 2010 16:51:40 +0000 (16:51 +0000)]
Fix crash with last patch for rebinding interfaces
Roy Marples [Wed, 9 Jun 2010 15:32:03 +0000 (15:32 +0000)]
Build correctly for Debian packages
Roy Marples [Wed, 9 Jun 2010 15:26:55 +0000 (15:26 +0000)]
-n, --rebind now re-reads the configuration file, removes stale
interfaces and rebinds existing ones.
Roy Marples [Fri, 4 Jun 2010 08:34:28 +0000 (08:34 +0000)]
Release dhcpcd-5.2.4
Roy Marples [Fri, 4 Jun 2010 08:33:16 +0000 (08:33 +0000)]
These files were updated in 2010, so fix copyrights.
Roy Marples [Thu, 3 Jun 2010 23:28:13 +0000 (23:28 +0000)]
Fix a crash when using clientid's.
Roy Marples [Wed, 26 May 2010 07:16:38 +0000 (07:16 +0000)]
Release dhcpcd-5.2.3
Roy Marples [Wed, 26 May 2010 07:13:23 +0000 (07:13 +0000)]
Clear timeouts on IPv4LL failure.
Roy Marples [Wed, 12 May 2010 16:20:55 +0000 (16:20 +0000)]
Fix IPv4LL defending and add a bit more logging.
Roy Marples [Fri, 30 Apr 2010 18:39:24 +0000 (18:39 +0000)]
Always respect the timeout.
Roy Marples [Fri, 30 Apr 2010 18:22:48 +0000 (18:22 +0000)]
Indicate if we have a server id or not by using from/via.
Roy Marples [Fri, 30 Apr 2010 15:29:30 +0000 (15:29 +0000)]
Move -N to a config file only option so it does not conflict with
the option from dhcpcd-4
Roy Marples [Fri, 30 Apr 2010 08:20:01 +0000 (08:20 +0000)]
Use shorter messages now we show pid so that we don't overflow 80 chars.
Roy Marples [Fri, 30 Apr 2010 03:24:06 +0000 (03:24 +0000)]
Use timeout in test mode as well.
Roy Marples [Fri, 30 Apr 2010 03:16:39 +0000 (03:16 +0000)]
Style and improve last patch slightly.
Roy Marples [Fri, 30 Apr 2010 03:03:23 +0000 (03:03 +0000)]
Improve log_dhcp to always tell from which server a message came.
Currently this information is derived from the DHO_SERVERID option.
But when the server doesn't set it, no source info is logged. Print
the src ip of the udp packet as "from" in this case. This is not perfect
as there could be a dhcp forwarder involved, but this is better than nothing.
Thanks to Gerd von Egidy.
Roy Marples [Fri, 30 Apr 2010 03:02:30 +0000 (03:02 +0000)]
log the pid when forking to background.
mark the log entry before forking as LOG_DEBUG as we usually don't have problems
here and don't want to log twice with LOG_INFO.
Thanks to Gerd von Egidy.
Roy Marples [Fri, 30 Apr 2010 03:02:29 +0000 (03:02 +0000)]
Add the pid of the current process to all messages sent to syslog.
Thanks to Gerd von Egidy.
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.