]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Thu, 21 Feb 2008 07:45:02 +0000 (07:45 +0000)]
Fix compile on NOMMU systems.
Roy Marples [Wed, 20 Feb 2008 19:09:30 +0000 (19:09 +0000)]
Bail out of sys/queue.h lacks STAILQ
Roy Marples [Wed, 20 Feb 2008 17:49:51 +0000 (17:49 +0000)]
Support the PCC compiler.
Roy Marples [Wed, 20 Feb 2008 17:13:12 +0000 (17:13 +0000)]
Quickly fix a valgrind error.
Roy Marples [Wed, 20 Feb 2008 17:09:14 +0000 (17:09 +0000)]
Release dhcpcd-3.2.2
Roy Marples [Wed, 20 Feb 2008 17:04:56 +0000 (17:04 +0000)]
Use tailq from queue.h instead of rolling our down linked lists.
Roy Marples [Wed, 20 Feb 2008 12:15:13 +0000 (12:15 +0000)]
Add a comment about older linux headers and -std=c99.
Roy Marples [Wed, 20 Feb 2008 10:35:12 +0000 (10:35 +0000)]
Don't include -pipe by default.
Roy Marples [Wed, 20 Feb 2008 10:12:40 +0000 (10:12 +0000)]
Test each CC flag we want to set so we will work on other compilers such as pcc when it matures a little.
Roy Marples [Tue, 19 Feb 2008 18:31:37 +0000 (18:31 +0000)]
Typo.
Roy Marples [Tue, 19 Feb 2008 18:30:16 +0000 (18:30 +0000)]
Remove hardcoded defines for linux and add a nasty hackaround for glibc.
Roy Marples [Tue, 19 Feb 2008 17:43:39 +0000 (17:43 +0000)]
Fix compile.
Roy Marples [Tue, 19 Feb 2008 17:35:31 +0000 (17:35 +0000)]
Linux-2.6.23 finally supports -std=c99 for asm/types.h, included by headers we include.
Roy Marples [Tue, 19 Feb 2008 09:57:27 +0000 (09:57 +0000)]
Add comments about interupts and stop polling for events we ignore.
Roy Marples [Mon, 11 Feb 2008 21:43:34 +0000 (21:43 +0000)]
When polling and interupted, continue as the signal will then be in our pipe.
Roy Marples [Mon, 11 Feb 2008 21:42:53 +0000 (21:42 +0000)]
Fix compile warning for new netlink callback header.
Roy Marples [Sun, 10 Feb 2008 23:40:24 +0000 (23:40 +0000)]
Fix poll timeout.
Roy Marples [Sun, 10 Feb 2008 23:30:08 +0000 (23:30 +0000)]
Fix compile on NetBSD.
Roy Marples [Sun, 10 Feb 2008 23:08:34 +0000 (23:08 +0000)]
Just warn when running as non root.
Roy Marples [Sun, 10 Feb 2008 23:01:44 +0000 (23:01 +0000)]
Replace select with poll and nanosleep.
Roy Marples [Sat, 9 Feb 2008 21:58:05 +0000 (21:58 +0000)]
We should only have one bit of code to mark sockets close_on_exec.
Roy Marples [Wed, 6 Feb 2008 10:18:03 +0000 (10:18 +0000)]
Rename getline to get_line so we don't conflict with crappy GNU headers that wrongly expose getline when _GNU_SOURCE isn't set. Bug #17.
Roy Marples [Tue, 5 Feb 2008 21:38:00 +0000 (21:38 +0000)]
Allow hardware type to be specified in the ClientID. This is needed, as the ethernet length matches other lengths.
Roy Marples [Sun, 3 Feb 2008 22:35:48 +0000 (22:35 +0000)]
We should block and reset our signals when daemonising also.
Roy Marples [Sat, 2 Feb 2008 21:56:12 +0000 (21:56 +0000)]
Revert posix_spawn as it seems only glibc supports it for us right now. Hope that libc is tolerant to changing signals inside a vfork if we put them back afterwards in the parent.
Roy Marples [Sat, 2 Feb 2008 19:17:08 +0000 (19:17 +0000)]
Block signals to avoid potential signal racing on BSD using fork.
Roy Marples [Sat, 2 Feb 2008 18:08:49 +0000 (18:08 +0000)]
Of course, BSD systems don't have posix_spawn yet :/
Roy Marples [Sat, 2 Feb 2008 17:28:22 +0000 (17:28 +0000)]
Use posix_spawn instead of vfork to avoid signal races.
Roy Marples [Thu, 31 Jan 2008 14:18:30 +0000 (14:18 +0000)]
Fix adding routes on BSD.
Roy Marples [Thu, 31 Jan 2008 11:19:17 +0000 (11:19 +0000)]
Move clientid generation to client.c and put it on the interface object inplace of duid. Always save the ClientID as a hex string. This reduces our binary size.
Roy Marples [Wed, 30 Jan 2008 10:08:59 +0000 (10:08 +0000)]
Specify install modes for all our files.
Roy Marples [Wed, 30 Jan 2008 09:42:20 +0000 (09:42 +0000)]
BPF documentation says use +, so lets do that.
Roy Marples [Tue, 29 Jan 2008 11:26:24 +0000 (11:26 +0000)]
Release dhcpcd-3.2.1
Roy Marples [Tue, 29 Jan 2008 11:20:55 +0000 (11:20 +0000)]
Update comment style.
Roy Marples [Tue, 29 Jan 2008 11:12:59 +0000 (11:12 +0000)]
Re add the code to re-send message now - last time sent >= TIMOUT_MINI just incase.
Roy Marples [Tue, 29 Jan 2008 10:53:59 +0000 (10:53 +0000)]
Better to use the size of the packet.
Roy Marples [Tue, 29 Jan 2008 10:46:54 +0000 (10:46 +0000)]
Man page updates.
Roy Marples [Mon, 28 Jan 2008 17:47:54 +0000 (17:47 +0000)]
Use sizeof with the variable, not the declaration more.
Roy Marples [Mon, 28 Jan 2008 16:32:04 +0000 (16:32 +0000)]
Use sizeof with the variable, not the declaration.
Roy Marples [Mon, 28 Jan 2008 15:32:04 +0000 (15:32 +0000)]
Introduce xzalloc, which zeros memory as well as allocates it. This makes us smaller.
Roy Marples [Mon, 28 Jan 2008 14:33:46 +0000 (14:33 +0000)]
Man page updates.
Roy Marples [Mon, 28 Jan 2008 14:29:54 +0000 (14:29 +0000)]
Style
Roy Marples [Mon, 28 Jan 2008 14:17:46 +0000 (14:17 +0000)]
We shouldn't need to re-send this message now as our timeout and signal interupt code is a lot more robust plus we now use LPF. We can always add it back if we need to.
Roy Marples [Sun, 27 Jan 2008 19:49:32 +0000 (19:49 +0000)]
We should zero the sa structure before use.
Roy Marples [Sun, 27 Jan 2008 19:48:32 +0000 (19:48 +0000)]
Fix compile on NetBSD
Roy Marples [Sun, 27 Jan 2008 18:39:31 +0000 (18:39 +0000)]
Use sigaction over signal and check iface and state before freeing
Roy Marples [Sun, 27 Jan 2008 11:31:01 +0000 (11:31 +0000)]
Linux has LPF, which is almost like BPF. Let's use and let the kernel filter out what we don't need.
Roy Marples [Sat, 26 Jan 2008 10:40:53 +0000 (10:40 +0000)]
cast to int for isxdigit
Roy Marples [Fri, 25 Jan 2008 19:35:45 +0000 (19:35 +0000)]
Add NETWORK= to dhcpcd-.info, bug #10
Roy Marples [Fri, 25 Jan 2008 11:02:52 +0000 (11:02 +0000)]
Fix ntpd.conf
Roy Marples [Fri, 25 Jan 2008 10:53:43 +0000 (10:53 +0000)]
Release dhcpcd-3.2.0
Roy Marples [Fri, 25 Jan 2008 10:18:13 +0000 (10:18 +0000)]
Store and validate the duid using our generic hwaddr_ calls
Roy Marples [Fri, 25 Jan 2008 09:52:58 +0000 (09:52 +0000)]
If ClientID matches a hardware address formart, encode it as such.
Roy Marples [Thu, 24 Jan 2008 16:49:17 +0000 (16:49 +0000)]
Don't use const const here - doh.
Roy Marples [Thu, 24 Jan 2008 15:01:19 +0000 (15:01 +0000)]
DHCP over Infiniband requires a fudged broadcast address.
Roy Marples [Thu, 24 Jan 2008 11:14:18 +0000 (11:14 +0000)]
Bump version and fix infiniband number.
Roy Marples [Tue, 22 Jan 2008 16:54:38 +0000 (16:54 +0000)]
renewing a lease should not cause dhcpcd to exit.
Roy Marples [Mon, 21 Jan 2008 22:04:43 +0000 (22:04 +0000)]
Zero the rset when we fallthrough the waiting for packet.
Roy Marples [Mon, 21 Jan 2008 21:52:20 +0000 (21:52 +0000)]
Fix compile on Linux where.
Roy Marples [Mon, 21 Jan 2008 21:19:53 +0000 (21:19 +0000)]
Quiet some lint warnings.
Roy Marples [Mon, 21 Jan 2008 16:08:42 +0000 (16:08 +0000)]
Prefer for (;;) over while (1)
Roy Marples [Mon, 21 Jan 2008 15:13:59 +0000 (15:13 +0000)]
Re-factor our state engine, splitting out the massive switch block into smaller functions. Hopefully I've not introduced any bugs as it seems to work fine.
Roy Marples [Mon, 21 Jan 2008 15:12:51 +0000 (15:12 +0000)]
Don't raise signals on child exits.
Roy Marples [Mon, 21 Jan 2008 15:12:31 +0000 (15:12 +0000)]
We should use ssize_t here.
Roy Marples [Mon, 21 Jan 2008 15:10:46 +0000 (15:10 +0000)]
inet_aton returns 1 for success
Roy Marples [Thu, 17 Jan 2008 18:49:26 +0000 (18:49 +0000)]
Change man page building to a suffix rule.
Roy Marples [Thu, 17 Jan 2008 17:54:03 +0000 (17:54 +0000)]
Formatting.
Roy Marples [Thu, 17 Jan 2008 17:51:00 +0000 (17:51 +0000)]
We should use caddr_t instead of our own types for arp hardware addresses.
Roy Marples [Thu, 17 Jan 2008 14:16:13 +0000 (14:16 +0000)]
Re-write the man page using the mdoc format.
Roy Marples [Wed, 16 Jan 2008 17:49:58 +0000 (17:49 +0000)]
Exit through our abort label to ensure we always clean our memory.
Roy Marples [Wed, 16 Jan 2008 17:38:02 +0000 (17:38 +0000)]
Don't request a NULL address and supply a serveraddress when we should.
Roy Marples [Wed, 16 Jan 2008 17:34:36 +0000 (17:34 +0000)]
More formatting fixes.
Roy Marples [Wed, 16 Jan 2008 16:38:47 +0000 (16:38 +0000)]
Re format for standard tabs.
Roy Marples [Wed, 16 Jan 2008 15:59:14 +0000 (15:59 +0000)]
Add correct license
Roy Marples [Wed, 16 Jan 2008 14:32:35 +0000 (14:32 +0000)]
We now work with C90 compilers, so no need to enforce C99.
Roy Marples [Wed, 16 Jan 2008 13:40:42 +0000 (13:40 +0000)]
start and last_send should really be time_t also.
Roy Marples [Wed, 16 Jan 2008 13:16:11 +0000 (13:16 +0000)]
uptime should return time_t
Roy Marples [Tue, 15 Jan 2008 15:11:00 +0000 (15:11 +0000)]
Fix -S in getopt.
Roy Marples [Tue, 15 Jan 2008 14:34:28 +0000 (14:34 +0000)]
Add -S to optionally request a Microsoft CSR. -SS only request a Microsoft CSR and not a normal.
Roy Marples [Wed, 9 Jan 2008 15:51:04 +0000 (15:51 +0000)]
Release 3.1.9
Roy Marples [Wed, 9 Jan 2008 14:16:18 +0000 (14:16 +0000)]
Fix INFODIR
Roy Marples [Wed, 9 Jan 2008 13:41:16 +0000 (13:41 +0000)]
Disallow arp claim for IEEE1394 per RFC 2734 thanks to pawka.
Roy Marples [Wed, 9 Jan 2008 12:34:34 +0000 (12:34 +0000)]
Write the real routing message length, fixing the addition of routes on NetBSD and hopefully OpenBSD.
Roy Marples [Wed, 9 Jan 2008 11:45:30 +0000 (11:45 +0000)]
.depend shouldn't need scripts.
Roy Marples [Wed, 9 Jan 2008 10:19:16 +0000 (10:19 +0000)]
Bump the version for testing.
Roy Marples [Wed, 9 Jan 2008 10:17:57 +0000 (10:17 +0000)]
Only ignore dhcpcd bz2 files.
Roy Marples [Wed, 9 Jan 2008 10:17:10 +0000 (10:17 +0000)]
Use correct castings for UINT16_MAX.
Roy Marples [Wed, 9 Jan 2008 10:12:59 +0000 (10:12 +0000)]
Default all int entries in the dhcp header to unsigned.
Roy Marples [Wed, 9 Jan 2008 10:02:28 +0000 (10:02 +0000)]
common.h now defines a simple define to create the function in common.c. NetBSD needs srandomdev also.
Roy Marples [Wed, 9 Jan 2008 09:38:00 +0000 (09:38 +0000)]
We no longer need these headers.
Roy Marples [Tue, 8 Jan 2008 11:04:52 +0000 (11:04 +0000)]
Ignore *.bz2 files
Roy Marples [Tue, 8 Jan 2008 10:51:03 +0000 (10:51 +0000)]
Fix makefiles for installing via ports
Roy Marples [Tue, 8 Jan 2008 10:22:57 +0000 (10:22 +0000)]
Fix the man install
Roy Marples [Tue, 8 Jan 2008 10:03:18 +0000 (10:03 +0000)]
Style
Roy Marples [Tue, 8 Jan 2008 10:02:25 +0000 (10:02 +0000)]
Add comment about where to find the ChangeLog, and now prefer my bugzilla over the cruddy berlios bug reporting system.
Roy Marples [Tue, 8 Jan 2008 09:51:23 +0000 (09:51 +0000)]
Belatedly into 2008 :)
Roy Marples [Tue, 8 Jan 2008 09:41:22 +0000 (09:41 +0000)]
Add a dist mk stub and tweak the other mk's for style.
Roy Marples [Tue, 8 Jan 2008 09:40:24 +0000 (09:40 +0000)]
Remove ChangeLog, use the git log instead.
Roy Marples [Mon, 7 Jan 2008 23:46:47 +0000 (23:46 +0000)]
Add an ignore file
Roy Marples [Mon, 7 Jan 2008 23:45:48 +0000 (23:45 +0000)]
Move to a BSD style Makefile and supply mk stubs that work with gmake and pmake.