]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Tue, 1 May 2012 00:53:55 +0000 (06:23 +0530)]
[master] Check for nonexistent db right after BIND starts (contd.)
Mukund Sivaraman [Tue, 1 May 2012 00:49:31 +0000 (06:19 +0530)]
[master] Check for nonexistent db right after BIND starts
Mukund Sivaraman [Fri, 20 Apr 2012 11:08:40 +0000 (16:38 +0530)]
[1790] Untabify files
Mukund Sivaraman [Fri, 20 Apr 2012 11:05:59 +0000 (16:35 +0530)]
[1790] Address review comments (see full log)
* The filetype parameter is optional, which means it might be missing
from the dict. Therefore indexing it with zone["filetype"] without
further check is unsafe. We check for this key now.
* The handling of origin and dots is needlessly complicated. We now
create Name objects of both and compare them. We also use RRClass
objects for the zone class. This makes sure the comparison is correct
one.
Mukund Sivaraman [Fri, 20 Apr 2012 07:02:00 +0000 (12:32 +0530)]
[1794] Add a lettuce test for updating in-memory after xfr feature
Mukund Sivaraman [Fri, 20 Apr 2012 06:50:07 +0000 (12:20 +0530)]
[master] Use IPv4 addresses in tests consistently
Mukund Sivaraman [Fri, 20 Apr 2012 06:49:23 +0000 (12:19 +0530)]
[1790] Bugfix _do_auth_loadzone implementation
Mukund Sivaraman [Fri, 20 Apr 2012 04:48:48 +0000 (10:18 +0530)]
[master] Update the xfrin_bind10.feature test
* Remove the redundant CMDCTL_STARTED check
* Add checks for data/test_nonexistent_db.sqlite3
Mukund Sivaraman [Fri, 20 Apr 2012 04:26:23 +0000 (09:56 +0530)]
[1900] Check for CC status before starting inmemory_over_sqlite3.feature
Mukund Sivaraman [Tue, 17 Apr 2012 13:33:52 +0000 (19:03 +0530)]
[1790] After successful zone transfers, send b10-auth loadzone if necessary
Tomek Mrugalski [Mon, 14 May 2012 16:18:43 +0000 (18:18 +0200)]
[master] Revert "[master] excluded DHCP related stuff from Makefile's"
This reverts commit
0960094a732dde31e21013c2f2ada3c2077eaf6e .
Tomek Mrugalski [Mon, 14 May 2012 14:58:47 +0000 (16:58 +0200)]
[1967] ADD_FAILURE() improvements in Dhcpv6SrvTest::DUID
Tomek Mrugalski [Mon, 14 May 2012 13:29:53 +0000 (15:29 +0200)]
Merge branch 'trac1968'
Tomek Mrugalski [Mon, 14 May 2012 13:29:29 +0000 (15:29 +0200)]
Revert "[master] temporarily removed DHCP stuff from configure.ac, too."
This reverts commit
617bdac8b0f2222920e63faa65f5fcb5ac729054 .
JINMEI Tatuya [Sat, 12 May 2012 00:15:26 +0000 (17:15 -0700)]
[master] temporarily removed DHCP stuff from configure.ac, too.
this is continued from
0960094 ; necessary for distcheck to succeed.
JINMEI Tatuya [Fri, 11 May 2012 22:08:02 +0000 (22:08 +0000)]
[master] excluded DHCP related stuff from Makefile's
as a temporary workaround for build failure due to ifmgr problems.
JINMEI Tatuya [Fri, 11 May 2012 21:48:04 +0000 (21:48 +0000)]
[master] be sure to include cstring for memcpy, and add std:: for it.
committing at my discretion.
JINMEI Tatuya [Fri, 11 May 2012 19:30:33 +0000 (19:30 +0000)]
[master] added missing include file for strncmp() and std:: qualifier for it.
apparently it didn't cause an error before as a side effect of including some
other header file. due to a slight change to buffer.h we now need to do it
explicitly here (which is a good practice anyway).
committing it at my discretion.
JINMEI Tatuya [Fri, 11 May 2012 19:27:19 +0000 (12:27 -0700)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Fri, 11 May 2012 19:25:24 +0000 (12:25 -0700)]
[master] removed the "from-iterator" ctor of InputBuffer and its test.
It's not used anywhere else, and caused build failure on Solaris/SunStudio.
okayed on jabber.
I also made a few minor cleanups: unify string.c/ctring to the latter
and qualify memcpy() with std::
JINMEI Tatuya [Fri, 11 May 2012 18:49:57 +0000 (18:49 +0000)]
[master] ensure constness in ?: expressions. will fix build error for some g++
okayed on jabber.
Tomek Mrugalski [Fri, 11 May 2012 15:39:47 +0000 (17:39 +0200)]
[1651] Small command handling improvements.
Jelte Jansen [Fri, 11 May 2012 14:30:15 +0000 (16:30 +0200)]
[master] fix return value for strict compiler checks
also fixed a trivial typo in a unit test
Jelte Jansen [Fri, 11 May 2012 13:55:51 +0000 (15:55 +0200)]
[master] Update Changelog for NSEC-merge (#1803-#1810)
Jelte Jansen [Fri, 11 May 2012 13:32:48 +0000 (06:32 -0700)]
[1207] fix two memory/cast issues in modified code
See http://bind10.isc.org/ticket/1207#comment:11
Tomek Mrugalski [Fri, 11 May 2012 12:43:22 +0000 (14:43 +0200)]
[1651] Support for shutdown command implemented.
Tomek Mrugalski [Fri, 11 May 2012 11:11:39 +0000 (13:11 +0200)]
Merge branch 'master' into trac1651
Jelte Jansen [Fri, 11 May 2012 10:52:42 +0000 (12:52 +0200)]
[nsec_merge] Merge branch 'trac1808-2' into nsec_merge
Conflicts:
src/lib/datasrc/tests/memory_datasrc_unittest.cc
Jelte Jansen [Fri, 11 May 2012 10:50:54 +0000 (12:50 +0200)]
[nsec_merge] Merge branch 'trac1807' into nsec_merge
Conflicts:
src/lib/datasrc/tests/rbtree_unittest.cc
Jelte Jansen [Fri, 11 May 2012 10:50:07 +0000 (12:50 +0200)]
[nsec_merge] Merge branch 'trac1805' into nsec_merge
Jelte Jansen [Fri, 11 May 2012 10:49:49 +0000 (12:49 +0200)]
[nsec_merge] Merge branch 'trac1803' into nsec_merge
JINMEI Tatuya [Fri, 11 May 2012 09:37:05 +0000 (02:37 -0700)]
[1808-2] adjusted wildcard+NXRRSET case to check its NSEC record.
i.e., wildcard substitution shouldn't happen. the (revised) main code already
handles this correctly, so we don't have to modify it.
JINMEI Tatuya [Fri, 11 May 2012 08:58:37 +0000 (01:58 -0700)]
[1808-2] extracted NSEC-getting code for normal NXRRSET case to a helper func.
this simplifies the main code, and avoids using the same log ID twice.
JINMEI Tatuya [Fri, 11 May 2012 08:49:28 +0000 (01:49 -0700)]
[1808-2] cleanup: removed the NSEC4NXRRSET test.
it was once introduced in the 1808 branch, but it's not necessary now that
the generic findCheck() covers that case.
JINMEI Tatuya [Fri, 11 May 2012 08:47:55 +0000 (01:47 -0700)]
[1808-2] updated findCheck so it can be used for normal the NXRRSET case.
also fixed a small problem in the main code that it didn't consider
the FIND_DNSSEC flag.
Tomek Mrugalski [Fri, 11 May 2012 08:45:34 +0000 (10:45 +0200)]
[1967] Fix for Solicit_basic test. Previous test now closes sockets.
JINMEI Tatuya [Fri, 11 May 2012 08:33:07 +0000 (01:33 -0700)]
[1808-2] Merge branch 'trac1810' into trac1808-2 with fixing conflict.
trac1810 itself is still under review, but I think merging it first will
help reduct conflicts later.
JINMEI Tatuya [Fri, 11 May 2012 08:25:08 +0000 (01:25 -0700)]
[1808-2] Merge branch 'trac1805' into trac1808-2
JINMEI Tatuya [Fri, 11 May 2012 08:14:36 +0000 (01:14 -0700)]
[1808-2] Merge branch 'trac1808' into trac1808-2
Mukund Sivaraman [Fri, 11 May 2012 06:51:45 +0000 (12:21 +0530)]
[1803] Remove redundant check
Mukund Sivaraman [Fri, 11 May 2012 06:05:55 +0000 (11:35 +0530)]
[1803] Use isEmpty() instead of checking the level count
Mukund Sivaraman [Fri, 11 May 2012 06:05:34 +0000 (11:35 +0530)]
[1803] Use member variables directly instead of calls
This keeps it consistent with usage in the rest of the file.
Mukund Sivaraman [Fri, 11 May 2012 06:03:18 +0000 (11:33 +0530)]
[1803] Make minor comment fixes
Mukund Sivaraman [Fri, 11 May 2012 05:33:00 +0000 (11:03 +0530)]
[master] Remove redundant code from RBTree<T>::nextNode()
Mukund Sivaraman [Fri, 11 May 2012 05:28:50 +0000 (10:58 +0530)]
[1803] Fix compile errors in some unit tests
Mukund Sivaraman [Thu, 10 May 2012 13:24:03 +0000 (18:54 +0530)]
[1803] Make some more comment fixes
JINMEI Tatuya [Fri, 11 May 2012 01:01:16 +0000 (18:01 -0700)]
[1893] make findNSEC3 testable for the SQLite3 accessor, too.
implemented enableNSEC3 in TestSQLite3Accessor where we add NSEC3PARAM and
NSEC3s. the findNSEC3 test is now a typed test, shared for both mock and
SQLite3 accessors.
JINMEI Tatuya [Fri, 11 May 2012 00:35:00 +0000 (17:35 -0700)]
[1893] parametralized test NSEC3PARAM data so that they can be shared.
the previous ordering of addition, RRSIG then NSEC3PARAM, doesn't seem to be
necessary, so I reordered them in a more intuitive order.
JINMEI Tatuya [Fri, 11 May 2012 00:02:29 +0000 (17:02 -0700)]
[1893] unrelated cleanup: constify a variable.
Tomek Mrugalski [Thu, 10 May 2012 17:43:16 +0000 (19:43 +0200)]
[1968] Namespace typo fixed.
Tomek Mrugalski [Thu, 10 May 2012 17:41:44 +0000 (19:41 +0200)]
[1968] Namespaces in iface_mgr_(os).cc fixed.
Tomek Mrugalski [Thu, 10 May 2012 17:33:01 +0000 (19:33 +0200)]
[1968] New file added to tests dependencies.
Tomek Mrugalski [Thu, 10 May 2012 17:10:30 +0000 (19:10 +0200)]
[1968] Common stub implementation removed.
JINMEI Tatuya [Thu, 10 May 2012 16:52:08 +0000 (09:52 -0700)]
[1807] fixed a typo in a comment
Tomek Mrugalski [Thu, 10 May 2012 16:48:50 +0000 (18:48 +0200)]
[1968] Added stub ifacemgr implementation for Solaris.
Tomek Mrugalski [Thu, 10 May 2012 15:33:05 +0000 (17:33 +0200)]
fillRandom now uses random() instead of rand()
- a generic improvement that fixes NetBSD test failure.
Jelte Jansen [Thu, 10 May 2012 13:33:45 +0000 (15:33 +0200)]
[1807] removed unnecessary comment
Jelte Jansen [Thu, 10 May 2012 13:32:21 +0000 (15:32 +0200)]
[1807] Add two more easier ways to call rbtree::find
Jelte Jansen [Thu, 10 May 2012 13:06:16 +0000 (15:06 +0200)]
[1807] fix NSEC on nonterminal wildcard match
and add check to see which exact nsec is returned
Marcin Siodelski [Thu, 10 May 2012 11:01:10 +0000 (13:01 +0200)]
Unit tests for perfdhcp CommandOptions class
Marcin Siodelski [Thu, 10 May 2012 10:02:23 +0000 (12:02 +0200)]
New skeleton class for command options parsing.
Jelte Jansen [Thu, 10 May 2012 08:45:57 +0000 (10:45 +0200)]
[1807] re-add accidentally removed test for 'normal' ENT
Tomek Mrugalski [Thu, 10 May 2012 07:51:28 +0000 (09:51 +0200)]
Compilation fix for Solaris 10 (in pkt6.cc)
JINMEI Tatuya [Thu, 10 May 2012 04:17:14 +0000 (21:17 -0700)]
[1810] supported NO_WILDCARD find option for in-memory data source.
Mukund Sivaraman [Thu, 10 May 2012 02:44:30 +0000 (08:14 +0530)]
[1803] Make minor editorial fixes
JINMEI Tatuya [Thu, 10 May 2012 01:24:36 +0000 (18:24 -0700)]
[1810] refactor the wildcard test for the convenience of later changes.
test semantics were not changed.
JINMEI Tatuya [Thu, 10 May 2012 00:57:52 +0000 (17:57 -0700)]
[1809] make sure NSEC is returned (when appropriate) for wcard cancel case.
JINMEI Tatuya [Thu, 10 May 2012 00:40:43 +0000 (17:40 -0700)]
[1809] cleanup: unified nxdomain cases whether it's for NSEC or not.
JINMEI Tatuya [Thu, 10 May 2012 00:29:01 +0000 (17:29 -0700)]
[1809] added test cases to check NSEC isn't returned without FIND_DNSSEC.
(no need to change the tested code).
JINMEI Tatuya [Wed, 9 May 2012 23:51:10 +0000 (16:51 -0700)]
[1809] Merge branch 'trac1805' into trac1809
JINMEI Tatuya [Wed, 9 May 2012 22:51:17 +0000 (15:51 -0700)]
[1808] unrelated doc fix: updated the dsescription of find().
It seemed to be based on an older version of implementation, mentioning
the now-nonexistent Zone class. Updated the description to reflect the
current status of code.
JINMEI Tatuya [Wed, 9 May 2012 22:48:25 +0000 (15:48 -0700)]
[1808] editorial fixes: redundant space; space after comma, long lines, indent.
JINMEI Tatuya [Wed, 9 May 2012 20:54:03 +0000 (13:54 -0700)]
[1805] minor optimization: check nsec_signed first in getClosestNSEC().
in practice the DNSSEC option is provided in many cases, considering
the common default behavior of widely deployed resolvers, while not many
zones are actually not signed at all in the first place (much less whether
it's NSEC or NSEC3). so in many cases we should simply be able to stop the
condition check with the nsec_signed.
JINMEI Tatuya [Wed, 9 May 2012 20:51:45 +0000 (13:51 -0700)]
[1805] added some more comments about node_path as requested in review.
JINMEI Tatuya [Wed, 9 May 2012 18:40:05 +0000 (11:40 -0700)]
[master] temporarily disabled Dhcpv6SrvTest::Solicit_basic.
It fails on some systems. e.g.
http://git.bind10.isc.org/~tester/builder//BIND10/
20120509174501 -MacOSX10.6-x86_64-Clang-Static/logs/unittests.out
Tomek Mrugalski [Wed, 9 May 2012 16:31:45 +0000 (18:31 +0200)]
Test fixes in dhcpv6.
Jelte Jansen [Wed, 9 May 2012 15:21:42 +0000 (17:21 +0200)]
[1807] return NSEC data on other ENT cases
Tomek Mrugalski [Wed, 9 May 2012 14:38:10 +0000 (16:38 +0200)]
make distcheck fix
Tomek Mrugalski [Wed, 9 May 2012 13:23:54 +0000 (15:23 +0200)]
IfaceMgr compilation fix for BSD systems.
Tomek Mrugalski [Wed, 9 May 2012 12:58:16 +0000 (14:58 +0200)]
Compilation fix: added missing header for distance method.
Jelte Jansen [Wed, 9 May 2012 12:41:12 +0000 (14:41 +0200)]
[1806] removed double nsec_signed_ && FIND_DNSSEC check
also added an extra sanity check
Tomek Mrugalski [Wed, 9 May 2012 12:23:06 +0000 (14:23 +0200)]
[1528] ChangeLog commit-id update.
Tomek Mrugalski [Wed, 9 May 2012 12:19:48 +0000 (14:19 +0200)]
Merge branch 'master' into trac1528
Conflicts:
ChangeLog
src/lib/dhcp/iface_mgr_linux.cc
Tomek Mrugalski [Wed, 9 May 2012 11:28:57 +0000 (13:28 +0200)]
[1540] ChangeLog commit-id update.
Tomek Mrugalski [Wed, 9 May 2012 11:23:33 +0000 (13:23 +0200)]
Merge branch 'master' into trac1540
Conflicts:
ChangeLog
src/bin/dhcp4/dhcp4_srv.h
src/lib/dhcp/libdhcp++.h
src/lib/dhcp/option.cc
src/lib/dhcp/option.h
src/lib/dhcp/option4_addrlst.cc
src/lib/dhcp/option6_ia.cc
src/lib/dhcp/option6_iaaddr.h
src/lib/dhcp/pkt4.h
src/lib/dhcp/pkt6.cc
src/lib/dhcp/pkt6.h
Tomek Mrugalski [Wed, 9 May 2012 10:35:54 +0000 (12:35 +0200)]
Default values are now in range of uintX_t (Compilation fix for Solaris).
Jelte Jansen [Wed, 9 May 2012 10:25:32 +0000 (12:25 +0200)]
[1806] in-mem DS: add NSEC record for ENT
JINMEI Tatuya [Wed, 9 May 2012 09:07:40 +0000 (02:07 -0700)]
[1805] completed implementation of getClosestNSEC().
for tests, we use some of the NXDOMAIN cases (part of #1809)
Xie Jiagui [Wed, 9 May 2012 08:08:53 +0000 (16:08 +0800)]
[1808] Update InMemoryZoneFinder::find() in order to support NSEC
for NXRRSET at DNSSEC qureys. Two unittests were added to assure
these.
JINMEI Tatuya [Wed, 9 May 2012 07:36:00 +0000 (00:36 -0700)]
[1805] internal refactoring: pass node_path to findZone() from callers.
it's not necessarily needed for the puropse of this branch, but we'll
eventually need it for #1807. By doing this now will help reduce merge
conflicts later.
JINMEI Tatuya [Wed, 9 May 2012 07:18:36 +0000 (00:18 -0700)]
[1805] Merge branch 'trac1803' into trac1805
JINMEI Tatuya [Tue, 8 May 2012 23:32:15 +0000 (16:32 -0700)]
[1964] updated the non-check mode case of logging to be consistent.
JINMEI Tatuya [Tue, 8 May 2012 23:09:18 +0000 (16:09 -0700)]
[1964] added another test case where we can really check the thrown exception.
also clarified the comment: the previous one didn't make perfect sense in
that if it's really about exception we could have simply used EXCEPT_THROW.
JINMEI Tatuya [Tue, 8 May 2012 22:57:11 +0000 (15:57 -0700)]
[1964] use assert() instead of throwing exception in checkExcessPlaceholders.
unfortunatelly, we cannot throw here because it's called from the Formatter
destructor. death tests now work for environments where it previously failed.
JINMEI Tatuya [Tue, 8 May 2012 22:23:06 +0000 (15:23 -0700)]
[1964] small cleanups for checkExcessPlaceholders.
- style fixes
- constify (also for replacePlaceholder)
- make sure all parameters are used regardless of ENABLE_LOGGER_CHECKS
JINMEI Tatuya [Tue, 8 May 2012 22:11:55 +0000 (15:11 -0700)]
[1964] moved dontCreateCoreDumps to libutil_unittests.
this solves various build troubles such as leaving it unused, causing
circular dependcies, or the use of unnamed namespace in a public header file.
Jeremy C. Reed [Tue, 8 May 2012 16:52:22 +0000 (11:52 -0500)]
[master][trac1531] spelling typo fixes in comments
Tomek Mrugalski [Tue, 8 May 2012 16:17:58 +0000 (18:17 +0200)]
[1540] Changes after review:
- test prints out information that failed socket binding is ok.
- iface_mgr buffers are no longer static.
Tomek Mrugalski [Tue, 8 May 2012 15:32:18 +0000 (17:32 +0200)]
Merge branch 'trac1531'
Conflicts:
doc/.gitignore
src/lib/util/buffer.h
Mukund Sivaraman [Tue, 8 May 2012 15:00:43 +0000 (20:30 +0530)]
[1892] Change EXPECT_ABORT to EXPECT_DEATH