]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
17 years agoWe need to close our listeners before removing the socket so clients close down properly.
Roy Marples [Thu, 15 Jan 2009 09:58:21 +0000 (09:58 +0000)] 
We need to close our listeners before removing the socket so clients close down properly.

17 years agoNew configure reasons NOCARRIER and NAK instead of just sending EXPIRE.
Roy Marples [Thu, 15 Jan 2009 09:30:11 +0000 (09:30 +0000)] 
New configure reasons NOCARRIER and NAK instead of just sending EXPIRE.

17 years agoSend version length first on the control socket.
Roy Marples [Tue, 13 Jan 2009 18:03:12 +0000 (18:03 +0000)] 
Send version length first on the control socket.

17 years agoRemove .svn dirs from snapshots.
Roy Marples [Tue, 13 Jan 2009 17:36:11 +0000 (17:36 +0000)] 
Remove .svn dirs from snapshots.

17 years agoCopyright.
Roy Marples [Tue, 13 Jan 2009 17:05:13 +0000 (17:05 +0000)] 
Copyright.

17 years agoStore the reason we run the script against the interface state.
Roy Marples [Tue, 13 Jan 2009 17:04:28 +0000 (17:04 +0000)] 
Store the reason we run the script against the interface state.
This enables us to query states via the control socket.

17 years agoRemove the limit for the number of connections to the control socket.
Roy Marples [Mon, 12 Jan 2009 16:39:01 +0000 (16:39 +0000)] 
Remove the limit for the number of connections to the control socket.
Send the dhcpcd-run-hooks enviornment to listeners on the control socket.

17 years agowhitespace
Roy Marples [Mon, 12 Jan 2009 16:35:58 +0000 (16:35 +0000)] 
whitespace

17 years agoCopyright
Roy Marples [Mon, 12 Jan 2009 16:31:13 +0000 (16:31 +0000)] 
Copyright

17 years agoset broadcast_address correctly.
Roy Marples [Mon, 12 Jan 2009 16:30:26 +0000 (16:30 +0000)] 
set broadcast_address correctly.

17 years agoImprove the nohook documentation.
Roy Marples [Mon, 5 Jan 2009 15:52:08 +0000 (15:52 +0000)] 
Improve the nohook documentation.

17 years agoSpelling
Roy Marples [Mon, 5 Jan 2009 15:50:14 +0000 (15:50 +0000)] 
Spelling

17 years agoAllow version to be returned over the control interface.
Roy Marples [Mon, 5 Jan 2009 08:20:53 +0000 (08:20 +0000)] 
Allow version to be returned over the control interface.

17 years agoAdding subnet routes with just sdl_index set does not work for FreeBSD.
Roy Marples [Fri, 2 Jan 2009 09:31:42 +0000 (09:31 +0000)] 
Adding subnet routes with just sdl_index set does not work for FreeBSD.

17 years agoFix getting ssid.
Roy Marples [Thu, 1 Jan 2009 21:31:49 +0000 (21:31 +0000)] 
Fix getting ssid.

17 years agoYou can now add a configure block per ssid if the interface is wireless.
Roy Marples [Thu, 1 Jan 2009 20:51:04 +0000 (20:51 +0000)] 
You can now add a configure block per ssid if the interface is wireless.

17 years agoAdd a static directive that allows the configuration of variables, which
Roy Marples [Thu, 1 Jan 2009 14:23:36 +0000 (14:23 +0000)] 
Add a static directive that allows the configuration of variables, which
supercedes any DHCP configured variables.
If ip_address is configured then we don't bother with a DHCP
transaction.

17 years agoDocument the BSD subnet manipulation issue in the README and not the man page.
Roy Marples [Sun, 21 Dec 2008 20:53:07 +0000 (20:53 +0000)] 
Document the BSD subnet manipulation issue in the README and not the man page.

17 years agoRelease 4.99.7
Roy Marples [Fri, 19 Dec 2008 12:52:38 +0000 (12:52 +0000)] 
Release 4.99.7

17 years agoDocument the BSD issue with dhcpcd changing the subnet route.
Roy Marples [Thu, 18 Dec 2008 12:14:09 +0000 (12:14 +0000)] 
Document the BSD issue with dhcpcd changing the subnet route.

17 years agosend_request is no longer a public interface.
Roy Marples [Thu, 18 Dec 2008 10:25:52 +0000 (10:25 +0000)] 
send_request is no longer a public interface.

17 years agoAdd the DHS_PROBE state so that we ignore subsequent offers
Roy Marples [Thu, 18 Dec 2008 10:23:40 +0000 (10:23 +0000)] 
Add the DHS_PROBE state so that we ignore subsequent offers
whilst probing.

17 years agoDocument avoiding BOOTP servers.
Roy Marples [Tue, 16 Dec 2008 17:52:12 +0000 (17:52 +0000)] 
Document avoiding BOOTP servers.

17 years agoTypo.
Roy Marples [Tue, 16 Dec 2008 16:31:38 +0000 (16:31 +0000)] 
Typo.

17 years agoStyle.
Roy Marples [Tue, 16 Dec 2008 16:30:59 +0000 (16:30 +0000)] 
Style.

17 years agoPlug a leak.
Roy Marples [Tue, 16 Dec 2008 13:35:05 +0000 (13:35 +0000)] 
Plug a leak.

17 years agoRe work the route management so we deal with a changed route table in a renewal/rebin...
Roy Marples [Tue, 16 Dec 2008 13:28:42 +0000 (13:28 +0000)] 
Re work the route management so we deal with a changed route table in a renewal/rebind correctly.

17 years agoTry and make the subnet route identical to the kernel one.
Roy Marples [Sat, 13 Dec 2008 09:40:27 +0000 (09:40 +0000)] 
Try and make the subnet route identical to the kernel one.

17 years agoDocument the quiet directive in man dhcpcd.conf
Roy Marples [Sun, 7 Dec 2008 17:29:53 +0000 (17:29 +0000)] 
Document the quiet directive in man dhcpcd.conf

17 years agoDefault route is more descriptive.
Roy Marples [Tue, 2 Dec 2008 14:54:46 +0000 (14:54 +0000)] 
Default route is more descriptive.

17 years agoSave a malloc
Roy Marples [Tue, 2 Dec 2008 14:18:37 +0000 (14:18 +0000)] 
Save a malloc

17 years agoEnsure we de-reference the old pointer from the open routes correctly when building...
Roy Marples [Tue, 2 Dec 2008 00:24:25 +0000 (00:24 +0000)] 
Ensure we de-reference the old pointer from the open routes correctly when building lists.

17 years agoDon't delete static ARP entries
Roy Marples [Mon, 1 Dec 2008 20:18:02 +0000 (20:18 +0000)] 
Don't delete static ARP entries

17 years agoSave a few more bytes.
Roy Marples [Mon, 1 Dec 2008 18:03:20 +0000 (18:03 +0000)] 
Save a few more bytes.

17 years agoEnsure host routes and subnet routes are added correctly.
Roy Marples [Mon, 1 Dec 2008 16:58:10 +0000 (16:58 +0000)] 
Ensure host routes and subnet routes are added correctly.

17 years agoAdd desc_route to save some bytes.
Roy Marples [Mon, 1 Dec 2008 16:56:56 +0000 (16:56 +0000)] 
Add desc_route to save some bytes.

17 years agoEnsure that we add the src pref address.
Roy Marples [Thu, 27 Nov 2008 16:16:32 +0000 (16:16 +0000)] 
Ensure that we add the src pref address.

17 years agoDescribe the blacklist option.
Roy Marples [Thu, 27 Nov 2008 10:37:02 +0000 (10:37 +0000)] 
Describe the blacklist option.

17 years agoFix warning of monotonic clock existence.
Roy Marples [Thu, 27 Nov 2008 09:45:13 +0000 (09:45 +0000)] 
Fix warning of monotonic clock existence.

17 years agoRelease 4.99.6
Roy Marples [Tue, 25 Nov 2008 21:00:46 +0000 (21:00 +0000)] 
Release 4.99.6

17 years agoFix adding of host routes.
Roy Marples [Tue, 25 Nov 2008 13:12:20 +0000 (13:12 +0000)] 
Fix adding of host routes.

17 years agoCSR should come before other route options according to RFC 3442.
Roy Marples [Tue, 25 Nov 2008 12:57:48 +0000 (12:57 +0000)] 
CSR should come before other route options according to RFC 3442.

17 years agoStyle
Roy Marples [Tue, 25 Nov 2008 11:39:09 +0000 (11:39 +0000)] 
Style

17 years agoDon't manipulate subnet routes when they are INADDR_BROADCAST as they don't exist.
Roy Marples [Mon, 24 Nov 2008 22:30:41 +0000 (22:30 +0000)] 
Don't manipulate subnet routes when they are INADDR_BROADCAST as they don't exist.

17 years agoProbably better to exit here.
Roy Marples [Mon, 24 Nov 2008 11:21:31 +0000 (11:21 +0000)] 
Probably better to exit here.

17 years agoWork out __restrict better.
Roy Marples [Mon, 24 Nov 2008 11:21:11 +0000 (11:21 +0000)] 
Work out __restrict better.

17 years agoRemove the S option from the command line description, #121
Roy Marples [Fri, 21 Nov 2008 20:00:26 +0000 (20:00 +0000)] 
Remove the S option from the command line description, #121

17 years agoPlug a leak when rebinding interfaces via the control socket.
Roy Marples [Thu, 20 Nov 2008 10:50:46 +0000 (10:50 +0000)] 
Plug a leak when rebinding interfaces via the control socket.

17 years agoBOOTP fixes. Also, we don't write a BOOTP lease file.
Roy Marples [Thu, 20 Nov 2008 09:57:46 +0000 (09:57 +0000)] 
BOOTP fixes. Also, we don't write a BOOTP lease file.

17 years agoWe are now a BOOTP client also :)
Roy Marples [Wed, 19 Nov 2008 15:48:18 +0000 (15:48 +0000)] 
We are now a BOOTP client also :)

17 years agoZeroing each field is cheaper than using memset/memcpy.
Roy Marples [Wed, 19 Nov 2008 15:01:20 +0000 (15:01 +0000)] 
Zeroing each field is cheaper than using memset/memcpy.

17 years agoIf no lease time is supplied, assume it's infinite.
Roy Marples [Wed, 19 Nov 2008 14:58:24 +0000 (14:58 +0000)] 
If no lease time is supplied, assume it's infinite.

17 years agoIf no lease time is supplied, assume it's infinite.
Roy Marples [Wed, 19 Nov 2008 14:58:17 +0000 (14:58 +0000)] 
If no lease time is supplied, assume it's infinite.

17 years agoAdjust lengths to fit MTU.
Roy Marples [Wed, 19 Nov 2008 14:53:56 +0000 (14:53 +0000)] 
Adjust lengths to fit MTU.

17 years agoClarify the clientid option.
Roy Marples [Wed, 19 Nov 2008 12:50:49 +0000 (12:50 +0000)] 
Clarify the clientid option.

17 years agoIf we are asked to ARP and we don't have an offer then we are testing our current...
Roy Marples [Wed, 19 Nov 2008 09:48:11 +0000 (09:48 +0000)] 
If we are asked to ARP and we don't have an offer then we are testing our current address.

17 years agoFix working with linux aliased interfaces again.
Roy Marples [Mon, 17 Nov 2008 22:50:37 +0000 (22:50 +0000)] 
Fix working with linux aliased interfaces again.

17 years agoWe no longer send a ClientID by default. This is so we now mirror the kernel DHCP...
Roy Marples [Mon, 17 Nov 2008 17:25:54 +0000 (17:25 +0000)] 
We no longer send a ClientID by default. This is so we now mirror the kernel DHCP client and can re-use its lease by default. To retain the old behaviour, simply add clientid to dhcpcd.conf.

17 years agoWhitespace.
Roy Marples [Mon, 17 Nov 2008 12:48:38 +0000 (12:48 +0000)] 
Whitespace.

17 years agoFork into background even with no interfaces IF we are asked to background AND have...
Roy Marples [Sat, 15 Nov 2008 11:24:26 +0000 (11:24 +0000)] 
Fork into background even with no interfaces IF we are asked to background AND have link detection.

17 years agoReport all interfaces requested that do not exist.
Roy Marples [Fri, 14 Nov 2008 20:38:40 +0000 (20:38 +0000)] 
Report all interfaces requested that do not exist.

17 years agoNetBSD sh needs eval here.
Roy Marples [Fri, 14 Nov 2008 19:18:57 +0000 (19:18 +0000)] 
NetBSD sh needs eval here.

17 years agoWhen declining a DHCP lease and we have an IPv4LL one, don't re announce our IPv4LL...
Roy Marples [Fri, 14 Nov 2008 09:39:09 +0000 (09:39 +0000)] 
When declining a DHCP lease and we have an IPv4LL one, don't re announce our IPv4LL lease.

17 years agoDon't restart ntpd if it's not already running.
Roy Marples [Tue, 11 Nov 2008 09:28:17 +0000 (09:28 +0000)] 
Don't restart ntpd if it's not already running.

17 years agoFix some LINT errors.
Roy Marples [Mon, 10 Nov 2008 11:15:27 +0000 (11:15 +0000)] 
Fix some LINT errors.

17 years agoFix changing routes on BSD.
Roy Marples [Mon, 10 Nov 2008 08:31:33 +0000 (08:31 +0000)] 
Fix changing routes on BSD.

17 years agoDefault to -O2.
Roy Marples [Wed, 5 Nov 2008 15:59:36 +0000 (15:59 +0000)] 
Default to -O2.

17 years agoParens.
Roy Marples [Wed, 5 Nov 2008 14:36:23 +0000 (14:36 +0000)] 
Parens.

17 years agoget_line now uses a single buffer, strips leading space and skips comments. This...
Roy Marples [Wed, 5 Nov 2008 13:57:54 +0000 (13:57 +0000)] 
get_line now uses a single buffer, strips leading space and skips comments. This reduces malloc usage slightly and gives a cleaner API at the expense of a slight bss increase.

17 years agoClose fd's in the child.
Roy Marples [Wed, 5 Nov 2008 13:56:00 +0000 (13:56 +0000)] 
Close fd's in the child.

17 years agoSave a few bytes by moving close_fds to bind where it's really used.
Roy Marples [Wed, 5 Nov 2008 13:09:18 +0000 (13:09 +0000)] 
Save a few bytes by moving close_fds to bind where it's really used.

17 years agoTest should always DISCOVER.
Roy Marples [Tue, 4 Nov 2008 10:13:07 +0000 (10:13 +0000)] 
Test should always DISCOVER.

17 years agoTrim trailing NULLs from string options, #120.
Roy Marples [Tue, 4 Nov 2008 10:04:25 +0000 (10:04 +0000)] 
Trim trailing NULLs from string options, #120.

17 years agoRelease 4.99.3
Roy Marples [Wed, 29 Oct 2008 13:02:41 +0000 (13:02 +0000)] 
Release 4.99.3

17 years ago~0U is better than just ~0 for this.
Roy Marples [Wed, 29 Oct 2008 08:13:15 +0000 (08:13 +0000)] 
~0U is better than just ~0 for this.

17 years agoRe-create the old .info file for applications that parse it.
Roy Marples [Tue, 28 Oct 2008 09:28:55 +0000 (09:28 +0000)] 
Re-create the old .info file for applications that parse it.

17 years agoExplain why we decline the address in a message.
Roy Marples [Tue, 28 Oct 2008 09:24:23 +0000 (09:24 +0000)] 
Explain why we decline the address in a message.

17 years agoAllow ntp.conf location to be tunable, #119
Roy Marples [Mon, 27 Oct 2008 12:39:32 +0000 (12:39 +0000)] 
Allow ntp.conf location to be tunable, #119

17 years agoUpdate change log location
Roy Marples [Wed, 22 Oct 2008 08:29:53 +0000 (08:29 +0000)] 
Update change log location

17 years agoWe should erase the lease file when we get an ARP conflict on rebinding from it.
Roy Marples [Tue, 21 Oct 2008 15:34:52 +0000 (15:34 +0000)] 
We should erase the lease file when we get an ARP conflict on rebinding from it.

17 years agoReally fix .depend with GNU make and other makes.
Roy Marples [Mon, 20 Oct 2008 16:45:27 +0000 (16:45 +0000)] 
Really fix .depend with GNU make and other makes.

17 years agoWe need to include a variable, not the gmake shell funtion.
Roy Marples [Mon, 20 Oct 2008 12:11:43 +0000 (12:11 +0000)] 
We need to include a variable, not the gmake shell funtion.

17 years agoCalculate netmask from cidr more efficiently.
Roy Marples [Mon, 20 Oct 2008 09:56:21 +0000 (09:56 +0000)] 
Calculate netmask from cidr more efficiently.

17 years agoIgnore .depend
Roy Marples [Mon, 20 Oct 2008 09:50:52 +0000 (09:50 +0000)] 
Ignore .depend

17 years agoAllow .depend to be included if it exists with gmake.
Roy Marples [Mon, 20 Oct 2008 09:50:07 +0000 (09:50 +0000)] 
Allow .depend to be included if it exists with gmake.

17 years agoCast to void * to remove compiler warnings on Sparc64. This should still be aligned...
Roy Marples [Sun, 19 Oct 2008 05:39:28 +0000 (05:39 +0000)] 
Cast to void * to remove compiler warnings on Sparc64. This should still be aligned correctly as this is how the kernel makes it.

17 years agoFix obtaining netmask on NetBSD.
Roy Marples [Sat, 18 Oct 2008 23:44:00 +0000 (23:44 +0000)] 
Fix obtaining netmask on NetBSD.

17 years agoFix up address and netmask detection. This *should* align fine.
Roy Marples [Sat, 18 Oct 2008 23:28:49 +0000 (23:28 +0000)] 
Fix up address and netmask detection. This *should* align fine.

17 years agoAlloc less for options and correctly for inform.
Roy Marples [Sat, 18 Oct 2008 22:58:10 +0000 (22:58 +0000)] 
Alloc less for options and correctly for inform.

17 years agoEnsure inform options are terminated.
Roy Marples [Sat, 18 Oct 2008 22:57:40 +0000 (22:57 +0000)] 
Ensure inform options are terminated.

17 years agoFix reading netmask and linux informing.
Roy Marples [Sat, 18 Oct 2008 18:46:22 +0000 (18:46 +0000)] 
Fix reading netmask and linux informing.

17 years agoGet INFORM support almost working again.
Roy Marples [Sat, 18 Oct 2008 16:41:19 +0000 (16:41 +0000)] 
Get INFORM support almost working again.

17 years agoUse the existing start_reboot function instead of a start_request.
Roy Marples [Sat, 18 Oct 2008 10:52:01 +0000 (10:52 +0000)] 
Use the existing start_reboot function instead of a start_request.

17 years agoMake init request for an address work off the command line again.
Roy Marples [Sat, 18 Oct 2008 10:02:36 +0000 (10:02 +0000)] 
Make init request for an address work off the command line again.

17 years agoWe should send the IP address we decline and the server ID for release.
Roy Marples [Fri, 17 Oct 2008 21:30:25 +0000 (21:30 +0000)] 
We should send the IP address we decline and the server ID for release.

17 years agoFix warning on sparc64
Roy Marples [Fri, 17 Oct 2008 07:22:39 +0000 (07:22 +0000)] 
Fix warning on sparc64

17 years agoCast to void * to avoid compiler warnings on Sparc64. Also, save a needless malloc.
Roy Marples [Wed, 15 Oct 2008 13:00:33 +0000 (13:00 +0000)] 
Cast to void * to avoid compiler warnings on Sparc64. Also, save a needless malloc.

17 years agoCompile on Sparc64/FreeBSD-6.2
Roy Marples [Wed, 15 Oct 2008 09:08:22 +0000 (09:08 +0000)] 
Compile on Sparc64/FreeBSD-6.2

17 years agoUpdate bug page.
Roy Marples [Tue, 7 Oct 2008 20:01:33 +0000 (20:01 +0000)] 
Update bug page.

17 years agoStyle.
Roy Marples [Mon, 6 Oct 2008 12:49:07 +0000 (12:49 +0000)] 
Style.