]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
17 years agoAllow socket to report location of the configuration file.
Roy Marples [Fri, 13 Feb 2009 15:39:34 +0000 (15:39 +0000)] 
Allow socket to report location of the configuration file.

17 years agoFix up some more formatting.
Roy Marples [Thu, 12 Feb 2009 10:07:30 +0000 (10:07 +0000)] 
Fix up some more formatting.

17 years agoMore style updates.
Roy Marples [Thu, 12 Feb 2009 01:09:37 +0000 (01:09 +0000)] 
More style updates.

17 years agoEnforce NetBSD KNF style more
Roy Marples [Wed, 11 Feb 2009 17:56:22 +0000 (17:56 +0000)] 
Enforce NetBSD KNF style more

17 years agoLog our control commands.
Roy Marples [Thu, 5 Feb 2009 21:06:57 +0000 (21:06 +0000)] 
Log our control commands.

17 years agoEnsure the buffer is NULL terminated.
Roy Marples [Thu, 5 Feb 2009 21:06:43 +0000 (21:06 +0000)] 
Ensure the buffer is NULL terminated.

17 years agoUse Aq properly.
Roy Marples [Thu, 5 Feb 2009 01:58:17 +0000 (01:58 +0000)] 
Use Aq properly.

17 years agoRelease dhcpcd-4.99.13
Roy Marples [Wed, 4 Feb 2009 20:54:55 +0000 (20:54 +0000)] 
Release dhcpcd-4.99.13

17 years agoIPV4LL addresses are not BOOTP.
Roy Marples [Sun, 1 Feb 2009 20:22:08 +0000 (20:22 +0000)] 
IPV4LL addresses are not BOOTP.

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

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

17 years agoCopyright
Roy Marples [Thu, 29 Jan 2009 13:56:43 +0000 (13:56 +0000)] 
Copyright

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

17 years agoShorten error msg.
Roy Marples [Thu, 29 Jan 2009 13:18:57 +0000 (13:18 +0000)] 
Shorten error msg.

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

17 years agodhcpcd should not send hostname by default.
Roy Marples [Thu, 29 Jan 2009 11:21:16 +0000 (11:21 +0000)] 
dhcpcd should not send hostname by default.
However, the default config file we ship enables the sending of the hostname
by default.
This makes things more explicit I think, and also allows the FQDN to be sent
but not the hostname if someone ever needs this.

17 years agoWe updated these files this year.
Roy Marples [Wed, 28 Jan 2009 10:29:00 +0000 (10:29 +0000)] 
We updated these files this year.

17 years agoWe should state which interface we're removing the route from correctly.
Roy Marples [Tue, 27 Jan 2009 20:57:27 +0000 (20:57 +0000)] 
We should state which interface we're removing the route from correctly.

17 years agoFix compile on BSD.
Roy Marples [Tue, 27 Jan 2009 19:40:05 +0000 (19:40 +0000)] 
Fix compile on BSD.

17 years agoAdd route removal detection to Linux.
Roy Marples [Tue, 27 Jan 2009 18:09:02 +0000 (18:09 +0000)] 
Add route removal detection to Linux.
This involved a rejig of the socket code so we can detect
if we removed the route or not.

17 years agoWe need to ensure that manual route deletions are deleted from our internal routing...
Roy Marples [Mon, 26 Jan 2009 22:32:42 +0000 (22:32 +0000)] 
We need to ensure that manual route deletions are deleted from our internal routing table also. Partial fix for #159.

17 years agoWe should include sys/uio.h for writev
Roy Marples [Mon, 26 Jan 2009 15:15:28 +0000 (15:15 +0000)] 
We should include sys/uio.h for writev

17 years agoRelease 4.99.12
Roy Marples [Mon, 26 Jan 2009 13:14:31 +0000 (13:14 +0000)] 
Release 4.99.12

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

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

17 years agoTerminate hostname
Roy Marples [Mon, 26 Jan 2009 12:47:38 +0000 (12:47 +0000)] 
Terminate hostname

17 years agoStop storing length in hostname.
Roy Marples [Mon, 26 Jan 2009 12:23:57 +0000 (12:23 +0000)] 
Stop storing length in hostname.

17 years agoWe should only send short hostnames as qualfied ones confuse ISC DHCP server. If...
Roy Marples [Mon, 26 Jan 2009 12:00:01 +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.

17 years agoEnsure that we have enough buffer for gethostname and terminate it correctly.
Roy Marples [Mon, 26 Jan 2009 09:11:38 +0000 (09:11 +0000)] 
Ensure that we have enough buffer for gethostname and terminate it correctly.

17 years agoFix compile with crappy linux headers.
Roy Marples [Fri, 23 Jan 2009 23:36:18 +0000 (23:36 +0000)] 
Fix compile with crappy linux headers.

17 years agoRelease 4.99.11
Roy Marples [Fri, 23 Jan 2009 01:31:00 +0000 (01:31 +0000)] 
Release 4.99.11

17 years agoFix a valgrid issue and don't call getifssid unless we are wireless.
Roy Marples [Fri, 23 Jan 2009 01:20:02 +0000 (01:20 +0000)] 
Fix a valgrid issue and don't call getifssid unless we are wireless.

17 years agoReport ssid for carrier events correctly.
Roy Marples [Fri, 23 Jan 2009 01:19:25 +0000 (01:19 +0000)] 
Report ssid for carrier events correctly.

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

17 years agossid should be old_ and new_.
Roy Marples [Thu, 22 Jan 2009 23:52:20 +0000 (23:52 +0000)] 
ssid should be old_ and new_.

17 years agoReport the fact we're wireless and our ssid
Roy Marples [Thu, 22 Jan 2009 22:52:41 +0000 (22:52 +0000)] 
Report the fact we're wireless and our ssid

17 years agoRelease 4.99.10
Roy Marples [Thu, 22 Jan 2009 14:21:55 +0000 (14:21 +0000)] 
Release 4.99.10

17 years agoThe lack of a rebind time should not force a default renewal time, #156.
Roy Marples [Thu, 22 Jan 2009 14:16:29 +0000 (14:16 +0000)] 
The lack of a rebind time should not force a default renewal time, #156.

17 years agoHandle stopping and releasing a little better.
Roy Marples [Tue, 20 Jan 2009 16:33:11 +0000 (16:33 +0000)] 
Handle stopping and releasing a little better.

17 years agoWe need to handle SIGPIPE so we don't abort.
Roy Marples [Tue, 20 Jan 2009 16:32:42 +0000 (16:32 +0000)] 
We need to handle SIGPIPE so we don't abort.

17 years agoEnsure we have a state when comparing
Roy Marples [Tue, 20 Jan 2009 16:02:46 +0000 (16:02 +0000)] 
Ensure we have a state when comparing

17 years agoWhen dropping config, we should punt the old config so we don't drop it twice.
Roy Marples [Mon, 19 Jan 2009 16:17:18 +0000 (16:17 +0000)] 
When dropping config, we should punt the old config so we don't drop it twice.

17 years agoRelease 4.99.8
Roy Marples [Sat, 17 Jan 2009 02:47:26 +0000 (02:47 +0000)] 
Release 4.99.8

17 years agoTest length, not null.
Roy Marples [Sat, 17 Jan 2009 00:43:08 +0000 (00:43 +0000)] 
Test length, not null.

17 years agoStyle.
Roy Marples [Thu, 15 Jan 2009 15:11:30 +0000 (15:11 +0000)] 
Style.

17 years agoWe should use close here.
Roy Marples [Thu, 15 Jan 2009 15:11:13 +0000 (15:11 +0000)] 
We should use close here.

17 years agoWe should shutdown instead of close our sockets to inform clients they have gone.
Roy Marples [Thu, 15 Jan 2009 14:50:19 +0000 (14:50 +0000)] 
We should shutdown instead of close our sockets to inform clients they have gone.

17 years ago--getinterfaces should be more than sufficient for the control socket.
Roy Marples [Thu, 15 Jan 2009 14:22:40 +0000 (14:22 +0000)] 
--getinterfaces should be more than sufficient for the control socket.

17 years agoWe should use the reason CARRIER as well and run carrier notifications after PREINIT.
Roy Marples [Thu, 15 Jan 2009 13:31:46 +0000 (13:31 +0000)] 
We should use the reason CARRIER as well and run carrier notifications after PREINIT.

17 years agoWe need to send the terminator also.
Roy Marples [Thu, 15 Jan 2009 10:12:06 +0000 (10:12 +0000)] 
We need to send the terminator also.

17 years agoWe need to close our listeners before removing the socket so clients close down properly.
Roy Marples [Thu, 15 Jan 2009 09:58:21 +0000 (09:58 +0000)] 
We need to close our listeners before removing the socket so clients close down properly.

17 years agoNew configure reasons NOCARRIER and NAK instead of just sending EXPIRE.
Roy Marples [Thu, 15 Jan 2009 09:30:11 +0000 (09:30 +0000)] 
New configure reasons NOCARRIER and NAK instead of just sending EXPIRE.

17 years agoSend version length first on the control socket.
Roy Marples [Tue, 13 Jan 2009 18:03:12 +0000 (18:03 +0000)] 
Send version length first on the control socket.

17 years agoRemove .svn dirs from snapshots.
Roy Marples [Tue, 13 Jan 2009 17:36:11 +0000 (17:36 +0000)] 
Remove .svn dirs from snapshots.

17 years agoCopyright.
Roy Marples [Tue, 13 Jan 2009 17:05:13 +0000 (17:05 +0000)] 
Copyright.

17 years agoStore the reason we run the script against the interface state.
Roy Marples [Tue, 13 Jan 2009 17:04:28 +0000 (17:04 +0000)] 
Store the reason we run the script against the interface state.
This enables us to query states via the control socket.

17 years agoRemove the limit for the number of connections to the control socket.
Roy Marples [Mon, 12 Jan 2009 16:39:01 +0000 (16:39 +0000)] 
Remove the limit for the number of connections to the control socket.
Send the dhcpcd-run-hooks enviornment to listeners on the control socket.

17 years agowhitespace
Roy Marples [Mon, 12 Jan 2009 16:35:58 +0000 (16:35 +0000)] 
whitespace

17 years agoCopyright
Roy Marples [Mon, 12 Jan 2009 16:31:13 +0000 (16:31 +0000)] 
Copyright

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

17 years agoImprove the nohook documentation.
Roy Marples [Mon, 5 Jan 2009 15:52:08 +0000 (15:52 +0000)] 
Improve the nohook documentation.

17 years agoSpelling
Roy Marples [Mon, 5 Jan 2009 15:50:14 +0000 (15:50 +0000)] 
Spelling

17 years agoAllow version to be returned over the control interface.
Roy Marples [Mon, 5 Jan 2009 08:20:53 +0000 (08:20 +0000)] 
Allow version to be returned over the control interface.

17 years agoAdding subnet routes with just sdl_index set does not work for FreeBSD.
Roy Marples [Fri, 2 Jan 2009 09:31:42 +0000 (09:31 +0000)] 
Adding subnet routes with just sdl_index set does not work for FreeBSD.

17 years agoFix getting ssid.
Roy Marples [Thu, 1 Jan 2009 21:31:49 +0000 (21:31 +0000)] 
Fix getting ssid.

17 years agoYou can now add a configure block per ssid if the interface is wireless.
Roy Marples [Thu, 1 Jan 2009 20:51:04 +0000 (20:51 +0000)] 
You can now add a configure block per ssid if the interface is wireless.

17 years agoAdd a static directive that allows the configuration of variables, which
Roy Marples [Thu, 1 Jan 2009 14:23:36 +0000 (14:23 +0000)] 
Add a static directive that allows the configuration of variables, which
supercedes any DHCP configured variables.
If ip_address is configured then we don't bother with a DHCP
transaction.

17 years agoDocument the BSD subnet manipulation issue in the README and not the man page.
Roy Marples [Sun, 21 Dec 2008 20:53:07 +0000 (20:53 +0000)] 
Document the BSD subnet manipulation issue in the README and not the man page.

17 years agoRelease 4.99.7
Roy Marples [Fri, 19 Dec 2008 12:52:38 +0000 (12:52 +0000)] 
Release 4.99.7

17 years agoDocument the BSD issue with dhcpcd changing the subnet route.
Roy Marples [Thu, 18 Dec 2008 12:14:09 +0000 (12:14 +0000)] 
Document the BSD issue with dhcpcd changing the subnet route.

17 years agosend_request is no longer a public interface.
Roy Marples [Thu, 18 Dec 2008 10:25:52 +0000 (10:25 +0000)] 
send_request is no longer a public interface.

17 years agoAdd the DHS_PROBE state so that we ignore subsequent offers
Roy Marples [Thu, 18 Dec 2008 10:23:40 +0000 (10:23 +0000)] 
Add the DHS_PROBE state so that we ignore subsequent offers
whilst probing.

17 years agoDocument avoiding BOOTP servers.
Roy Marples [Tue, 16 Dec 2008 17:52:12 +0000 (17:52 +0000)] 
Document avoiding BOOTP servers.

17 years agoTypo.
Roy Marples [Tue, 16 Dec 2008 16:31:38 +0000 (16:31 +0000)] 
Typo.

17 years agoStyle.
Roy Marples [Tue, 16 Dec 2008 16:30:59 +0000 (16:30 +0000)] 
Style.

17 years agoPlug a leak.
Roy Marples [Tue, 16 Dec 2008 13:35:05 +0000 (13:35 +0000)] 
Plug a leak.

17 years agoRe work the route management so we deal with a changed route table in a renewal/rebin...
Roy Marples [Tue, 16 Dec 2008 13:28:42 +0000 (13:28 +0000)] 
Re work the route management so we deal with a changed route table in a renewal/rebind correctly.

17 years agoTry and make the subnet route identical to the kernel one.
Roy Marples [Sat, 13 Dec 2008 09:40:27 +0000 (09:40 +0000)] 
Try and make the subnet route identical to the kernel one.

17 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

17 years agoDefault route is more descriptive.
Roy Marples [Tue, 2 Dec 2008 14:54:46 +0000 (14:54 +0000)] 
Default route is more descriptive.

17 years agoSave a malloc
Roy Marples [Tue, 2 Dec 2008 14:18:37 +0000 (14:18 +0000)] 
Save a malloc

17 years agoEnsure we de-reference the old pointer from the open routes correctly when building...
Roy Marples [Tue, 2 Dec 2008 00:24:25 +0000 (00:24 +0000)] 
Ensure we de-reference the old pointer from the open routes correctly when building lists.

17 years agoDon't delete static ARP entries
Roy Marples [Mon, 1 Dec 2008 20:18:02 +0000 (20:18 +0000)] 
Don't delete static ARP entries

17 years agoSave a few more bytes.
Roy Marples [Mon, 1 Dec 2008 18:03:20 +0000 (18:03 +0000)] 
Save a few more bytes.

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

17 years agoAdd desc_route to save some bytes.
Roy Marples [Mon, 1 Dec 2008 16:56:56 +0000 (16:56 +0000)] 
Add desc_route to save some bytes.

17 years agoEnsure that we add the src pref address.
Roy Marples [Thu, 27 Nov 2008 16:16:32 +0000 (16:16 +0000)] 
Ensure that we add the src pref address.

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

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

17 years agoRelease 4.99.6
Roy Marples [Tue, 25 Nov 2008 21:00:46 +0000 (21:00 +0000)] 
Release 4.99.6

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

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

17 years agoStyle
Roy Marples [Tue, 25 Nov 2008 11:39:09 +0000 (11:39 +0000)] 
Style

17 years agoDon't manipulate subnet routes when they are INADDR_BROADCAST as they don't exist.
Roy Marples [Mon, 24 Nov 2008 22:30:41 +0000 (22:30 +0000)] 
Don't manipulate subnet routes when they are INADDR_BROADCAST as they don't exist.

17 years agoProbably better to exit here.
Roy Marples [Mon, 24 Nov 2008 11:21:31 +0000 (11:21 +0000)] 
Probably better to exit here.

17 years agoWork out __restrict better.
Roy Marples [Mon, 24 Nov 2008 11:21:11 +0000 (11:21 +0000)] 
Work out __restrict better.

17 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

17 years agoPlug a leak when rebinding interfaces via the control socket.
Roy Marples [Thu, 20 Nov 2008 10:50:46 +0000 (10:50 +0000)] 
Plug a leak when rebinding interfaces via the control socket.

17 years agoBOOTP fixes. Also, we don't write a BOOTP lease file.
Roy Marples [Thu, 20 Nov 2008 09:57:46 +0000 (09:57 +0000)] 
BOOTP fixes. Also, we don't write a BOOTP lease file.

17 years agoWe are now a BOOTP client also :)
Roy Marples [Wed, 19 Nov 2008 15:48:18 +0000 (15:48 +0000)] 
We are now a BOOTP client also :)