]>
git.ipfire.org Git - thirdparty/kea.git/log
Jelte Jansen [Fri, 15 Jun 2012 12:07:41 +0000 (14:07 +0200)]
[1461] make test config files multiline
Marcin Siodelski [Fri, 15 Jun 2012 09:44:43 +0000 (11:44 +0200)]
[1957] Reordered inclusions in ifaceMgr.cc
Marcin Siodelski [Fri, 15 Jun 2012 09:42:06 +0000 (11:42 +0200)]
[1957] Minor correction in doxygen documentation.
Jelte Jansen [Fri, 15 Jun 2012 09:36:52 +0000 (11:36 +0200)]
[master] Merge branch 'trac2027' with minor conflict
Conflicts:
src/lib/python/isc/ddns/tests/session_tests.py
Marcin Siodelski [Fri, 15 Jun 2012 09:36:20 +0000 (11:36 +0200)]
[1957] Mostly code cleanup and comments updated.
Michal 'vorner' Vaner [Fri, 15 Jun 2012 08:28:36 +0000 (10:28 +0200)]
Merge #1975
The "container" for data sources. It is now called ClientList.
Jelte Jansen [Fri, 15 Jun 2012 07:51:27 +0000 (09:51 +0200)]
[2027] update rationale comment about acl check
JINMEI Tatuya [Fri, 15 Jun 2012 06:20:12 +0000 (23:20 -0700)]
[2005] updated b10-ddns(8); some editorial updates to the guide too
JINMEI Tatuya [Fri, 15 Jun 2012 06:02:58 +0000 (23:02 -0700)]
[2005] added a chapter for DDNS to BIND 10 guide.
JINMEI Tatuya [Thu, 14 Jun 2012 22:17:07 +0000 (15:17 -0700)]
[2005] updated the list of tested OSes. not related to the task, but noticed.
JINMEI Tatuya [Thu, 14 Jun 2012 21:25:09 +0000 (21:25 +0000)]
[2028] use different ports for socket session forwarding tests.
the deviant solaris implementatio seems to prevent the reuse of the same port
if the socket is forwarded.
Mukund Sivaraman [Thu, 14 Jun 2012 21:22:02 +0000 (02:52 +0530)]
[1828] Make code safer in case socket.socket() raises an exception
Mukund Sivaraman [Thu, 14 Jun 2012 21:20:37 +0000 (02:50 +0530)]
[1828] Rename variable to better match its use
Mukund Sivaraman [Thu, 14 Jun 2012 21:11:51 +0000 (02:41 +0530)]
[1828] Add comments about the close() calls
Mukund Sivaraman [Thu, 14 Jun 2012 19:37:28 +0000 (01:07 +0530)]
[2023] Also move ZONE_XFRIN_FAILED to a single module
Mukund Sivaraman [Thu, 14 Jun 2012 19:34:07 +0000 (01:04 +0530)]
[2023] Change back ZONE_NEW_DATA_READY_CMD to 'zone_new_data_ready'
It used to be 'zone_new_data_ready' originally, but got changed to
'notify' some time back.
Marcin Siodelski [Thu, 14 Jun 2012 18:48:44 +0000 (20:48 +0200)]
[1957] Implemented openSocketFromRemoteAddress method.
JINMEI Tatuya [Thu, 14 Jun 2012 18:16:00 +0000 (11:16 -0700)]
[1828] a couple of suggested clarification comments
JINMEI Tatuya [Thu, 14 Jun 2012 18:09:47 +0000 (11:09 -0700)]
[1828] style fix: folded a long line.
JINMEI Tatuya [Thu, 14 Jun 2012 16:56:18 +0000 (09:56 -0700)]
[master] Merge branch 'trac2020'
Jelte Jansen [Thu, 14 Jun 2012 14:59:22 +0000 (16:59 +0200)]
[2027] add comment about doing ACL first
Jelte Jansen [Thu, 14 Jun 2012 14:23:55 +0000 (16:23 +0200)]
[2027] do ACL check before prereeqs in DDNS
Michal 'vorner' Vaner [Thu, 14 Jun 2012 13:00:12 +0000 (15:00 +0200)]
[1975] Minor: braces, comments
Michal 'vorner' Vaner [Thu, 14 Jun 2012 12:48:54 +0000 (14:48 +0200)]
[1975] Rename the files
The list.{h,cc} is too generic.
Michal 'vorner' Vaner [Thu, 14 Jun 2012 12:45:58 +0000 (14:45 +0200)]
[1975] Small optimisation
Don't compute the number of matched labels at the first match, there's
nothing to compare against anyway. We hope that there'll be only one one
partial match in practice.
Michal 'vorner' Vaner [Thu, 14 Jun 2012 12:35:20 +0000 (14:35 +0200)]
[1975] Remove matched_labels from the result
They are likely not to be useful anyway and this allows a small
optimisation.
Mukund Sivaraman [Thu, 14 Jun 2012 11:52:02 +0000 (17:22 +0530)]
[2036] Track origins of uninitialized memory when not running on a build machine
Stephen Morris [Thu, 14 Jun 2012 09:58:22 +0000 (10:58 +0100)]
[1651] Moved comment from establishSession() header to its implementation
Mukund Sivaraman [Thu, 14 Jun 2012 07:58:20 +0000 (13:28 +0530)]
[1828] Cleanup code by using with (for accept_sock)
Mukund Sivaraman [Thu, 14 Jun 2012 07:55:23 +0000 (13:25 +0530)]
[1828] Make code safer by using with (for sock)
Jelte Jansen [Thu, 14 Jun 2012 07:54:42 +0000 (09:54 +0200)]
[2020] typos in comments
Mukund Sivaraman [Thu, 14 Jun 2012 07:52:52 +0000 (13:22 +0530)]
[1828] Close the listen_sock in tearDown()
Mukund Sivaraman [Thu, 14 Jun 2012 07:43:33 +0000 (13:13 +0530)]
[1828] Cleanup code by using with
Mukund Sivaraman [Thu, 14 Jun 2012 07:39:36 +0000 (13:09 +0530)]
[1828] Close sockets created by socketpair when done
Mukund Sivaraman [Thu, 14 Jun 2012 07:39:14 +0000 (13:09 +0530)]
[1828] Don't redirect stderr in tests
Mukund Sivaraman [Thu, 14 Jun 2012 07:32:56 +0000 (13:02 +0530)]
[1828] Cleanup code by using with
Mukund Sivaraman [Thu, 14 Jun 2012 07:28:42 +0000 (12:58 +0530)]
[1828] Don't redirect stdout in some tests
Mukund Sivaraman [Thu, 14 Jun 2012 07:19:44 +0000 (12:49 +0530)]
[1828] Make code safer by using with
Mukund Sivaraman [Thu, 14 Jun 2012 07:15:17 +0000 (12:45 +0530)]
[1828] Make code safer by using with
Mukund Sivaraman [Thu, 14 Jun 2012 07:05:17 +0000 (12:35 +0530)]
[1828] Close MsgQ socket in except block
Mukund Sivaraman [Thu, 14 Jun 2012 07:04:36 +0000 (12:34 +0530)]
[1828] Cleanup listen socket in DDNSServer.shutdown_cleanup()
Jelte Jansen [Thu, 14 Jun 2012 06:57:37 +0000 (08:57 +0200)]
[1461] add missing config input file for ddns test
JINMEI Tatuya [Thu, 14 Jun 2012 06:23:38 +0000 (23:23 -0700)]
[1975] style fixes: indent; spacing; const, parentheses
Mukund Sivaraman [Thu, 14 Jun 2012 05:52:45 +0000 (11:22 +0530)]
[1828] Make code safer by using with
JINMEI Tatuya [Thu, 14 Jun 2012 04:08:26 +0000 (21:08 -0700)]
[master] make the intentional dup'ed log messages for test consistent.
otherwise it might cause failure with --enable-logger-checks, depending on
which one is initialized first (which is ultimately enviornment dependent).
should be obvious, and also okayed on jabber.
made one piggyback cleanup: use an unnamed namespace instead of file-scope
static, and hid the initializer there, too.
JINMEI Tatuya [Wed, 13 Jun 2012 23:29:31 +0000 (16:29 -0700)]
[2020] introduce waiting periods and retries if add_remote_config fails.
also, make sure catching ModuleSpecError in addition to ModuleCCSessionError
because that's actually raised when the speicified module is not running
(seems buggy, but that happens in the real world).
JINMEI Tatuya [Wed, 13 Jun 2012 21:22:49 +0000 (14:22 -0700)]
[2020] updated comments about zonemgr config updates re. zone class and errors.
JINMEI Tatuya [Wed, 13 Jun 2012 20:07:01 +0000 (13:07 -0700)]
[2020] fixed a typo in a comment
JINMEI Tatuya [Wed, 13 Jun 2012 18:32:28 +0000 (11:32 -0700)]
[1975] Merge branch 'trac1975' from upstream with fixing conflicts.
Marcin Siodelski [Wed, 13 Jun 2012 16:48:17 +0000 (18:48 +0200)]
[1957] Added unit tests for new open socket methods.
Michal 'vorner' Vaner [Wed, 13 Jun 2012 15:37:14 +0000 (17:37 +0200)]
[1975] Try to use DataSourceClient name
It is supposed to be called client, not a DataSource only.
Jelte Jansen [Wed, 13 Jun 2012 15:21:40 +0000 (17:21 +0200)]
[1461] docstrings
Michal 'vorner' Vaner [Wed, 13 Jun 2012 15:03:13 +0000 (17:03 +0200)]
[1975] Get rid of dynamic allocation in find
As it could potentially slow down the processing.
Jelte Jansen [Wed, 13 Jun 2012 09:16:28 +0000 (11:16 +0200)]
[1461] add commented-out ddns-xfrout test
+support for it
Jelte Jansen [Tue, 12 Jun 2012 13:34:17 +0000 (15:34 +0200)]
[1461] DDNS test set 2
Jelte Jansen [Tue, 12 Jun 2012 09:39:34 +0000 (11:39 +0200)]
[1461] complete first test set
Jelte Jansen [Tue, 12 Jun 2012 08:49:09 +0000 (10:49 +0200)]
[1461] cleaner step definitions
Jelte Jansen [Mon, 11 Jun 2012 16:43:49 +0000 (18:43 +0200)]
[1461] additional tests from set 1
Jelte Jansen [Mon, 11 Jun 2012 15:59:54 +0000 (17:59 +0200)]
[1461] initial startup test
Jelte Jansen [Mon, 11 Jun 2012 15:04:06 +0000 (17:04 +0200)]
[1461] initial addition of config for tests
Michal 'vorner' Vaner [Wed, 13 Jun 2012 14:37:18 +0000 (16:37 +0200)]
[1975] Rename Container -> ClientList
This is to avoid confusion with DataSourceClientContainer, which is a
completely different class.
Marcin Siodelski [Wed, 13 Jun 2012 12:02:43 +0000 (14:02 +0200)]
[master] Added comment about unused-parameter warning disabling for clang.
Adding such comments was discussed and agreed on jabber with Jinmei.
Mukund Sivaraman [Wed, 13 Jun 2012 08:38:17 +0000 (14:08 +0530)]
[2036] Introduce --enable-valgrind-suppressions configure switch
The rationale for this is:
* Developers configure with `--enable-valgrind` and run `make check` to
see all the error reports (`make check` continues testing even if
there are Valgrind issues). This encourages us to fix these issues,
especially if we are modifying those parts of the code as part of
another bug.
* Builders configure with `--enable-valgrind
--enable-valgrind-suppressions` and run `make check` with
suppressions. `make check` doesn't show existing suppressed issues and
stops building if it finds a new Valgrind issue that is not
suppressed.
Mukund Sivaraman [Tue, 12 Jun 2012 23:07:21 +0000 (04:37 +0530)]
[2036] Show even deeper stacks
Marcin Siodelski [Wed, 13 Jun 2012 06:14:48 +0000 (08:14 +0200)]
[1957] Added new open socket methods.
JINMEI Tatuya [Wed, 13 Jun 2012 00:16:35 +0000 (17:16 -0700)]
[2020] reordered log messages.
JINMEI Tatuya [Tue, 12 Jun 2012 23:58:10 +0000 (16:58 -0700)]
[2020] catch failure of add_remote_xxx and leave a log message about it.
JINMEI Tatuya [Tue, 12 Jun 2012 23:27:00 +0000 (16:27 -0700)]
[2020] define the default ZoneConfig ACL outside of the class.
this will make the construction of ZoneConfig a bit more efficient.
JINMEI Tatuya [Tue, 12 Jun 2012 23:20:35 +0000 (16:20 -0700)]
[2020] make sure datasrc client is created only when auth DB is updated.
b10-ddns now maintains the created datasrc until next config update,
and keeps using it for update requests. this will make the update process
a bit more efficient.
get_datasrc_client() is now effectively a private subroutine within ddns.py,
so the test cases were updated so they will be tested indirectly.
Mukund Sivaraman [Tue, 12 Jun 2012 23:08:13 +0000 (04:38 +0530)]
Revert "[2036] Show even deeper stacks"
This reverts commit
05cfa4f1a83966748dcc8a7b5aa0287f68d5e126 .
Mukund Sivaraman [Tue, 12 Jun 2012 23:07:21 +0000 (04:37 +0530)]
[2036] Show even deeper stacks
Mukund Sivaraman [Tue, 12 Jun 2012 23:06:34 +0000 (04:36 +0530)]
[2036] Add a note about not using obj: lines in suppressions
Mukund Sivaraman [Tue, 12 Jun 2012 22:37:03 +0000 (04:07 +0530)]
[2036] Add suppressions for all existing issues reported by Valgrind
Mukund Sivaraman [Tue, 12 Jun 2012 22:35:53 +0000 (04:05 +0530)]
[2036] Return non-zero exit status when valgrind finds an issue
This should work fine with make check, so long as we have all issues
fixed or covered by suppressions. In this case, whenever a new issue
is introduced, make check would fail.
Mukund Sivaraman [Tue, 12 Jun 2012 16:25:00 +0000 (21:55 +0530)]
Add comment about demangling symbols in the suppressions
JINMEI Tatuya [Tue, 12 Jun 2012 20:34:12 +0000 (13:34 -0700)]
[2020] cleanup: use module name to get remote config for auth instead of fname.
using module name is more generic, and we can avoid differentiating various
setups whether it's for unit test or running from source or as an installed
system. previously I thought it was more fragile in terms of start up
timing, but on looking it further I realized it's not different from the
case we use the module file.
JINMEI Tatuya [Tue, 12 Jun 2012 20:26:05 +0000 (13:26 -0700)]
[2020] updated ZoneConfig ctor so the 2ndary zones are a set, not a list.
this will simplify the constructor, and would make more sense because the
caller should be able to build the set beforehand anyway. b10-ddns is
updated accordingly.
Jeremy C. Reed [Tue, 12 Jun 2012 19:28:13 +0000 (14:28 -0500)]
[master] don't use all of boost namespace
It will unexpectedly hide uint8_t for some systems.
Discussed on jabber.
The error was reported here:
http://git.bind10.isc.org/~tester/builder/BIND10/
20120612132001 -Solaris10-sparc-GCC/logs/build.out
Jeremy C. Reed [Tue, 12 Jun 2012 19:27:17 +0000 (14:27 -0500)]
[master] use the WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG
Some versions of GCC warn about some versions of Boost regarding
missing initializer for members in its posix_time.
https://svn.boost.org/trac/boost/ticket/3477
But older GCC compilers don't have the flag.
This is the same as on a few other Makefiles too.
JINMEI Tatuya [Tue, 12 Jun 2012 18:17:53 +0000 (11:17 -0700)]
[2020] get/maintain 2ndary zones from zonemgr and use it for update sessions.
Tomek Mrugalski [Tue, 12 Jun 2012 17:39:43 +0000 (19:39 +0200)]
[1651] Changes after second review (DHCPv4 msgq integration)
Mukund Sivaraman [Tue, 12 Jun 2012 16:13:30 +0000 (21:43 +0530)]
[2036] Turn off fd-related reports for now
Mukund Sivaraman [Tue, 12 Jun 2012 16:10:57 +0000 (21:40 +0530)]
[2036] Make valgrind run quietly so it looks like a regular make check
... except when there are issues.
Jeremy C. Reed [Tue, 12 Jun 2012 16:07:09 +0000 (11:07 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Mukund Sivaraman [Tue, 12 Jun 2012 14:12:31 +0000 (19:42 +0530)]
[2036] Show valgrind use status in configure output
Mukund Sivaraman [Tue, 12 Jun 2012 14:11:21 +0000 (19:41 +0530)]
[master] Show logger checks status in configure output
Mukund Sivaraman [Tue, 12 Jun 2012 13:23:28 +0000 (18:53 +0530)]
[2024] Remove obsolete comment about io_service_
Mukund Sivaraman [Mon, 11 Jun 2012 20:32:14 +0000 (02:02 +0530)]
[2024] Reset callback_ during SetUp() instead of in setDNSService()
Mukund Sivaraman [Mon, 11 Jun 2012 20:09:48 +0000 (01:39 +0530)]
[2024] Change io_service_ to not be a pointer anymore
Mukund Sivaraman [Wed, 6 Jun 2012 10:05:01 +0000 (15:35 +0530)]
[2024] Don't call setDNSService() multiple times
Michal 'vorner' Vaner [Tue, 12 Jun 2012 12:40:12 +0000 (14:40 +0200)]
[1975] Extend a test
See that a valid part of invalid configuration is not included.
Michal 'vorner' Vaner [Tue, 12 Jun 2012 12:31:14 +0000 (14:31 +0200)]
[1975] Style, comments, details
Michal 'vorner' Vaner [Tue, 12 Jun 2012 12:28:55 +0000 (14:28 +0200)]
[1975] Make sure we handle set::iterator correctly
There was a possible problem in mock data source with decreasing a
begin() iterator.
Michal 'vorner' Vaner [Tue, 12 Jun 2012 12:08:25 +0000 (14:08 +0200)]
[1975] Rename TestDS -> MockDataSourceClient
Jelte Jansen [Tue, 12 Jun 2012 12:06:30 +0000 (14:06 +0200)]
[master] Merge branch 'trac2016'
Michal 'vorner' Vaner [Tue, 12 Jun 2012 11:55:16 +0000 (13:55 +0200)]
[1975] Style
Michal 'vorner' Vaner [Tue, 12 Jun 2012 11:47:44 +0000 (13:47 +0200)]
[1975] Spelling
Michal 'vorner' Vaner [Tue, 12 Jun 2012 11:46:44 +0000 (13:46 +0200)]
[1975] Rename dataSources() to getDataSources()
To fit our naming conventions better.
Michal 'vorner' Vaner [Tue, 12 Jun 2012 11:45:12 +0000 (13:45 +0200)]
[1975] Create constructor for DataSourceInfo
Michal 'vorner' Vaner [Tue, 12 Jun 2012 11:26:43 +0000 (13:26 +0200)]
[1975] Docs: Lifetime and ownership of a pointer