]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Tue, 25 Sep 2012 22:49:27 +0000 (15:49 -0700)]
[2282] also pass RRClass to InMemoryZoneFinder::Context
JINMEI Tatuya [Tue, 25 Sep 2012 22:39:17 +0000 (15:39 -0700)]
[2282] extend finder result context so it contains RdataSet
also hide it as much as possible. ZoneFinderResultContext is basically
private to zone_finder.cc and doesn't have to be defined in .h.
Jelte Jansen [Tue, 25 Sep 2012 22:31:28 +0000 (00:31 +0200)]
[2254] added more tests
Jelte Jansen [Tue, 25 Sep 2012 21:59:40 +0000 (23:59 +0200)]
[2254] change exception type
and add comment to tests
JINMEI Tatuya [Tue, 25 Sep 2012 21:43:03 +0000 (14:43 -0700)]
[2282] Merge branch 'trac2219' into trac2282
JINMEI Tatuya [Tue, 25 Sep 2012 21:34:27 +0000 (14:34 -0700)]
[2218] some more editorial fixes
Jelte Jansen [Tue, 25 Sep 2012 21:14:22 +0000 (23:14 +0200)]
[2254] refactor tab-completion for identifiers
removed all word-boundary values except whitespace (so that we no longer have to to magic to replace things around the / character, and other possible characters used in identifiers)
Pulled out the identifier-hints collection (and added tests for those)
Marcin Siodelski [Tue, 25 Sep 2012 20:36:46 +0000 (22:36 +0200)]
[master] Added virtual destructor.
Fixes GCC 4.1.3 warning about the class having virtual functions and
non-virtual constructor. Okayed on jabber.
Marcin Siodelski [Tue, 25 Sep 2012 20:13:38 +0000 (22:13 +0200)]
[1960] The command line 'server' argument is printed.
Marcin Siodelski [Tue, 25 Sep 2012 19:55:54 +0000 (21:55 +0200)]
[1960] Compare streampos values instead streampos to int.
JINMEI Tatuya [Tue, 25 Sep 2012 18:00:52 +0000 (11:00 -0700)]
[2218] add suggested comment about the rationale of uint32_t for node_count_.
JINMEI Tatuya [Tue, 25 Sep 2012 17:56:19 +0000 (10:56 -0700)]
[2218] style fix: combine two short lines
JINMEI Tatuya [Tue, 25 Sep 2012 17:19:59 +0000 (10:19 -0700)]
[2218] define the default ctor for TestNSEC3HashCreator.
clang requires it to construct a const object of it.
Tomek Mrugalski [Tue, 25 Sep 2012 16:26:37 +0000 (18:26 +0200)]
[2269] Configuration parser for DHCPv6 implemented.
Marcin Siodelski [Tue, 25 Sep 2012 14:11:20 +0000 (16:11 +0200)]
[master] Merge branch 'trac2272'
Marcin Siodelski [Tue, 25 Sep 2012 14:07:24 +0000 (16:07 +0200)]
[2187] Do not print interfaces when they are detected.
Marcin Siodelski [Tue, 25 Sep 2012 14:06:06 +0000 (16:06 +0200)]
[2187] Throw exception if packet sending failed.
Marcin Siodelski [Tue, 25 Sep 2012 13:41:17 +0000 (15:41 +0200)]
[2187] Throw exception if failed to receive data through the socket.
Marcin Siodelski [Tue, 25 Sep 2012 12:58:47 +0000 (14:58 +0200)]
[1960] Moved static consts out of the TestControl class.
Having static consts inside of the class causes linking errors on Mac/GCC.
Michal 'vorner' Vaner [Tue, 25 Sep 2012 12:57:32 +0000 (14:57 +0200)]
[2189] Links to the TSIG chapter
Michal 'vorner' Vaner [Tue, 25 Sep 2012 12:17:34 +0000 (14:17 +0200)]
[2189] Document TSIG keyring
Marcin Siodelski [Tue, 25 Sep 2012 12:09:54 +0000 (14:09 +0200)]
[2187] Throw exception in case of error when opening socket.
Naoki Kambe [Tue, 25 Sep 2012 09:44:00 +0000 (18:44 +0900)]
[master] Changelog for #2222
Naoki Kambe [Tue, 25 Sep 2012 09:39:45 +0000 (18:39 +0900)]
[master] Merge branch 'trac2222'
Naoki Kambe [Tue, 25 Sep 2012 09:25:51 +0000 (18:25 +0900)]
[2222] removed axfr_running checking after starting transferring
As result of the review on #2222, we agreed that that test doesn't make sense.
We can observe increased axfr_running only in a situation that transferring
takes longer than one second. In this lettuce situation, transferring would be
done in shorter than one second. So that test was removed.
Michal 'vorner' Vaner [Tue, 25 Sep 2012 09:05:31 +0000 (11:05 +0200)]
[2191] Removed deprecated test from python version
The load of empty list is no longer invalid.
Michal 'vorner' Vaner [Tue, 25 Sep 2012 09:01:00 +0000 (11:01 +0200)]
[2191] Remove link to the bug from docs
As the bug should be solved here, it is no longer necessary to say the
thing doesn't work.
Michal 'vorner' Vaner [Tue, 25 Sep 2012 08:57:05 +0000 (10:57 +0200)]
[2191] Allow abbreviated form of ACLs
Marcin Siodelski [Tue, 25 Sep 2012 08:33:42 +0000 (10:33 +0200)]
[2187] Removed informational cout statements.
Marcin Siodelski [Tue, 25 Sep 2012 08:03:05 +0000 (10:03 +0200)]
[1960] Corrected typos.
Mukund Sivaraman [Tue, 25 Sep 2012 07:15:19 +0000 (12:45 +0530)]
[2218] Add comment about use in testing for findZoneData()
Mukund Sivaraman [Mon, 24 Sep 2012 22:38:49 +0000 (04:08 +0530)]
[2218] Remove duplicate code from old memory datasrc test
Though it strictly has nothing to do with this branch, this was the
reason there was code duplication in #2109 to begin with.
Mukund Sivaraman [Mon, 24 Sep 2012 21:55:05 +0000 (03:25 +0530)]
[2218] Remove NSEC3CalculateFn in InMemoryZoneFinder
Instead, use the facilities provided by isc::dns::NSEC3Hash and
the TestNSEC3HashCreator in fake_nsec3.cc.
Mukund Sivaraman [Mon, 24 Sep 2012 21:20:41 +0000 (02:50 +0530)]
[2218] Add a NSEC3Hash::create() variant to take hash params as args
JINMEI Tatuya [Mon, 24 Sep 2012 21:06:39 +0000 (14:06 -0700)]
[master] editorial: folded a long line.
JINMEI Tatuya [Mon, 24 Sep 2012 19:54:25 +0000 (12:54 -0700)]
[2219] style fix: indententation
JINMEI Tatuya [Mon, 24 Sep 2012 19:49:40 +0000 (12:49 -0700)]
[2219] clarify the special case of InMemoryZoneFinder::getOrigin() in comments.
JINMEI Tatuya [Mon, 24 Sep 2012 19:47:13 +0000 (12:47 -0700)]
[2219] Revert "avoid redundant initial configuration for data sources."
According to review discussion.
This reverts commit
a61af89b9799857a955e5e0b7b04b1f273dd63ab .
Stephen Morris [Mon, 24 Sep 2012 18:15:39 +0000 (19:15 +0100)]
[1960] Added missing "return" to CommandOptionsTest::process()
Stephen Morris [Mon, 24 Sep 2012 18:03:04 +0000 (19:03 +0100)]
[1960] Corrected typos etc. in some comments
Marcin Siodelski [Mon, 24 Sep 2012 17:14:27 +0000 (19:14 +0200)]
[2272] Throw exception if allocation with new fails.
Marcin Siodelski [Mon, 24 Sep 2012 10:22:34 +0000 (12:22 +0200)]
[1960] Support spaces in packet template files.
With this commit the unit testing for packet templates is improved.
Jelte Jansen [Mon, 24 Sep 2012 08:38:38 +0000 (10:38 +0200)]
[2254] cleanup and one extra test
Jelte Jansen [Mon, 24 Sep 2012 07:47:20 +0000 (09:47 +0200)]
[master] Update changelog for merge of #2190
Jelte Jansen [Mon, 24 Sep 2012 07:44:14 +0000 (09:44 +0200)]
[master] Merge remote-tracking branch 'origin/trac2190'
Mukund Sivaraman [Mon, 24 Sep 2012 07:07:55 +0000 (12:37 +0530)]
[2218] Update message used in throw
Mukund Sivaraman [Mon, 24 Sep 2012 07:07:41 +0000 (12:37 +0530)]
[2218] Check for zero length salts when NSEC3PARAM is processed during load
Mukund Sivaraman [Mon, 24 Sep 2012 07:07:14 +0000 (12:37 +0530)]
[2218] Call setSigned(true) when NSEC3Data is set
Mukund Sivaraman [Mon, 24 Sep 2012 07:06:16 +0000 (12:36 +0530)]
[2218] Process NSEC3PARAM type RRsets in test setup
Mukund Sivaraman [Mon, 24 Sep 2012 06:33:13 +0000 (12:03 +0530)]
[2218] Add an assertion that getNSEC3Data() returns a valid object
Mukund Sivaraman [Mon, 24 Sep 2012 06:18:26 +0000 (11:48 +0530)]
[2218] Add a createNSEC3RRset() and remove code duplication
Mukund Sivaraman [Mon, 24 Sep 2012 06:08:43 +0000 (11:38 +0530)]
[2218] Document findNSEC3Walk test
Mukund Sivaraman [Mon, 24 Sep 2012 06:02:05 +0000 (11:32 +0530)]
[2218] Document NSEC3 test data structure
Mukund Sivaraman [Mon, 24 Sep 2012 05:57:18 +0000 (11:27 +0530)]
[2218] Update comment for InMemoryZoneFinderNSEC3Test
Mukund Sivaraman [Mon, 24 Sep 2012 05:53:06 +0000 (11:23 +0530)]
[2218] Remove bogus comment (left after copy)
Mukund Sivaraman [Mon, 24 Sep 2012 05:51:14 +0000 (11:21 +0530)]
[2218] Fix NSEC3 RDATA check when salt length is 0
Naoki Kambe [Mon, 24 Sep 2012 04:41:50 +0000 (13:41 +0900)]
[2222] changed the misleading method name
Naoki Kambe [Mon, 24 Sep 2012 04:32:15 +0000 (13:32 +0900)]
[2222] updated the comment to be detailed
Naoki Kambe [Mon, 24 Sep 2012 04:24:18 +0000 (13:24 +0900)]
[2222] changed to check the counter exactly incremented to one
Naoki Kambe [Mon, 24 Sep 2012 04:22:07 +0000 (13:22 +0900)]
[2222] removed checking self._counter_xfrrej isn't `None`
Because self._counter_xfrrej is no longer assigned to `None` as a
default in the constructor.
Naoki Kambe [Mon, 24 Sep 2012 05:03:44 +0000 (14:03 +0900)]
[2222] corrected the comment according to what the code does
Naoki Kambe [Mon, 24 Sep 2012 02:46:27 +0000 (11:46 +0900)]
[2222] expanded the lambda statement to the normal method definition
Naoki Kambe [Mon, 24 Sep 2012 02:43:12 +0000 (11:43 +0900)]
[2222] simplified complicated assignment of `incrementer`
Mukund Sivaraman [Mon, 24 Sep 2012 05:41:47 +0000 (11:11 +0530)]
[2218] Remove obsolete comment
Mukund Sivaraman [Mon, 24 Sep 2012 05:41:26 +0000 (11:11 +0530)]
[2218] Rename InMemoryClient::findZone2() to ::findZoneData()
Also make it non-const and non-virtual.
Mukund Sivaraman [Mon, 24 Sep 2012 05:24:54 +0000 (10:54 +0530)]
[2218] Change node and level count types from size_t to uint32_t
Ideally, size_t should be used for most kinds of memory sizes, but in
this case, we are trying to keep down the size of a DomainTree object.
Mukund Sivaraman [Mon, 24 Sep 2012 05:15:09 +0000 (10:45 +0530)]
[2218] Make some DomainTreeNode methods private again
isSubTreeRoot(), getSubTreeRoot() and getLargestInSubTree() were made
private again.
Mukund Sivaraman [Mon, 24 Sep 2012 05:06:28 +0000 (10:36 +0530)]
[2218] Use alternate DomainTree methods to get the covering node
This avoids the use of predecessor() and successor() and
getLargestInSubTree(), and uses previousNode() and largestNode()
instead.
Mukund Sivaraman [Mon, 24 Sep 2012 05:05:09 +0000 (10:35 +0530)]
[2218] Add DomainTree::largestNode() to return the largest node in tree-of-trees
There was an old version of this method, but that was buggy.
Mukund Sivaraman [Mon, 24 Sep 2012 05:00:33 +0000 (10:30 +0530)]
[2218] Rearrange method in domaintree.h
JINMEI Tatuya [Sat, 22 Sep 2012 05:53:35 +0000 (22:53 -0700)]
[2219] cover a minor case: zone finder's getOrigin() with non absolute label.
JINMEI Tatuya [Fri, 21 Sep 2012 23:18:03 +0000 (16:18 -0700)]
[2219] moved in-memory unit tests under datasrc/tests to resolve dependency.
the tests now depend on libdatasrc, while libdatasrc needs memory.la.
so we need to build any tests after building all libraries.
JINMEI Tatuya [Fri, 21 Sep 2012 22:39:35 +0000 (15:39 -0700)]
[2219] removed memory_datasrc.cc from b10-auth's Makefile.am's.
we don't need it any more.
JINMEI Tatuya [Fri, 21 Sep 2012 22:36:35 +0000 (15:36 -0700)]
[2219] workaround: avoid redundant initial configuration for data sources.
it can take unnecessarily long if in-memory cache contains a large zone.
JINMEI Tatuya [Fri, 21 Sep 2012 22:19:12 +0000 (15:19 -0700)]
[2219] cleanup: removed a redundant toText() in log arg.
JINMEI Tatuya [Fri, 21 Sep 2012 22:11:13 +0000 (15:11 -0700)]
[2219] bug fix: corrected too-string validity check in lblseq constructor.
offset values can actually be larger than max_labellen (63). we should have
check label length field of the name data. added tests that would trigger
this bug.
JINMEI Tatuya [Fri, 21 Sep 2012 19:47:11 +0000 (12:47 -0700)]
[2218] some more trivial cleanups
JINMEI Tatuya [Fri, 21 Sep 2012 18:40:16 +0000 (11:40 -0700)]
[2218] avoid initializing nsec3_hash_map namespace scope to avoid fiasco.
Marcin Siodelski [Fri, 21 Sep 2012 18:04:17 +0000 (20:04 +0200)]
[1960] Added comments why testing CommandOptions::isUseFirst().
Marcin Siodelski [Fri, 21 Sep 2012 17:50:13 +0000 (19:50 +0200)]
[1960] Fixed some comments in test_control.h.
Marcin Siodelski [Fri, 21 Sep 2012 17:42:05 +0000 (19:42 +0200)]
[1960] Add EXPECT_NO_THROW when parsing perfdhcp command line.
Marcin Siodelski [Fri, 21 Sep 2012 17:32:08 +0000 (19:32 +0200)]
[1960] Remove unused CLOCK_GETTIME_LDFLAGS and HAVE_GETIFADDRS.
The refactored code neither uses clock_gettime nor HAVE_GETIFADDRS.
Marcin Siodelski [Fri, 21 Sep 2012 17:19:04 +0000 (19:19 +0200)]
[1960] Fixed doxygen documentation.
Tomek Mrugalski [Fri, 21 Sep 2012 17:11:58 +0000 (19:11 +0200)]
Merge branch 'trac2238' into trac2269
Tomek Mrugalski [Fri, 21 Sep 2012 17:01:14 +0000 (19:01 +0200)]
[2238] Pool, Subnet and Triplet moved to separate files.
Tomek Mrugalski [Fri, 21 Sep 2012 16:45:21 +0000 (18:45 +0200)]
[2238] Changes after review.
Marcin Siodelski [Fri, 21 Sep 2012 16:22:45 +0000 (18:22 +0200)]
[2272] Added changes based on the code review.
Jelte Jansen [Fri, 21 Sep 2012 15:00:24 +0000 (17:00 +0200)]
[2254] fix 'config remove Boss' crash
now shows a (admittedly rather cryptic) error
Jelte Jansen [Fri, 21 Sep 2012 14:57:35 +0000 (16:57 +0200)]
[2254] Fix tab-completion in lists
Marcin Siodelski [Fri, 21 Sep 2012 14:46:44 +0000 (16:46 +0200)]
[1960] Implemented changes suggested in code review.
Jelte Jansen [Fri, 21 Sep 2012 13:32:50 +0000 (15:32 +0200)]
[2254] remove 'argument' and 'identifier' from tab hints
These are needed to work with the way bindctl originally handled commands, but should not appear in normal tab-completion
Tomek Mrugalski [Fri, 21 Sep 2012 13:06:06 +0000 (15:06 +0200)]
Merge branch 'master' into trac2238
Conflicts:
ChangeLog
src/lib/dhcp/tests/Makefile.am
Tomek Mrugalski [Fri, 21 Sep 2012 12:21:58 +0000 (14:21 +0200)]
[2269] dhcp6.spec update, documentation written
Michal 'vorner' Vaner [Fri, 21 Sep 2012 10:57:24 +0000 (12:57 +0200)]
Changelog for #1375
Michal 'vorner' Vaner [Fri, 21 Sep 2012 10:39:48 +0000 (12:39 +0200)]
Merge #1357
Mukund Sivaraman [Fri, 21 Sep 2012 09:41:33 +0000 (15:11 +0530)]
[2218] Combine blocks
Mukund Sivaraman [Fri, 21 Sep 2012 08:01:26 +0000 (13:31 +0530)]
[2218] Add recursive findNSEC3() tests
Mukund Sivaraman [Fri, 21 Sep 2012 07:33:00 +0000 (13:03 +0530)]
[2218] Remove duplicate copies of NSEC3 data
Mukund Sivaraman [Fri, 21 Sep 2012 07:10:48 +0000 (12:40 +0530)]
[2218] Add trace when walking the tree
Michal 'vorner' Vaner [Fri, 21 Sep 2012 06:57:52 +0000 (08:57 +0200)]
[1357] Test nothing is committed on error