]>
git.ipfire.org Git - thirdparty/dhcpcd.git/log
Roy Marples [Sat, 26 Sep 2009 08:14:02 +0000 (08:14 +0000)]
Report ClientID being used in debug.
Roy Marples [Thu, 24 Sep 2009 21:25:54 +0000 (21:25 +0000)]
Add -fno-common to debugging CFLAGS.
Declare udp_dhcp_len as extern.
Include common to get _packed definition.
Roy Marples [Tue, 22 Sep 2009 06:14:38 +0000 (06:14 +0000)]
Release dhcpcd-5.0.9
Roy Marples [Sat, 19 Sep 2009 14:33:35 +0000 (14:33 +0000)]
Fix various typos and grammatical errors.
Thanks to Stephen Borrill.
Roy Marples [Wed, 9 Sep 2009 10:06:23 +0000 (10:06 +0000)]
Don't null terminate gratuitously when handling quotes.
Roy Marples [Wed, 2 Sep 2009 20:19:19 +0000 (20:19 +0000)]
Release dhcpcd-5.0.8
Roy Marples [Wed, 2 Sep 2009 20:16:27 +0000 (20:16 +0000)]
Remove escapes in man pages for vendor ,"hello world"
Roy Marples [Wed, 2 Sep 2009 20:16:07 +0000 (20:16 +0000)]
Allow an un-encapsulated vendor option.
Roy Marples [Wed, 2 Sep 2009 20:10:55 +0000 (20:10 +0000)]
We should not affect other interfaces when handling new interface
notifications.
Roy Marples [Wed, 2 Sep 2009 20:10:23 +0000 (20:10 +0000)]
Don't pass "dhcpcd $iface" to discover_interfaces so our
denyinterfaces config option works for hotplugged interfaces.
Roy Marples [Tue, 1 Sep 2009 20:39:31 +0000 (20:39 +0000)]
Fix parsing of escape codes.
Roy Marples [Wed, 12 Aug 2009 08:40:29 +0000 (08:40 +0000)]
Whitespace.
Roy Marples [Tue, 11 Aug 2009 20:12:46 +0000 (20:12 +0000)]
Fix timeout of 0 disabling the timeout.
Roy Marples [Tue, 11 Aug 2009 20:08:02 +0000 (20:08 +0000)]
Fix persistent option.
Roy Marples [Wed, 5 Aug 2009 21:44:26 +0000 (21:44 +0000)]
Don't check family on point to point interfaces as we monitor them.
Roy Marples [Wed, 5 Aug 2009 21:20:53 +0000 (21:20 +0000)]
Only allow hardware families we know we can work with by default.
If an interface with a different hardware family is requested by the user then
emit a warning.
Roy Marples [Wed, 29 Jul 2009 08:59:52 +0000 (08:59 +0000)]
Include sys/types.h to compile on NetBSD-4
Roy Marples [Tue, 28 Jul 2009 20:38:52 +0000 (20:38 +0000)]
Release dhcpcd-5.0.7
Roy Marples [Sun, 26 Jul 2009 15:29:30 +0000 (15:29 +0000)]
Fix -f /path/to/config, #176.
Also, warn if we cannot open the file.
Roy Marples [Sat, 25 Jul 2009 23:38:51 +0000 (23:38 +0000)]
Fix usage.
Roy Marples [Sat, 25 Jul 2009 23:30:08 +0000 (23:30 +0000)]
-e, --env var=value
now pushes var=value to the environment when dhcpcd-run-hooks is run.
This allows the possibility to set env vars that hook scripts can work off.
A good example of this is 30-hostname so that force_hostname=YES can set
the hostname regardless of the current hostname.
--reconfigure now takes the short option -g.
Roy Marples [Sat, 25 Jul 2009 23:29:47 +0000 (23:29 +0000)]
Fix section.
Roy Marples [Sat, 25 Jul 2009 17:59:38 +0000 (17:59 +0000)]
Documentation updates.
A few minor corrections, but mainly updates the expected behaviour for the hostname being sent.
Roy Marples [Tue, 21 Jul 2009 20:01:46 +0000 (20:01 +0000)]
Test for fqdn name.
Roy Marples [Tue, 21 Jul 2009 20:01:42 +0000 (20:01 +0000)]
Don't FAIL the script when testing
Roy Marples [Sun, 12 Jul 2009 15:10:16 +0000 (15:10 +0000)]
Add some logging for errors reading/writing the leasefile.
Roy Marples [Sat, 11 Jul 2009 21:19:42 +0000 (21:19 +0000)]
We should remove the leasefile for IPv4LL addresses also on release.
Roy Marples [Sat, 11 Jul 2009 21:02:41 +0000 (21:02 +0000)]
Remove the leasefile on release.
Roy Marples [Sat, 11 Jul 2009 20:00:03 +0000 (20:00 +0000)]
Don't run the script with NAK when testing.
Roy Marples [Sat, 11 Jul 2009 18:54:43 +0000 (18:54 +0000)]
Allow testing of INFORM and REQUEST messages.
Roy Marples [Sat, 11 Jul 2009 15:14:54 +0000 (15:14 +0000)]
Don't alter the MTU when testing.
Roy Marples [Sat, 11 Jul 2009 15:14:31 +0000 (15:14 +0000)]
Don't print (null) when there is no NAK message.
Roy Marples [Sat, 11 Jul 2009 15:04:13 +0000 (15:04 +0000)]
Promote bytes to size_t for sizeof comparison.
Roy Marples [Sat, 11 Jul 2009 07:03:23 +0000 (07:03 +0000)]
Use ssize_t which is a signed int and test if read() returns -1.
Roy Marples [Wed, 8 Jul 2009 22:18:39 +0000 (22:18 +0000)]
Release dhcpcd-5.0.6
Roy Marples [Wed, 8 Jul 2009 19:22:31 +0000 (19:22 +0000)]
Ensure that DBDIR and RUNDIR exist if defined as /var/db/dhcpcd and/or /var/run/dhcpcd.
Roy Marples [Wed, 8 Jul 2009 17:05:29 +0000 (17:05 +0000)]
Ensure that ntp.conf exists before removing markers.
Roy Marples [Wed, 8 Jul 2009 17:01:38 +0000 (17:01 +0000)]
Change get_option_addr to accept struct in_addr * instead of uint32_t *
to fix an alignment issue on SGI MIPS.
Roy Marples [Sun, 5 Jul 2009 11:33:46 +0000 (11:33 +0000)]
Add -W, --whitelist addr/cidr
This only allows packets from the addresses listed and overrides
blacklist if set.
Roy Marples [Sat, 4 Jul 2009 00:58:03 +0000 (00:58 +0000)]
Silence more GCC warnings about unused return values.
Roy Marples [Sat, 4 Jul 2009 00:38:55 +0000 (00:38 +0000)]
Document nooption
Roy Marples [Sat, 4 Jul 2009 00:06:25 +0000 (00:06 +0000)]
When we get an ACK we should close DHCP sockets so we don't handle any NAKs
during ARP testing.
This is important as some broken DHCP servers NAK immediately after an ACK
in some situations.
Roy Marples [Sat, 4 Jul 2009 00:03:01 +0000 (00:03 +0000)]
Log the MTU changes.
Roy Marples [Fri, 3 Jul 2009 23:32:30 +0000 (23:32 +0000)]
Save the MTU when changing it.
If we enter a state without a new MTU then restore the old one.
Roy Marples [Fri, 3 Jul 2009 19:13:26 +0000 (19:13 +0000)]
Release dhcpcd-5.0.5
Roy Marples [Fri, 3 Jul 2009 09:55:16 +0000 (09:55 +0000)]
Respect the MTU by default.
If people have broken DHCP servers, or use an ISP with one they can
always change the setting.
Roy Marples [Fri, 3 Jul 2009 09:52:37 +0000 (09:52 +0000)]
Fix detecting the dstaddr at startup.
Roy Marples [Tue, 9 Jun 2009 19:11:33 +0000 (19:11 +0000)]
Style.
Roy Marples [Thu, 14 May 2009 16:19:24 +0000 (16:19 +0000)]
Release dhcpcd-5.0.4
Roy Marples [Wed, 13 May 2009 19:17:21 +0000 (19:17 +0000)]
Although RFC2131 requires a ServerID we can actually work without one.
Some broken servers don't send a ServerID, so make the requirement optional.
We default to requiring ServerID in dhcpcd.conf though as some other broken
servers NAK incorrectly without a ServerID.
Roy Marples [Wed, 13 May 2009 18:49:49 +0000 (18:49 +0000)]
The smallest MTU we can work with is 576, so don't set less.
Roy Marples [Wed, 13 May 2009 18:14:50 +0000 (18:14 +0000)]
Enforce a minimum lease of 20 seconds so we can do things
like ARP check and restart services.
Roy Marples [Mon, 11 May 2009 07:18:10 +0000 (07:18 +0000)]
Release dhcpcd-5.0.3
Roy Marples [Mon, 11 May 2009 07:16:24 +0000 (07:16 +0000)]
ifas without an ifa_addr seem to indicate a link without a hwaddr, so
treat them as such. This allows static and 3rdparty configuration.
Roy Marples [Sun, 10 May 2009 23:31:55 +0000 (23:31 +0000)]
I stand corrected - ifa_addr can be NULL from getifaddrs(3)
Roy Marples [Sun, 10 May 2009 20:20:18 +0000 (20:20 +0000)]
Some glibc versions have a NULL ifa_addr for the ifa from getifaddrs(3).
Roy Marples [Sun, 10 May 2009 16:21:57 +0000 (16:21 +0000)]
Release dhcpcd-5.0.2
Roy Marples [Sun, 10 May 2009 16:21:56 +0000 (16:21 +0000)]
Don't forget to remove .gitignore
Roy Marples [Sun, 10 May 2009 16:21:56 +0000 (16:21 +0000)]
Add a build target to prepare dhcpcd for importing into NetBSD.
This should make my life a little easier :)
Roy Marples [Sun, 10 May 2009 00:40:13 +0000 (00:40 +0000)]
Document new behaviour re lookup-hostname
Roy Marples [Sat, 9 May 2009 20:55:36 +0000 (20:55 +0000)]
Install the lookup-hostname script by default but don't run it by default.
Roy Marples [Sat, 9 May 2009 14:15:31 +0000 (14:15 +0000)]
Fix dhcpcd -n $int starting a new instance of dhcpcd if not running.
Roy Marples [Sun, 3 May 2009 20:07:14 +0000 (20:07 +0000)]
Ensure that our dirs exist in the PREINIT stage.
Recent rc.d init scripts echo to stderr if not set to start, so remove
warnings.
Roy Marples [Sun, 3 May 2009 12:33:24 +0000 (12:33 +0000)]
Some distros need additional headers to compile linux/wireless.h
Roy Marples [Sun, 3 May 2009 06:17:07 +0000 (06:17 +0000)]
Release dhcpcd-5.0.1
roy@ubersparc.marples.name [Sat, 2 May 2009 16:21:52 +0000 (16:21 +0000)]
We need to cast to void * to remove warnings on Sparc64
Roy Marples [Fri, 1 May 2009 13:57:45 +0000 (13:57 +0000)]
Add (c) to Copyright
Roy Marples [Thu, 30 Apr 2009 15:30:29 +0000 (15:30 +0000)]
Go back to using git
Roy Marples [Tue, 28 Apr 2009 20:57:12 +0000 (20:57 +0000)]
Release dhcpcd-5.0.0
Roy Marples [Mon, 27 Apr 2009 14:00:39 +0000 (14:00 +0000)]
Fix existing address detection.
Roy Marples [Fri, 24 Apr 2009 16:51:00 +0000 (16:51 +0000)]
Typo
Roy Marples [Fri, 24 Apr 2009 16:48:35 +0000 (16:48 +0000)]
dhcpcd -V now shows all variables we set, even without an option.
Roy Marples [Fri, 24 Apr 2009 08:33:48 +0000 (08:33 +0000)]
Remove .depend before creating it.
Roy Marples [Mon, 20 Apr 2009 19:40:09 +0000 (19:40 +0000)]
Only allow lo0 through allow
Roy Marples [Mon, 20 Apr 2009 13:47:27 +0000 (13:47 +0000)]
No need for this.
Roy Marples [Mon, 20 Apr 2009 12:34:08 +0000 (12:34 +0000)]
Fix quoting
Roy Marples [Mon, 20 Apr 2009 10:08:12 +0000 (10:08 +0000)]
No need to quote here.
Roy Marples [Mon, 20 Apr 2009 10:02:17 +0000 (10:02 +0000)]
Revert iforder -> interface_order
Roy Marples [Mon, 20 Apr 2009 09:38:08 +0000 (09:38 +0000)]
Remove old NetworkManager script - it's useless these days.
Remove gratuitous usage of {} in variables.
Roy Marples [Mon, 20 Apr 2009 09:37:11 +0000 (09:37 +0000)]
Prefix interface vars with if so we don't stamp on generic names like 'flags'.
Roy Marples [Sun, 19 Apr 2009 19:43:10 +0000 (19:43 +0000)]
Release .18
Roy Marples [Sun, 19 Apr 2009 19:40:13 +0000 (19:40 +0000)]
Blank memory correctly so we pickup address and route addition/deletion better.
Roy Marples [Sun, 19 Apr 2009 18:23:47 +0000 (18:23 +0000)]
Release dhcpcd-4.99.17
Roy Marples [Sat, 18 Apr 2009 21:43:23 +0000 (21:43 +0000)]
Add an option to fallback to a profile when DHCP fails.
Roy Marples [Fri, 17 Apr 2009 19:15:42 +0000 (19:15 +0000)]
NetBSD-5.0RC4 has a kernel error causing an AF_LINK to be reported twice. A patch has been submitted, hopefully included in NetBSD-5.0
Roy Marples [Fri, 17 Apr 2009 13:42:44 +0000 (13:42 +0000)]
Fix compile on FreeBSD.
Roy Marples [Fri, 17 Apr 2009 13:31:41 +0000 (13:31 +0000)]
Fix compile on NetBSD
Roy Marples [Fri, 17 Apr 2009 13:31:08 +0000 (13:31 +0000)]
We need to move allow/deny back to options
Roy Marples [Fri, 17 Apr 2009 12:49:25 +0000 (12:49 +0000)]
discover_interfaces now uses getifaddrs instead of OS specific implementation.
do_interface then becomes do_address and also uses getifaddrs.
Binary size is a little smaller, code size is now a lot smaller.
Roy Marples [Wed, 15 Apr 2009 09:15:53 +0000 (09:15 +0000)]
Some option only make sense in the configuration file, so remove short
options for them for future reuse.
Roy Marples [Wed, 15 Apr 2009 09:01:02 +0000 (09:01 +0000)]
Fix crash at end of arping list
Roy Marples [Sun, 12 Apr 2009 19:16:57 +0000 (19:16 +0000)]
We should ignore DHCP messages without a ServerID, #166.
Roy Marples [Thu, 2 Apr 2009 09:32:54 +0000 (09:32 +0000)]
Release dhcpcd-4.99.16
Roy Marples [Tue, 31 Mar 2009 11:01:25 +0000 (11:01 +0000)]
We need a bit more space for the profile name.
Roy Marples [Tue, 31 Mar 2009 08:35:38 +0000 (08:35 +0000)]
Add the ability to arping an address and select a profile based on the
hardware address replied with or the ip address.
Roy Marples [Mon, 23 Mar 2009 22:02:37 +0000 (22:02 +0000)]
Improve PTP INFORM support some more.
Roy Marples [Mon, 23 Mar 2009 20:10:02 +0000 (20:10 +0000)]
Default point to point interfaces to static if not inform.
Only accept inform replies from our destination address.
Roy Marples [Mon, 23 Mar 2009 14:05:51 +0000 (14:05 +0000)]
If we define a static address, we are not informing and vice versa.
Roy Marples [Mon, 23 Mar 2009 12:56:33 +0000 (12:56 +0000)]
Export interface flags.
Roy Marples [Mon, 23 Mar 2009 11:15:35 +0000 (11:15 +0000)]
Fail the interface when we need a clientid.