]>
git.ipfire.org Git - thirdparty/kea.git/log
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.)
Mukund Sivaraman [Wed, 13 Nov 2013 08:33:23 +0000 (14:03 +0530)]
[2945] Update Doxygen reference to isc::ConfigData::getFullConfig()
Mukund Sivaraman [Wed, 13 Nov 2013 07:32:08 +0000 (13:02 +0530)]
[3107] Move CXX_VERSION initialization closer to where it is used
Mukund Sivaraman [Wed, 13 Nov 2013 04:12:11 +0000 (09:42 +0530)]
[master] Add ChangeLog for #2300
Thomas Markwalder [Mon, 11 Nov 2013 20:41:24 +0000 (15:41 -0500)]
[3087] Initial implementation of d2::NameAddTransaction
This interrim checkin includes the initial implementation of
NameAddTransaction to b10-dhcp-ddns. It provides the preliminary
state model needed to add forward and/or reverse DNS entries for
and FQDN. It does not yet construct the actual DNS update requests.
Thomas Markwalder [Fri, 8 Nov 2013 18:55:21 +0000 (13:55 -0500)]
[3087] Use IOServicePtr consistently in DHCP-DDNS
Some classes were using references to isc::asiolink::IOService, others
where using d2::IOServicePtr. The latter is now used throughout for
consistency as well as support for future, possible, multi-threaded
implementation.
Mukund Sivaraman [Thu, 7 Nov 2013 12:52:42 +0000 (18:22 +0530)]
[master] Add lettuce test for mixed-case query
Kean Johnston [Thu, 7 Nov 2013 06:38:42 +0000 (08:38 +0200)]
[3119] Added a comment regarding autoconf macros used.
As per review added a comment about the use of $ac_header_preproc.
Mukund Sivaraman [Thu, 7 Nov 2013 06:24:29 +0000 (11:54 +0530)]
Merge branch 'trac2300'
Conflicts:
src/bin/xfrin/b10-xfrin.xml
src/bin/xfrin/xfrin.spec
tests/lettuce/features/xfrin_notify_handling.feature
Mukund Sivaraman [Fri, 1 Nov 2013 05:01:01 +0000 (10:31 +0530)]
[master] Update emptiness checks to be more efficient (cppcheck)
Reviewed by Thomas Markwalder on Jabber.
Mukund Sivaraman [Thu, 31 Oct 2013 12:54:57 +0000 (18:24 +0530)]
Merge branch 'trac3172'
Conflicts:
src/bin/dhcp6/dhcp6_srv.h
Jeremy C. Reed [Thu, 31 Oct 2013 12:37:18 +0000 (07:37 -0500)]
[master] fix xsltproc --stringparam html.stylesheet usage
This is to set the location of the css stylesheet.
Previously it pointed to a path in the source directory.
By default, this was "./" so was okay as a location via HTTP.
But when built using a different source directory, then
the full source directory ended up as a reference on the webpage
so then style's didn't work.
I briefly discussed this on jabber yesterday but didn't get an okay.
It is a minor fix, so committing per my discretion.
Jeremy C. Reed [Wed, 30 Oct 2013 18:29:56 +0000 (13:29 -0500)]
[master] spelling fix in docs
(minor fix, committed without review)
Mukund Sivaraman [Wed, 30 Oct 2013 05:53:34 +0000 (11:23 +0530)]
[2945] Add missing doxygen comments
Kean Johnston [Tue, 29 Oct 2013 16:01:38 +0000 (18:01 +0200)]
[3172] Fix build failure on BSD systems
The comment at the end of adding to AM_CXXFLAGS was making the total
line too long, and the automake tool was splitting the line. This meant
that the macro assignment had an escaped comment, which the BSD make
interprets differently to GNU make (the latter swallows the next line as
part of the comment, whereas the former doesn't).
Michal 'vorner' Vaner [Tue, 29 Oct 2013 13:55:26 +0000 (14:55 +0100)]
Merge #2932
Receiving of notifications in C++.
Kean Johnston [Tue, 29 Oct 2013 05:57:22 +0000 (07:57 +0200)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Conflicts:
ChangeLog
Kean Johnston [Tue, 29 Oct 2013 05:54:53 +0000 (07:54 +0200)]
[master] Updated ChangeLog
Kean Johnston [Tue, 29 Oct 2013 05:49:01 +0000 (07:49 +0200)]
[433] Merge branch 'trac433'
Kean Johnston [Tue, 29 Oct 2013 05:34:13 +0000 (07:34 +0200)]
[530] Do not redirect b10-msgq STDOUT when running in verbose mode
When bind10 is run in verbose mode, as is indicated to the user by
certain error messages, do not redirect b10-msgq's STDOUT to /dev/null
so that the user can see the actual cause for startup failure.
No ChangeLog entry required.
Kean Johnston [Tue, 29 Oct 2013 05:31:09 +0000 (07:31 +0200)]
[530] Display socket file used in error message
When there is an error connecting to the message queue socket file
because it wasn't cleaned up properly, and we know the name of the
socket file, display its name as part of the error message.
No ChangeLog entry required.
Marcin Siodelski [Mon, 28 Oct 2013 18:45:09 +0000 (19:45 +0100)]
[master] Added Changelog entry for #3183.
Also additional trivial fixes applied: fixed the Changelog entry number
for #3211 and git commit id for #3199.
Marcin Siodelski [Mon, 28 Oct 2013 18:10:29 +0000 (19:10 +0100)]
[master] Merge branch 'trac3183'
Thomas Markwalder [Mon, 28 Oct 2013 15:37:53 +0000 (11:37 -0400)]
[3207] Clean and doxygen commentary for user_check hook library.
Adding doxygen and cleaned up code for initial review submission.
Marcin Siodelski [Mon, 28 Oct 2013 13:35:43 +0000 (14:35 +0100)]
[3183] Minor: added a todo comment in perfdhcp.
Marcin Siodelski [Mon, 28 Oct 2013 12:09:50 +0000 (13:09 +0100)]
[3210] Fixed trivial issues in the CfgMgr.
This commit includes trivial changes to the doxygen documentation and
make one variable const.
Kean Johnston [Mon, 28 Oct 2013 03:49:50 +0000 (05:49 +0200)]
[3073] Merge branch 'trac3073'