]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Wed, 4 Dec 2013 19:25:12 +0000 (20:25 +0100)]
[master] fix for IfaceMgrTest.sendReceive6 failing on FreeBSD
Marcin Siodelski [Wed, 4 Dec 2013 18:37:11 +0000 (19:37 +0100)]
[3181] Reset the time stamp of the last sent release.
Marcin Siodelski [Wed, 4 Dec 2013 17:34:34 +0000 (18:34 +0100)]
[3181] Fixed error in perfdhcp doxygen documentation.
Marcin Siodelski [Wed, 4 Dec 2013 15:43:08 +0000 (16:43 +0100)]
[master] Added ChangeLog entry for #2765.
Marcin Siodelski [Wed, 4 Dec 2013 15:38:35 +0000 (16:38 +0100)]
[master] Merge branch 'trac2765'
Mukund Sivaraman [Wed, 4 Dec 2013 15:15:35 +0000 (20:45 +0530)]
[master] Delete trailing space and reindent ChangeLog entry
Mukund Sivaraman [Wed, 4 Dec 2013 15:15:14 +0000 (20:45 +0530)]
[master] Fix ChangeLog numbers
Marcin Siodelski [Wed, 4 Dec 2013 15:13:55 +0000 (16:13 +0100)]
[2765] Fixed typo in the libdhcp++ developer's guide.
Marcin Siodelski [Wed, 4 Dec 2013 15:09:06 +0000 (16:09 +0100)]
[3181] Send Release messages if -F<release-rate> is specified.
Thomas Markwalder [Wed, 4 Dec 2013 13:12:53 +0000 (08:12 -0500)]
[3241] Add ability to build DNS update requests to d2::NameAddTransaction
Added methods for constructing all three types of DNS update requests
required by d2::NameAddTransaction to complete the implementation of its
state machine. Also refactored some unit test code into nc_test_utils.h
and .cc, and ran much needed spell checking.
Marcin Siodelski [Wed, 4 Dec 2013 08:50:13 +0000 (09:50 +0100)]
[3181] Added common function to create DHCPv6 Release and Renew messages
Thomas Markwalder [Tue, 3 Dec 2013 18:04:37 +0000 (13:04 -0500)]
[master] Added ChangeLog entry 801 for Trac# 3087.
Marcin Siodelski [Tue, 3 Dec 2013 17:23:25 +0000 (18:23 +0100)]
[3181] Moved -f and -F perfdhcp parameters to a DHCPv6 only options.
Marcin Siodelski [Tue, 3 Dec 2013 17:14:06 +0000 (18:14 +0100)]
[3181] Added support for the new perfdhcp command line option: release-rate
Marcin Siodelski [Tue, 3 Dec 2013 16:24:43 +0000 (17:24 +0100)]
[3181] Fixed bug which caused wrong calculation of a timeout for receiving.
Thomas Markwalder [Tue, 3 Dec 2013 15:56:06 +0000 (10:56 -0500)]
Merge branch 'trac3087'
Thomas Markwalder [Tue, 3 Dec 2013 15:48:10 +0000 (10:48 -0500)]
[3087] Minor review corrections.
Fixed a typo and added a bit more diagnostic output to two unit tests.
Mukund Sivaraman [Tue, 3 Dec 2013 14:22:08 +0000 (19:52 +0530)]
[master] Make some minor text updates
Mukund Sivaraman [Tue, 3 Dec 2013 14:21:43 +0000 (19:51 +0530)]
[master] Replace redundant resolver cache design document with one that supercedes it
Marcin Siodelski [Tue, 3 Dec 2013 13:35:37 +0000 (14:35 +0100)]
[2765] Added unit test description in IfaceMgr unit tests.
Marcin Siodelski [Tue, 3 Dec 2013 13:02:21 +0000 (14:02 +0100)]
[2765] Added throw tag to the openFallbackSocket function.
Marcin Siodelski [Tue, 3 Dec 2013 12:58:31 +0000 (13:58 +0100)]
[2765] Addressed review comments.
Thomas Markwalder [Mon, 2 Dec 2013 21:18:44 +0000 (16:18 -0500)]
[3087] Additional minor review updates.
Minor corrections based on re-review.
Kean Johnston [Mon, 2 Dec 2013 14:06:38 +0000 (16:06 +0200)]
[1501] Added warning about -j to BIND guide
Kean Johnston [Mon, 2 Dec 2013 14:06:17 +0000 (16:06 +0200)]
[1501] Added warning about -j to configure output
Thomas Markwalder [Mon, 2 Dec 2013 13:18:00 +0000 (08:18 -0500)]
[3087] Minor corrections for D2 unit tests
Addressed minor compilation issues in nc_trans_unittests.cc under
FreeBSD.
Marcin Siodelski [Mon, 2 Dec 2013 10:58:18 +0000 (11:58 +0100)]
[2765] Updated Developer's guide with the section about raw sockets use.
Kean Johnston [Mon, 2 Dec 2013 09:28:34 +0000 (11:28 +0200)]
[2103] Use asio::error_code so its resources are correctly freed
Marcin Siodelski [Fri, 29 Nov 2013 17:59:05 +0000 (18:59 +0100)]
[2765] Fixed a typo in the doxygen documentation.
Marcin Siodelski [Fri, 29 Nov 2013 17:54:48 +0000 (18:54 +0100)]
[2765] Pass error handler when opening sockets in the constructor.
Marcin Siodelski [Fri, 29 Nov 2013 17:45:38 +0000 (18:45 +0100)]
[2765] Initialize variable used in unit test to prevent compilation failure
Thomas Markwalder [Fri, 29 Nov 2013 14:46:05 +0000 (09:46 -0500)]
3087 Addressed review comments
Good deal of commentary clean up, rolled back IOService reference
changes to DNSClient, and most significantly added unit tests
for NameChangeTransaction::sendUpdate. These tests involve an
actual message exchange.
Marcin Siodelski [Fri, 29 Nov 2013 13:58:52 +0000 (14:58 +0100)]
[2765] Fix an order of parameters passed to the SocketInfo constructor.
Marcin Siodelski [Fri, 29 Nov 2013 12:57:18 +0000 (13:57 +0100)]
[2765] Fixed error handling in the IfaceMgr::openSockets4.
Marcin Siodelski [Fri, 29 Nov 2013 12:30:03 +0000 (13:30 +0100)]
[2765] Invoke error handler if the interface opening failed.
Marcin Siodelski [Thu, 28 Nov 2013 18:16:36 +0000 (19:16 +0100)]
[2765] Improved commentary in the IfaceMgr.
Marcin Siodelski [Thu, 28 Nov 2013 17:46:53 +0000 (18:46 +0100)]
[2765] Gracefully handle socket opening errors in the IfaceMgr.
Also, implemented missing unit tests for the Iface function which opens
v4 sockets in IfaceMgr.
Marcin Siodelski [Wed, 27 Nov 2013 12:50:32 +0000 (13:50 +0100)]
[2765] Receive and discard data from the fallback socket.
Marcin Siodelski [Wed, 27 Nov 2013 10:46:29 +0000 (11:46 +0100)]
[2765] Implemented common utility functions for the PktFilter tests.
Marcin Siodelski [Tue, 26 Nov 2013 18:10:35 +0000 (19:10 +0100)]
[2765] Close fallback sockets together with primary sockets.
Marcin Siodelski [Tue, 26 Nov 2013 18:00:47 +0000 (19:00 +0100)]
[2765] Open fallback socket when LPF is used.
Marcin Siodelski [Tue, 26 Nov 2013 17:37:02 +0000 (18:37 +0100)]
[2765] Implemented the logic which opens fallback a socket.
Marcin Siodelski [Tue, 26 Nov 2013 17:36:09 +0000 (18:36 +0100)]
[2765] Moved the PktFilter test fixture class to the common class.
Marcin Siodelski [Tue, 26 Nov 2013 13:19:50 +0000 (14:19 +0100)]
[2765] Added stub implementation for the function to open fallback socket.
Marcin Siodelski [Tue, 26 Nov 2013 13:18:55 +0000 (14:18 +0100)]
[2765] Initialize and uninitialize fallback socket in the LPF tests.
Marcin Siodelski [Tue, 26 Nov 2013 12:24:31 +0000 (13:24 +0100)]
[2765] Fixed failing unit tests for the raw sockets using LPF.
Marcin Siodelski [Mon, 25 Nov 2013 19:33:40 +0000 (20:33 +0100)]
[2765] Added fallback socket descriptor to SocketInfo structure.
JINMEI Tatuya [Mon, 25 Nov 2013 07:26:23 +0000 (12:56 +0530)]
[master] Add ChangeLog entry for #3213
Marcin Siodelski [Mon, 25 Nov 2013 06:18:00 +0000 (07:18 +0100)]
[master] Added ChangeLog entry for #3220.
Marcin Siodelski [Mon, 25 Nov 2013 05:59:25 +0000 (06:59 +0100)]
[master] Merge branch 'trac3220'
JINMEI Tatuya [Sat, 23 Nov 2013 17:25:03 +0000 (09:25 -0800)]
[master] Merge branch 'trac3213'
Marcin Siodelski [Fri, 22 Nov 2013 08:46:17 +0000 (09:46 +0100)]
[master] Added ChangeLog entry for #2940.
Marcin Siodelski [Fri, 22 Nov 2013 08:30:36 +0000 (09:30 +0100)]
[master] Merge branch 'trac2940'
Conflicts:
src/lib/dhcpsrv/lease.cc
src/lib/dhcpsrv/lease.h
Mukund Sivaraman [Fri, 22 Nov 2013 08:14:34 +0000 (13:44 +0530)]
[master] Add ChangeLog for #3114
Mukund Sivaraman [Fri, 22 Nov 2013 08:11:35 +0000 (13:41 +0530)]
Merge branch 'trac3114'
Marcin Siodelski [Fri, 22 Nov 2013 07:00:47 +0000 (08:00 +0100)]
[master] Added ChangeLog entry for #3035.
Marcin Siodelski [Fri, 22 Nov 2013 06:52:37 +0000 (07:52 +0100)]
[master] Merge branch 'trac3035'
Marcin Siodelski [Thu, 21 Nov 2013 18:11:52 +0000 (19:11 +0100)]
[3220] Added unit test which checks FQDN not returned when not requested.
This test covers the scenario which server didn't handle and which resulted
in submission of the 3220 ticket.
Marcin Siodelski [Thu, 21 Nov 2013 17:02:11 +0000 (18:02 +0100)]
[3220] Moved DHCPv6 Client FQDN specific tests to a separate file.
Marcin Siodelski [Thu, 21 Nov 2013 14:07:57 +0000 (15:07 +0100)]
[3220] Bugfix: the FQDN option was not appended to the server's response
Marcin Siodelski [Thu, 21 Nov 2013 11:31:27 +0000 (12:31 +0100)]
[3035] Merge branch 'master' into trac3035
Conflicts:
doc/devel/mainpage.dox
src/bin/dhcp4/dhcp4.dox
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/dhcp4_test_utils.h
src/lib/dhcp_ddns/tests/ncr_unittests.cc
src/lib/dhcpsrv/lease_mgr.cc
src/lib/dhcpsrv/lease_mgr.h
src/lib/dhcpsrv/tests/lease_mgr_unittest.cc
Marcin Siodelski [Wed, 20 Nov 2013 15:28:15 +0000 (16:28 +0100)]
[3035] Added supplementary comment to the function processing Hostname.
Marcin Siodelski [Wed, 20 Nov 2013 14:31:57 +0000 (15:31 +0100)]
[3035] Include the lease expiration time in the NameChangeRequest.
Mukund Sivaraman [Wed, 20 Nov 2013 13:35:09 +0000 (19:05 +0530)]
[3114] Update exception messages
David Carlier [Wed, 20 Nov 2013 13:31:10 +0000 (19:01 +0530)]
[3114] Raise DataTypeError exception for very large (overflow) integers
Mukund Sivaraman [Wed, 20 Nov 2013 13:22:36 +0000 (18:52 +0530)]
[3213] Wrap long line
Marcin Siodelski [Wed, 20 Nov 2013 13:04:40 +0000 (14:04 +0100)]
[3035] Skip processing invalid Hostname options sent by a client.
Marcin Siodelski [Tue, 19 Nov 2013 16:29:40 +0000 (17:29 +0100)]
[3035] Addressed "minor" issues rised in the review comments.
The minor issues addressed are:
- Missing comments
- Lack of todo
- Log messages
Kean Johnston [Tue, 19 Nov 2013 11:08:25 +0000 (13:08 +0200)]
[264] Updated Changelog
Kean Johnston [Mon, 18 Nov 2013 03:36:22 +0000 (05:36 +0200)]
[264] Do not prompt for user name and password if not interactive.
If you attempt to pipe commands in to bindctl and the session is not
interactive (i.e it is not a TTY) then do not attempt to read the user
name and password.
Marcin Siodelski [Fri, 15 Nov 2013 17:29:51 +0000 (18:29 +0100)]
[2940] Removed unused variable from unit test.
Marcin Siodelski [Fri, 15 Nov 2013 13:49:52 +0000 (14:49 +0100)]
[2940] Explicitly link with the DDNS module with libdhcp++.
Observed compilation issues on Debian 7 when libdhcp++ was not explicitly
linked to the DDNS module.
Marcin Siodelski [Fri, 15 Nov 2013 13:41:00 +0000 (14:41 +0100)]
[2940] Implemented Lease6::getDuidVector function and remove key extractors
Marcin Siodelski [Fri, 15 Nov 2013 12:45:56 +0000 (13:45 +0100)]
[2940] Addressed review comments.
Marcin Siodelski [Fri, 15 Nov 2013 11:03:21 +0000 (12:03 +0100)]
[2940] Moved the Memfile backend tests to a generic class.
JINMEI Tatuya [Fri, 15 Nov 2013 09:18:33 +0000 (01:18 -0800)]
[3213] ignore the 'source' param for the istream version of masterLoad.
it was actually unused in the revised code. as a result we can easily
consolidate the two versions, so did it too with a helper template function.
also explained the API change in the doc.
JINMEI Tatuya [Fri, 15 Nov 2013 09:00:46 +0000 (01:00 -0800)]
[3213] added more comments about the use of sw_vers and os/ver based check.
JINMEI Tatuya [Fri, 15 Nov 2013 08:40:47 +0000 (00:40 -0800)]
[3213] Revert "[mavericks] suppress a spurious clang warning in libdns++"
This reverts commit
f2f02dba84b5c12314f6018294423ebc45c4127e .
other commit reportedly addressed the issue that this hack tries to solve.
JINMEI Tatuya [Fri, 15 Nov 2013 08:32:46 +0000 (00:32 -0800)]
[3213] add a never-reachable return to silence some compilers
JINMEI Tatuya [Mon, 28 Oct 2013 07:51:10 +0000 (00:51 -0700)]
[mavericks] use MasterLoader as a backend of masterLoad().
it has always been desirable, but it's now even critical as istream::operator>>
always works with the C++11 definition, which breaks the internal assumption
of the old implementation. It specifically happens on Mac OS X 10.9.
JINMEI Tatuya [Mon, 28 Oct 2013 07:32:16 +0000 (00:32 -0700)]
[mavericks] avoid using istream::putback when the param is not the latest char.
this has been a bug, but it's now critical as libc++ makes it errors
for ifstream.
JINMEI Tatuya [Mon, 28 Oct 2013 07:16:01 +0000 (00:16 -0700)]
[mavericks] avoid using sleep(3) in a TCP test to make the test more reliable.
on Mac OS X 10.9, the expected event on the server can be delivered after
the sleep, which makes the TCP timeout test fail.
JINMEI Tatuya [Mon, 28 Oct 2013 07:12:12 +0000 (00:12 -0700)]
[mavericks] disable unused-arguments in boost p4 macro to avoid false positives
this can happen if clang++ is invoked via ccache.
JINMEI Tatuya [Mon, 28 Oct 2013 07:09:54 +0000 (00:09 -0700)]
[mavericks] disable some thread-related death tests on OS X 10.9
pthread_cond_destroy() doesn't meet the test's assumption. the mutext test
would still pass, but this is a minor case anyway, so it's probably okay
to just disable both rather introduce more macro variables.
JINMEI Tatuya [Sun, 27 Oct 2013 19:12:18 +0000 (12:12 -0700)]
[mavericks] suppress a spurious clang warning in libdns++
JINMEI Tatuya [Sun, 27 Oct 2013 07:08:18 +0000 (00:08 -0700)]
[mavericks] avoid 'using' for shared_ptr as it conflicts with now-std:: def.
JINMEI Tatuya [Sun, 27 Oct 2013 06:35:03 +0000 (23:35 -0700)]
[mavericks] avoid 'using namespace asio' as it conflicts with C++ std:: defs.
Marcin Siodelski [Thu, 14 Nov 2013 17:06:23 +0000 (18:06 +0100)]
[2765] Applied patch for DHCPv4 silently failing when DHCP port in use.
Marcin Siodelski [Thu, 14 Nov 2013 15:05:07 +0000 (16:05 +0100)]
[2940] Extend null client id unit test.
Marcin Siodelski [Thu, 14 Nov 2013 14:30:16 +0000 (15:30 +0100)]
[2940] Added a unit test for Lease4 to check getClientIdVector function.
Marcin Siodelski [Thu, 14 Nov 2013 13:58:22 +0000 (14:58 +0100)]
[2940] Extended unit test which covers the null client id leases.
Also applied a couple of minor editorial fixes.
Kean Johnston [Thu, 14 Nov 2013 13:31:28 +0000 (15:31 +0200)]
[681] Merge branch 'trac681'
Kean Johnston [Thu, 14 Nov 2013 08:37:55 +0000 (10:37 +0200)]
[530] Merge branch 'trac530'
Kean Johnston [Thu, 14 Nov 2013 08:10:29 +0000 (10:10 +0200)]
[3107] Merge branch 'trac3107'
Kean Johnston [Thu, 14 Nov 2013 08:07:05 +0000 (10:07 +0200)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Kean Johnston [Thu, 14 Nov 2013 08:03:24 +0000 (10:03 +0200)]
Merge branch 'trac3119'
Kean Johnston [Thu, 14 Nov 2013 08:02:35 +0000 (10:02 +0200)]
[3119] Minor cosmetic cleanups as per review
Thomas Markwalder [Wed, 13 Nov 2013 21:19:12 +0000 (16:19 -0500)]
[3087] Added state handler unit tests for D2::NameAddTransaction
Created unit tests for all of the states implemented by NameAddTransaction
in b10-dhcp-ddns. The class lacks only proper construction of DNS update
requests.
Marcin Siodelski [Wed, 13 Nov 2013 16:20:57 +0000 (17:20 +0100)]
[2940] Fixed handling of the NULL client identifier in the Memfile backend
Mukund Sivaraman [Wed, 13 Nov 2013 08:36:57 +0000 (14:06 +0530)]
[2945] Update Doxygen reference to isc::ConfigData::getFullConfig() (contd.)