]>
git.ipfire.org Git - thirdparty/kea.git/log
Jelte Jansen [Wed, 19 Sep 2012 08:03:30 +0000 (10:03 +0200)]
[2190] do normal shutdown on msgq in statshttpd test
Mukund Sivaraman [Wed, 19 Sep 2012 07:49:04 +0000 (13:19 +0530)]
[2218] Add test for DomainTreeNode::getLargestInSubTree()
Mukund Sivaraman [Wed, 19 Sep 2012 07:42:54 +0000 (13:12 +0530)]
[2218] Add test for DomainTreeNode::getSubTreeRoot()
Mukund Sivaraman [Wed, 19 Sep 2012 07:29:57 +0000 (12:59 +0530)]
[2218] Work inside the subtree under the origin's node only
Mukund Sivaraman [Wed, 19 Sep 2012 07:21:33 +0000 (12:51 +0530)]
[2218] Add DomainTreeNode::getLargestInSubTree() method
This is used to find the largest (covering) node under the origin's
subtree in the NSEC3 tree.
Mukund Sivaraman [Wed, 19 Sep 2012 07:14:27 +0000 (12:44 +0530)]
[2218] Remove DomainTree::getLargestNode()
... which was broken anyway.
Mukund Sivaraman [Wed, 19 Sep 2012 07:12:13 +0000 (12:42 +0530)]
[2218] Add DomainTreeNode::getSubTreeRoot()
Mukund Sivaraman [Wed, 19 Sep 2012 07:06:08 +0000 (12:36 +0530)]
[2218] Make DomainTreeNode::predecessor() and ::successor() public
Mukund Sivaraman [Wed, 19 Sep 2012 06:34:36 +0000 (12:04 +0530)]
[2218] Make DomainNode::isSubTreeRoot() a public function
This will be required for finding whether a hash is less than,
or greater than all nodes in the origin's subtree in an NSEC3 tree.
Mukund Sivaraman [Wed, 19 Sep 2012 04:30:18 +0000 (10:00 +0530)]
[2218] Insert using the NSEC3 record's entire name into the NSEC3Data tree
JINMEI Tatuya [Wed, 19 Sep 2012 04:08:30 +0000 (21:08 -0700)]
[2267] one more comment cleanup: updated the comment about setSigned().
(the old comment doesn't make sense for the new interface).
Mukund Sivaraman [Wed, 19 Sep 2012 03:57:52 +0000 (09:27 +0530)]
[2218] Check for NULL covering_node
Mukund Sivaraman [Wed, 19 Sep 2012 03:57:08 +0000 (09:27 +0530)]
[2218] Use the class RdataEncoder
JINMEI Tatuya [Wed, 19 Sep 2012 01:50:57 +0000 (18:50 -0700)]
[2267] (unrelated) comment (and some style) cleanups.
some comments were obsolete in the newer implementation. they were updated
or simply removed.
JINMEI Tatuya [Wed, 19 Sep 2012 01:37:06 +0000 (18:37 -0700)]
[2267] cleanup: make retval of impl::add() void.
in the new implementation it always returns SUCCESS anyway, so it doesn't make
sense to return it and check the value.
JINMEI Tatuya [Wed, 19 Sep 2012 01:33:04 +0000 (18:33 -0700)]
[2267] cleanup: pass zone name and data at the loader construction.
JINMEI Tatuya [Wed, 19 Sep 2012 01:28:36 +0000 (18:28 -0700)]
[2267] catch and reject the bogus case of passing empty RRSIG
JINMEI Tatuya [Wed, 19 Sep 2012 01:15:49 +0000 (18:15 -0700)]
[2267] some comments
JINMEI Tatuya [Wed, 19 Sep 2012 01:11:08 +0000 (18:11 -0700)]
[2267] catch and reject RRSIGs that don't have a covered RRset.
the loadRRSIGFollowsNothing test now passes and is re-enabled.
the 'name unmatched' and 'type unmatched' tests are essentially the same
so are removed (so are their test zone files).
JINMEI Tatuya [Wed, 19 Sep 2012 01:01:20 +0000 (18:01 -0700)]
[2267] cover the case separated RRSIGs of the same type are given.
JINMEI Tatuya [Wed, 19 Sep 2012 00:28:57 +0000 (17:28 -0700)]
[2267] enabled the commented RRSIG test data, with which it now passes.
JINMEI Tatuya [Wed, 19 Sep 2012 00:21:04 +0000 (17:21 -0700)]
[2267] cleanup: removed last_rrset_. we don't need this beast any more.
JINMEI Tatuya [Wed, 19 Sep 2012 00:18:29 +0000 (17:18 -0700)]
[2267] cleanup: removed now-unused methods
and renamed addRdataSet2 to addRdataSet now that we don't have to distingush
these two.
JINMEI Tatuya [Wed, 19 Sep 2012 00:15:40 +0000 (17:15 -0700)]
[2267] temporarily disabled some tests, which should expect a different result.
JINMEI Tatuya [Wed, 19 Sep 2012 00:10:11 +0000 (17:10 -0700)]
[2267] add RRsets to zone via the new loader class, ensuring the pairing.
this fixes the main issue of this ticket, but made some other tests fail
(which will be addressed in later commits)
JINMEI Tatuya [Tue, 18 Sep 2012 21:18:17 +0000 (14:18 -0700)]
[2267] refactoring: introduce a helper Loader class and move addFromLoad there.
JINMEI Tatuya [Tue, 18 Sep 2012 20:53:57 +0000 (13:53 -0700)]
[2267] have add() take both RRset and RRSIG at the same time.
as a helper another version of addRdataSet() is introduced too.
these don't need the last_rrset_ magic.
InMemoryClient::add now uses this version.
JINMEI Tatuya [Tue, 18 Sep 2012 19:20:18 +0000 (12:20 -0700)]
[2267] added a test that checks if load() with separate_rr iterator fails.
to catch any later regression.
JINMEI Tatuya [Tue, 18 Sep 2012 18:57:16 +0000 (11:57 -0700)]
[2267] unrelated cleanup: use MemorySegmentTest for instrumental mem segment
instead of a local copy of it inside memory_client_unittest.
JINMEI Tatuya [Tue, 18 Sep 2012 18:17:37 +0000 (11:17 -0700)]
[2267] added RRSIGs to test iterator for memory client tests
with a commented-out one that would reveal a bug of the implementation.
also did some trivial style fixes.
Mukund Sivaraman [Tue, 18 Sep 2012 18:07:48 +0000 (23:37 +0530)]
[2218] Implement TreeNodeRRset::getRRsig()
Mukund Sivaraman [Sun, 16 Sep 2012 18:32:52 +0000 (00:02 +0530)]
[2218] Add facility to setup a fake NSEC3Calculate function for use in tests
Jeremy C. Reed [Tue, 18 Sep 2012 17:51:10 +0000 (12:51 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Jeremy C. Reed [Tue, 18 Sep 2012 17:50:08 +0000 (12:50 -0500)]
[master] fix spelling typo in output
I didn't get this reviewed, but make check still worked for me.
Mukund Sivaraman [Tue, 18 Sep 2012 17:48:24 +0000 (23:18 +0530)]
[2218] Fix ZoneChain type name (after rebasing)
Mukund Sivaraman [Fri, 14 Sep 2012 04:29:40 +0000 (09:59 +0530)]
[2218] Fix addZoneDataNSEC3() to populate NSEC3Data inside ZoneData
Mukund Sivaraman [Wed, 12 Sep 2012 17:47:54 +0000 (23:17 +0530)]
[2218] Fix condition in DomainTree::getLargestNode()
Mukund Sivaraman [Wed, 12 Sep 2012 17:44:04 +0000 (23:14 +0530)]
[2218] Add an initial InMemoryZoneFinder::findNSEC3() implementation
Mukund Sivaraman [Wed, 12 Sep 2012 17:43:12 +0000 (23:13 +0530)]
[2218] Add DomainTree::getLargestNode()
Mukund Sivaraman [Tue, 18 Sep 2012 17:41:21 +0000 (23:11 +0530)]
[2218] Implement InMemoryClient::findZone() (and keep findZone2())
Though strictly it's not NSEC3 work, this is nevertheless required now
that both #2108 and #2109 are in master.
Mukund Sivaraman [Tue, 18 Sep 2012 17:21:43 +0000 (22:51 +0530)]
[2218] Remove redundant getTTL() code
Tomek Mrugalski [Tue, 18 Sep 2012 16:35:18 +0000 (18:35 +0200)]
[2238] Comments in CfgMgr updated.
Jelte Jansen [Tue, 18 Sep 2012 13:44:04 +0000 (15:44 +0200)]
[master] Merge branch 'trac2110'
Jelte Jansen [Tue, 18 Sep 2012 13:42:37 +0000 (15:42 +0200)]
[master] Merge branch 'trac2109'
Conflicts:
src/lib/datasrc/memory/Makefile.am
src/lib/datasrc/memory/benchmarks/Makefile.am
src/lib/datasrc/memory/zone_data.h
Naoki Kambe [Tue, 18 Sep 2012 11:41:44 +0000 (20:41 +0900)]
[master] update a git-id for merge of #2158
Naoki Kambe [Tue, 18 Sep 2012 11:37:53 +0000 (20:37 +0900)]
[master] Merge branch 'trac2158'
Conflicts:
ChangeLog
Marcin Siodelski [Tue, 18 Sep 2012 10:16:30 +0000 (12:16 +0200)]
[master] Merge branch 'trac2230'
Conflicts:
tests/tools/dhcp-ubench/dhcp-perf-guide.html
tests/tools/perfdhcp/Makefile.am
Marcin Siodelski [Tue, 18 Sep 2012 09:38:04 +0000 (11:38 +0200)]
[2230] Removed dhcp-perf-guide.html.
The dhcp-perf-guide.html is supposed to be created with make.
Naoki Kambe [Tue, 18 Sep 2012 02:49:57 +0000 (11:49 +0900)]
[2158] updated counters handling in the classes
- If it omits setting the counters, which are notifyoutv4, notifyoutv6,
xfrrej, and xfrreqdone, they are set to None as defaults when the object is
initiating. Then when each counter is invoked in some method, it checks
whether the counter is Nonetype or not. Unless the counter is NoneType, it
invokes the counter. After that unless the counter is callable, a TypeError
exception would be raised.
- added some tests for this changes
- removed some dead code from xfrout.py.in
JINMEI Tatuya [Tue, 18 Sep 2012 01:13:12 +0000 (18:13 -0700)]
[master] minor style fix: remove unnecessary and techinicaly obsolete 'static'.
JINMEI Tatuya [Tue, 18 Sep 2012 00:06:23 +0000 (17:06 -0700)]
[master] trivial style cleanup: position of operator '*'
JINMEI Tatuya [Mon, 17 Sep 2012 23:49:27 +0000 (16:49 -0700)]
[master] doc cleanup: removed an obsolete description.
TreeNodeRRset::getTTL() is now implemented, so "throw unconditionally" is
simply wrong.
should be trivial enough, directly committing.
Mukund Sivaraman [Mon, 17 Sep 2012 18:44:28 +0000 (00:14 +0530)]
Merge branch 'master' into trac2150_2
JINMEI Tatuya [Mon, 17 Sep 2012 18:31:01 +0000 (11:31 -0700)]
[master] cleanup: rm obsolete comments, rename a variable, some style cleanups
regarding the variable name, "local_mem_sgmt_" is now awkward because it's
now of the base class type.
okayed on jabber.
Jelte Jansen [Mon, 17 Sep 2012 17:52:05 +0000 (19:52 +0200)]
[2109] addressed review comments
- fix doxygen and comments
- inclusion order fix
- remove dead line from makefile
Marcin Siodelski [Mon, 17 Sep 2012 17:38:35 +0000 (19:38 +0200)]
[master] Adding timeout tolerance to receiveX() timeout checks.
Tomek Mrugalski [Mon, 17 Sep 2012 17:26:03 +0000 (19:26 +0200)]
[2238] lifetimes are now property of Subnet6, not Pool6
JINMEI Tatuya [Mon, 17 Sep 2012 17:10:47 +0000 (10:10 -0700)]
[2202] some more minor editorial fix: spacing
Tomek Mrugalski [Mon, 17 Sep 2012 16:28:09 +0000 (18:28 +0200)]
[2238] CfgMgr (+tests) implemented.
Marcin Siodelski [Mon, 17 Sep 2012 14:46:04 +0000 (16:46 +0200)]
[2230] Comments on byte order and endianess in template files.
Stephen Morris [Mon, 17 Sep 2012 14:03:12 +0000 (15:03 +0100)]
[master] Changes to fix "make distcheck" failure
Jelte Jansen [Mon, 17 Sep 2012 13:49:07 +0000 (15:49 +0200)]
[2190] reverse default kqueue/poll
Mukund Sivaraman [Mon, 17 Sep 2012 12:17:13 +0000 (17:47 +0530)]
Merge branch 'master' into trac2108_3
Conflicts fixed:
src/lib/datasrc/memory/tests/treenode_rrset_unittest.cc
src/lib/datasrc/memory/treenode_rrset.cc
src/lib/datasrc/memory/treenode_rrset.h
Stephen Morris [Mon, 17 Sep 2012 10:54:07 +0000 (11:54 +0100)]
[master] ChangeLog entry for ticket 1545.
Stephen Morris [Mon, 17 Sep 2012 10:37:40 +0000 (11:37 +0100)]
[1545] Merge branch 'master' into trac1545
Mukund Sivaraman [Mon, 17 Sep 2012 05:23:48 +0000 (10:53 +0530)]
[2150] Add a diagram of the DomainTree after the node has been added
Mukund Sivaraman [Sun, 16 Sep 2012 19:56:20 +0000 (01:26 +0530)]
[2150] Add test to find the same non-absolute label sequence at two different places
Mukund Sivaraman [Sun, 16 Sep 2012 19:42:32 +0000 (01:12 +0530)]
[2150] Find a relative label sequence that's more than 1 node away from chain.top()
Mukund Sivaraman [Sun, 16 Sep 2012 19:42:04 +0000 (01:12 +0530)]
[2150] Check label sequence to see that it's correct
Mukund Sivaraman [Sun, 16 Sep 2012 19:41:22 +0000 (01:11 +0530)]
[2150] Clear chain before re-use
Mukund Sivaraman [Sun, 16 Sep 2012 19:32:36 +0000 (01:02 +0530)]
[2150] Check that non-absolute label sequence + empty chain throws in find()
Tomek Mrugalski [Fri, 14 Sep 2012 17:37:17 +0000 (19:37 +0200)]
[2238] Pool6 implemented, Subnet6 work in progress.
Tomek Mrugalski [Fri, 14 Sep 2012 17:36:22 +0000 (19:36 +0200)]
[2238] Missing tests for {first,last}AddrInPrefix() added.
Tomek Mrugalski [Fri, 14 Sep 2012 17:32:43 +0000 (19:32 +0200)]
[2238] <= operator for IOAddress implemented.
Marcin Siodelski [Fri, 14 Sep 2012 17:27:52 +0000 (19:27 +0200)]
Merge branch 'trac2231'
Conflicts:
src/lib/dhcp/tests/iface_mgr_unittest.cc
Marcin Siodelski [Fri, 14 Sep 2012 17:14:34 +0000 (19:14 +0200)]
[1545] Added reference to python documentation for os.putenv() function.
The os.putenv() functionsseems to be not supported on all platforms and
this is indicated in the python documentation.
Tomek Mrugalski [Fri, 14 Sep 2012 17:11:54 +0000 (19:11 +0200)]
[2238] firstAddrInPrefix(), lastAddrInPrefix() implemented
Tomek Mrugalski [Fri, 14 Sep 2012 16:28:21 +0000 (18:28 +0200)]
[2238] IOAddress comparison operator.
Stephen Morris [Fri, 14 Sep 2012 14:16:56 +0000 (15:16 +0100)]
[1545] Corrected problems in setting environment variable in tests
For some reason, the Python "os.putenv()" did not work, so changed
to morifying the "os.environ" variable directly.
Marcin Siodelski [Fri, 14 Sep 2012 11:02:25 +0000 (13:02 +0200)]
[1960] Removed old perfdhcp.
Marcin Siodelski [Fri, 14 Sep 2012 11:01:50 +0000 (13:01 +0200)]
[1960] If help or version printed do not start the test.
Marcin Siodelski [Fri, 14 Sep 2012 08:10:15 +0000 (10:10 +0200)]
[master] Use CommandOptionsHelper for CommandOptions unit tests.
This fixes memory leak reported by Valgrind. Dicussed with Jelte on jabber.
Mukund Sivaraman [Fri, 14 Sep 2012 05:50:05 +0000 (11:20 +0530)]
[2108] Remove unused variable (reported by cppcheck)
Mukund Sivaraman [Fri, 14 Sep 2012 05:33:00 +0000 (11:03 +0530)]
[2108] Fix doc comment for addFromLoad()
addFromLoad() used to throw before, but now the called code itself
throws. add() should never return anything except SUCCESS, so if it
returns anything else, we assert.
Mukund Sivaraman [Fri, 14 Sep 2012 05:26:46 +0000 (10:56 +0530)]
[2108] Fix typo
Mukund Sivaraman [Fri, 14 Sep 2012 05:25:38 +0000 (10:55 +0530)]
[2108] Fix doc comment for InMemoryClient::getFileName()
Mukund Sivaraman [Fri, 14 Sep 2012 05:21:27 +0000 (10:51 +0530)]
[2108] Update obsolete comment
Mukund Sivaraman [Fri, 14 Sep 2012 05:19:55 +0000 (10:49 +0530)]
[2108] Sort the memory_messages.mes file
Mukund Sivaraman [Fri, 14 Sep 2012 05:17:07 +0000 (10:47 +0530)]
[2108] Changed proto of ZoneTable::setZoneData() to return a FindResult
This is so we can differentiate between whether a node was not found
and whether a node was found, but its old data was empty.
We also don't set the node data now when an exact match was not found.
Before it used to set for partial matches too (which was a bug).
Tomek Mrugalski [Thu, 13 Sep 2012 17:09:13 +0000 (19:09 +0200)]
[2238] CfgMgr work in progress: Triplet, Pool6, Subnet6 classes
Jelte Jansen [Thu, 13 Sep 2012 16:46:35 +0000 (18:46 +0200)]
[2110] port wildcard handling to new inmem datasrc
Including all relevant tests.
The code makes use of the LabelSequence::WILDCARD as introduced in #2151, but otherwise it is mostly the same, with one big exception, it does not painstakingly recreate the renamed RRset name after wildcard substitution, but reuses the Name data as passed to the finder (since if the findNode found a wildcard when searching, the name to find should contain be the wildcard substitution)
Jelte Jansen [Thu, 13 Sep 2012 16:36:17 +0000 (18:36 +0200)]
[2110] allow textToRRset to parse rrset+sigs
Jelte Jansen [Thu, 13 Sep 2012 14:48:49 +0000 (16:48 +0200)]
[2110] Merge branch 'master' into trac2110
Conflicts:
src/lib/datasrc/memory/benchmarks/Makefile.am
Jelte Jansen [Thu, 13 Sep 2012 12:39:52 +0000 (14:39 +0200)]
[master] Merge remote-tracking branch 'origin/trac2151'
Marcin Siodelski [Thu, 13 Sep 2012 12:25:42 +0000 (14:25 +0200)]
[2231] Corrected validation ranges for timeouts.
Marcin Siodelski [Sun, 2 Sep 2012 15:45:17 +0000 (17:45 +0200)]
[1960] Code cleanup.
Marcin Siodelski [Fri, 31 Aug 2012 07:29:09 +0000 (09:29 +0200)]
[1960] Print packet timestamps if diagnostics flag 't' specified.
Marcin Siodelski [Thu, 13 Sep 2012 11:54:57 +0000 (13:54 +0200)]
[1960] Print packet templates if -T flag specified.
Marcin Siodelski [Thu, 13 Sep 2012 11:23:00 +0000 (13:23 +0200)]
[1960] Calculate late received packets.
Marcin Siodelski [Thu, 13 Sep 2012 11:03:57 +0000 (13:03 +0200)]
[1960] Differentiate program exit codes.