]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
18 years agoStop using asprintf as it's not portable.
Roy Marples [Mon, 7 Jan 2008 20:52:49 +0000 (20:52 +0000)] 
Stop using asprintf as it's not portable.

18 years agoClean up some valgrind warnings.
Roy Marples [Mon, 7 Jan 2008 20:49:25 +0000 (20:49 +0000)] 
Clean up some valgrind warnings.

18 years agoAlways relaunch with the full path.
Roy Marples [Mon, 7 Jan 2008 20:48:32 +0000 (20:48 +0000)] 
Always relaunch with the full path.

18 years agoAlways exit throught the abort label so we clean up our memory like a good citizen.
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.

18 years agoStop trying to fudge gmake including the .depend
Roy Marples [Mon, 7 Jan 2008 20:47:06 +0000 (20:47 +0000)] 
Stop trying to fudge gmake including the .depend

18 years agoAvoid valgrind errors with getline.
Roy Marples [Mon, 7 Jan 2008 19:13:54 +0000 (19:13 +0000)] 
Avoid valgrind errors with getline.

18 years agoStop using static inflexable buffers when cleaning metas and reading files.
Roy Marples [Mon, 7 Jan 2008 18:14:51 +0000 (18:14 +0000)] 
Stop using static inflexable buffers when cleaning metas and reading files.

18 years agowhitespace
Roy Marples [Wed, 28 Nov 2007 16:14:38 +0000 (16:14 +0000)] 
whitespace

18 years agoUse generic BSD define.
Roy Marples [Tue, 27 Nov 2007 22:03:42 +0000 (22:03 +0000)] 
Use generic BSD define.

18 years ago3.1.8
Roy Marples [Sat, 24 Nov 2007 11:03:49 +0000 (11:03 +0000)] 
3.1.8

18 years agoDon't force CFLAGS
Roy Marples [Sat, 24 Nov 2007 10:30:14 +0000 (10:30 +0000)] 
Don't force CFLAGS

18 years agoMerge branch 'master' of marples:/var/git/dhcpcd
Roy Marples [Wed, 21 Nov 2007 10:31:30 +0000 (10:31 +0000)] 
Merge branch 'master' of marples:/var/git/dhcpcd

18 years agoWe shouldn't specify log or drift locations
Roy Marples [Wed, 21 Nov 2007 10:31:16 +0000 (10:31 +0000)] 
We shouldn't specify log or drift locations

18 years agowhitespace
Roy Marples [Mon, 19 Nov 2007 21:00:36 +0000 (21:00 +0000)] 
whitespace

18 years agoDon't hardcode as much
Roy Marples [Mon, 19 Nov 2007 20:23:30 +0000 (20:23 +0000)] 
Don't hardcode as much

18 years agoFix file_in_path
Roy Marples [Fri, 16 Nov 2007 13:08:00 +0000 (13:08 +0000)] 
Fix file_in_path

18 years agoDetect Slackware RC. Also rename ORC to OPENRC and BRC to BSDRC.
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.

18 years agoFix atoint for out of range
Roy Marples [Thu, 15 Nov 2007 17:58:39 +0000 (17:58 +0000)] 
Fix atoint for out of range

18 years agoReplace the macro STRINGINT with a function
Roy Marples [Thu, 15 Nov 2007 17:57:10 +0000 (17:57 +0000)] 
Replace the macro STRINGINT with a function

18 years agoPut %%INFODIR%% in the man page so it's always swapped out with how dhcpcd is built.
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.

18 years agoRe-license as 2-clause BSD as I've re-written everything from the old dhcpcd-2 code...
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.

18 years agoAllow INFODIR to control where we keep our info files.
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.

18 years agoIgnore FQDN replies for the time being.
Roy Marples [Tue, 13 Nov 2007 14:44:23 +0000 (14:44 +0000)] 
Ignore FQDN replies for the time being.

18 years agowhitespace
Roy Marples [Tue, 13 Nov 2007 14:36:09 +0000 (14:36 +0000)] 
whitespace

18 years agoRevert "Link local routes should not be static."
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.

18 years agoIf we fail to get an ipv4ll address, start over
Roy Marples [Tue, 13 Nov 2007 10:55:55 +0000 (10:55 +0000)] 
If we fail to get an ipv4ll address, start over

18 years agoLink local routes should not be static.
Roy Marples [Tue, 13 Nov 2007 10:22:45 +0000 (10:22 +0000)] 
Link local routes should not be static.

18 years agoBuffer signals instead of just using the latest.
Roy Marples [Mon, 12 Nov 2007 11:02:18 +0000 (11:02 +0000)] 
Buffer signals instead of just using the latest.

18 years agoAdd knobs to work with RedHat, Slackware and generic SYSV init scripts
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

18 years agoRC -> BRC
Roy Marples [Fri, 9 Nov 2007 17:02:38 +0000 (17:02 +0000)] 
RC -> BRC

18 years agoDon't spam the log as much when constantly using IPV4LL addresses.
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.

18 years agoWe should not use ntohl in IN_LOCAL define, instead where we use it.
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.

18 years agoAdd a warning when we get am IPV4LL address and we haven't daemonised
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

18 years agoWrap _BSD_SOURCE in a __linux__ define.
Roy Marples [Fri, 9 Nov 2007 13:43:36 +0000 (13:43 +0000)] 
Wrap _BSD_SOURCE in a __linux__ define.

18 years agoMove signals.c,h to signal.c,h
Roy Marples [Thu, 8 Nov 2007 13:16:00 +0000 (13:16 +0000)] 
Move signals.c,h to signal.c,h

18 years agoDon't report on the failed dhcpcd component for realpath
Roy Marples [Thu, 8 Nov 2007 11:46:16 +0000 (11:46 +0000)] 
Don't report on the failed dhcpcd component for realpath

18 years agoUse realpath to work out where dhcpcd is
Roy Marples [Thu, 8 Nov 2007 11:06:41 +0000 (11:06 +0000)] 
Use realpath to work out where dhcpcd is

18 years agoRe-add sys/time.h
Roy Marples [Thu, 8 Nov 2007 10:41:37 +0000 (10:41 +0000)] 
Re-add sys/time.h

18 years agoMerge branch 'master' of marples:/var/git/dhcpcd
Roy Marples [Thu, 8 Nov 2007 10:38:54 +0000 (10:38 +0000)] 
Merge branch 'master' of marples:/var/git/dhcpcd

18 years agoWork with the BSD RC system too.
Roy Marples [Thu, 8 Nov 2007 10:37:52 +0000 (10:37 +0000)] 
Work with the BSD RC system too.

18 years agoFind resolvconf in path instead of just /sbin.
Roy Marples [Thu, 8 Nov 2007 10:36:49 +0000 (10:36 +0000)] 
Find resolvconf in path instead of just /sbin.

18 years agoEnsure copyright is added to the binary
Roy Marples [Wed, 7 Nov 2007 21:35:12 +0000 (21:35 +0000)] 
Ensure copyright is added to the binary

18 years agotimeval defines seconds as long, so we should use long over time_t
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

18 years agoImprove the structure of linux netlink messaging code
Roy Marples [Wed, 7 Nov 2007 20:28:55 +0000 (20:28 +0000)] 
Improve the structure of linux netlink messaging code

18 years agomake HAVE_FORK=yes|no should be used if cross compiling.
Roy Marples [Wed, 7 Nov 2007 17:06:05 +0000 (17:06 +0000)] 
make HAVE_FORK=yes|no should be used if cross compiling.

18 years agoReword the headers to just say we use the GPLv2.
Roy Marples [Wed, 7 Nov 2007 16:26:41 +0000 (16:26 +0000)] 
Reword the headers to just say we use the GPLv2.

18 years agoReword the license headers just to 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.

18 years agoRemove the reference to udhcp.
Roy Marples [Wed, 7 Nov 2007 15:53:15 +0000 (15:53 +0000)] 
Remove the reference to udhcp.

18 years agodhcp_run no longer resembles anything from udhcp, so remove the reference.
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.

18 years agoClarify recvmsg error
Roy Marples [Wed, 7 Nov 2007 15:43:32 +0000 (15:43 +0000)] 
Clarify recvmsg error

18 years agoWe should reset the NAK backoff when we timeout as well
Roy Marples [Wed, 7 Nov 2007 10:50:39 +0000 (10:50 +0000)] 
We should reset the NAK backoff when we timeout as well

18 years agoImplement an exponetial NAK backoff.
Roy Marples [Wed, 7 Nov 2007 10:43:35 +0000 (10:43 +0000)] 
Implement an exponetial NAK backoff.

18 years agoActually read the signal from the buffer
Roy Marples [Wed, 7 Nov 2007 10:42:30 +0000 (10:42 +0000)] 
Actually read the signal from the buffer

18 years agoClear the signal_pipe fd from the fdset when all signals have
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.

18 years agoUpdate my e-mail address as I have retired from Gentoo.
Roy Marples [Tue, 6 Nov 2007 15:03:38 +0000 (15:03 +0000)] 
Update my e-mail address as I have retired from Gentoo.

18 years agoAs we now use git, don't include .git when making distfiles.
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.

18 years agoIncrease ipv4ll lease time to 20 seconds so we attempt a dhcp request every 10 seconds
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

18 years agoDon't release a link local address.
Roy Marples [Mon, 22 Oct 2007 16:03:48 +0000 (16:03 +0000)] 
Don't release a link local address.

18 years agoIf compiled without info support, don't tell the script about the info file.
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.

18 years agoUse sysconf to detect if we have a working monotonic clock.
Roy Marples [Mon, 22 Oct 2007 14:32:31 +0000 (14:32 +0000)] 
Use sysconf to detect if we have a working monotonic clock.

18 years agoOnly request NTP, NIS, etc if we have compiled that feature in.
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.

18 years agodhcpcd --version now shows what compile time options were used.
Roy Marples [Mon, 22 Oct 2007 13:06:18 +0000 (13:06 +0000)] 
dhcpcd --version now shows what compile time options were used.

18 years agoDon't need this define anymore.
Roy Marples [Sun, 21 Oct 2007 19:44:30 +0000 (19:44 +0000)] 
Don't need this define anymore.

18 years agoRelease 3.1.7
Roy Marples [Sun, 21 Oct 2007 19:16:53 +0000 (19:16 +0000)] 
Release 3.1.7

18 years agotypo
Roy Marples [Sun, 21 Oct 2007 19:16:19 +0000 (19:16 +0000)] 
typo

18 years agoAdd warnings about requesting a link local address.
Roy Marples [Sun, 21 Oct 2007 19:15:23 +0000 (19:15 +0000)] 
Add warnings about requesting a link local address.

18 years agoWrite the pidfile before we fork so we can easily be stopped by other processes.
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.

18 years agoAlways define IN_LINKLOCAL
Roy Marples [Wed, 17 Oct 2007 15:46:04 +0000 (15:46 +0000)] 
Always define IN_LINKLOCAL

18 years agoAlways add a link-local route unless we're given a non-private address by the DHCP...
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.

18 years agoChange wording
Roy Marples [Fri, 12 Oct 2007 11:18:03 +0000 (11:18 +0000)] 
Change wording

18 years agoRemove temp files when cannot work out linking foo
Roy Marples [Thu, 11 Oct 2007 21:05:18 +0000 (21:05 +0000)] 
Remove temp files when cannot work out linking foo

18 years agoDon't malloc pointer size when we mean data size
Roy Marples [Thu, 11 Oct 2007 20:30:24 +0000 (20:30 +0000)] 
Don't malloc pointer size when we mean data size

18 years agoNo need for if here
Roy Marples [Thu, 11 Oct 2007 13:42:12 +0000 (13:42 +0000)] 
No need for if here

18 years agoClarify EINTR
Roy Marples [Thu, 11 Oct 2007 13:27:06 +0000 (13:27 +0000)] 
Clarify EINTR

18 years agoReduce stack usage by using malloc more.
Roy Marples [Thu, 11 Oct 2007 13:26:16 +0000 (13:26 +0000)] 
Reduce stack usage by using malloc more.

18 years agoWork better with signal handling, arp and send errors
Roy Marples [Thu, 11 Oct 2007 13:24:17 +0000 (13:24 +0000)] 
Work better with signal handling, arp and send errors

18 years agorevert commit - wrong file :/
Roy Marples [Thu, 11 Oct 2007 13:23:53 +0000 (13:23 +0000)] 
revert commit - wrong file :/

18 years agoWork better with signal handling, arp and send errors
Roy Marples [Thu, 11 Oct 2007 13:21:57 +0000 (13:21 +0000)] 
Work better with signal handling, arp and send errors

18 years agoReturn on all errors
Roy Marples [Thu, 11 Oct 2007 13:21:02 +0000 (13:21 +0000)] 
Return on all errors

18 years agoHandle signals correctly.
Roy Marples [Thu, 11 Oct 2007 13:20:37 +0000 (13:20 +0000)] 
Handle signals correctly.

18 years agoAllow none signal pipe users to grab signals
Roy Marples [Thu, 11 Oct 2007 13:19:25 +0000 (13:19 +0000)] 
Allow none signal pipe users to grab signals

18 years agoIf we're on a different subnet from the one we get DHCP for, don't use our current...
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.

18 years agoSkip over bogus EINTR error on select when arp checking for a different address from...
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.

18 years agoClarify -r option a little
Roy Marples [Tue, 9 Oct 2007 09:05:29 +0000 (09:05 +0000)] 
Clarify -r option a little

18 years agoRelease 3.1.6
Roy Marples [Thu, 4 Oct 2007 11:39:26 +0000 (11:39 +0000)] 
Release 3.1.6

18 years ago--skiproutes has been added for no fork users so that we know if we can delete the...
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.

18 years agoremove the .depend file for ease of development
Roy Marples [Tue, 4 Sep 2007 12:55:23 +0000 (12:55 +0000)] 
remove the .depend file  for ease of development

18 years agoAdd empty .depend file
Roy Marples [Tue, 4 Sep 2007 12:52:34 +0000 (12:52 +0000)] 
Add empty .depend file

18 years agoMany thanks to Michael Durrant for testing the below changes.
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.

18 years agoLoopify the pmake gcc flag detection
Roy Marples [Fri, 24 Aug 2007 11:05:38 +0000 (11:05 +0000)] 
Loopify the pmake gcc flag detection

18 years agoSuck it hard and use gettimeofday for Linux. Lets just hope that the clock works...
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.

18 years agoFix the flushing of addresses on BSD systems.
Roy Marples [Mon, 20 Aug 2007 19:09:12 +0000 (19:09 +0000)] 
Fix the flushing of addresses on BSD systems.

18 years agoPrepare 3.1.5
Roy Marples [Mon, 20 Aug 2007 16:33:29 +0000 (16:33 +0000)] 
Prepare 3.1.5

18 years agoRework the arp code again so that we don't link to librt on Linux.
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.

18 years agoFix a potential buffer overflow in hwaddr_ntoa if length > 42.
Roy Marples [Mon, 20 Aug 2007 15:43:10 +0000 (15:43 +0000)] 
Fix a potential buffer overflow in hwaddr_ntoa if length > 42.

18 years agoFix a potential heap overflow in decode_CSR when CIDR > 32.
Roy Marples [Mon, 20 Aug 2007 15:36:41 +0000 (15:36 +0000)] 
Fix a potential heap overflow in decode_CSR when CIDR > 32.

18 years agoFix a potential heap overflow in decode_sipservers when length is 1.
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.

18 years ago-L actually doesn't do IPv4LL as advertised.
Roy Marples [Sat, 11 Aug 2007 16:03:25 +0000 (16:03 +0000)] 
-L actually doesn't do IPv4LL as advertised.

18 years agoWe still need the common.h header
Roy Marples [Fri, 10 Aug 2007 11:42:53 +0000 (11:42 +0000)] 
We still need the common.h header

18 years agoMakefile version
Roy Marples [Thu, 9 Aug 2007 16:27:53 +0000 (16:27 +0000)] 
Makefile version