]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Mon, 7 Jan 2008 20:52:49 +0000 (20:52 +0000)]
Stop using asprintf as it's not portable.
Roy Marples [Mon, 7 Jan 2008 20:49:25 +0000 (20:49 +0000)]
Clean up some valgrind warnings.
Roy Marples [Mon, 7 Jan 2008 20:48:32 +0000 (20:48 +0000)]
Always relaunch with the full path.
Roy Marples [Mon, 7 Jan 2008 20:47:58 +0000 (20:47 +0000)]
Always exit throught the abort label so we clean up our memory like a good citizen.
Roy Marples [Mon, 7 Jan 2008 20:47:06 +0000 (20:47 +0000)]
Stop trying to fudge gmake including the .depend
Roy Marples [Mon, 7 Jan 2008 19:13:54 +0000 (19:13 +0000)]
Avoid valgrind errors with getline.
Roy Marples [Mon, 7 Jan 2008 18:14:51 +0000 (18:14 +0000)]
Stop using static inflexable buffers when cleaning metas and reading files.
Roy Marples [Wed, 28 Nov 2007 16:14:38 +0000 (16:14 +0000)]
whitespace
Roy Marples [Tue, 27 Nov 2007 22:03:42 +0000 (22:03 +0000)]
Use generic BSD define.
Roy Marples [Sat, 24 Nov 2007 11:03:49 +0000 (11:03 +0000)]
3.1.8
Roy Marples [Sat, 24 Nov 2007 10:30:14 +0000 (10:30 +0000)]
Don't force CFLAGS
Roy Marples [Wed, 21 Nov 2007 10:31:30 +0000 (10:31 +0000)]
Merge branch 'master' of marples:/var/git/dhcpcd
Roy Marples [Wed, 21 Nov 2007 10:31:16 +0000 (10:31 +0000)]
We shouldn't specify log or drift locations
Roy Marples [Mon, 19 Nov 2007 21:00:36 +0000 (21:00 +0000)]
whitespace
Roy Marples [Mon, 19 Nov 2007 20:23:30 +0000 (20:23 +0000)]
Don't hardcode as much
Roy Marples [Fri, 16 Nov 2007 13:08:00 +0000 (13:08 +0000)]
Fix file_in_path
Roy Marples [Thu, 15 Nov 2007 23:58:16 +0000 (23:58 +0000)]
Detect Slackware RC. Also rename ORC to OPENRC and BRC to BSDRC.
Roy Marples [Thu, 15 Nov 2007 17:58:39 +0000 (17:58 +0000)]
Fix atoint for out of range
Roy Marples [Thu, 15 Nov 2007 17:57:10 +0000 (17:57 +0000)]
Replace the macro STRINGINT with a function
Roy Marples [Thu, 15 Nov 2007 12:04:28 +0000 (12:04 +0000)]
Put %%INFODIR%% in the man page so it's always swapped out with how dhcpcd is built.
Roy Marples [Thu, 15 Nov 2007 11:35:53 +0000 (11:35 +0000)]
Re-license as 2-clause BSD as I've re-written everything from the old dhcpcd-2 code base now.
Roy Marples [Wed, 14 Nov 2007 12:53:21 +0000 (12:53 +0000)]
Allow INFODIR to control where we keep our info files.
Respect MANPREFIX.
Roy Marples [Tue, 13 Nov 2007 14:44:23 +0000 (14:44 +0000)]
Ignore FQDN replies for the time being.
Roy Marples [Tue, 13 Nov 2007 14:36:09 +0000 (14:36 +0000)]
whitespace
Roy Marples [Tue, 13 Nov 2007 11:02:51 +0000 (11:02 +0000)]
Revert "Link local routes should not be static."
This reverts commit
c432e9760b211273cd21b7ee386d658ee00327a1 .
Roy Marples [Tue, 13 Nov 2007 10:55:55 +0000 (10:55 +0000)]
If we fail to get an ipv4ll address, start over
Roy Marples [Tue, 13 Nov 2007 10:22:45 +0000 (10:22 +0000)]
Link local routes should not be static.
Roy Marples [Mon, 12 Nov 2007 11:02:18 +0000 (11:02 +0000)]
Buffer signals instead of just using the latest.
Roy Marples [Fri, 9 Nov 2007 20:48:51 +0000 (20:48 +0000)]
Add knobs to work with RedHat, Slackware and generic SYSV init scripts
Roy Marples [Fri, 9 Nov 2007 17:02:38 +0000 (17:02 +0000)]
RC -> BRC
Roy Marples [Fri, 9 Nov 2007 16:55:00 +0000 (16:55 +0000)]
Don't spam the log as much when constantly using IPV4LL addresses.
Roy Marples [Fri, 9 Nov 2007 16:08:49 +0000 (16:08 +0000)]
We should not use ntohl in IN_LOCAL define, instead where we use it.
Roy Marples [Fri, 9 Nov 2007 15:38:44 +0000 (15:38 +0000)]
Add a warning when we get am IPV4LL address and we haven't daemonised
Roy Marples [Fri, 9 Nov 2007 13:43:36 +0000 (13:43 +0000)]
Wrap _BSD_SOURCE in a __linux__ define.
Roy Marples [Thu, 8 Nov 2007 13:16:00 +0000 (13:16 +0000)]
Move signals.c,h to signal.c,h
Roy Marples [Thu, 8 Nov 2007 11:46:16 +0000 (11:46 +0000)]
Don't report on the failed dhcpcd component for realpath
Roy Marples [Thu, 8 Nov 2007 11:06:41 +0000 (11:06 +0000)]
Use realpath to work out where dhcpcd is
Roy Marples [Thu, 8 Nov 2007 10:41:37 +0000 (10:41 +0000)]
Re-add sys/time.h
Roy Marples [Thu, 8 Nov 2007 10:38:54 +0000 (10:38 +0000)]
Merge branch 'master' of marples:/var/git/dhcpcd
Roy Marples [Thu, 8 Nov 2007 10:37:52 +0000 (10:37 +0000)]
Work with the BSD RC system too.
Roy Marples [Thu, 8 Nov 2007 10:36:49 +0000 (10:36 +0000)]
Find resolvconf in path instead of just /sbin.
Roy Marples [Wed, 7 Nov 2007 21:35:12 +0000 (21:35 +0000)]
Ensure copyright is added to the binary
Roy Marples [Wed, 7 Nov 2007 20:59:52 +0000 (20:59 +0000)]
timeval defines seconds as long, so we should use long over time_t
Roy Marples [Wed, 7 Nov 2007 20:28:55 +0000 (20:28 +0000)]
Improve the structure of linux netlink messaging code
Roy Marples [Wed, 7 Nov 2007 17:06:05 +0000 (17:06 +0000)]
make HAVE_FORK=yes|no should be used if cross compiling.
Roy Marples [Wed, 7 Nov 2007 16:26:41 +0000 (16:26 +0000)]
Reword the headers to just say we use the GPLv2.
Roy Marples [Wed, 7 Nov 2007 16:05:07 +0000 (16:05 +0000)]
Reword the license headers just to say we use the GPLv2.
Roy Marples [Wed, 7 Nov 2007 15:53:15 +0000 (15:53 +0000)]
Remove the reference to udhcp.
Roy Marples [Wed, 7 Nov 2007 15:45:11 +0000 (15:45 +0000)]
dhcp_run no longer resembles anything from udhcp, so remove the reference.
Roy Marples [Wed, 7 Nov 2007 15:43:32 +0000 (15:43 +0000)]
Clarify recvmsg error
Roy Marples [Wed, 7 Nov 2007 10:50:39 +0000 (10:50 +0000)]
We should reset the NAK backoff when we timeout as well
Roy Marples [Wed, 7 Nov 2007 10:43:35 +0000 (10:43 +0000)]
Implement an exponetial NAK backoff.
Roy Marples [Wed, 7 Nov 2007 10:42:30 +0000 (10:42 +0000)]
Actually read the signal from the buffer
Roy Marples [Wed, 7 Nov 2007 10:15:14 +0000 (10:15 +0000)]
Clear the signal_pipe fd from the fdset when all signals have
been read.
Roy Marples [Tue, 6 Nov 2007 15:03:38 +0000 (15:03 +0000)]
Update my e-mail address as I have retired from Gentoo.
Roy Marples [Tue, 6 Nov 2007 14:12:27 +0000 (14:12 +0000)]
As we now use git, don't include .git when making distfiles.
Roy Marples [Tue, 23 Oct 2007 09:07:58 +0000 (09:07 +0000)]
Increase ipv4ll lease time to 20 seconds so we attempt a dhcp request every 10 seconds
Roy Marples [Mon, 22 Oct 2007 16:03:48 +0000 (16:03 +0000)]
Don't release a link local address.
Roy Marples [Mon, 22 Oct 2007 15:03:01 +0000 (15:03 +0000)]
If compiled without info support, don't tell the script about the info file.
Roy Marples [Mon, 22 Oct 2007 14:32:31 +0000 (14:32 +0000)]
Use sysconf to detect if we have a working monotonic clock.
Roy Marples [Mon, 22 Oct 2007 13:10:09 +0000 (13:10 +0000)]
Only request NTP, NIS, etc if we have compiled that feature in.
Roy Marples [Mon, 22 Oct 2007 13:06:18 +0000 (13:06 +0000)]
dhcpcd --version now shows what compile time options were used.
Roy Marples [Sun, 21 Oct 2007 19:44:30 +0000 (19:44 +0000)]
Don't need this define anymore.
Roy Marples [Sun, 21 Oct 2007 19:16:53 +0000 (19:16 +0000)]
Release 3.1.7
Roy Marples [Sun, 21 Oct 2007 19:16:19 +0000 (19:16 +0000)]
typo
Roy Marples [Sun, 21 Oct 2007 19:15:23 +0000 (19:15 +0000)]
Add warnings about requesting a link local address.
Roy Marples [Sat, 20 Oct 2007 16:58:13 +0000 (16:58 +0000)]
Write the pidfile before we fork so we can easily be stopped by other processes.
Roy Marples [Wed, 17 Oct 2007 15:46:04 +0000 (15:46 +0000)]
Always define IN_LINKLOCAL
Roy Marples [Fri, 12 Oct 2007 11:19:29 +0000 (11:19 +0000)]
Always add a link-local route unless we're given a non-private address by the DHCP server.
Roy Marples [Fri, 12 Oct 2007 11:18:03 +0000 (11:18 +0000)]
Change wording
Roy Marples [Thu, 11 Oct 2007 21:05:18 +0000 (21:05 +0000)]
Remove temp files when cannot work out linking foo
Roy Marples [Thu, 11 Oct 2007 20:30:24 +0000 (20:30 +0000)]
Don't malloc pointer size when we mean data size
Roy Marples [Thu, 11 Oct 2007 13:42:12 +0000 (13:42 +0000)]
No need for if here
Roy Marples [Thu, 11 Oct 2007 13:27:06 +0000 (13:27 +0000)]
Clarify EINTR
Roy Marples [Thu, 11 Oct 2007 13:26:16 +0000 (13:26 +0000)]
Reduce stack usage by using malloc more.
Roy Marples [Thu, 11 Oct 2007 13:24:17 +0000 (13:24 +0000)]
Work better with signal handling, arp and send errors
Roy Marples [Thu, 11 Oct 2007 13:23:53 +0000 (13:23 +0000)]
revert commit - wrong file :/
Roy Marples [Thu, 11 Oct 2007 13:21:57 +0000 (13:21 +0000)]
Work better with signal handling, arp and send errors
Roy Marples [Thu, 11 Oct 2007 13:21:02 +0000 (13:21 +0000)]
Return on all errors
Roy Marples [Thu, 11 Oct 2007 13:20:37 +0000 (13:20 +0000)]
Handle signals correctly.
Roy Marples [Thu, 11 Oct 2007 13:19:25 +0000 (13:19 +0000)]
Allow none signal pipe users to grab signals
Roy Marples [Thu, 11 Oct 2007 08:56:46 +0000 (08:56 +0000)]
If we're on a different subnet from the one we get DHCP for, don't use our current address in messages. Thanks to Wilson Callan.
Roy Marples [Thu, 11 Oct 2007 08:53:29 +0000 (08:53 +0000)]
Skip over bogus EINTR error on select when arp checking for a different address from what we already have. This should not happen, so a better fix is probably needed.
Roy Marples [Tue, 9 Oct 2007 09:05:29 +0000 (09:05 +0000)]
Clarify -r option a little
Roy Marples [Thu, 4 Oct 2007 11:39:26 +0000 (11:39 +0000)]
Release 3.1.6
Roy Marples [Thu, 4 Oct 2007 09:57:50 +0000 (09:57 +0000)]
--skiproutes has been added for no fork users so that we know if we can delete the route at a later date.
Roy Marples [Tue, 4 Sep 2007 12:55:23 +0000 (12:55 +0000)]
remove the .depend file for ease of development
Roy Marples [Tue, 4 Sep 2007 12:52:34 +0000 (12:52 +0000)]
Add empty .depend file
Roy Marples [Tue, 4 Sep 2007 12:48:40 +0000 (12:48 +0000)]
Many thanks to Michael Durrant for testing the below changes.
Compile and work on OSX/Darwin.
If we have no fork then we re-exec ourselves with --daemonised.
Improved the build system so we automatically detect if we need
librt or libresolv and if fork() works or not.
Move back to using librt for clock_gettime on Linux systems.
Roy Marples [Fri, 24 Aug 2007 11:05:38 +0000 (11:05 +0000)]
Loopify the pmake gcc flag detection
Roy Marples [Tue, 21 Aug 2007 09:50:01 +0000 (09:50 +0000)]
Suck it hard and use gettimeofday for Linux. Lets just hope that the clock works under Linux during ARP floods.
Roy Marples [Mon, 20 Aug 2007 19:09:12 +0000 (19:09 +0000)]
Fix the flushing of addresses on BSD systems.
Roy Marples [Mon, 20 Aug 2007 16:33:29 +0000 (16:33 +0000)]
Prepare 3.1.5
Roy Marples [Mon, 20 Aug 2007 16:33:09 +0000 (16:33 +0000)]
Rework the arp code again so that we don't link to librt on Linux.
Roy Marples [Mon, 20 Aug 2007 15:43:10 +0000 (15:43 +0000)]
Fix a potential buffer overflow in hwaddr_ntoa if length > 42.
Roy Marples [Mon, 20 Aug 2007 15:36:41 +0000 (15:36 +0000)]
Fix a potential heap overflow in decode_CSR when CIDR > 32.
Roy Marples [Mon, 20 Aug 2007 15:17:37 +0000 (15:17 +0000)]
Fix a potential heap overflow in decode_sipservers when length is 1.
Roy Marples [Sat, 11 Aug 2007 16:03:25 +0000 (16:03 +0000)]
-L actually doesn't do IPv4LL as advertised.
Roy Marples [Fri, 10 Aug 2007 11:42:53 +0000 (11:42 +0000)]
We still need the common.h header
Roy Marples [Thu, 9 Aug 2007 16:27:53 +0000 (16:27 +0000)]
Makefile version