]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
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

18 years ago3.1.4
Roy Marples [Thu, 9 Aug 2007 16:26:26 +0000 (16:26 +0000)] 
3.1.4

18 years agoEnsure ARP checking times out when there is a flood.
Roy Marples [Thu, 9 Aug 2007 16:25:20 +0000 (16:25 +0000)] 
Ensure ARP checking times out when there is a flood.

18 years agoDon't use xmalloc in logger as that is self recursive.
Roy Marples [Thu, 9 Aug 2007 16:24:36 +0000 (16:24 +0000)] 
Don't use xmalloc in logger as that is self recursive.

18 years agoMove signal out of the options struct as it's just local to dhcpcd.c
Roy Marples [Fri, 3 Aug 2007 12:24:17 +0000 (12:24 +0000)] 
Move signal out of the options struct as it's just local to dhcpcd.c

18 years agoAdd -x option to quit without releasing the lease.
Roy Marples [Fri, 3 Aug 2007 10:33:07 +0000 (10:33 +0000)] 
Add -x option to quit without releasing the lease.

18 years agoFix link routes which broke in 3.1.2.
Roy Marples [Tue, 31 Jul 2007 14:09:00 +0000 (14:09 +0000)] 
Fix link routes which broke in 3.1.2.

18 years agoChangelog
Roy Marples [Tue, 31 Jul 2007 09:57:20 +0000 (09:57 +0000)] 
Changelog

18 years agoFix static routes
Roy Marples [Tue, 31 Jul 2007 09:50:48 +0000 (09:50 +0000)] 
Fix static routes

18 years agoChange the route output to use CIDR instead of netmasks
Roy Marples [Mon, 30 Jul 2007 12:46:53 +0000 (12:46 +0000)] 
Change the route output to use CIDR instead of netmasks

18 years agoUse --nodeps when restarting services
Roy Marples [Mon, 30 Jul 2007 12:45:31 +0000 (12:45 +0000)] 
Use --nodeps when restarting services

18 years agoSimply CIDR calculation, thanks to Francois-Xavier Le Bail.
Roy Marples [Sun, 29 Jul 2007 10:19:37 +0000 (10:19 +0000)] 
Simply CIDR calculation, thanks to Francois-Xavier Le Bail.

18 years agoDon't free the dhcp object on RENEW (fixes a segfault)
Roy Marples [Sun, 29 Jul 2007 10:18:52 +0000 (10:18 +0000)] 
Don't free the dhcp object on RENEW (fixes a segfault)

18 years agoFix arp segfaulting and final 3.1.1
Roy Marples [Thu, 26 Jul 2007 09:35:45 +0000 (09:35 +0000)] 
Fix arp segfaulting and final 3.1.1

18 years agoRemove getifaddrs code and instead just use ioctls.
Roy Marples [Wed, 25 Jul 2007 21:01:10 +0000 (21:01 +0000)] 
Remove getifaddrs code and instead just use ioctls.

18 years agoFinal 3.1.0
Roy Marples [Mon, 23 Jul 2007 10:31:16 +0000 (10:31 +0000)] 
Final 3.1.0

18 years agoAdd new socket code to try and support InfiniBand better.
Roy Marples [Sat, 21 Jul 2007 13:00:18 +0000 (13:00 +0000)] 
Add new socket code to try and support InfiniBand better.

18 years agoFix leak and report correct invalid encoding option for sip servers.
Roy Marples [Thu, 19 Jul 2007 15:46:02 +0000 (15:46 +0000)] 
Fix leak and report correct invalid encoding option for sip servers.

18 years agoSupport RFC 3361 SIP Servers.
Roy Marples [Wed, 18 Jul 2007 14:22:02 +0000 (14:22 +0000)] 
Support RFC 3361 SIP Servers.

18 years ago==-1 is cheaper than <0
Roy Marples [Wed, 18 Jul 2007 11:39:30 +0000 (11:39 +0000)] 
==-1 is cheaper than <0

18 years ago==-1 is cheaper than <0
Roy Marples [Wed, 18 Jul 2007 11:38:42 +0000 (11:38 +0000)] 
==-1 is cheaper than <0

18 years ago==-1 is cheaper than <0
Roy Marples [Wed, 18 Jul 2007 11:35:50 +0000 (11:35 +0000)] 
==-1 is cheaper than <0

18 years agoWe now do ARP checking by default as recommended by RFC 2131.
Roy Marples [Wed, 18 Jul 2007 11:26:59 +0000 (11:26 +0000)] 
We now do ARP checking by default as recommended by RFC 2131.
Add RFC 3927 (aka IPV4LL aka APIPA) support by default.

18 years agoSuport DHCP option (52) overload.
Roy Marples [Tue, 17 Jul 2007 08:34:59 +0000 (08:34 +0000)] 
Suport DHCP option (52) overload.

18 years agoAdded -T test option. This just sends a DHCP_DISCOVER message and then
Roy Marples [Thu, 12 Jul 2007 12:52:27 +0000 (12:52 +0000)] 
Added -T test option. This just sends a DHCP_DISCOVER message and then
prints the configuration data to stdout - we don't request a lease,
configure the interface or write the info file.

18 years agoPad after end
Roy Marples [Thu, 12 Jul 2007 06:57:21 +0000 (06:57 +0000)] 
Pad after end

18 years agoFix adding /32 routes on Linux
Roy Marples [Thu, 28 Jun 2007 03:42:19 +0000 (03:42 +0000)] 
Fix adding /32 routes on Linux

18 years agoFix Client ID's
Roy Marples [Thu, 28 Jun 2007 03:41:25 +0000 (03:41 +0000)] 
Fix Client ID's

18 years agoDon't do any DUID if we have a user specified ClientID
Roy Marples [Wed, 27 Jun 2007 21:55:44 +0000 (21:55 +0000)] 
Don't do any DUID if we have a user specified ClientID

18 years agoFix adding of routes on the BSDs.
Roy Marples [Wed, 27 Jun 2007 00:11:11 +0000 (00:11 +0000)] 
Fix adding of routes on the BSDs.

18 years agoROOTPATH should work correctly again, thanks to danhien.
Roy Marples [Tue, 26 Jun 2007 12:14:17 +0000 (12:14 +0000)] 
ROOTPATH should work correctly again, thanks to danhien.

18 years agochdir to / for sanity
Roy Marples [Tue, 26 Jun 2007 12:02:26 +0000 (12:02 +0000)] 
chdir to / for sanity

18 years agoWe now have 6 hostname options, which should satisfy everyone.
Roy Marples [Wed, 30 May 2007 09:27:53 +0000 (09:27 +0000)] 
We now have 6 hostname options, which should satisfy everyone.

18 years ago-HH sets the hostname to the full dns name looked up if we need to.
Roy Marples [Mon, 28 May 2007 12:15:27 +0000 (12:15 +0000)] 
-HH sets the hostname to the full dns name looked up if we need to.

18 years agoDon't strip the domain when looking up hostname via DNS
Roy Marples [Wed, 23 May 2007 14:48:02 +0000 (14:48 +0000)] 
Don't strip the domain when looking up hostname via DNS

18 years agoMinimum packet is 46 bytes
Roy Marples [Tue, 22 May 2007 08:55:21 +0000 (08:55 +0000)] 
Minimum packet is 46 bytes

18 years agoFix ARP checking
Roy Marples [Mon, 21 May 2007 17:10:10 +0000 (17:10 +0000)] 
Fix ARP checking

18 years agoSupport linux aliased addresses
Roy Marples [Mon, 21 May 2007 13:55:49 +0000 (13:55 +0000)] 
Support linux aliased addresses

18 years agoEnable DHCP_INFORM support via the -s option again, moving DHCP_REQUEST
Roy Marples [Tue, 15 May 2007 13:34:17 +0000 (13:34 +0000)] 
Enable DHCP_INFORM support via the -s option again, moving DHCP_REQUEST
to the -r option. This makes us more compatible with dhcpcd-1.x and 2.x.

18 years agoStop using optional arguments, use '' instead so we're more compatible with dhcpcd...
Roy Marples [Mon, 14 May 2007 22:12:01 +0000 (22:12 +0000)] 
Stop using optional arguments, use '' instead so we're more compatible with dhcpcd-1.x and 2.x. Install /var/lib if it doesn't exist

18 years agoRename ch to opt
Roy Marples [Mon, 14 May 2007 13:34:36 +0000 (13:34 +0000)] 
Rename ch to opt

18 years agoDon't overrwite .info files when dropping if they already exist
Roy Marples [Mon, 14 May 2007 10:01:56 +0000 (10:01 +0000)] 
Don't overrwite .info files when dropping if they already exist

18 years agoAdd INSTALL file
Roy Marples [Sun, 13 May 2007 18:44:29 +0000 (18:44 +0000)] 
Add INSTALL file

18 years agoEnsure that dhcpcd.sh is always called.
Roy Marples [Sun, 13 May 2007 17:43:56 +0000 (17:43 +0000)] 
Ensure that dhcpcd.sh is always called.

18 years agoKeep flock on pidfile open for while running.
Roy Marples [Sun, 13 May 2007 13:46:39 +0000 (13:46 +0000)] 
Keep flock on pidfile open for while running.

18 years agoflock the pidfile and stop writing the parent pid to it so we're more robst.
Roy Marples [Sun, 13 May 2007 12:28:54 +0000 (12:28 +0000)] 
flock the pidfile and stop writing the parent pid to it so we're more robst.

18 years agoAvoid using sizeof for hostname length check
Roy Marples [Fri, 11 May 2007 21:31:14 +0000 (21:31 +0000)] 
Avoid using sizeof for hostname length check

18 years agoEnable DHCP_INFORM support via the -S option
Roy Marples [Fri, 11 May 2007 19:55:00 +0000 (19:55 +0000)] 
Enable DHCP_INFORM support via the -S option

18 years agoFix Makefile gcc options
Roy Marples [Fri, 11 May 2007 11:00:14 +0000 (11:00 +0000)] 
Fix Makefile gcc options

18 years agoAllow -I to have an optional argument, when missing don't use DUID's
Roy Marples [Fri, 11 May 2007 10:51:32 +0000 (10:51 +0000)] 
Allow -I to have an optional argument, when missing don't use DUID's

18 years agoAdd support for RFC 4361
Roy Marples [Thu, 10 May 2007 16:08:49 +0000 (16:08 +0000)] 
Add support for RFC 4361