]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
15 years agoImprove memory debug for dumping leases.
Roy Marples [Tue, 24 Aug 2010 09:34:21 +0000 (09:34 +0000)] 
Improve memory debug for dumping leases.

15 years ago-U, --dumplease now dumps the lease for the specified interface
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

15 years agoif_up and if_down variables allow more flexability.
Roy Marples [Sat, 7 Aug 2010 19:44:21 +0000 (19:44 +0000)] 
if_up and if_down variables allow more flexability.

15 years agoRelease dhcpcd-5.2.7 v5.2.7
Roy Marples [Wed, 4 Aug 2010 06:59:15 +0000 (06:59 +0000)] 
Release dhcpcd-5.2.7

15 years agoUse the active link layer address if supported.
Roy Marples [Wed, 4 Aug 2010 06:44:56 +0000 (06:44 +0000)] 
Use the active link layer address if supported.

15 years agoFix syslog function.
Roy Marples [Tue, 3 Aug 2010 23:16:35 +0000 (23:16 +0000)] 
Fix syslog function.
Thanks to William Hubbs.

15 years agoeloop functions can now specify a queue.
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.

15 years agoUse a dynamic buffer for managing link messages.
Roy Marples [Wed, 21 Jul 2010 20:45:41 +0000 (20:45 +0000)] 
Use a dynamic buffer for managing link messages.

15 years agoWork out the size of the buffer we need to read netlink messages as recent
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.

15 years agoFix build for slackware.
Roy Marples [Sun, 11 Jul 2010 13:33:25 +0000 (13:33 +0000)] 
Fix build for slackware.

15 years agoRelease dhcpcd-5.2.6 v5.2.6
Roy Marples [Wed, 7 Jul 2010 21:09:20 +0000 (21:09 +0000)] 
Release dhcpcd-5.2.6

15 years agoRever prior patch that added an extra second per interface now we
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.

15 years agoAlways daemonise on timeout if running 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.

15 years agoImprove config file handling some more on Debian systems.
Roy Marples [Sat, 26 Jun 2010 09:09:59 +0000 (09:09 +0000)] 
Improve config file handling some more on Debian systems.

15 years agoWait an extra second per interface for IPv4LL timeout.
Roy Marples [Sat, 26 Jun 2010 09:08:47 +0000 (09:08 +0000)] 
Wait an extra second per interface for IPv4LL timeout.

15 years agoFix compile on NetBSD
Roy Marples [Thu, 10 Jun 2010 10:38:37 +0000 (10:38 +0000)] 
Fix compile on NetBSD

15 years agoSupport Debian NTP init script
Roy Marples [Thu, 10 Jun 2010 09:24:55 +0000 (09:24 +0000)] 
Support Debian NTP init script

15 years agoAdd distclean target
Roy Marples [Wed, 9 Jun 2010 21:16:04 +0000 (21:16 +0000)] 
Add distclean target

15 years agoFix crash with last patch for rebinding interfaces
Roy Marples [Wed, 9 Jun 2010 16:51:40 +0000 (16:51 +0000)] 
Fix crash with last patch for rebinding interfaces

15 years agoBuild correctly for Debian packages
Roy Marples [Wed, 9 Jun 2010 15:32:03 +0000 (15:32 +0000)] 
Build correctly for Debian packages

15 years ago-n, --rebind now re-reads the configuration file, removes stale
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.

15 years agoRelease dhcpcd-5.2.4 v5.2.4
Roy Marples [Fri, 4 Jun 2010 08:34:28 +0000 (08:34 +0000)] 
Release dhcpcd-5.2.4

15 years agoThese files were updated in 2010, so fix copyrights.
Roy Marples [Fri, 4 Jun 2010 08:33:16 +0000 (08:33 +0000)] 
These files were updated in 2010, so fix copyrights.

15 years agoFix a crash when using clientid's.
Roy Marples [Thu, 3 Jun 2010 23:28:13 +0000 (23:28 +0000)] 
Fix a crash when using clientid's.

15 years agoRelease dhcpcd-5.2.3 v5.2.3
Roy Marples [Wed, 26 May 2010 07:16:38 +0000 (07:16 +0000)] 
Release dhcpcd-5.2.3

15 years agoClear timeouts on IPv4LL failure.
Roy Marples [Wed, 26 May 2010 07:13:23 +0000 (07:13 +0000)] 
Clear timeouts on IPv4LL failure.

15 years agoFix IPv4LL defending and add a bit more logging.
Roy Marples [Wed, 12 May 2010 16:20:55 +0000 (16:20 +0000)] 
Fix IPv4LL defending and add a bit more logging.

15 years agoAlways respect the timeout.
Roy Marples [Fri, 30 Apr 2010 18:39:24 +0000 (18:39 +0000)] 
Always respect the timeout.

15 years agoIndicate if we have a server id or not by using from/via.
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.

15 years agoMove -N to a config file only option so it does not conflict with
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

15 years agoUse shorter messages now we show pid so that we don't overflow 80 chars.
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.

15 years agoUse timeout in test mode as well.
Roy Marples [Fri, 30 Apr 2010 03:24:06 +0000 (03:24 +0000)] 
Use timeout in test mode as well.

15 years agoStyle and improve last patch slightly.
Roy Marples [Fri, 30 Apr 2010 03:16:39 +0000 (03:16 +0000)] 
Style and improve last patch slightly.

15 years agoImprove log_dhcp to always tell from which server a message came.
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.

15 years agolog the pid when forking to background.
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.

15 years agoAdd the pid of the current process to all messages sent to syslog.
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.

15 years agoQuiet should always be quiet on the console regardless of debug.
Roy Marples [Tue, 27 Apr 2010 10:46:44 +0000 (10:46 +0000)] 
Quiet should always be quiet on the console regardless of debug.

15 years agoReorganise the opening and closing of sockets a bit.
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.

15 years agoForce gatetway to zero instead of adding a host route when the interface
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.

15 years agoCheck to see if any routers require a host route if they are on a
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.

15 years agoclosefrom(3) on FreeBSD is a void return.
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.

15 years agoWe don't use arpble anymore.
Roy Marples [Thu, 1 Apr 2010 19:13:22 +0000 (19:13 +0000)] 
We don't use arpble anymore.

15 years agoRelease dhcpcd-5.2.2 v5.2.2
Roy Marples [Wed, 31 Mar 2010 08:48:44 +0000 (08:48 +0000)] 
Release dhcpcd-5.2.2

15 years agoUpdate copyright
Roy Marples [Wed, 31 Mar 2010 08:46:46 +0000 (08:46 +0000)] 
Update copyright

15 years agoEnsure SSID is terminated.
Roy Marples [Tue, 30 Mar 2010 19:46:03 +0000 (19:46 +0000)] 
Ensure SSID is terminated.

15 years agoRandomize ip_id and remove IPTOS_LOWDELAY and IP_DF flags.
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.

15 years agoFix compile on old systems with broken headers.
Roy Marples [Thu, 11 Mar 2010 10:02:03 +0000 (10:02 +0000)] 
Fix compile on old systems with broken headers.

15 years agoWe should not set a maximum message size bigger than what we can
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.

15 years agoClose the fp.
Roy Marples [Sat, 6 Mar 2010 17:16:20 +0000 (17:16 +0000)] 
Close the fp.

15 years agoDon't display NULL platforms.
Roy Marples [Fri, 5 Mar 2010 15:51:31 +0000 (15:51 +0000)] 
Don't display NULL platforms.

15 years agoSet the broadcast flag for interfaces that say they need it.
Roy Marples [Fri, 5 Mar 2010 15:47:46 +0000 (15:47 +0000)] 
Set the broadcast flag for interfaces that say they need it.

15 years agoRelease dhcpcd-5.2.1 v5.2.1
Roy Marples [Sat, 27 Feb 2010 16:00:28 +0000 (16:00 +0000)] 
Release dhcpcd-5.2.1

15 years agoInclude platform.h
Roy Marples [Sat, 27 Feb 2010 15:57:44 +0000 (15:57 +0000)] 
Include platform.h

15 years agoFix import target.
Roy Marples [Sat, 27 Feb 2010 15:33:18 +0000 (15:33 +0000)] 
Fix import target.

15 years agoRelease dhcpcd-5.2.0 v5.2.0
Roy Marples [Sat, 27 Feb 2010 08:58:55 +0000 (08:58 +0000)] 
Release dhcpcd-5.2.0

15 years agoOnly UDP based on current state, not the offer.
Roy Marples [Sat, 27 Feb 2010 08:37:00 +0000 (08:37 +0000)] 
Only UDP based on current state, not the offer.

15 years agoEnable net.ipv4.conf.$iface.promote_secondaries on Linux so that
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.

15 years agoWhen trying IPv4LL from a DHCP lease with an IPv4LL address, just
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.

15 years agoOpen and close sockets better.
Roy Marples [Fri, 26 Feb 2010 15:06:23 +0000 (15:06 +0000)] 
Open and close sockets better.

15 years agoDeleting all timeouts for the interface is better.
Roy Marples [Fri, 26 Feb 2010 13:46:07 +0000 (13:46 +0000)] 
Deleting all timeouts for the interface is better.

15 years agoClear timeouts when starting ipv4ll.
Roy Marples [Fri, 26 Feb 2010 13:41:38 +0000 (13:41 +0000)] 
Clear timeouts when starting ipv4ll.

15 years agoFix a crash when server sends more than one of the same option.
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.

15 years agoAllow IPv4LL address range to be configured by DHCP.
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.

15 years agoUse a more descriptive vendorid, to include OS arch and platform.
Roy Marples [Wed, 17 Feb 2010 13:26:45 +0000 (13:26 +0000)] 
Use a more descriptive vendorid, to include OS arch and platform.

15 years agoRelease dhcpcd-5.1.5 v5.1.5
Roy Marples [Sun, 31 Jan 2010 20:17:35 +0000 (20:17 +0000)] 
Release dhcpcd-5.1.5

15 years ago-J, --broadcast now sets the broadcast flag in DHCP messages.
Roy Marples [Thu, 28 Jan 2010 20:12:54 +0000 (20:12 +0000)] 
-J, --broadcast now sets the broadcast flag in DHCP messages.

15 years agoClear leased address when discarding.
Roy Marples [Wed, 27 Jan 2010 11:51:30 +0000 (11:51 +0000)] 
Clear leased address when discarding.
Another fix for #185.

15 years agoIf we reboot an old valid lease but fail to ACK it, we need to
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.

15 years agoEnsure that we don't inherit OS and others from env.
Roy Marples [Mon, 25 Jan 2010 20:06:15 +0000 (20:06 +0000)] 
Ensure that we don't inherit OS and others from env.

15 years agoSpelling corrections.
Roy Marples [Sun, 24 Jan 2010 21:01:59 +0000 (21:01 +0000)] 
Spelling corrections.
Thanks to Soren Jacobsen.

15 years agoInfinite lease times are always valid when reading leases.
Roy Marples [Thu, 14 Jan 2010 02:23:19 +0000 (02:23 +0000)] 
Infinite lease times are always valid when reading leases.

15 years ago-H, --xidhwaddr will use the last four bytes of the hardware address
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.

15 years agoUpdate copyright
Roy Marples [Thu, 14 Jan 2010 01:44:49 +0000 (01:44 +0000)] 
Update copyright

15 years agoDon't warn about unsupported family for infiniband.
Roy Marples [Wed, 13 Jan 2010 23:54:45 +0000 (23:54 +0000)] 
Don't warn about unsupported family for infiniband.
Thanks to Aurelien.

15 years agoImport cut down arc4ramdom.c from OpenBSD for better randomness.
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.

15 years agoRelease dhcpcd-5.1.4 v5.1.4
Roy Marples [Wed, 23 Dec 2009 08:22:32 +0000 (08:22 +0000)] 
Release dhcpcd-5.1.4

15 years agoFix compile.
Roy Marples [Wed, 23 Dec 2009 08:05:57 +0000 (08:05 +0000)] 
Fix compile.

15 years agoOnly warn about CSR when binding.
Roy Marples [Wed, 23 Dec 2009 07:18:22 +0000 (07:18 +0000)] 
Only warn about CSR when binding.

15 years agoFix finding deleted routes on Linux.
Roy Marples [Mon, 14 Dec 2009 14:47:16 +0000 (14:47 +0000)] 
Fix finding deleted routes on Linux.

15 years agoStyle
Roy Marples [Mon, 14 Dec 2009 14:46:54 +0000 (14:46 +0000)] 
Style

15 years agoWait 1/100th of a second before release as testing shows the
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.

15 years agoFix the -S option, #181.
Roy Marples [Tue, 1 Dec 2009 00:57:45 +0000 (00:57 +0000)] 
Fix the -S option, #181.

15 years agoGive the RELEASE packet a chance to leave the kernel
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.

15 years agoIf we have to bring an interface up, and we don't have any carriers
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.

15 years agoSmall code optimisation.
Roy Marples [Fri, 20 Nov 2009 14:35:36 +0000 (14:35 +0000)] 
Small code optimisation.

15 years agoFix the import target a little.
Roy Marples [Fri, 20 Nov 2009 12:40:59 +0000 (12:40 +0000)] 
Fix the import target a little.

15 years agoAllow --without-getline to skip the getline test.
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.

15 years agoRe-apply lease info if different - fixes occasional release being broadcast.
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.

15 years agodhcpcd should log to syslog even with quiet.
Roy Marples [Thu, 19 Nov 2009 21:31:41 +0000 (21:31 +0000)] 
dhcpcd should log to syslog even with quiet.

15 years agoStyle.
Roy Marples [Sun, 25 Oct 2009 23:21:21 +0000 (23:21 +0000)] 
Style.

15 years agoRelease dhpcd-5.1.3 v5.1.3
Roy Marples [Sun, 25 Oct 2009 23:08:14 +0000 (23:08 +0000)] 
Release dhpcd-5.1.3

15 years agoDocument default behaviour better for running on a single interface.
Roy Marples [Sun, 25 Oct 2009 14:44:28 +0000 (14:44 +0000)] 
Document default behaviour better for running on a single interface.

15 years agoWe need to enable waitip when running on a single interface to retain
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.

15 years agoTypo.
Roy Marples [Sat, 24 Oct 2009 22:36:56 +0000 (22:36 +0000)] 
Typo.
Thanks to Christoph Egger.

15 years agoDon't always request classless_static_routes, instead add it to dhcpcd.conf
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.

15 years agoDon't allow the same hook to be added more than once.
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.

15 years agoIf using --with-hooks, don't detect any other hooks. v5.1.2
Roy Marples [Fri, 16 Oct 2009 21:36:51 +0000 (21:36 +0000)] 
If using --with-hooks, don't detect any other hooks.

15 years agoRelease dhcpcd-5.1.2
Roy Marples [Fri, 16 Oct 2009 21:13:41 +0000 (21:13 +0000)] 
Release dhcpcd-5.1.2

15 years agoAdd back -w, --waitip so that user has total control over behaviour.
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.

15 years agoThe hwaddr could have changed for existing interfaces.
Roy Marples [Thu, 15 Oct 2009 07:33:24 +0000 (07:33 +0000)] 
The hwaddr could have changed for existing interfaces.