]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
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.
Roy Marples [Mon, 21 Apr 2008 10:43:08 +0000 (10:43 +0000)]
Merge branch 'master' of git.marples.name:/var/git/dhcpcd
Roy Marples [Mon, 21 Apr 2008 09:53:18 +0000 (09:53 +0000)]
Trim trailing whitespace.
Roy Marples [Mon, 21 Apr 2008 09:40:14 +0000 (09:40 +0000)]
We should check for required arguments and strip leading whitespace.
Roy Marples [Mon, 21 Apr 2008 09:31:34 +0000 (09:31 +0000)]
Fix a compile warning.
Roy Marples [Sun, 20 Apr 2008 19:02:19 +0000 (19:02 +0000)]
We should send packets to a specific IP over the udp socket so we don't broadcast on layer 2 and unicast on layer 3, #64.
Roy Marples [Sun, 20 Apr 2008 09:35:47 +0000 (09:35 +0000)]
Use a.b.c.d/e notation as this more fully represents the data.
Roy Marples [Sat, 19 Apr 2008 17:32:43 +0000 (17:32 +0000)]
Fix a signed issue.
Roy Marples [Sat, 19 Apr 2008 11:00:54 +0000 (11:00 +0000)]
Fix rfc3397 and rfc3442 decoding for dhcpcd.sh.
Roy Marples [Fri, 18 Apr 2008 23:23:00 +0000 (23:23 +0000)]
Add a note about how to enable deprecated commandline options.
Roy Marples [Fri, 18 Apr 2008 23:12:44 +0000 (23:12 +0000)]
dhcpcd can now read a basic config file! Add a default dhcpcd.conf and matching man page. Add dhcpcd.sh man page. dhcpcd can now report variables it can send to dhcpcd.sh as well.
Roy Marples [Thu, 17 Apr 2008 21:18:20 +0000 (21:18 +0000)]
Move the duid file to /etc/dhcpcd as it's really a config file. Also, rename hook dirs to dhcpcd- so they could be installed into /etc and not just /etc/dhcpcd.
Roy Marples [Thu, 17 Apr 2008 18:38:59 +0000 (18:38 +0000)]
Quiet OpenRC scripts.
Roy Marples [Thu, 17 Apr 2008 16:30:30 +0000 (16:30 +0000)]
Split ntp and ypbind into sample hook scripts. These are not installed by default.
Roy Marples [Thu, 17 Apr 2008 16:29:22 +0000 (16:29 +0000)]
Fix ntp and nis servers.
Roy Marples [Thu, 17 Apr 2008 10:08:48 +0000 (10:08 +0000)]
Specify char
Roy Marples [Thu, 17 Apr 2008 09:57:19 +0000 (09:57 +0000)]
Our ctype calls should always use unsigned.
Roy Marples [Thu, 17 Apr 2008 09:47:11 +0000 (09:47 +0000)]
If _PATH_BPF is set, open that instead of searching for a free BPF device.
Roy Marples [Wed, 16 Apr 2008 18:19:50 +0000 (18:19 +0000)]
Change SYSCONFDIR to /etc/dhcpcd as we'll probably be adding some kind of config file.
Roy Marples [Wed, 16 Apr 2008 13:50:44 +0000 (13:50 +0000)]
Fix compat - d'oh
Roy Marples [Wed, 16 Apr 2008 13:47:39 +0000 (13:47 +0000)]
Add dhcpcd-compat.sh, so that distros can make available old style variables.
Roy Marples [Wed, 16 Apr 2008 12:25:13 +0000 (12:25 +0000)]
Use correct mtu function.
Roy Marples [Wed, 16 Apr 2008 10:25:54 +0000 (10:25 +0000)]
Add dhcpcd.sh.in
Roy Marples [Wed, 16 Apr 2008 09:55:35 +0000 (09:55 +0000)]
Fix a few compile warnings.
Roy Marples [Wed, 16 Apr 2008 09:51:20 +0000 (09:51 +0000)]
Remove the .info file and now set environment vars in the same vein as dhclient. This allows similar scripts to be used.
Roy Marples [Mon, 14 Apr 2008 19:28:28 +0000 (19:28 +0000)]
Don't compare if file does not exist.
Roy Marples [Mon, 14 Apr 2008 19:24:23 +0000 (19:24 +0000)]
Support GNU style calling.
Roy Marples [Mon, 14 Apr 2008 18:50:48 +0000 (18:50 +0000)]
We should ARP by default.
Roy Marples [Mon, 14 Apr 2008 15:08:46 +0000 (15:08 +0000)]
Replace the clean_metas functions with a write_string function. The main difference is that we escape non ascii or printable chars and avoid mallocing.
Roy Marples [Mon, 14 Apr 2008 13:47:20 +0000 (13:47 +0000)]
Move MTU configuration to dhcpcd.sh. However, if the MTU is too small for dhcpcd, dhcpcd will increase it to the minimum.
Roy Marples [Mon, 14 Apr 2008 13:29:11 +0000 (13:29 +0000)]
Fix type for NetBIOS scope, and escape unknown options such as vendor extended options.
Roy Marples [Mon, 14 Apr 2008 13:09:44 +0000 (13:09 +0000)]
Change a few build/install knobs.
Roy Marples [Mon, 14 Apr 2008 12:43:52 +0000 (12:43 +0000)]
Implement arrays and fix getting strings.
Roy Marples [Mon, 14 Apr 2008 12:21:28 +0000 (12:21 +0000)]
Implement integer arrays.
Roy Marples [Mon, 14 Apr 2008 10:02:44 +0000 (10:02 +0000)]
Add loads more DHCP options from RFC2132 to the info file, also closes #53.
Roy Marples [Mon, 14 Apr 2008 06:57:18 +0000 (06:57 +0000)]
Add more dhcp types, #53
Roy Marples [Mon, 14 Apr 2008 06:35:05 +0000 (06:35 +0000)]
The H argument no means , which changes it's meaning from prior versions.
Roy Marples [Mon, 14 Apr 2008 03:45:54 +0000 (03:45 +0000)]
Add -o opt1,opt2 and -O to disable requesting optional options. Rejig our defaults around this.
Roy Marples [Sun, 13 Apr 2008 15:33:00 +0000 (15:33 +0000)]
We should check the cookie on messages.