| Thu, 25 Sep 2008 21:23:16 +0000 |
Roy Marples |
Punt old dirs and work with svn.
draft
|
| Fri, 19 Sep 2008 23:31:17 +0000 |
Roy Marples |
Fix comment.
draft
|
| Fri, 19 Sep 2008 13:36:40 +0000 |
Roy Marples |
4.99.2
draft
|
| Wed, 17 Sep 2008 13:09:30 +0000 |
Roy Marples |
As we now use times to trigger again instead of decreasing timers, ensure our lease fits. We may wish to revisit this again if we need decreasing timers once more.
draft
|
| Wed, 17 Sep 2008 10:37:03 +0000 |
Roy Marples |
Fix pointer.
draft
|
| Wed, 17 Sep 2008 10:32:55 +0000 |
Roy Marples |
Move wireless detection from net.c into if-bsd.c and if-linux.c
draft
|
| Wed, 17 Sep 2008 10:32:34 +0000 |
Roy Marples |
Document metrics better.
draft
|
| Wed, 17 Sep 2008 08:29:56 +0000 |
Roy Marples |
Fix rebooting off a signal.
draft
|
| Tue, 16 Sep 2008 13:17:23 +0000 |
Roy Marples |
Allow the release keyword in dhcpcd.conf to release the lease on shutdown.
draft
|
| Tue, 16 Sep 2008 13:15:21 +0000 |
Roy Marples |
Fix compile.
draft
|
| Tue, 16 Sep 2008 10:02:14 +0000 |
Roy Marples |
Fix discovery
draft
|
| Tue, 16 Sep 2008 09:55:46 +0000 |
Roy Marples |
Move AF_LINK discovery to if-bsd.c. Also, we only work with IFT_ETHER types currently, so skip others.
draft
|
| Mon, 15 Sep 2008 19:31:18 +0000 |
Roy Marples |
Loads of changes, so the next full version will be 5.0. We'll releae 4.99.1 here.
draft
|
| Mon, 15 Sep 2008 19:30:44 +0000 |
Roy Marples |
Remove debug.
draft
|
| Mon, 15 Sep 2008 19:15:52 +0000 |
Roy Marples |
We need to flush the ARP table after configuring new routes.
draft
|
| Mon, 15 Sep 2008 16:53:11 +0000 |
Roy Marples |
Add subnet routes to our routing table so we can change them for systems without metrics.
draft
|
| Mon, 15 Sep 2008 16:43:57 +0000 |
Roy Marples |
Fix segfault when passing options in.
draft
|
| Mon, 15 Sep 2008 16:43:27 +0000 |
Roy Marples |
Fix reboot timeout in dhcpcd.conf.
draft
|
| Mon, 15 Sep 2008 15:23:46 +0000 |
Roy Marples |
Reboot off the last lease and use the last lease if not expired and user has asked for it. Also, add a reboot timeout toggle (default 10 seconds).
draft
|
| Mon, 15 Sep 2008 15:20:37 +0000 |
Roy Marples |
Correctly set the REBOOT reason.
draft
|
| Mon, 15 Sep 2008 15:20:09 +0000 |
Roy Marples |
Don't decline leases that we loaded from disk.
draft
|
| Mon, 15 Sep 2008 09:05:29 +0000 |
Roy Marples |
Fix subnet routes. This needs more testing.
draft
|
| Mon, 15 Sep 2008 09:02:56 +0000 |
Roy Marples |
Don't overflow the buffer.
draft
|
| Sun, 14 Sep 2008 09:07:34 +0000 |
Roy Marples |
Ensure that routes go via the correct interface and set netmask correctly.
draft
|
| Sun, 14 Sep 2008 09:06:22 +0000 |
Roy Marples |
We may change size of hwaddr_buffer, so just use sizeof.
draft
|
| Sat, 13 Sep 2008 11:17:24 +0000 |
Roy Marples |
We need to drop config on carrier loss now.
draft
|
| Sat, 13 Sep 2008 10:49:23 +0000 |
Roy Marples |
We don't add this anymore.
draft
|
| Sat, 13 Sep 2008 10:48:48 +0000 |
Roy Marples |
Fix subnet route.
draft
|
| Fri, 12 Sep 2008 18:08:07 +0000 |
Roy Marples |
Remove remembering routes per interface and have a global routing table so we can change routes depending on interface state. This is very useful for the BSD's where there is no route metric.
draft
|
| Thu, 11 Sep 2008 22:55:27 +0000 |
Roy Marples |
Drop interfaces in reverse order when stopping and handle removal of interfaces in one function.
draft
|
| Thu, 11 Sep 2008 15:50:19 +0000 |
Roy Marples |
Fix removing old config.
draft
|
| Thu, 11 Sep 2008 09:56:57 +0000 |
Roy Marples |
Tidy up some valgrind errors.
draft
|
| Thu, 11 Sep 2008 09:38:02 +0000 |
Roy Marples |
Add allowinterfaces and denyinterfaces options to dhcpcd.conf for better multiple interface support.
draft
|
| Thu, 11 Sep 2008 08:28:39 +0000 |
Roy Marples |
Allow quiet and nobackground to work in dhcpcd.conf
draft
|
| Wed, 10 Sep 2008 12:39:20 +0000 |
Roy Marples |
Move function lower down as it's not that important.
draft
|
| Wed, 10 Sep 2008 12:34:25 +0000 |
Roy Marples |
Export IF_METRIC to resolvconf. We should change to the -m option when openresolv-1.8 gets around abit.
draft
|
| Tue, 09 Sep 2008 20:52:39 +0000 |
Roy Marples |
Fix interface detection.
draft
|
| Tue, 09 Sep 2008 20:52:21 +0000 |
Roy Marples |
Fix memory errors.
draft
|
| Tue, 09 Sep 2008 19:07:37 +0000 |
Roy Marples |
Fix compile errors.
draft
|
| Tue, 09 Sep 2008 17:07:48 +0000 |
Roy Marples |
Sort interfaces according to preference and pass this to dhcpcd-run-hooks so we can prefer configs.
draft
|
| Tue, 09 Sep 2008 15:36:50 +0000 |
Roy Marples |
We don't create these files, so don't clean them.
draft
|
| Tue, 09 Sep 2008 08:16:15 +0000 |
Roy Marples |
We no longer ship .sh files, so remove the construct.
draft
|
| Mon, 08 Sep 2008 11:30:31 +0000 |
Roy Marples |
On Linux, fix replacing the kernel added subnet route correctly for metrics.
draft
|
| Mon, 08 Sep 2008 11:28:12 +0000 |
Roy Marples |
Fix renewing.
draft
|
| Mon, 08 Sep 2008 08:19:06 +0000 |
Roy Marples |
Use -S to test full compiler flags.
draft
|
| Sat, 06 Sep 2008 19:41:05 +0000 |
Roy Marples |
Check carrier when starting reboot.
draft
|
| Sat, 06 Sep 2008 19:24:40 +0000 |
Roy Marples |
Style.
draft
|
| Sat, 06 Sep 2008 18:43:27 +0000 |
Roy Marples |
ocets might as well be size_t. This also fixes a segfault whe compiled with pcc.
draft
|
| Sat, 06 Sep 2008 18:24:27 +0000 |
Roy Marples |
Tests now work with gcc and pcc.
draft
|
| Sat, 06 Sep 2008 15:53:31 +0000 |
Roy Marples |
Always test our cc options with a valid input file.
draft
|
| Fri, 05 Sep 2008 19:44:02 +0000 |
Roy Marples |
Should use LOG_DAEMON as we're a DHCP Client Daemon
draft
|
| Fri, 05 Sep 2008 18:24:34 +0000 |
Roy Marples |
Remove logger and exclusively uses syslog instead. This saves almost 2K on NetBSD/amd64 from before changing strerror to %m.
draft
|
| Fri, 05 Sep 2008 15:46:02 +0000 |
Roy Marples |
Don't spam on startup about unsupported interfaces if quiet.
draft
|
| Fri, 05 Sep 2008 15:28:08 +0000 |
Roy Marples |
Fix the define for GLIBC. uClibc just passes syslog to printf, so assume %m works there also.
draft
|
| Fri, 05 Sep 2008 14:16:53 +0000 |
Roy Marples |
Save more memory, malloc the pidfile.
draft
|
| Fri, 05 Sep 2008 13:28:44 +0000 |
Roy Marples |
Don't use a needless buffer for cffile.
draft
|
| Fri, 05 Sep 2008 13:12:35 +0000 |
Roy Marples |
As our logger calls emulate syslog, we can use %m. However, this means we have to convert it for printf as POSIX does not require that printf supports it. This also means we drop -pedantic from our GCC flags.
draft
|
| Fri, 05 Sep 2008 11:54:44 +0000 |
Roy Marples |
Pack the dhcp structure.
draft
|
| Fri, 05 Sep 2008 11:46:03 +0000 |
Roy Marples |
Mark functions as _noreturn.
draft
|
| Fri, 05 Sep 2008 07:31:09 +0000 |
Roy Marples |
Make TEST work once more.
draft
|
| Fri, 05 Sep 2008 07:22:03 +0000 |
Roy Marples |
Remove some ints and replace with our option mask.
draft
|
| Thu, 04 Sep 2008 22:41:33 +0000 |
Roy Marples |
Add the remembered routes in reverse order. This saves having to reverse them later, and uses less code. Remember the new subnet route when changing it for the metric.
draft
|
| Thu, 04 Sep 2008 22:02:57 +0000 |
Roy Marples |
Ensure last is set when deleting events.
draft
|
| Thu, 04 Sep 2008 22:02:32 +0000 |
Roy Marples |
Ensure background is initialised.
draft
|
| Thu, 04 Sep 2008 15:42:09 +0000 |
Roy Marples |
Mark as daemonised correctly.
draft
|
| Thu, 04 Sep 2008 15:24:55 +0000 |
Roy Marples |
Make background work again.
draft
|
| Thu, 04 Sep 2008 14:12:20 +0000 |
Roy Marples |
Fix compile.
draft
|
| Thu, 04 Sep 2008 14:08:14 +0000 |
Roy Marples |
Enable detection of addition and removal of interfaces on Linux.
draft
|
| Thu, 04 Sep 2008 11:43:56 +0000 |
Roy Marples |
Fix compile on Linux.
draft
|
| Thu, 04 Sep 2008 11:30:11 +0000 |
Roy Marples |
When OS reports new and removed interfaces, dhcpcd sees this and either starts or stops watching them. BSD only, Linux to follow.
draft
|
| Thu, 04 Sep 2008 09:43:52 +0000 |
Roy Marples |
If we fail to send a packet, remove the interface from consideration.
draft
|
| Thu, 04 Sep 2008 09:43:33 +0000 |
Roy Marples |
Not needed.
draft
|
| Thu, 04 Sep 2008 08:48:06 +0000 |
Roy Marples |
Only free the option buffer when debugging memory leaks.
draft
|
| Thu, 04 Sep 2008 08:31:00 +0000 |
Roy Marples |
Use static buffers for ARP and move the send code to arp.c. Also, move the hwaddr buffer to the top of the file for clarity.
draft
|
| Thu, 04 Sep 2008 08:27:38 +0000 |
Roy Marples |
No need to be this complicated.
draft
|
| Thu, 04 Sep 2008 08:20:26 +0000 |
Roy Marples |
Ensure that clientid is free before reallocing it.
draft
|
| Wed, 03 Sep 2008 23:36:46 +0000 |
Roy Marples |
Work around broken linux headers when including wireless.h
draft
|
| Wed, 03 Sep 2008 19:27:47 +0000 |
Roy Marples |
Allow 5 control socket connections at once. Time each out after 5 minutes.
draft
|
| Wed, 03 Sep 2008 16:50:52 +0000 |
Roy Marples |
Merge branch 'master' of git.marples.name:/var/git/dhcpcd
draft
|
| Wed, 03 Sep 2008 16:49:28 +0000 |
Roy Marples |
Add a control socket so that interfaces can be dynamically re-set.
draft
|
| Tue, 02 Sep 2008 18:29:49 +0000 |
Roy Marples |
Clean code.
draft
|
| Tue, 02 Sep 2008 15:35:02 +0000 |
Roy Marples |
Don't need this.
draft
|
| Tue, 02 Sep 2008 15:25:14 +0000 |
Roy Marples |
Fix compile and wireless test on FreeBSD.
draft
|
| Tue, 02 Sep 2008 15:11:01 +0000 |
Roy Marples |
Add wireless detection to NetBSD (tested) and FreeBSD (untested).
draft
|
| Tue, 02 Sep 2008 15:07:01 +0000 |
Roy Marples |
strncpy -> strlcpy.
draft
|
| Tue, 02 Sep 2008 13:28:11 +0000 |
Roy Marples |
Add an event loop.
draft
|
| Tue, 26 Aug 2008 13:27:07 +0000 |
Roy Marples |
Style
draft
|
| Mon, 25 Aug 2008 07:34:10 +0000 |
Roy Marples |
Fix CMDLINE_COMPAT.
draft
|
| Sun, 24 Aug 2008 11:56:30 +0000 |
Roy Marples |
Release dhcpcd-4.0.0 :D
draft
|
| Fri, 22 Aug 2008 09:48:25 +0000 |
Roy Marples |
Style.
draft
|
| Fri, 22 Aug 2008 09:44:02 +0000 |
Roy Marples |
Don't errors when opening a UDP socket for INADDR_ANY and soemthing else already has it open.
draft
|
| Thu, 21 Aug 2008 08:52:34 +0000 |
Roy Marples |
Always open a UDP port on the interface.
draft
|
| Wed, 20 Aug 2008 08:50:38 +0000 |
Roy Marples |
Move the --renew option to --rebind as it's more accurate (both are -n). Support --renew when CMDLINE_COMPAT is enabled.
draft
|
| Wed, 20 Aug 2008 08:40:53 +0000 |
Roy Marples |
Clarify that dhcpcd will not re-configure itself or use any command line arguments when signalling an existing process to renew.
draft
|
| Tue, 19 Aug 2008 13:31:59 +0000 |
Roy Marples |
We should really enter the rebinding state on a requested renew as we're broadcasting instead of unicasting.
draft
|
| Tue, 19 Aug 2008 10:18:31 +0000 |
Roy Marples |
Don't run PREINIT when testing.
draft
|
| Mon, 18 Aug 2008 18:35:12 +0000 |
Roy Marples |
Fix Test returning to userland.
draft
|
| Mon, 18 Aug 2008 18:34:40 +0000 |
Roy Marples |
pidfiles normally have a new line
draft
|
| Mon, 18 Aug 2008 12:46:18 +0000 |
Roy Marples |
Fix some config reading.
draft
|
| Mon, 18 Aug 2008 12:43:05 +0000 |
Roy Marples |
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.
draft
|
| Sun, 17 Aug 2008 15:13:23 +0000 |
Roy Marples |
Document correct background option in dhcpcd.conf
draft
|
| Fri, 15 Aug 2008 19:29:24 +0000 |
Roy Marples |
Fix compat.
draft
|
| Fri, 15 Aug 2008 19:24:39 +0000 |
Roy Marples |
Release dhcpcd-4.0.0-rc5
draft
|
| Fri, 15 Aug 2008 11:33:33 +0000 |
Roy Marples |
If cmp and diff aren't around, try a text match using cat. After all, we are working with text files.
draft
|
| Fri, 15 Aug 2008 11:06:27 +0000 |
Roy Marples |
Don't enforce that keys are space separated
draft
|
| Fri, 15 Aug 2008 09:07:56 +0000 |
Roy Marples |
sed may not always be available, so use shell loops to replicate behaviour in this case
draft
|
| Fri, 15 Aug 2008 03:31:37 +0000 |
Roy Marples |
Fix cmp test.
draft
|
| Fri, 15 Aug 2008 03:22:21 +0000 |
Roy Marples |
Remove the append/clean framework and prefer a store and merge
draft
|
| Thu, 14 Aug 2008 16:16:06 +0000 |
Roy Marples |
Re-jig the order of doing things to improve our logging.
draft
|
| Thu, 14 Aug 2008 16:15:45 +0000 |
Roy Marples |
If a device is not found, report it.
draft
|
| Thu, 14 Aug 2008 16:00:37 +0000 |
Roy Marples |
Don't warn about dhcpcd not running when using --renew.
draft
|
| Thu, 14 Aug 2008 12:37:44 +0000 |
Roy Marples |
Don't error if no interfaces or the state dir does not exist.
draft
|
| Thu, 14 Aug 2008 12:17:23 +0000 |
Roy Marples |
Set the main state dir in the main hook script.
draft
|
| Thu, 14 Aug 2008 12:14:23 +0000 |
Roy Marples |
Don't quote for uniqify and use 1 sed call instead of looping.
draft
|
| Thu, 14 Aug 2008 11:00:58 +0000 |
Roy Marples |
Move uniqify to dhcpcd-run-hooks
draft
|
| Thu, 14 Aug 2008 10:38:15 +0000 |
Roy Marples |
If resolvconf is not present, try and emulate it's functionality just for dhcpcd so we can sanely handle >1 instance running.
draft
|
| Thu, 14 Aug 2008 10:37:11 +0000 |
Roy Marples |
Make signature more sane and fix comment.
draft
|
| Thu, 14 Aug 2008 08:34:38 +0000 |
Roy Marples |
We should always run the script on FAIL.
draft
|
| Thu, 14 Aug 2008 08:06:21 +0000 |
Roy Marples |
Be consistent with dhcient - always PREINIT on startup. We can use this to purge stale configuration.
draft
|
| Wed, 13 Aug 2008 21:29:30 +0000 |
Roy Marples |
classid -> vendorclassid to match the RFC description.
draft
|