]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
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.
Roy Marples [Wed, 14 May 2008 09:21:26 +0000 (09:21 +0000)]
Move the dhcp_ops structure off bss.
Roy Marples [Wed, 14 May 2008 09:07:54 +0000 (09:07 +0000)]
If we have space, ensure our packet options are correctly terminated.
Roy Marples [Tue, 13 May 2008 20:25:22 +0000 (20:25 +0000)]
Use better error messages.
Roy Marples [Tue, 13 May 2008 20:24:54 +0000 (20:24 +0000)]
Free buffer at exit.
Roy Marples [Tue, 13 May 2008 18:39:18 +0000 (18:39 +0000)]
Move the static buffer off bss.
Roy Marples [Tue, 13 May 2008 14:37:01 +0000 (14:37 +0000)]
Fix a segfault and lease issue for no fork users.
Roy Marples [Tue, 13 May 2008 14:23:01 +0000 (14:23 +0000)]
Include ctype for non fork systems.
Roy Marples [Tue, 13 May 2008 14:18:15 +0000 (14:18 +0000)]
dhcpcd-4.0.0-beta3
Roy Marples [Tue, 13 May 2008 13:34:05 +0000 (13:34 +0000)]
Man page now states we support RFC 3396.
Roy Marples [Tue, 13 May 2008 13:32:37 +0000 (13:32 +0000)]
Support RFC3996, Encoding Long Options.
Roy Marples [Tue, 13 May 2008 11:47:08 +0000 (11:47 +0000)]
Clean up some valgrind errors.
Roy Marples [Tue, 13 May 2008 11:24:16 +0000 (11:24 +0000)]
We shouldn't stamp on the dhcp message when checking overloads.
Roy Marples [Tue, 13 May 2008 11:21:19 +0000 (11:21 +0000)]
We should make our own env instead of using setenv/unsetenv so we work better with vfork systems.
Roy Marples [Mon, 12 May 2008 21:03:38 +0000 (21:03 +0000)]
Don't encode the hostname as a FQDN by default as not all DHCP servers support this.
Roy Marples [Mon, 12 May 2008 14:53:46 +0000 (14:53 +0000)]
Remove silly #
Roy Marples [Mon, 12 May 2008 14:23:29 +0000 (14:23 +0000)]
Make the man pages by default.
Roy Marples [Sat, 10 May 2008 12:11:47 +0000 (12:11 +0000)]
nis_server -> nis_servers
Roy Marples [Thu, 8 May 2008 19:52:32 +0000 (19:52 +0000)]
dhcpcd-4.0.0_beta2
Roy Marples [Thu, 8 May 2008 11:00:15 +0000 (11:00 +0000)]
Fix infinite timeouts.
Roy Marples [Wed, 7 May 2008 09:39:17 +0000 (09:39 +0000)]
dhcpcd doesn't really care about script exist status or if it was signalled, so save a few more bytes.
Roy Marples [Wed, 7 May 2008 09:10:19 +0000 (09:10 +0000)]
Clarify comment about DUID usage.
Roy Marples [Wed, 7 May 2008 09:07:28 +0000 (09:07 +0000)]
Don't explicity create an IPV4LL route if we have a routeable address - the host system should make this choice.
Roy Marples [Tue, 6 May 2008 08:30:51 +0000 (08:30 +0000)]
dhcpcd-4.0.0-beta1
Roy Marples [Fri, 2 May 2008 09:05:03 +0000 (09:05 +0000)]
Tart the man pages - Aq fails mostly so just use < .. >
Roy Marples [Fri, 2 May 2008 08:49:23 +0000 (08:49 +0000)]
Move some opts to compat.
Roy Marples [Fri, 2 May 2008 08:25:54 +0000 (08:25 +0000)]
Keep parsing the duid file until we find a valid duid. This allows comments if the user wants them.
Roy Marples [Fri, 2 May 2008 08:25:21 +0000 (08:25 +0000)]
We should only check duid file if duid enabled.
Roy Marples [Thu, 1 May 2008 19:50:33 +0000 (19:50 +0000)]
Fix default options and old IPV4LL leases.
Roy Marples [Thu, 1 May 2008 19:38:10 +0000 (19:38 +0000)]
Fix IPV4LL
Roy Marples [Thu, 1 May 2008 19:30:11 +0000 (19:30 +0000)]
Fix commandline compat.
Roy Marples [Thu, 1 May 2008 18:00:59 +0000 (18:00 +0000)]
Move the compat options to the top and renable duid support IF the duid file exists and we're in compat mode.
Roy Marples [Thu, 1 May 2008 14:47:52 +0000 (14:47 +0000)]
Don't use a DUID by default even though support is compiled in, #70. Also, fix some man page entries a little.
Roy Marples [Sat, 26 Apr 2008 07:51:32 +0000 (07:51 +0000)]
Rework the ENABLE_DUID #ifdef so that redoing indents in vim works.
Roy Marples [Sat, 26 Apr 2008 07:39:23 +0000 (07:39 +0000)]
Repair whitespace damage.
Roy Marples [Sat, 26 Apr 2008 07:12:46 +0000 (07:12 +0000)]
Allow quotes to be used.
Roy Marples [Fri, 25 Apr 2008 19:06:11 +0000 (19:06 +0000)]
exists -> exit
Roy Marples [Fri, 25 Apr 2008 19:00:31 +0000 (19:00 +0000)]
Install the right man page.
Roy Marples [Fri, 25 Apr 2008 11:01:02 +0000 (11:01 +0000)]
Fix compile with commandline compat.
Roy Marples [Thu, 24 Apr 2008 21:47:22 +0000 (21:47 +0000)]
Fix compat for network_number.
Roy Marples [Thu, 24 Apr 2008 15:06:06 +0000 (15:06 +0000)]
Add server_name and filename env vars. Also, fix network_number to match dhclient.
Roy Marples [Thu, 24 Apr 2008 14:50:04 +0000 (14:50 +0000)]
Fix line length
Roy Marples [Thu, 24 Apr 2008 14:14:20 +0000 (14:14 +0000)]
Man page corrections.
Roy Marples [Thu, 24 Apr 2008 13:53:03 +0000 (13:53 +0000)]
interface foo in dhcpcd.conf now only applies subsequent options for interface foo.
Roy Marples [Thu, 24 Apr 2008 13:18:59 +0000 (13:18 +0000)]
Allow a config file to be specified on the command line.
Roy Marples [Thu, 24 Apr 2008 12:35:03 +0000 (12:35 +0000)]
Allow values to be escaped using \
Roy Marples [Tue, 22 Apr 2008 10:49:59 +0000 (10:49 +0000)]
ntp should update if no existing config.
Roy Marples [Tue, 22 Apr 2008 10:41:57 +0000 (10:41 +0000)]
Move looking up the hostname in DNS to a sample hook file as it's not something we should really do by default. Rename our sample hooks to end with .sh so they get nice script highlights.
Roy Marples [Tue, 22 Apr 2008 08:13:40 +0000 (08:13 +0000)]
Merge branch 'master' of git.marples.name:/var/git/dhcpcd
Roy Marples [Mon, 21 Apr 2008 23:11:07 +0000 (23:11 +0000)]
Fix host and dig erroring to stdout.
Roy Marples [Mon, 21 Apr 2008 23:08:43 +0000 (23:08 +0000)]
Fix daemonising when on IPV4LL.