]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Thu, 23 Aug 2012 20:38:19 +0000 (13:38 -0700)]
[2138] editorial fix: combine two short lines
JINMEI Tatuya [Thu, 23 Aug 2012 20:10:01 +0000 (13:10 -0700)]
[2100] prohibit overriding original data on LabelSequence::serialize.
added a test case for it and updated the doc.
rbtree/domaintree was modified to avoid such operations.
Tomek Mrugalski [Thu, 23 Aug 2012 16:39:49 +0000 (18:39 +0200)]
[2140] LeaseMgr improvements.
JINMEI Tatuya [Thu, 23 Aug 2012 16:27:46 +0000 (09:27 -0700)]
[2100] use boost::noncopyable to make the class noncopyable by convention
Jelte Jansen [Thu, 23 Aug 2012 15:57:15 +0000 (17:57 +0200)]
[2100] update copyright year in new files
Michal 'vorner' Vaner [Thu, 23 Aug 2012 14:26:43 +0000 (16:26 +0200)]
[2096] Use the reader for more tests
Michal 'vorner' Vaner [Thu, 23 Aug 2012 14:03:52 +0000 (16:03 +0200)]
[2096] Avoid static initialization
Michal 'vorner' Vaner [Thu, 23 Aug 2012 13:58:45 +0000 (15:58 +0200)]
[2096] Use void*, not uint8_t*
As we want to make the impression the data is opaque, should not be
examined or pointed into the middle of it.
Michal 'vorner' Vaner [Thu, 23 Aug 2012 13:52:38 +0000 (15:52 +0200)]
[2096] Comment cleanup
Jelte Jansen [Thu, 23 Aug 2012 13:45:09 +0000 (15:45 +0200)]
[2100] remove 'unused' table variable
my compiler even checks assignment-only variables, apparently
Jeremy C. Reed [Thu, 23 Aug 2012 13:29:08 +0000 (08:29 -0500)]
[master] punctuation fix
Michal 'vorner' Vaner [Thu, 23 Aug 2012 12:57:48 +0000 (14:57 +0200)]
[2096] Restore test for rewind
During the removal of the interface, a test with rewind was removed.
Adding a new one instead.
Michal 'vorner' Vaner [Thu, 23 Aug 2012 12:35:21 +0000 (14:35 +0200)]
[2096] Documentation & cleanup
After the removal of one interface.
Michal 'vorner' Vaner [Thu, 23 Aug 2012 12:17:04 +0000 (14:17 +0200)]
[2096] Test for iteration over single Rdatas
Also, fixing a small bug for it.
Michal 'vorner' Vaner [Thu, 23 Aug 2012 11:58:22 +0000 (13:58 +0200)]
[2096] Remove the manual iteration interface from RdataReader
The return value of next() tells only what boundary it is now (between
Rdatas, in the middle of one rdata, or completely at the end).
As a side effect, it now can detect end of single rdata.
Part of the tests were dropped, as they make no sense. Others were
adapted. Some more will come.
Also, documentation was not yet updated.
Kazunori Fujiwara [Thu, 23 Aug 2012 10:39:37 +0000 (19:39 +0900)]
[2138] removed unnecessary class StatisticsIntervalConfigTest
from config_unittest.cc
Kazunori Fujiwara [Thu, 23 Aug 2012 10:24:44 +0000 (19:24 +0900)]
[2138] Removed logging when auth processes "getstats" command.
Kazunori Fujiwara [Thu, 23 Aug 2012 10:01:50 +0000 (19:01 +0900)]
[2138] removed "statistics-iterval" configration from system tests
Kazunori Fujiwara [Thu, 23 Aug 2012 07:11:37 +0000 (16:11 +0900)]
[2138] added changelog
JINMEI Tatuya [Thu, 23 Aug 2012 07:08:12 +0000 (00:08 -0700)]
[2107] missing header file in SOURCES
JINMEI Tatuya [Thu, 23 Aug 2012 06:51:02 +0000 (23:51 -0700)]
[2107] overall documentation update, and adjusted some interfaces
Mukund Sivaraman [Thu, 23 Aug 2012 04:12:28 +0000 (09:42 +0530)]
[master] Fix Valgrind report about mismatched new/delete
Mukund Sivaraman [Thu, 23 Aug 2012 04:08:15 +0000 (09:38 +0530)]
[master] Print buffer size passed to setsockopt()
This will be useful in debugging the OpenBSD setsockopt() failures.
Mukund Sivaraman [Thu, 23 Aug 2012 03:49:37 +0000 (09:19 +0530)]
[2165] updater.delete_rrset no longer raises (as there are no attached RRSIGs now)
Mukund Sivaraman [Thu, 23 Aug 2012 03:21:40 +0000 (08:51 +0530)]
[2165] Stop RRSIGs from being added in getRRsets() itself
... instead of stripping them later.
JINMEI Tatuya [Thu, 23 Aug 2012 00:02:23 +0000 (17:02 -0700)]
[2107] supported the concept of dnssec-signed and nsec3-signed
JINMEI Tatuya [Wed, 22 Aug 2012 21:54:35 +0000 (14:54 -0700)]
[2107] added get/set NSEC3Data
JINMEI Tatuya [Wed, 22 Aug 2012 21:35:03 +0000 (14:35 -0700)]
[2107] check the installed RdataSet can be found
JINMEI Tatuya [Wed, 22 Aug 2012 21:33:40 +0000 (14:33 -0700)]
[2107] added a utility findRdataSetOfType function.
it will primarily be used for tests in this ticket, but I expect we'll
need them in the main code in later tasks.
JINMEI Tatuya [Wed, 22 Aug 2012 20:05:59 +0000 (13:05 -0700)]
[2107] unified NSEC3Data and ZoneData test cases
JINMEI Tatuya [Wed, 22 Aug 2012 19:59:23 +0000 (12:59 -0700)]
[2107] introduce NSEC3Data::insertName() and test adding NSEC3 rdataset
JINMEI Tatuya [Wed, 22 Aug 2012 19:29:27 +0000 (12:29 -0700)]
[2107] supported the creation of NSEC3Data from NSEC3 rdata.
Tomek Mrugalski [Wed, 22 Aug 2012 16:46:38 +0000 (18:46 +0200)]
[2140] Initial skeleton for Lease manager.
Jelte Jansen [Wed, 22 Aug 2012 08:44:09 +0000 (10:44 +0200)]
[2178] add another correct zone to the test
Jelte Jansen [Wed, 22 Aug 2012 07:21:59 +0000 (09:21 +0200)]
[2178] better error log on masterfile parse problems
- add zone and file names to masterload errors
- catch masterload error and log it
- don't quit auth completely on a single zone load failure
Mukund Sivaraman [Wed, 22 Aug 2012 04:08:25 +0000 (09:38 +0530)]
[2165] Don't strip RRSIGs from DNSSEC rrsets
Tomek Mrugalski [Wed, 22 Aug 2012 03:09:49 +0000 (05:09 +0200)]
[2040] DHCP benchmarks now compile on Mac OS
Mukund Sivaraman [Wed, 22 Aug 2012 02:52:54 +0000 (08:22 +0530)]
[2165] Remove RRSIG filtering code from getAdditionalAddrs()
Do it in the database data source itself. We also adjust doFindTest()
so that we only check for returned RRSIGs if FIND_DNSSEC option is
specified. Otherwise we assert that no RRSIGs are returned by find().
Mukund Sivaraman [Wed, 22 Aug 2012 02:50:38 +0000 (08:20 +0530)]
[2165] Check for NULL rrsets in stripRRsigs() itself
This will also be useful in the next commit.
JINMEI Tatuya [Wed, 22 Aug 2012 02:14:01 +0000 (19:14 -0700)]
[2107] more NSEC3Data creation tests, handling empty salt correctly.
JINMEI Tatuya [Wed, 22 Aug 2012 01:48:01 +0000 (18:48 -0700)]
[2107] make NSEC3Data::create() exception safe.
JINMEI Tatuya [Wed, 22 Aug 2012 01:40:58 +0000 (18:40 -0700)]
[2107] added NSEC3Data
JINMEI Tatuya [Wed, 22 Aug 2012 00:52:42 +0000 (17:52 -0700)]
[2107] make ZoneData::create() exception safe.
copied (with some modification) object holder and test memory segment
from #2100. They should be unified when this branch and #2100 are merged.
JINMEI Tatuya [Tue, 21 Aug 2012 22:25:07 +0000 (15:25 -0700)]
[2107] cleanup: RdataSetDeleter{} which is not needed any more
JINMEI Tatuya [Tue, 21 Aug 2012 21:43:34 +0000 (14:43 -0700)]
[2107] reorder parameters of ZoneData::destroy() for consistency
JINMEI Tatuya [Tue, 21 Aug 2012 19:18:46 +0000 (12:18 -0700)]
[2107] test the case of adding some RdataSets as node data
also now make sure all linked RdataSets are released.
JINMEI Tatuya [Tue, 21 Aug 2012 18:36:44 +0000 (11:36 -0700)]
[2138] revised exceptionGuarantee test so it will actually modify state once.
JINMEI Tatuya [Tue, 21 Aug 2012 17:52:01 +0000 (10:52 -0700)]
[2138] made the comment for AuthCommandTest::getStats more sense.
JINMEI Tatuya [Tue, 21 Aug 2012 17:47:14 +0000 (10:47 -0700)]
[2138] changed the return type of getStatistics to const pointer.
so we can consistently use const versions.
JINMEI Tatuya [Tue, 21 Aug 2012 17:38:13 +0000 (10:38 -0700)]
[2138] added suggested revised doc for AuthCommand::exec().
Mukund Sivaraman [Tue, 21 Aug 2012 16:45:32 +0000 (22:15 +0530)]
[2165] Remove multiple copies of the same code
JINMEI Tatuya [Tue, 21 Aug 2012 16:49:01 +0000 (09:49 -0700)]
[2138] editorial: removed redundant spaces
JINMEI Tatuya [Tue, 21 Aug 2012 16:46:50 +0000 (09:46 -0700)]
[2138] updates the latest branch with fixing conflict with my local changes.
Mukund Sivaraman [Tue, 21 Aug 2012 16:28:00 +0000 (21:58 +0530)]
[2165] Fix NSEC3 tests to expect RRSIGs in some more cases
Tomek Mrugalski [Tue, 21 Aug 2012 16:27:43 +0000 (18:27 +0200)]
[2040] cppcheck warnings removed in mysql_ubench
Tomek Mrugalski [Tue, 21 Aug 2012 16:23:06 +0000 (18:23 +0200)]
[2040] DHCP Performance Guide was updated.
Tomek Mrugalski [Tue, 21 Aug 2012 16:09:59 +0000 (18:09 +0200)]
[2040] Compiled statements for sqlite_ubench
Marcin Siodelski [Tue, 21 Aug 2012 15:18:30 +0000 (17:18 +0200)]
[1959] Print overall rate statistics.
Tomek Mrugalski [Tue, 21 Aug 2012 15:00:46 +0000 (17:00 +0200)]
[2040] Compiled statement for INSERT in SQLite.
Marcin Siodelski [Tue, 21 Aug 2012 13:17:14 +0000 (15:17 +0200)]
[1959] Send request messages to server and corresponding unit tests.
Tomek Mrugalski [Tue, 21 Aug 2012 11:01:57 +0000 (13:01 +0200)]
[2040] mysql_ubech: converted one missed member variable to lower-case.
Kazunori Fujiwara [Tue, 21 Aug 2012 09:19:02 +0000 (18:19 +0900)]
[2138] bind10-gude.xml update and comment update
Kazunori Fujiwara [Tue, 21 Aug 2012 08:49:44 +0000 (17:49 +0900)]
[2138] update from jinmei's review
[2138] max number of columns (79)
[2138] recovered TEST_F(AuthConfigTest, exceptionGuarantee)
to use server.setListenAddresses().
JINMEI Tatuya [Tue, 21 Aug 2012 07:05:41 +0000 (00:05 -0700)]
[2107] revised tree-data deleter mechanism: we now pass deleter to destroy.
...instead of give its type as a class template parameter and instantiate
it within the tree. it won't work (well) for ZoneData, because we need
to know the RR class to delete RdataSet (which is the data type for
ZoneData tree), but there's no way to tell the RR class about it.
A good side effect of this change is that we now don't have to link
the memory segment for the tree and its nodes with the zone data
(although in practice it's quite likely to use the same segment for
all of them).
I also updated setData() (further from #2100); it now doesn't even delete
any existing data. This is partly relaetd to the above change on
deleter - we cannot instantiate the deleter within this method. We could
pass the deleter as a parameter, but, actually, in the case of ZoneData
we wouldn't have to delete the data; when setData() encounters existing
data, it's more likely that ZoneData tries to extend the RdataSet list.
It makes more sense to let ZoneData manage all data, including when to
delete them.
(although not absolutely necessary) I also changed the type of deleter
in the domain tree test to highlight we could use a plain old function
instead of a functor object.
change size is big, but most of the changes are trivial conversion
from something like <T, DT> to <T>.
Mukund Sivaraman [Tue, 21 Aug 2012 01:13:27 +0000 (06:43 +0530)]
[2165] Fix NSEC3 tests to expect RRSIGs in some cases
JINMEI Tatuya [Tue, 21 Aug 2012 00:12:54 +0000 (17:12 -0700)]
[2107] test refactoring: create test zone data in the test ctor.
so we can reuse the same data for each fixture.
JINMEI Tatuya [Tue, 21 Aug 2012 00:06:43 +0000 (17:06 -0700)]
[2107] make sure zone data is created with the origin name.
added getOrigiNode() to get access to the origin node.
JINMEI Tatuya [Mon, 20 Aug 2012 23:59:08 +0000 (16:59 -0700)]
[2107] (unrelated) added operator==() to LabelSequence.
so I can use the LabelSequence objects in EXPECT_EQ().
also fixed a minor error in doxygen comment in equals().
JINMEI Tatuya [Mon, 20 Aug 2012 23:16:31 +0000 (16:16 -0700)]
[2107] initial framework for ZoneData.
right now, only simple create/destry are supported (and they are not 100% safe
yet).
JINMEI Tatuya [Mon, 20 Aug 2012 22:48:41 +0000 (15:48 -0700)]
[2107] make sure domain-tree nodes store data pointers as offset_ptrs.
not directly related to this branch, but we'll eventually need this.
the change is purely local to the domaintree.h; no need to update tests.
Mukund Sivaraman [Mon, 20 Aug 2012 22:20:47 +0000 (03:50 +0530)]
[2165] Strip RRSIGs in MockZoneFinder when DNSSEC find option is not specified
JINMEI Tatuya [Mon, 20 Aug 2012 22:07:40 +0000 (15:07 -0700)]
[2107] Merge branch 'trac2097' into trac2107
JINMEI Tatuya [Mon, 20 Aug 2012 21:31:45 +0000 (14:31 -0700)]
[2138] style fixes: folded long lines, and adjusted brace poitns if necessary.
Mukund Sivaraman [Mon, 20 Aug 2012 20:43:59 +0000 (02:13 +0530)]
[2165] Strip RRSIGs from addditional records in DB datasource when DNSSEC is not asked
Mukund Sivaraman [Mon, 20 Aug 2012 20:17:13 +0000 (01:47 +0530)]
[2165] Don't add another copy of RRSIGs to the actual rrsets
Mukund Sivaraman [Mon, 20 Aug 2012 19:27:31 +0000 (00:57 +0530)]
[2165] Strip RRSIGs from addditional records in memory datasource when DNSSEC is not asked
* In the case of the ZoneFinderContextTest.getAdditionalWithSIG test,
the RRSIGs are expected as ZoneFinder::FIND_DNSSEC is specified.
Tomek Mrugalski [Mon, 20 Aug 2012 17:50:59 +0000 (19:50 +0200)]
[2040] compiled statements in MySQL benchmarks added for UPDATE and DELETE
Tomek Mrugalski [Mon, 20 Aug 2012 17:31:28 +0000 (19:31 +0200)]
[2040] compiled statements in MySQL benchmarks added for INSERT and SELECT
Tomek Mrugalski [Mon, 20 Aug 2012 14:24:26 +0000 (16:24 +0200)]
[2040] Changes after review
- member variables are now lower-case with trailing underscore
- hit ratio is now member of the base class
- missing dependency in Makefile added
Tomek Mrugalski [Mon, 20 Aug 2012 13:40:37 +0000 (15:40 +0200)]
[2040] All benchmark classes are now documented.
Tomek Mrugalski [Mon, 20 Aug 2012 11:52:05 +0000 (13:52 +0200)]
[2040] Benchmark.cc is now properly documented.
Naoki Kambe [Fri, 17 Aug 2012 07:37:49 +0000 (16:37 +0900)]
[2158] added a ChangeLog entry for #2158
Naoki Kambe [Fri, 17 Aug 2012 06:12:23 +0000 (15:12 +0900)]
[2158] updated the manpage of b10-xfrout
- added statistics counters and their descriptions
- added description about the zone name "_SERVER_"
Naoki Kambe [Fri, 17 Aug 2012 06:10:31 +0000 (15:10 +0900)]
[2158] updated the xfrin_notify_handling feature
- querying each statistics counter of the b10-xfrout daemon
- checking correct values of the counters and no errors after querying
- added waiting for some events in the debug log
- added a similar scenario that xfrin requests are rejected in order to check
value of the counter xfrrej
Naoki Kambe [Fri, 17 Aug 2012 05:42:29 +0000 (14:42 +0900)]
[2158] added the lettuce step methods for statistics
- added the two step methods and a helper method
That is intended for querying statistics counters via bindctl and for
checking whether the returned values of the counters are exactly expected
ones.
Naoki Kambe [Fri, 17 Aug 2012 05:33:56 +0000 (14:33 +0900)]
[2158] updated the lettuce test suite
- introduced the b10-stats daemon running in the lettuce test suite "Xfrin
incoming notify handling"
- renamed retransfer_master.conf to retransfer_master.conf.orig because of the
config change in the lettuce suite
Naoki Kambe [Fri, 17 Aug 2012 05:20:08 +0000 (14:20 +0900)]
[2158] updated unittest for checking the notification counters
- updated the mock classes for testing counters
- added tests of each counter with a specified zone name
Naoki Kambe [Fri, 17 Aug 2012 06:40:07 +0000 (15:40 +0900)]
[2158] updated the NotifyOut class for counting notifications
- added setting up the counter handlers for IPv4 and IPv6
- added counting notifications in the NotifyOut class
- fixed a trivial typo
Naoki Kambe [Fri, 17 Aug 2012 05:10:54 +0000 (14:10 +0900)]
[2158] updated unittest of Xfrout
- updated the mock classes for testing counters
- added tests checking each counter exactly incrementing
- added tests for the XfroutCounter class
- added a test for handling the getstats command
Naoki Kambe [Fri, 17 Aug 2012 06:38:18 +0000 (15:38 +0900)]
[2158] updated for counting xfr requests
- added the new class XfroutCounter
It is intended for producing incrementers of the counters based on the
statistics spec and for outputting statistics data format to passed to the
b10-stats daemon.
- added counter handlers passed to the NotifyOut object and the XfroutSession
object
- added handling of the getstats command
- added counting xfr requests in the XfroutSession class
- updated the UnixSockServer class for taking over the counter handlers
Naoki Kambe [Fri, 17 Aug 2012 04:50:52 +0000 (13:50 +0900)]
[2158] added a new message id for logging
It would be logged when b10-xfrout receives the "getstats" command from the
b10-stats daemon.
Naoki Kambe [Fri, 17 Aug 2012 04:46:16 +0000 (13:46 +0900)]
[2158] updated the specification file of Xfrout
added a definition of per-zone counters: notifyoutv4, notifyoutv6, xfrrej, and
xfrreqdone.
Naoki Kambe [Mon, 20 Aug 2012 05:59:19 +0000 (14:59 +0900)]
[2158] Merge branch 'trac2179' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2158
Conflicts:
ChangeLog
Naoki Kambe [Mon, 20 Aug 2012 05:58:39 +0000 (14:58 +0900)]
[2158] Merge branch 'trac2136' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2158
Conflicts:
tests/system/bindctl/nsx1/b10-config.db.template.in
Mukund Sivaraman [Fri, 17 Aug 2012 07:41:35 +0000 (13:11 +0530)]
[master] Fix leaks in newly added RRset unittests
Jeremy C. Reed [Thu, 16 Aug 2012 23:17:44 +0000 (18:17 -0500)]
[master] bump version
JINMEI Tatuya [Thu, 16 Aug 2012 21:57:40 +0000 (14:57 -0700)]
[master] add 'git' to git hashes per convention.
Jeremy C. Reed [Thu, 16 Aug 2012 19:09:57 +0000 (14:09 -0500)]
[master] mention removed command options for hot cache
discussed via jabber
Jeremy C. Reed [Thu, 16 Aug 2012 15:40:41 +0000 (10:40 -0500)]
[master] change entry type
noted on jabber
Jeremy C. Reed [Thu, 16 Aug 2012 15:23:10 +0000 (10:23 -0500)]
[master] add entries for trac #2114 and #2184.
Some review on jabber. If necessary, jelte can update later.