]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
18 years agoadd missing files
Roy Marples [Thu, 10 May 2007 16:07:17 +0000 (16:07 +0000)] 
add missing files

18 years agoconfig.h now has the compile time options, instead of being dotted around.
Roy Marples [Thu, 10 May 2007 09:39:26 +0000 (09:39 +0000)] 
config.h now has the compile time options, instead of being dotted around.
Added -E option, which reads the last info file and uses the information there
if we timeout and the lease is still valid, thanks to Roberto Angelino.

18 years agoClean up stuff
Roy Marples [Fri, 4 May 2007 14:47:09 +0000 (14:47 +0000)] 
Clean up stuff

18 years agoGrammer fix by vonr
Roy Marples [Thu, 26 Apr 2007 18:46:26 +0000 (18:46 +0000)] 
Grammer fix by vonr

18 years agoAlthough we compile on NetBSD, we fail to add routes correctly.
Roy Marples [Thu, 26 Apr 2007 16:46:55 +0000 (16:46 +0000)] 
Although we compile on NetBSD, we fail to add routes correctly.

18 years agoSend a FQDN hostname if it contains dots, strip the domain from a looked up hostname...
Roy Marples [Thu, 26 Apr 2007 16:16:56 +0000 (16:16 +0000)] 
Send a FQDN hostname if it contains dots, strip the domain from a looked up hostname if it matches our domain or search and sanitize our fd's a little better.

19 years agoUse MAXHOSTNAMELEN instead of our define
Roy Marples [Wed, 18 Apr 2007 15:14:55 +0000 (15:14 +0000)] 
Use MAXHOSTNAMELEN instead of our define

19 years agoEnsure that static routes are always added before routers.
Roy Marples [Wed, 18 Apr 2007 12:03:23 +0000 (12:03 +0000)] 
Ensure that static routes are always added before routers.

19 years agoUse getnameinfo instead of gethostbyaddr.
Roy Marples [Wed, 18 Apr 2007 10:16:51 +0000 (10:16 +0000)] 
Use getnameinfo instead of gethostbyaddr.

19 years agoRename define and add comment to info file
Roy Marples [Mon, 16 Apr 2007 08:33:22 +0000 (08:33 +0000)] 
Rename define and add comment to info file

19 years agoUse vfork instead of fork so we're more embedded friendly.
Roy Marples [Sun, 15 Apr 2007 18:41:14 +0000 (18:41 +0000)] 
Use vfork instead of fork so we're more embedded friendly.

19 years agoRemove gateways from the ROUTES and add to GATEWAYS
Roy Marples [Sun, 15 Apr 2007 17:51:04 +0000 (17:51 +0000)] 
Remove gateways from the ROUTES and add to GATEWAYS
define #INFO_COMPAT if you wish your .info file to add support for some
old 1.x and 2.x structure.

19 years agodhcpcd-3.0.17
Roy Marples [Sat, 14 Apr 2007 07:53:33 +0000 (07:53 +0000)] 
dhcpcd-3.0.17

19 years agoTypo, thanks to A C Hurst
Roy Marples [Fri, 13 Apr 2007 23:59:24 +0000 (23:59 +0000)] 
Typo, thanks to A C Hurst

19 years agoignore should be debug message
Roy Marples [Fri, 13 Apr 2007 08:49:03 +0000 (08:49 +0000)] 
ignore should be debug message

19 years agoStyle updates
Roy Marples [Thu, 12 Apr 2007 13:12:25 +0000 (13:12 +0000)] 
Style updates

19 years agoUpdate
Roy Marples [Thu, 12 Apr 2007 06:58:02 +0000 (06:58 +0000)] 
Update

19 years agoRedfine the variable and add a comment
Roy Marples [Thu, 12 Apr 2007 06:52:51 +0000 (06:52 +0000)] 
Redfine the variable and add a comment

19 years agoMinimum message size is now 300 bytes for crappy DHCP servers :/
Roy Marples [Wed, 11 Apr 2007 19:44:37 +0000 (19:44 +0000)] 
Minimum message size is now 300 bytes for crappy DHCP servers :/

19 years agoCuddle up to LKML style C
Roy Marples [Wed, 11 Apr 2007 13:18:33 +0000 (13:18 +0000)] 
Cuddle up to LKML style C

19 years agoFix indentation
Roy Marples [Tue, 10 Apr 2007 11:27:37 +0000 (11:27 +0000)] 
Fix indentation

19 years agoWe should now compile on OpenBSD. Also, we check we can use some gcc flags before...
Roy Marples [Sun, 8 Apr 2007 17:35:22 +0000 (17:35 +0000)] 
We should now compile on OpenBSD. Also, we check we can use some gcc flags before blindly erroring.

19 years agocopy the arg as vsyslog may not do its own copy and use strlcpy instead of strcpy
Roy Marples [Fri, 6 Apr 2007 12:30:16 +0000 (12:30 +0000)] 
copy the arg as vsyslog may not do its own copy and use strlcpy instead of strcpy

19 years agostring.h pulls in features.h
Roy Marples [Thu, 5 Apr 2007 18:11:05 +0000 (18:11 +0000)] 
string.h pulls in features.h

19 years agoUse libc strlcpy for uclibc and dietlibc
Roy Marples [Thu, 5 Apr 2007 18:05:38 +0000 (18:05 +0000)] 
Use libc strlcpy for uclibc and dietlibc

19 years agoRemove the last sprintf
Roy Marples [Thu, 5 Apr 2007 17:38:18 +0000 (17:38 +0000)] 
Remove the last sprintf

19 years agoUse strlcpy if available, if not define our own.
Roy Marples [Thu, 5 Apr 2007 17:31:05 +0000 (17:31 +0000)] 
Use strlcpy if available, if not define our own.

19 years agoAdd safe_strncpy function to ensure everything is NULL terminated
Roy Marples [Thu, 5 Apr 2007 16:56:58 +0000 (16:56 +0000)] 
Add safe_strncpy function to ensure everything is NULL terminated

19 years agoClean ups
Roy Marples [Thu, 5 Apr 2007 15:01:50 +0000 (15:01 +0000)] 
Clean ups

19 years agoCast NULL as char * when terminating lists, and use printf like attributes on our...
Roy Marples [Thu, 5 Apr 2007 14:33:39 +0000 (14:33 +0000)] 
Cast NULL as char * when terminating lists, and use printf like attributes on our logging functions.

19 years agoAdd --nomtu/-M option. Also, if MTU is used we restore it to how it was at when we...
Roy Marples [Wed, 4 Apr 2007 14:28:07 +0000 (14:28 +0000)] 
Add --nomtu/-M option. Also, if MTU is used we restore it to how it was at when we exist, don't get an MTU from the server or get an invalid MTU from the server.

19 years agoYou can now build dhcpcd without support for writing ntp, nis and info files
Roy Marples [Tue, 3 Apr 2007 07:03:04 +0000 (07:03 +0000)] 
You can now build dhcpcd without support for writing ntp, nis and info files
which makes the binary a few k smaller.
Support OpenNTP as well as NTP.
Re-work the state engine a little, so we renew and rebind correctly.
Subsequent debug options stop dhcpcd from daemonising.

19 years agoCheck that if_nametoindex returns a valid index, thanks to d00mer.
Roy Marples [Fri, 23 Mar 2007 10:32:11 +0000 (10:32 +0000)] 
Check that if_nametoindex returns a valid index, thanks to d00mer.

19 years agoBuild correctly on dietlibc, thanks to d00mer.
Roy Marples [Fri, 23 Mar 2007 10:09:14 +0000 (10:09 +0000)] 
Build correctly on dietlibc, thanks to d00mer.

19 years agoWhen MTU is less than 576 we now ignore it instead of setting the MTU to 576.
Roy Marples [Fri, 23 Mar 2007 10:02:02 +0000 (10:02 +0000)] 
When MTU is less than 576 we now ignore it instead of setting the MTU to 576.

19 years agoWhen we get an invalid length for a DHCP option, try and continue anyway.
Roy Marples [Sun, 4 Mar 2007 15:08:21 +0000 (15:08 +0000)] 
When we get an invalid length for a DHCP option, try and continue anyway.

19 years agoRFC 2131 is full of confusion regarding MTU it seems as the effective minimum MTU...
Roy Marples [Fri, 2 Mar 2007 12:11:46 +0000 (12:11 +0000)] 
RFC 2131 is full of confusion regarding MTU it seems as the effective minimum MTU is really 576 or DHCP requests stop working.

19 years agoFix MTU length checking.
Roy Marples [Thu, 1 Mar 2007 10:42:01 +0000 (10:42 +0000)] 
Fix MTU length checking.
We now request MTU from the DHCP server, and if given we set it.

19 years ago3.0.14 done
Roy Marples [Wed, 28 Feb 2007 09:18:04 +0000 (09:18 +0000)] 
3.0.14 done

19 years agoDon't crash with 0 or invalid length DHCP options, reported by Stefan de Konink.
Roy Marples [Tue, 27 Feb 2007 12:06:44 +0000 (12:06 +0000)] 
Don't crash with 0 or invalid length DHCP options, reported by Stefan de Konink.

19 years agoFinal 3.0.13
Roy Marples [Fri, 23 Feb 2007 08:44:38 +0000 (08:44 +0000)] 
Final 3.0.13

19 years agoFinal 3.0.13
Roy Marples [Fri, 23 Feb 2007 08:41:46 +0000 (08:41 +0000)] 
Final 3.0.13

19 years agoReally fix firewire
Roy Marples [Thu, 22 Feb 2007 07:23:19 +0000 (07:23 +0000)] 
Really fix firewire

19 years agoFix regression on Linux for sending packets over non Ethernet devices.
Roy Marples [Wed, 21 Feb 2007 23:22:25 +0000 (23:22 +0000)] 
Fix regression on Linux for sending packets over non Ethernet devices.

19 years agodefine ARPHRD_IEEE1394 if it doesn not exist, like for Linux-2.4 kernels.
Roy Marples [Wed, 21 Feb 2007 22:20:04 +0000 (22:20 +0000)] 
define ARPHRD_IEEE1394 if it doesn not exist, like for Linux-2.4 kernels.

19 years agoFinalise 3.0.12
Roy Marples [Wed, 21 Feb 2007 12:56:22 +0000 (12:56 +0000)] 
Finalise 3.0.12

19 years agoNo more errors reported under valgrind :)
Roy Marples [Wed, 21 Feb 2007 11:40:50 +0000 (11:40 +0000)] 
No more errors reported under valgrind :)

19 years agoClean up some valgrind errors
Roy Marples [Wed, 21 Feb 2007 10:50:24 +0000 (10:50 +0000)] 
Clean up some valgrind errors

19 years agoStop using sleeps as it may mess with our signal handler. Display cidr when adding...
Roy Marples [Wed, 21 Feb 2007 10:30:50 +0000 (10:30 +0000)] 
Stop using sleeps as it may mess with our signal handler. Display cidr when adding/deleting addreses.

19 years agoTest to see if the pid in the pidfile is actually running before claiming
Roy Marples [Tue, 20 Feb 2007 22:57:10 +0000 (22:57 +0000)] 
Test to see if the pid in the pidfile is actually running before claiming
that we are.
Fix the  error since 3.0.6.
We now ensure that our renewal and rebind times are sane.
Fix flushing interfaces for systems without getifaddrs and >1 interface.
All netlink error messages are now prefixed with netlink.

19 years agoman page touchups
Roy Marples [Mon, 12 Feb 2007 17:08:44 +0000 (17:08 +0000)] 
man page touchups

19 years agoAdd DHCP over FireWire 1394 (RFC 2855) and InfiniBand (RFC 4390) support.
Roy Marples [Mon, 12 Feb 2007 16:12:50 +0000 (16:12 +0000)] 
Add DHCP over FireWire 1394 (RFC 2855) and InfiniBand (RFC 4390) support.

19 years agoDon't try to send messages when we infinite leasetime and the interface
Roy Marples [Thu, 8 Feb 2007 09:40:22 +0000 (09:40 +0000)] 
Don't try to send messages when we infinite leasetime and the interface
fd is closed.

19 years agoBother bother reading the existing ntp.conf file once we have matched all our servers
Roy Marples [Sun, 28 Jan 2007 16:54:27 +0000 (16:54 +0000)] 
Bother bother reading the existing ntp.conf file once we have matched all our servers

19 years agoTag 3.0.10
Roy Marples [Sat, 27 Jan 2007 16:20:59 +0000 (16:20 +0000)] 
Tag 3.0.10

19 years ago3.0.10
Roy Marples [Sat, 27 Jan 2007 16:18:20 +0000 (16:18 +0000)] 
3.0.10

19 years agoOnly write a new ntp.conf if any of our servers are not present in it.
Roy Marples [Sat, 27 Jan 2007 13:59:38 +0000 (13:59 +0000)] 
Only write a new ntp.conf if any of our servers are not present in it.

19 years agoRespond to SIGCHLD with a wait so we don't leave zombies around.
Roy Marples [Sat, 27 Jan 2007 13:31:39 +0000 (13:31 +0000)] 
Respond to SIGCHLD with a wait so we don't leave zombies around.

19 years agoUpdate changelog
Roy Marples [Thu, 18 Jan 2007 14:17:10 +0000 (14:17 +0000)] 
Update changelog

19 years agoFor infinite timeout, we now resent the last request at +TIMEOUT_MINI
Roy Marples [Thu, 18 Jan 2007 14:02:40 +0000 (14:02 +0000)] 
For infinite timeout, we now resent the last request at +TIMEOUT_MINI
intervals until TIMEOUT_MINI_INF is reached, thanks to Steve.

19 years agoTypo
Roy Marples [Wed, 17 Jan 2007 18:24:18 +0000 (18:24 +0000)] 
Typo

19 years agoFor infinite timeout, we now resent the last request at TIMEOUT_MINI
Roy Marples [Tue, 16 Jan 2007 17:54:07 +0000 (17:54 +0000)] 
For infinite timeout, we now resent the last request at TIMEOUT_MINI
intervals like we do otherwise.
We now return a non zero exit code on SIGTERM and SIGINT if we have not
forked into the background.
When NIS and/or NTP servers are updated, we restart the service for them
if we can.

19 years agoVersion makefile
Roy Marples [Sun, 7 Jan 2007 11:09:59 +0000 (11:09 +0000)] 
Version makefile

19 years ago3.0.9
Roy Marples [Sun, 7 Jan 2007 11:08:04 +0000 (11:08 +0000)] 
3.0.9

19 years agoAdd static routes before any default routes as a router may require a host
Roy Marples [Thu, 28 Dec 2006 18:44:16 +0000 (18:44 +0000)] 
Add static routes before any default routes as a router may require a host
route in the static routes.

19 years ago3.0.8
Roy Marples [Thu, 21 Dec 2006 21:12:28 +0000 (21:12 +0000)] 
3.0.8

19 years agoCode clean
Roy Marples [Thu, 21 Dec 2006 21:00:14 +0000 (21:00 +0000)] 
Code clean

19 years agoTweak makefile
Roy Marples [Thu, 21 Dec 2006 18:28:45 +0000 (18:28 +0000)] 
Tweak makefile

19 years agoChange back to gnu99 to support generic Linux headers until they work with c99 like...
Roy Marples [Thu, 21 Dec 2006 18:23:15 +0000 (18:23 +0000)] 
Change back to gnu99 to support generic Linux headers until they work with c99 like they should.

19 years agoFix arp checking
Roy Marples [Thu, 21 Dec 2006 16:51:16 +0000 (16:51 +0000)] 
Fix arp checking
linux-2.6.19 headers NOW don't work with c99 which is just wrong, so
dhcpcd no longer builds against these kernel headers. You get a nice
error though :)

19 years ago3.0.7
Roy Marples [Tue, 19 Dec 2006 10:06:45 +0000 (10:06 +0000)] 
3.0.7

19 years agoAdd NetBSD and OpenBSD support - untested though
Roy Marples [Tue, 19 Dec 2006 10:06:21 +0000 (10:06 +0000)] 
Add NetBSD and OpenBSD support - untested though

19 years agoClean up warnings on Sparc/Linux
Roy Marples [Mon, 18 Dec 2006 14:30:32 +0000 (14:30 +0000)] 
Clean up warnings on Sparc/Linux

19 years agoAllow Token Ring on Linux
Roy Marples [Mon, 18 Dec 2006 10:28:32 +0000 (10:28 +0000)] 
Allow Token Ring on Linux

19 years agoClean up compile warnings on Sparc/FreeBSD
Roy Marples [Mon, 18 Dec 2006 09:43:44 +0000 (09:43 +0000)] 
Clean up compile warnings on Sparc/FreeBSD

19 years agodhcpcd is reported to work on Darwin :)
Roy Marples [Fri, 15 Dec 2006 18:28:54 +0000 (18:28 +0000)] 
dhcpcd is reported to work on Darwin :)

19 years agoAdd -Werror back
Roy Marples [Fri, 15 Dec 2006 14:47:45 +0000 (14:47 +0000)] 
Add -Werror back

19 years agoFix cleanmetas function and fix FreeBSD again
Roy Marples [Fri, 15 Dec 2006 14:47:01 +0000 (14:47 +0000)] 
Fix cleanmetas function and fix FreeBSD again

19 years agoFix silly warning on s390
Roy Marples [Fri, 15 Dec 2006 11:44:23 +0000 (11:44 +0000)] 
Fix silly warning on s390

19 years agoUse -pipe again
Roy Marples [Fri, 15 Dec 2006 11:33:44 +0000 (11:33 +0000)] 
Use -pipe again

19 years agoDefine _BSD_SOURCE and change to c99 - more warnings cleaned up.
Roy Marples [Fri, 15 Dec 2006 11:23:32 +0000 (11:23 +0000)] 
Define _BSD_SOURCE and change to c99 - more warnings cleaned up.

19 years agoCompiles on FreeBSD again
Roy Marples [Fri, 15 Dec 2006 00:00:18 +0000 (00:00 +0000)] 
Compiles on FreeBSD again

19 years agoMake the consts sane
Roy Marples [Thu, 14 Dec 2006 23:47:56 +0000 (23:47 +0000)] 
Make the consts sane

19 years agoAdd loads of debugging CFLAGS so we can remove all compiler warnings
Roy Marples [Thu, 14 Dec 2006 23:17:27 +0000 (23:17 +0000)] 
Add loads of debugging CFLAGS so we can remove all compiler warnings

19 years agoDon't set the broadcast flag anymore as all BPF and Linux sockets should be
Roy Marples [Mon, 11 Dec 2006 13:16:28 +0000 (13:16 +0000)] 
Don't set the broadcast flag anymore as all BPF and Linux sockets should be
able to unicast correctly.

19 years agoFix yp.conf creation
Roy Marples [Wed, 6 Dec 2006 11:34:46 +0000 (11:34 +0000)] 
Fix yp.conf creation

19 years agoCompile fix for FreeBSD
Roy Marples [Wed, 6 Dec 2006 11:16:43 +0000 (11:16 +0000)] 
Compile fix for FreeBSD

19 years agoUpdate ChangeLog
Roy Marples [Wed, 6 Dec 2006 10:10:07 +0000 (10:10 +0000)] 
Update ChangeLog

19 years agoTag 3.0.4
Roy Marples [Wed, 6 Dec 2006 10:06:51 +0000 (10:06 +0000)] 
Tag 3.0.4

19 years agoFix netmask thanks to Marc Duponcheel.
Roy Marples [Wed, 6 Dec 2006 10:02:03 +0000 (10:02 +0000)] 
Fix netmask thanks to Marc Duponcheel.

19 years agoSend the current hostname by default.
Roy Marples [Wed, 6 Dec 2006 09:37:15 +0000 (09:37 +0000)] 
Send the current hostname by default.

19 years agoRevert mistaken commit
Roy Marples [Tue, 5 Dec 2006 10:12:50 +0000 (10:12 +0000)] 
Revert mistaken commit

19 years agoTag dhcpcd-3.0.3
Roy Marples [Tue, 5 Dec 2006 09:42:35 +0000 (09:42 +0000)] 
Tag dhcpcd-3.0.3

19 years agoFix NIS, #define RESOLVCONF and send the parameter list with DISCOVER messages
Roy Marples [Tue, 5 Dec 2006 09:38:10 +0000 (09:38 +0000)] 
Fix NIS, #define RESOLVCONF and send the parameter list with DISCOVER messages

19 years agoSend hostname/fqdn in DISCOVER and INFORM messages too.
Roy Marples [Mon, 4 Dec 2006 21:13:04 +0000 (21:13 +0000)] 
Send hostname/fqdn in DISCOVER and INFORM messages too.

19 years agoDon't do if (foo) when foo is a char array and not a pointer
Roy Marples [Mon, 4 Dec 2006 16:09:18 +0000 (16:09 +0000)] 
Don't do if (foo) when foo is a char array and not a pointer

19 years agoFix writing to /etc/resolv.conf when resolvconf not present and add more debug statements
Roy Marples [Mon, 4 Dec 2006 14:08:44 +0000 (14:08 +0000)] 
Fix writing to /etc/resolv.conf when resolvconf not present and add more debug statements

19 years agoClean some style and stop using %m (use %s + strerror (errno) instead)
Roy Marples [Mon, 4 Dec 2006 12:56:30 +0000 (12:56 +0000)] 
Clean some style and stop using %m (use %s + strerror (errno) instead)

19 years agoOnly include linux/if_addr.h for 2.6.19 kernels and better
Roy Marples [Mon, 4 Dec 2006 12:40:14 +0000 (12:40 +0000)] 
Only include linux/if_addr.h for 2.6.19 kernels and better

19 years agoInclude linux/if_addr.h so we compile on 2.6.19 kernels, thanks to AlexExtreme.
Roy Marples [Mon, 4 Dec 2006 09:56:40 +0000 (09:56 +0000)] 
Include linux/if_addr.h so we compile on 2.6.19 kernels, thanks to AlexExtreme.