]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Mon, 30 Jun 2008 14:15:03 +0000 (14:15 +0000)]
We need to copy out the script from the config file as it's no longer a constant var.
Roy Marples [Sun, 29 Jun 2008 19:48:25 +0000 (19:48 +0000)]
Fix some valgrind errors.
Roy Marples [Sun, 29 Jun 2008 18:28:19 +0000 (18:28 +0000)]
Save a few bytes by treating some strings like DHCP options, having the first byte as the length.
Roy Marples [Sun, 29 Jun 2008 10:55:21 +0000 (10:55 +0000)]
Fix hwaddr_aton
Roy Marples [Sat, 28 Jun 2008 13:50:17 +0000 (13:50 +0000)]
Fix renewing.
Roy Marples [Fri, 20 Jun 2008 15:37:15 +0000 (15:37 +0000)]
Request as much as the packet as we can with buggy BPF filters.
Roy Marples [Fri, 20 Jun 2008 06:56:31 +0000 (06:56 +0000)]
beta7
Roy Marples [Fri, 20 Jun 2008 06:47:15 +0000 (06:47 +0000)]
Optimize the state engine a little and fix timeval -> poll timeout calculation.
Roy Marples [Thu, 19 Jun 2008 21:26:41 +0000 (21:26 +0000)]
whitespace
Roy Marples [Thu, 19 Jun 2008 15:58:02 +0000 (15:58 +0000)]
Add metric= to our env, #93 thanks to Tobias Volk.
Roy Marples [Wed, 18 Jun 2008 10:23:16 +0000 (10:23 +0000)]
Allow LIBEXECDIR to inherit from env.
Roy Marples [Wed, 18 Jun 2008 09:59:33 +0000 (09:59 +0000)]
Man page fixes.
Roy Marples [Wed, 18 Jun 2008 09:27:08 +0000 (09:27 +0000)]
Re number the hook scripts to give more space.
Roy Marples [Wed, 18 Jun 2008 09:05:04 +0000 (09:05 +0000)]
De-configure when rebinding fails.
Roy Marples [Fri, 13 Jun 2008 10:10:00 +0000 (10:10 +0000)]
Disable the requesting of MTU by default as there's a lot of buggy servers out there. Plus we maybe trying to use jumbo frames.
Roy Marples [Fri, 13 Jun 2008 09:55:18 +0000 (09:55 +0000)]
Add 05-mtu hook so we respect the desired MTU on networks.
Roy Marples [Fri, 13 Jun 2008 08:31:21 +0000 (08:31 +0000)]
Clear the timer and counters at the start of the timeout failed function so we don't loop.
Roy Marples [Thu, 12 Jun 2008 08:57:29 +0000 (08:57 +0000)]
On NAK, clear the timer and lease so we init correctly.
Roy Marples [Wed, 11 Jun 2008 09:47:37 +0000 (09:47 +0000)]
Don't flush addresses on startup anymore. Also, fix inform leasetimes.
Roy Marples [Wed, 11 Jun 2008 08:43:08 +0000 (08:43 +0000)]
We don't use this var anymore.
Roy Marples [Tue, 10 Jun 2008 22:23:57 +0000 (22:23 +0000)]
Remove the signal array stack as our pipe handling should be secure enough now. Also, move the normalize close_on_exec and setting non block.
Roy Marples [Tue, 10 Jun 2008 21:47:39 +0000 (21:47 +0000)]
Remove KEEPADDRESS as it makes no sense right now. Also, fix adding --request without an address.
Roy Marples [Tue, 10 Jun 2008 09:33:13 +0000 (09:33 +0000)]
If test works ensure we return 0 to userland.
Roy Marples [Tue, 10 Jun 2008 06:50:01 +0000 (06:50 +0000)]
Timeout on negative timeouts.
Roy Marples [Mon, 9 Jun 2008 18:29:33 +0000 (18:29 +0000)]
Fix compile for NO_FORK users.
Roy Marples [Mon, 9 Jun 2008 08:21:28 +0000 (08:21 +0000)]
Fix compile.
Roy Marples [Mon, 9 Jun 2008 06:19:34 +0000 (06:19 +0000)]
We now support IPv4LL fully - until someone points out we don't ;)
Roy Marples [Sun, 8 Jun 2008 20:07:54 +0000 (20:07 +0000)]
Re-write the client state engine around a simple timer instead of complex loops. Use the re-transmission times as per RFC 2131. Integrate the ARP handling code in the new engine so we are able to defend our IPV4LL address whilst negotiating a DHCP lease. This also means we're able to bind the address and fork BEFORE waiting to send announcements which makes us appear faster on the commandline.
Roy Marples [Sun, 8 Jun 2008 06:50:42 +0000 (06:50 +0000)]
Typo.
Roy Marples [Sat, 7 Jun 2008 00:15:14 +0000 (00:15 +0000)]
Bump to beta6 for internal testing and move UNCONST to common.h
Roy Marples [Sat, 7 Jun 2008 00:14:16 +0000 (00:14 +0000)]
We should test a specific fd instead of index 0 in a structure.
Roy Marples [Sat, 7 Jun 2008 00:11:17 +0000 (00:11 +0000)]
Add a function to test if a fd has data to be read.
Roy Marples [Sat, 7 Jun 2008 00:10:15 +0000 (00:10 +0000)]
Increase the default timeout to 30 seconds to allow 3 RFC conformant re-transmissions + 2 seconds grace.
Roy Marples [Sat, 7 Jun 2008 00:08:07 +0000 (00:08 +0000)]
make DEBUG=yes enabled ggdb.
Roy Marples [Sat, 7 Jun 2008 00:07:05 +0000 (00:07 +0000)]
Allow building of snapshots.
Roy Marples [Wed, 4 Jun 2008 16:36:12 +0000 (16:36 +0000)]
Add a sample NetworkManager hook script.
Roy Marples [Tue, 3 Jun 2008 22:21:51 +0000 (22:21 +0000)]
We should not be setting IFF_RUNNING - that's the job of the interface driver.
Roy Marples [Fri, 30 May 2008 10:51:56 +0000 (10:51 +0000)]
Add a note about dhcpcd not fully supporting RFC 3927 yet.
Roy Marples [Fri, 30 May 2008 10:27:15 +0000 (10:27 +0000)]
Kernel will send the 2nd annoucemnent when we add the address.
Roy Marples [Fri, 30 May 2008 09:52:09 +0000 (09:52 +0000)]
Parse the ARP packet better.
Roy Marples [Fri, 30 May 2008 09:51:45 +0000 (09:51 +0000)]
Don't request the last tried IPV4LL address.
Roy Marples [Thu, 29 May 2008 19:26:16 +0000 (19:26 +0000)]
Make the timings more random by using the full range of poll timeout.
Roy Marples [Thu, 29 May 2008 19:05:28 +0000 (19:05 +0000)]
Should clean the core files too.
Roy Marples [Thu, 29 May 2008 17:04:29 +0000 (17:04 +0000)]
Improve documentation about inform
Roy Marples [Thu, 29 May 2008 16:57:47 +0000 (16:57 +0000)]
persist addresses for INFORM
Roy Marples [Thu, 29 May 2008 15:08:39 +0000 (15:08 +0000)]
Remove pointless header.
Roy Marples [Thu, 29 May 2008 13:21:58 +0000 (13:21 +0000)]
Check size of arp reply vs what we need. Also, no need to copy out the hardware addresses.
Roy Marples [Thu, 29 May 2008 11:58:25 +0000 (11:58 +0000)]
Respect RFC 3927 more, regarding times and conflicts.
Roy Marples [Thu, 29 May 2008 08:26:57 +0000 (08:26 +0000)]
DISABLE_FEATURE defines now don't enable automatic ENABLE_FEATURE defines.
Roy Marples [Wed, 28 May 2008 13:21:28 +0000 (13:21 +0000)]
Ensure that IPV4LL defends by doing a DHCP_DISCOVER for 10 seconds and then falling back to ARP checking for our address.
Roy Marples [Wed, 28 May 2008 12:03:03 +0000 (12:03 +0000)]
Back off IPv4LL detection after MAX_CONFLICTS.
Roy Marples [Wed, 28 May 2008 12:02:04 +0000 (12:02 +0000)]
We should inspect our signal fd before processing ARP replies.
Roy Marples [Wed, 28 May 2008 09:30:45 +0000 (09:30 +0000)]
When we're persistent and using the last lease ignore expired check. This is so we work with NFS / and the DHCP server has been down for a while.
Roy Marples [Wed, 28 May 2008 07:12:06 +0000 (07:12 +0000)]
Put env var back :)
Roy Marples [Wed, 28 May 2008 07:11:07 +0000 (07:11 +0000)]
Only calculate strlen(oarg), saves space and fixes parsing fqdn in the config file.
Roy Marples [Wed, 28 May 2008 06:43:32 +0000 (06:43 +0000)]
Document -x
Roy Marples [Tue, 27 May 2008 20:04:15 +0000 (20:04 +0000)]
Fix the option to change script.
Roy Marples [Tue, 27 May 2008 19:06:48 +0000 (19:06 +0000)]
Replace the signal clear with a pipe so child can notify parent when to exit.
Roy Marples [Tue, 27 May 2008 18:47:50 +0000 (18:47 +0000)]
Fix signal loop.
Roy Marples [Tue, 27 May 2008 12:41:42 +0000 (12:41 +0000)]
Use new names.
Roy Marples [Tue, 27 May 2008 12:39:00 +0000 (12:39 +0000)]
Merge branch 'master' of git.marples.name:/var/git/dhcpcd
Roy Marples [Tue, 27 May 2008 12:32:36 +0000 (12:32 +0000)]
Use new names.
Roy Marples [Tue, 27 May 2008 11:26:24 +0000 (11:26 +0000)]
We source the hooks, so use FILES instead of SCRIPTS.
Roy Marples [Tue, 27 May 2008 11:22:58 +0000 (11:22 +0000)]
Fix rc-service command.
Roy Marples [Tue, 27 May 2008 09:14:33 +0000 (09:14 +0000)]
Use the write length.
Roy Marples [Tue, 27 May 2008 09:14:04 +0000 (09:14 +0000)]
Move NO_FORK code down so options is initialised.
Roy Marples [Mon, 26 May 2008 20:43:34 +0000 (20:43 +0000)]
Fix pointer.
Roy Marples [Mon, 26 May 2008 19:48:46 +0000 (19:48 +0000)]
Fix compile.
Roy Marples [Mon, 26 May 2008 19:19:11 +0000 (19:19 +0000)]
Fix a signal race when daemonising.
Roy Marples [Mon, 26 May 2008 16:06:35 +0000 (16:06 +0000)]
set is shell builtin, env is not
Roy Marples [Mon, 26 May 2008 09:58:36 +0000 (09:58 +0000)]
Pull ARP replies correctly.
Roy Marples [Sat, 24 May 2008 17:47:44 +0000 (17:47 +0000)]
dhcpcd-4.0.0-beta5
Roy Marples [Sat, 24 May 2008 17:45:38 +0000 (17:45 +0000)]
Fix install.
Roy Marples [Sat, 24 May 2008 17:40:38 +0000 (17:40 +0000)]
Document --script.
Roy Marples [Sat, 24 May 2008 17:37:15 +0000 (17:37 +0000)]
Fix subdir
Roy Marples [Sat, 24 May 2008 17:30:00 +0000 (17:30 +0000)]
Style.
Roy Marples [Sat, 24 May 2008 17:18:07 +0000 (17:18 +0000)]
Rename hook script to reflect the config file they are updating.
Roy Marples [Sat, 24 May 2008 17:15:34 +0000 (17:15 +0000)]
Merge branch 'master' of git.marples.name:/var/git/dhcpcd
Roy Marples [Sat, 24 May 2008 17:15:14 +0000 (17:15 +0000)]
Move dhcpcd.sh to dhcpcd-run-hooks and remove .sh suffixes
Roy Marples [Fri, 23 May 2008 07:31:17 +0000 (07:31 +0000)]
Don't bother appending log level to stdout, save a few bytes.
Roy Marples [Fri, 23 May 2008 06:36:57 +0000 (06:36 +0000)]
Fix shell logic
Roy Marples [Thu, 22 May 2008 21:41:40 +0000 (21:41 +0000)]
Just use /etc.
Roy Marples [Thu, 22 May 2008 21:41:27 +0000 (21:41 +0000)]
Use proper words.
Roy Marples [Thu, 22 May 2008 18:16:22 +0000 (18:16 +0000)]
Put my code at the top and UNCONST filters in bpf.c
Roy Marples [Thu, 22 May 2008 16:08:22 +0000 (16:08 +0000)]
Don't echo loglevel names to stdout.
Roy Marples [Thu, 22 May 2008 16:07:45 +0000 (16:07 +0000)]
Add ISC copyright to dhcp_bpf_filter.
Roy Marples [Thu, 22 May 2008 13:59:33 +0000 (13:59 +0000)]
Use constant BPF structures and defines to alter the data instead of functions. Smaller code :)
Roy Marples [Thu, 22 May 2008 09:23:03 +0000 (09:23 +0000)]
Installing to FHS dirs just for Linux is silly, especially as GNU autotools don't by default. With installing to the same dirs regardless of OS it also makes my life easier.
Roy Marples [Wed, 21 May 2008 10:40:56 +0000 (10:40 +0000)]
Apparently some DHCP servers return NULL strings, Gentoo #222381.
Roy Marples [Wed, 21 May 2008 09:16:24 +0000 (09:16 +0000)]
Improve documentation about the hooks.
Roy Marples [Wed, 21 May 2008 08:43:28 +0000 (08:43 +0000)]
Stop defining the same flags twice.
Roy Marples [Tue, 20 May 2008 23:06:15 +0000 (23:06 +0000)]
Use CPP flags here.
Roy Marples [Tue, 20 May 2008 23:01:13 +0000 (23:01 +0000)]
Plug some valgrind leaks.
Roy Marples [Tue, 20 May 2008 22:53:41 +0000 (22:53 +0000)]
More Typo
Roy Marples [Tue, 20 May 2008 22:50:28 +0000 (22:50 +0000)]
Typo
Roy Marples [Tue, 20 May 2008 22:49:22 +0000 (22:49 +0000)]
Typo
Roy Marples [Tue, 20 May 2008 22:47:39 +0000 (22:47 +0000)]
Document last lease and nohook.
Roy Marples [Tue, 20 May 2008 22:41:07 +0000 (22:41 +0000)]
Install hooks in the os specific dir.
Roy Marples [Tue, 20 May 2008 22:29:57 +0000 (22:29 +0000)]
Fix install for gmake.
Roy Marples [Tue, 20 May 2008 22:25:20 +0000 (22:25 +0000)]
Move socket.c -> lpf.c. Also, default Linux to using /lib/dhcpcd rather than /libexec so it fits the FHS better.