]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
15 years agoAdd -fno-common to debugging CFLAGS. dhcpcd-4 origin/dhcpcd-4
Roy Marples [Thu, 24 Sep 2009 21:20:02 +0000 (21:20 +0000)] 
Add -fno-common to debugging CFLAGS.
Declare udp_dhcp_len as extern.

15 years agoRelease dhcpcd-4.0.15
Roy Marples [Tue, 22 Sep 2009 06:22:50 +0000 (06:22 +0000)] 
Release dhcpcd-4.0.15

15 years agoWhen we get an ACK we should close DHCP sockets so we don't handle any NAKs
Roy Marples [Fri, 18 Sep 2009 19:55:02 +0000 (19:55 +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.

16 years agoRelease dhcpcd-4.0.14 v4.0.14
Roy Marples [Tue, 28 Jul 2009 19:56:00 +0000 (19:56 +0000)] 
Release dhcpcd-4.0.14

16 years agoPromote bytes to size_t for sizeof comparison.
Roy Marples [Sat, 11 Jul 2009 15:03:41 +0000 (15:03 +0000)] 
Promote bytes to size_t for sizeof comparison.

16 years agoUse ssize_t which is a signed int and test if read() returns -1.
Roy Marples [Sat, 11 Jul 2009 06:58:39 +0000 (06:58 +0000)] 
Use ssize_t which is a signed int and test if read() returns -1.
Thanks to David Wu.

16 years agoChange get_option_addr to accept struct in_addr * instead of uint32_t *
Roy Marples [Wed, 8 Jul 2009 16:52:45 +0000 (16:52 +0000)] 
Change get_option_addr to accept struct in_addr * instead of uint32_t *
to fix an alignment issue on SGI MIPS.
Thanks to Tim McIntosh.

16 years agoGo back to using git
Roy Marples [Thu, 30 Apr 2009 15:34:14 +0000 (15:34 +0000)] 
Go back to using git

16 years agodhcpcd-4.0.13
Roy Marples [Fri, 17 Apr 2009 19:20:10 +0000 (19:20 +0000)] 
dhcpcd-4.0.13

16 years agoWe should ignore DHCP messages without a ServerID, #166. v4.0.13
Roy Marples [Sun, 12 Apr 2009 19:17:08 +0000 (19:17 +0000)] 
We should ignore DHCP messages without a ServerID, #166.

16 years agomandoc mandates the presence of .Os
Roy Marples [Wed, 11 Mar 2009 17:58:34 +0000 (17:58 +0000)] 
mandoc mandates the presence of .Os

16 years agoBackport UDP validation from trunk
Roy Marples [Sat, 28 Feb 2009 09:00:40 +0000 (09:00 +0000)] 
Backport UDP validation from trunk

16 years agoTypo
Roy Marples [Thu, 26 Feb 2009 16:16:57 +0000 (16:16 +0000)] 
Typo

16 years agoRelease dhcpcd-4.0.12
Roy Marples [Thu, 26 Feb 2009 11:04:51 +0000 (11:04 +0000)] 
Release dhcpcd-4.0.12

16 years agoWe should use LOG_DAEMON v4.0.12
Roy Marples [Tue, 24 Feb 2009 19:44:44 +0000 (19:44 +0000)] 
We should use LOG_DAEMON

16 years agoCheck carrier eariler. Thanks to Michael Olney.
Roy Marples [Tue, 24 Feb 2009 00:02:41 +0000 (00:02 +0000)] 
Check carrier eariler. Thanks to Michael Olney.

16 years agoIf we get POLLERR or POLLNVAL then we should not return >0 with an fd.
Roy Marples [Mon, 23 Feb 2009 12:19:52 +0000 (12:19 +0000)] 
If we get POLLERR or POLLNVAL then we should not return >0 with an fd.
Thanks to Michael Olney.

16 years agoRelease dhcpcd-4.0.11
Roy Marples [Thu, 19 Feb 2009 20:20:10 +0000 (20:20 +0000)] 
Release dhcpcd-4.0.11

16 years agoEnsure that IPv4LL leases are not frominfo when probed.
Roy Marples [Thu, 19 Feb 2009 19:55:13 +0000 (19:55 +0000)] 
Ensure that IPv4LL leases are not frominfo when probed.

16 years agoEnsure we continue after we fail to send a packet.
Roy Marples [Thu, 19 Feb 2009 19:50:04 +0000 (19:50 +0000)] 
Ensure we continue after we fail to send a packet.

16 years agoRelease dhcpcd-4.0.10 v4.0.11
Roy Marples [Wed, 4 Feb 2009 07:32:53 +0000 (07:32 +0000)] 
Release dhcpcd-4.0.10

16 years agoRFC2131 implies that we should only ARP check after an offer. v4.0.10
Roy Marples [Sun, 1 Feb 2009 17:13:32 +0000 (17:13 +0000)] 
RFC2131 implies that we should only ARP check after an offer.

16 years agoRelease dhcpcd-4.0.9
Roy Marples [Sat, 31 Jan 2009 12:33:43 +0000 (12:33 +0000)] 
Release dhcpcd-4.0.9

16 years agoWe should zero the entire message struct so any options don't overflow into unallocat... v4.0.9
Roy Marples [Fri, 30 Jan 2009 20:19:12 +0000 (20:19 +0000)] 
We should zero the entire message struct so any options don't overflow into unallocated memory when evaluating them.

16 years agoJust terminate the DHCP message if not terminated. DHO_PAD could be valid data.
Roy Marples [Thu, 29 Jan 2009 13:56:12 +0000 (13:56 +0000)] 
Just terminate the DHCP message if not terminated. DHO_PAD could be valid data.

16 years agoClean up compiler warnings from overly pedantic checking.
Roy Marples [Thu, 29 Jan 2009 13:09:23 +0000 (13:09 +0000)] 
Clean up compiler warnings from overly pedantic checking.

16 years agoRelease dhcpcd-4.0.8
Roy Marples [Mon, 26 Jan 2009 13:12:47 +0000 (13:12 +0000)] 
Release dhcpcd-4.0.8

16 years agowhile -> for
Roy Marples [Mon, 26 Jan 2009 12:56:38 +0000 (12:56 +0000)] 
while -> for

16 years agoOptimize code around NULL terminated hostname.
Roy Marples [Mon, 26 Jan 2009 12:50:47 +0000 (12:50 +0000)] 
Optimize code around NULL terminated hostname.

16 years agoTerminate hostname
Roy Marples [Mon, 26 Jan 2009 12:48:24 +0000 (12:48 +0000)] 
Terminate hostname

16 years agoStop storing length in hostname.
Roy Marples [Mon, 26 Jan 2009 12:25:29 +0000 (12:25 +0000)] 
Stop storing length in hostname.

16 years agoWe should only send short hostnames as qualfied ones confuse ISC DHCP server. If...
Roy Marples [Mon, 26 Jan 2009 12:00:35 +0000 (12:00 +0000)] 
We should only send short hostnames as qualfied ones confuse ISC DHCP server. If a FQDN is required, then use that option instead of the hostname. Backported from trunk, r1174.

16 years agoEnsure that we have enough buffer for gethostname and terminate it correctly. v4.0.8
Roy Marples [Mon, 26 Jan 2009 09:14:54 +0000 (09:14 +0000)] 
Ensure that we have enough buffer for gethostname and terminate it correctly.

16 years agonohook 20-resolv.conf should work now.
Roy Marples [Thu, 22 Jan 2009 23:54:53 +0000 (23:54 +0000)] 
nohook 20-resolv.conf should work now.

16 years agoBackport fix for #156.
Roy Marples [Thu, 22 Jan 2009 14:19:46 +0000 (14:19 +0000)] 
Backport fix for #156.

16 years agoset broadcast_address correctly.
Roy Marples [Mon, 12 Jan 2009 16:31:53 +0000 (16:31 +0000)] 
set broadcast_address correctly.

16 years agoTypo, thanks to zafer.
Roy Marples [Sun, 28 Dec 2008 10:39:57 +0000 (10:39 +0000)] 
Typo, thanks to zafer.

16 years agoDocument the quiet directive in man dhcpcd.conf
Roy Marples [Sun, 7 Dec 2008 17:29:53 +0000 (17:29 +0000)] 
Document the quiet directive in man dhcpcd.conf

16 years agoRelease 4.0.7
Roy Marples [Tue, 2 Dec 2008 15:04:44 +0000 (15:04 +0000)] 
Release 4.0.7

16 years agoEnsure host routes and subnet routes are added correctly. v4.0.7
Roy Marples [Mon, 1 Dec 2008 16:58:17 +0000 (16:58 +0000)] 
Ensure host routes and subnet routes are added correctly.

16 years agoWe need to ensure that our interface has the address before configuring routes.
Roy Marples [Mon, 1 Dec 2008 16:56:01 +0000 (16:56 +0000)] 
We need to ensure that our interface has the address before configuring routes.

16 years agoBackport adding the src pref address from trunk.
Roy Marples [Thu, 27 Nov 2008 16:17:24 +0000 (16:17 +0000)] 
Backport adding the src pref address from trunk.

16 years agoDescribe the blacklist option.
Roy Marples [Thu, 27 Nov 2008 10:37:48 +0000 (10:37 +0000)] 
Describe the blacklist option.

16 years agoIf an interface link fd flaps, don't indiscriminately reset the timeout timer. Thanks...
Roy Marples [Thu, 27 Nov 2008 09:46:28 +0000 (09:46 +0000)] 
If an interface link fd flaps, don't indiscriminately reset the timeout timer. Thanks to Jean Wolter for tracking it down.

16 years agoFix warning of monotonic clock existence.
Roy Marples [Thu, 27 Nov 2008 09:45:31 +0000 (09:45 +0000)] 
Fix warning of monotonic clock existence.

16 years agoRelease 4.0.6
Roy Marples [Tue, 25 Nov 2008 20:59:29 +0000 (20:59 +0000)] 
Release 4.0.6

16 years agoFix adding of host routes. v4.0.6
Roy Marples [Tue, 25 Nov 2008 13:12:29 +0000 (13:12 +0000)] 
Fix adding of host routes.

16 years agoCSR should come before other route options according to RFC 3442.
Roy Marples [Tue, 25 Nov 2008 12:57:56 +0000 (12:57 +0000)] 
CSR should come before other route options according to RFC 3442.

16 years agoBackport route code from trunk so we correctly handle adding routes via local link.
Roy Marples [Tue, 25 Nov 2008 11:37:55 +0000 (11:37 +0000)] 
Backport route code from trunk so we correctly handle adding routes via local link.

16 years agoRemove the S option from the command line description, #121
Roy Marples [Fri, 21 Nov 2008 20:00:26 +0000 (20:00 +0000)] 
Remove the S option from the command line description, #121

16 years agoRelease 4.0.5
Roy Marples [Fri, 21 Nov 2008 12:31:50 +0000 (12:31 +0000)] 
Release 4.0.5

16 years agoBackport r1074 to dhcpcd-4.0 which stops sending a ClientID by default. If CMDLINE_CO... v4.0.5
Roy Marples [Fri, 21 Nov 2008 08:05:55 +0000 (08:05 +0000)] 
Backport r1074 to dhcpcd-4.0 which stops sending a ClientID by default. If CMDLINE_COMPAT is enabled then we keep the prior behaviour.

16 years agoNetBSD sh needs eval here.
Roy Marples [Fri, 14 Nov 2008 19:18:57 +0000 (19:18 +0000)] 
NetBSD sh needs eval here.

16 years agoDon't restart ntpd if it's not already running.
Roy Marples [Tue, 11 Nov 2008 09:29:54 +0000 (09:29 +0000)] 
Don't restart ntpd if it's not already running.

16 years agoRelease 4.0.4
Roy Marples [Tue, 4 Nov 2008 10:15:08 +0000 (10:15 +0000)] 
Release 4.0.4

16 years agoTrim trailing NULLs from string options, #120.
Roy Marples [Tue, 4 Nov 2008 10:04:40 +0000 (10:04 +0000)] 
Trim trailing NULLs from string options, #120.

16 years agoRelease dhcpcd-4.0.3 v4.0.4
Roy Marples [Wed, 29 Oct 2008 12:57:08 +0000 (12:57 +0000)] 
Release dhcpcd-4.0.3

16 years agoRe-create the old .info file for applications that parse it. v4.0.3
Roy Marples [Tue, 28 Oct 2008 09:28:05 +0000 (09:28 +0000)] 
Re-create the old .info file for applications that parse it.

16 years agoWait correctly after a DECLINE and ensure we send the IP we're declining and ServerID...
Roy Marples [Tue, 28 Oct 2008 09:26:42 +0000 (09:26 +0000)] 
Wait correctly after a DECLINE and ensure we send the IP we're declining and ServerID that issued it.

16 years agoExplain why we decline the address in a message.
Roy Marples [Tue, 28 Oct 2008 09:25:26 +0000 (09:25 +0000)] 
Explain why we decline the address in a message.

16 years agoAllow ntp.conf location to be tunable, #119
Roy Marples [Mon, 27 Oct 2008 12:41:04 +0000 (12:41 +0000)] 
Allow ntp.conf location to be tunable, #119

16 years agoUpdate change log location
Roy Marples [Wed, 22 Oct 2008 08:29:53 +0000 (08:29 +0000)] 
Update change log location

16 years agoWe should send the IP address we decline and the server ID for release.
Roy Marples [Fri, 17 Oct 2008 21:30:41 +0000 (21:30 +0000)] 
We should send the IP address we decline and the server ID for release.

16 years agoUpdate bug page.
Roy Marples [Tue, 7 Oct 2008 20:02:44 +0000 (20:02 +0000)] 
Update bug page.

16 years agoSimplify the logic of what to put in the message, and ensure that the MTU size is...
Roy Marples [Mon, 6 Oct 2008 07:30:17 +0000 (07:30 +0000)] 
Simplify the logic of what to put in the message, and ensure that the MTU size is in the DISCOVER message.

16 years agoRelease 4.0.2
Roy Marples [Wed, 1 Oct 2008 20:32:07 +0000 (20:32 +0000)] 
Release 4.0.2

16 years agoReally fix Gentoo #239098. v4.0.2
Roy Marples [Wed, 1 Oct 2008 18:38:37 +0000 (18:38 +0000)] 
Really fix Gentoo #239098.

16 years agoFix compat options, Gentoo #239098.
Roy Marples [Wed, 1 Oct 2008 10:43:38 +0000 (10:43 +0000)] 
Fix compat options, Gentoo #239098.

16 years agoPull the one patch to the dhcpcd-4.0 branch from git, fixing lastleast option.
Roy Marples [Fri, 26 Sep 2008 09:13:44 +0000 (09:13 +0000)] 
Pull the one patch to the dhcpcd-4.0 branch from git, fixing lastleast option.

16 years agoFix -I '' to not send a client ID instead of a blank one, #116.
Roy Marples [Fri, 26 Sep 2008 07:26:50 +0000 (07:26 +0000)] 
Fix -I '' to not send a client ID instead of a blank one, #116.

16 years agoPunt
Roy Marples [Thu, 25 Sep 2008 22:03:05 +0000 (22:03 +0000)] 
Punt

16 years agoPunt
Roy Marples [Thu, 25 Sep 2008 22:02:48 +0000 (22:02 +0000)] 
Punt

16 years agoUpdate for svn.
Roy Marples [Thu, 25 Sep 2008 22:02:04 +0000 (22:02 +0000)] 
Update for svn.

16 years agoBranch dhcpcd-4.0
Roy Marples [Thu, 25 Sep 2008 21:54:36 +0000 (21:54 +0000)] 
Branch dhcpcd-4.0

16 years agoStyle
Roy Marples [Tue, 26 Aug 2008 13:27:07 +0000 (13:27 +0000)] 
Style

16 years agoFix CMDLINE_COMPAT.
Roy Marples [Mon, 25 Aug 2008 07:34:10 +0000 (07:34 +0000)] 
Fix CMDLINE_COMPAT.

16 years agoRelease dhcpcd-4.0.0 :D
Roy Marples [Sun, 24 Aug 2008 11:56:30 +0000 (11:56 +0000)] 
Release dhcpcd-4.0.0 :D

16 years agoStyle.
Roy Marples [Fri, 22 Aug 2008 09:48:25 +0000 (09:48 +0000)] 
Style.

16 years agoDon't errors when opening a UDP socket for INADDR_ANY and soemthing else already...
Roy Marples [Fri, 22 Aug 2008 09:44:02 +0000 (09:44 +0000)] 
Don't errors when opening a UDP socket for INADDR_ANY and soemthing else already has it open.

16 years agoAlways open a UDP port on the interface.
Roy Marples [Thu, 21 Aug 2008 08:52:34 +0000 (08:52 +0000)] 
Always open a UDP port on the interface.
This stops ICMP not reachable messages when dhcpcd first starts and
the IP we get is already configured on the interface.

16 years agoMove the --renew option to --rebind as it's more accurate (both are -n). Support...
Roy Marples [Wed, 20 Aug 2008 08:50:38 +0000 (08:50 +0000)] 
Move the --renew option to --rebind as it's more accurate (both are -n). Support --renew when CMDLINE_COMPAT is enabled.

16 years agoClarify that dhcpcd will not re-configure itself or use any command line arguments...
Roy Marples [Wed, 20 Aug 2008 08:40:53 +0000 (08:40 +0000)] 
Clarify that dhcpcd will not re-configure itself or use any command line arguments when signalling an existing process to renew.

16 years agoWe should really enter the rebinding state on a requested renew as we're broadcasting...
Roy Marples [Tue, 19 Aug 2008 13:31:59 +0000 (13:31 +0000)] 
We should really enter the rebinding state on a requested renew as we're broadcasting instead of unicasting.

16 years agoDon't run PREINIT when testing.
Roy Marples [Tue, 19 Aug 2008 10:18:31 +0000 (10:18 +0000)] 
Don't run PREINIT when testing.

16 years agoFix Test returning to userland.
Roy Marples [Mon, 18 Aug 2008 18:35:12 +0000 (18:35 +0000)] 
Fix Test returning to userland.

16 years agopidfiles normally have a new line
Roy Marples [Mon, 18 Aug 2008 18:34:40 +0000 (18:34 +0000)] 
pidfiles normally have a new line

16 years agoFix some config reading.
Roy Marples [Mon, 18 Aug 2008 12:46:18 +0000 (12:46 +0000)] 
Fix some config reading.

16 years agoThe require directive now requires that the required options are present in each...
Roy Marples [Mon, 18 Aug 2008 12:43:05 +0000 (12:43 +0000)] 
The require directive now requires that the required options are present in each DHCP message. A few variables and functions have also been renamed to make this part more readable.

16 years agoDocument correct background option in dhcpcd.conf
Roy Marples [Sun, 17 Aug 2008 15:13:23 +0000 (15:13 +0000)] 
Document correct background option in dhcpcd.conf

16 years agoFix compat.
Roy Marples [Fri, 15 Aug 2008 19:29:24 +0000 (19:29 +0000)] 
Fix compat.

16 years agoRelease dhcpcd-4.0.0-rc5
Roy Marples [Fri, 15 Aug 2008 19:24:39 +0000 (19:24 +0000)] 
Release dhcpcd-4.0.0-rc5

16 years agoIf cmp and diff aren't around, try a text match using cat. After all, we are working...
Roy Marples [Fri, 15 Aug 2008 11:33:33 +0000 (11:33 +0000)] 
If cmp and diff aren't around, try a text match using cat. After all, we are working with text files.

16 years agoDon't enforce that keys are space separated
Roy Marples [Fri, 15 Aug 2008 11:06:27 +0000 (11:06 +0000)] 
Don't enforce that keys are space separated

16 years agosed may not always be available, so use shell loops to replicate behaviour in this...
Roy Marples [Fri, 15 Aug 2008 09:07:56 +0000 (09:07 +0000)] 
sed may not always be available, so use shell loops to replicate behaviour in this case

16 years agoFix cmp test.
Roy Marples [Fri, 15 Aug 2008 03:31:37 +0000 (03:31 +0000)] 
Fix cmp test.

16 years agoRemove the append/clean framework and prefer a store and merge
Roy Marples [Fri, 15 Aug 2008 03:22:21 +0000 (03:22 +0000)] 
Remove the append/clean framework and prefer a store and merge
approach. It's more work, but the end result looks cleaner.

16 years agoRe-jig the order of doing things to improve our logging.
Roy Marples [Thu, 14 Aug 2008 16:16:06 +0000 (16:16 +0000)] 
Re-jig the order of doing things to improve our logging.

16 years agoIf a device is not found, report it.
Roy Marples [Thu, 14 Aug 2008 16:15:45 +0000 (16:15 +0000)] 
If a device is not found, report it.

16 years agoDon't warn about dhcpcd not running when using --renew.
Roy Marples [Thu, 14 Aug 2008 16:00:37 +0000 (16:00 +0000)] 
Don't warn about dhcpcd not running when using --renew.

16 years agoDon't error if no interfaces or the state dir does not exist.
Roy Marples [Thu, 14 Aug 2008 12:37:44 +0000 (12:37 +0000)] 
Don't error if no interfaces or the state dir does not exist.