]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Mon, 3 Jan 2011 11:41:40 +0000 (11:41 +0000)]
Update documentation about --request.
Roy Marples [Mon, 3 Jan 2011 10:54:58 +0000 (10:54 +0000)]
Release dhcpcd-5.2.10
Roy Marples [Thu, 23 Dec 2010 22:18:56 +0000 (22:18 +0000)]
Fix -r, --request address option
Roy Marples [Mon, 6 Dec 2010 15:01:56 +0000 (15:01 +0000)]
Compile on Mac OSX 10.4.
Thanks to David Brownlee.
Roy Marples [Fri, 19 Nov 2010 10:17:14 +0000 (10:17 +0000)]
No need to restart twice.
Roy Marples [Thu, 18 Nov 2010 19:12:55 +0000 (19:12 +0000)]
Release dhcpcd-5.2.9
Roy Marples [Thu, 18 Nov 2010 19:12:22 +0000 (19:12 +0000)]
Improve comments.
Roy Marples [Thu, 18 Nov 2010 19:09:02 +0000 (19:09 +0000)]
Fix ypbind and remove un-needed quoting.
Roy Marples [Thu, 18 Nov 2010 09:40:50 +0000 (09:40 +0000)]
Document RELEASE reason, fixes #205.
Roy Marples [Fri, 12 Nov 2010 20:39:29 +0000 (20:39 +0000)]
No point in building handle_hwaddr if we don't have RTM_CHGADDR
Roy Marples [Fri, 12 Nov 2010 16:33:45 +0000 (16:33 +0000)]
Support RTM_CHGADDR in NetBSD-6 for detecting link layer address changes.
Roy Marples [Thu, 11 Nov 2010 21:07:50 +0000 (21:07 +0000)]
Fix working out the inform address if none given.
Roy Marples [Tue, 9 Nov 2010 00:35:40 +0000 (00:35 +0000)]
Add the hwaddr to be used to debugging.
Roy Marples [Tue, 9 Nov 2010 00:34:38 +0000 (00:34 +0000)]
Don't configure the interface twice.
Roy Marples [Fri, 5 Nov 2010 08:13:07 +0000 (08:13 +0000)]
Don't redefine _GNU_SOURCE.
Roy Marples [Thu, 4 Nov 2010 09:12:14 +0000 (09:12 +0000)]
Respect $SED
Roy Marples [Wed, 27 Oct 2010 14:17:21 +0000 (14:17 +0000)]
Another kFreeBSD fix.
Roy Marples [Sat, 23 Oct 2010 00:15:42 +0000 (00:15 +0000)]
Fix invoke-rc.d detection, #202.
Roy Marples [Fri, 22 Oct 2010 17:55:44 +0000 (17:55 +0000)]
whitespace.
Roy Marples [Wed, 20 Oct 2010 11:27:32 +0000 (11:27 +0000)]
Add link_addr from NetBSD so that we compile on kFreeBSD as nothing
there seems to provide that function.
Roy Marples [Sun, 17 Oct 2010 10:44:54 +0000 (10:44 +0000)]
Man page corrections.
Roy Marples [Mon, 11 Oct 2010 16:34:39 +0000 (16:34 +0000)]
Fix syntax.
Roy Marples [Mon, 11 Oct 2010 14:53:06 +0000 (14:53 +0000)]
Change delete_timeouts into a macro.
Roy Marples [Mon, 11 Oct 2010 08:52:43 +0000 (08:52 +0000)]
Allow queues to be defined at the start.
Roy Marples [Thu, 7 Oct 2010 14:43:12 +0000 (14:43 +0000)]
Punt empty line
Roy Marples [Wed, 6 Oct 2010 08:53:28 +0000 (08:53 +0000)]
Release dhcpcd-5.2.8
Roy Marples [Mon, 27 Sep 2010 19:24:10 +0000 (19:24 +0000)]
Some DHCP servers assign a host route via static routes by setting the
gateway address to the leased address. This differs from the normal
approach of making the gateway address match the destination address,
so we change it when building our routing table.
Roy Marples [Mon, 27 Sep 2010 19:08:17 +0000 (19:08 +0000)]
Install the dump hook by default.
Roy Marples [Thu, 9 Sep 2010 18:27:00 +0000 (18:27 +0000)]
If we get a NAK during a test, we should not read the old lease as
it's not dropped during the NAK handling.
Roy Marples [Thu, 9 Sep 2010 14:40:27 +0000 (14:40 +0000)]
Move service detection and interaction logic from the hooks to the
configure script. This makes the hooks a lot less messy.
Roy Marples [Tue, 31 Aug 2010 08:43:13 +0000 (08:43 +0000)]
Document --version.
Roy Marples [Tue, 24 Aug 2010 13:35:15 +0000 (13:35 +0000)]
Don't need this.
Roy Marples [Tue, 24 Aug 2010 10:52:24 +0000 (10:52 +0000)]
Move dump into it's own file and remove new_ from the variable names.
Roy Marples [Tue, 24 Aug 2010 10:36:20 +0000 (10:36 +0000)]
Allow interface to also be a path to a DHCP wire formatted file.
Roy Marples [Tue, 24 Aug 2010 10:25:32 +0000 (10:25 +0000)]
Exit correctly on error.
Roy Marples [Tue, 24 Aug 2010 10:18:31 +0000 (10:18 +0000)]
Improve scripts for DUMP
Roy Marples [Tue, 24 Aug 2010 10:04:10 +0000 (10:04 +0000)]
Just dump the lease, not any runtime options.
Roy Marples [Tue, 24 Aug 2010 09:48:57 +0000 (09:48 +0000)]
Wups, remove silly commit.
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.