]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
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.
Roy Marples [Tue, 20 May 2008 16:05:15 +0000 (16:05 +0000)]
Add a -C, --nohook option to skip the running of hook scripts. Makes it easier to just not do any configuring of resolv.conf
Roy Marples [Tue, 20 May 2008 14:10:21 +0000 (14:10 +0000)]
Don't set CONFIG in the Makefile.
Roy Marples [Tue, 20 May 2008 13:51:44 +0000 (13:51 +0000)]
Fix ipv4ll support.
Roy Marples [Tue, 20 May 2008 12:55:29 +0000 (12:55 +0000)]
Document dhcpcd.conf in FILES.
Roy Marples [Tue, 20 May 2008 12:47:16 +0000 (12:47 +0000)]
Don't prefix functions with _
Roy Marples [Tue, 20 May 2008 12:33:04 +0000 (12:33 +0000)]
One sentence per line.
Roy Marples [Tue, 20 May 2008 12:24:39 +0000 (12:24 +0000)]
Fix readme
Roy Marples [Tue, 20 May 2008 12:23:29 +0000 (12:23 +0000)]
Install dhcpcd.sh and hooks into /libexec by default. dhcpcd.conf, dhcpcd.duid and dhcpcd.hook are now in /etc.
Roy Marples [Tue, 20 May 2008 10:55:25 +0000 (10:55 +0000)]
Split dhcpcd.sh into smaller hook scripts, so that dhcpcd.sh just provide some handy functions and runs the hooks. We now only have one hook, instead of enter/exit.
Roy Marples [Tue, 20 May 2008 08:30:08 +0000 (08:30 +0000)]
Use CPPFLAGS as FreeBSD make doesn't.
Roy Marples [Tue, 20 May 2008 05:57:35 +0000 (05:57 +0000)]
We should really be using CPPFLAGS.
Roy Marples [Mon, 19 May 2008 23:22:44 +0000 (23:22 +0000)]
Move the SUFFIXES to them.
Roy Marples [Mon, 19 May 2008 22:37:48 +0000 (22:37 +0000)]
Fix csr's, #81.
Roy Marples [Mon, 19 May 2008 15:50:50 +0000 (15:50 +0000)]
Change our Makefile vars to be more like NetBSD.
Roy Marples [Mon, 19 May 2008 14:47:37 +0000 (14:47 +0000)]
Style
Roy Marples [Mon, 19 May 2008 14:45:05 +0000 (14:45 +0000)]
Trap some config.h defines if they're in CFLAGS.
Roy Marples [Mon, 19 May 2008 13:40:39 +0000 (13:40 +0000)]
realloc -> xrealloc
Roy Marples [Mon, 19 May 2008 13:36:06 +0000 (13:36 +0000)]
Move VERSION from Makefile to config.h so that other Makefiles can be used instead of our own.
Roy Marples [Mon, 19 May 2008 13:16:03 +0000 (13:16 +0000)]
Fix a potential segfault.
Roy Marples [Mon, 19 May 2008 09:18:02 +0000 (09:18 +0000)]
Style.
Roy Marples [Mon, 19 May 2008 09:16:55 +0000 (09:16 +0000)]
Create a real arc4linux function so we don't have to visible seed random in dhcpcd main.
Roy Marples [Fri, 16 May 2008 09:08:52 +0000 (09:08 +0000)]
Setup our lease and state correctly when comming back as daemonised.
Roy Marples [Thu, 15 May 2008 20:58:31 +0000 (20:58 +0000)]
Try a new checksum routine.
Roy Marples [Thu, 15 May 2008 20:45:45 +0000 (20:45 +0000)]
Fix checksum on Sparc64.
Roy Marples [Thu, 15 May 2008 19:30:21 +0000 (19:30 +0000)]
Fix test.
Roy Marples [Thu, 15 May 2008 19:21:15 +0000 (19:21 +0000)]
Use arc4random as everything apart from glibc seems to have it.
Roy Marples [Thu, 15 May 2008 16:35:41 +0000 (16:35 +0000)]
Fix compile on Linux.
Roy Marples [Thu, 15 May 2008 16:30:16 +0000 (16:30 +0000)]
Use paths.h when available and ensure that we can disable our glue easily.
Roy Marples [Thu, 15 May 2008 16:09:42 +0000 (16:09 +0000)]
Check correct lengths and use closefrom where available.
Roy Marples [Thu, 15 May 2008 15:48:15 +0000 (15:48 +0000)]
Style.
Roy Marples [Thu, 15 May 2008 14:20:01 +0000 (14:20 +0000)]
No need for this check with our non blocking sockets.
Roy Marples [Thu, 15 May 2008 14:16:47 +0000 (14:16 +0000)]
Use non blocking sockets so read errors with EAGAIN.
Roy Marples [Thu, 15 May 2008 13:34:31 +0000 (13:34 +0000)]
get_packet 0 means no more buffer, so loops don't need to know the bpf/socket buffering.
Roy Marples [Thu, 15 May 2008 12:57:31 +0000 (12:57 +0000)]
Don't use stdio in a vfork and fix some unconsts.
Roy Marples [Thu, 15 May 2008 12:48:01 +0000 (12:48 +0000)]
Move signal.{c,h} to signals.{c.h} so we can work better in the NetBSD source tree.
Roy Marples [Thu, 15 May 2008 12:32:27 +0000 (12:32 +0000)]
Fix bpf for the correct position on new buffers.
Roy Marples [Thu, 15 May 2008 12:15:49 +0000 (12:15 +0000)]
Loop correctly for more packets.
Roy Marples [Thu, 15 May 2008 12:15:33 +0000 (12:15 +0000)]
Only alloc the buffer once.
Roy Marples [Thu, 15 May 2008 12:15:06 +0000 (12:15 +0000)]
Only alloc a buffer if size is different.
Roy Marples [Thu, 15 May 2008 11:12:44 +0000 (11:12 +0000)]
Fix some valgrind errors, and work on Linux again.
Roy Marples [Thu, 15 May 2008 10:10:39 +0000 (10:10 +0000)]
Improve get_packet API and memcpy to structure instead of using union pointers.
Roy Marples [Thu, 15 May 2008 08:48:17 +0000 (08:48 +0000)]
When we explictly don't want an option, don't put it in the env.
Roy Marples [Wed, 14 May 2008 12:19:05 +0000 (12:19 +0000)]
Prettify code a little.
Roy Marples [Wed, 14 May 2008 12:05:04 +0000 (12:05 +0000)]
Prettify code a little.
Roy Marples [Wed, 14 May 2008 11:53:58 +0000 (11:53 +0000)]
BIOCIMMEDIATE isn't always available
Roy Marples [Wed, 14 May 2008 11:44:01 +0000 (11:44 +0000)]
Export the parent pid to the script.
Roy Marples [Wed, 14 May 2008 10:12:26 +0000 (10:12 +0000)]
Fix setting a blank hostname by mistake.
Roy Marples [Wed, 14 May 2008 10:08:27 +0000 (10:08 +0000)]
Use an easier looping method, and use more const.
Roy Marples [Wed, 14 May 2008 10:07:57 +0000 (10:07 +0000)]
We shouldn't need to declare an interface when requesting a variable list.
Roy Marples [Wed, 14 May 2008 09:21:46 +0000 (09:21 +0000)]
Define our own log text so we can move it off bss.