]>
git.ipfire.org Git - thirdparty/kea.git/log
Jelte Jansen [Wed, 18 Apr 2012 14:29:17 +0000 (16:29 +0200)]
[1843] basic bindctl execute directives and lettuce tests
Jelte Jansen [Wed, 18 Apr 2012 13:26:24 +0000 (15:26 +0200)]
[1843] initial addition of 'execute' command set
Michal 'vorner' Vaner [Wed, 18 Apr 2012 08:27:45 +0000 (10:27 +0200)]
[1793] Minor editorial fixes
Michal 'vorner' Vaner [Wed, 18 Apr 2012 08:08:42 +0000 (10:08 +0200)]
[1793] Split the config lookup out of validate
It is now placed into the getZoneConfig method. This is code cleanup
only, functionality should not be changed.
JINMEI Tatuya [Wed, 18 Apr 2012 07:50:24 +0000 (00:50 -0700)]
[master] Merge branch 'trac1781'
JINMEI Tatuya [Wed, 18 Apr 2012 04:10:23 +0000 (21:10 -0700)]
[1891] (unrelated) cleanup: removed 'GET_RECORD_DIFF' sqlite3 statement.
this was intended to be a temporary workaround while developing writability,
and should have been cleaned up in #1746. no one uses this anymore, so
we can safely remove it.
JINMEI Tatuya [Wed, 18 Apr 2012 04:05:23 +0000 (21:05 -0700)]
[1891] added a check in xfrin lettuce test for xfr with NSEC3.
- the test zone DB was updated by hand with an NSEC3 record in the nsec3 table.
- changes to transfer.py was the same one as that in quering.py to support IPv6
transport
JINMEI Tatuya [Wed, 18 Apr 2012 00:52:18 +0000 (17:52 -0700)]
[1891] reject attempt of deleting NSEC3 before start transaction.
JINMEI Tatuya [Wed, 18 Apr 2012 00:48:52 +0000 (17:48 -0700)]
[1891] implemented sqlite3 deleteNSEC3RecordInZone.
JINMEI Tatuya [Wed, 18 Apr 2012 00:29:39 +0000 (17:29 -0700)]
[1891] be sure to reject addNSEC3 attempt before begin transaction.
JINMEI Tatuya [Wed, 18 Apr 2012 00:23:00 +0000 (17:23 -0700)]
[1891] make sure the 'owner' columns is filled on addNSEC3RecordToZone.
this is a kind of intermediate hack, and we should revisit this point
at the level of API/schema design.
JINMEI Tatuya [Tue, 17 Apr 2012 23:37:28 +0000 (16:37 -0700)]
[1891] (unrelated) regression fix: make sure multiple updates after rollback.
this is a fix to the similar bug as the one fixed in the previous commit,
but for the rollback case.
JINMEI Tatuya [Tue, 17 Apr 2012 23:32:59 +0000 (16:32 -0700)]
[1891] make sure nsec3 table is cleared when replacing a zone.
the test for this uncovered one old regression: accessor cannot be reused
for multiple updates. it was fixed in this commit, too.
JINMEI Tatuya [Tue, 17 Apr 2012 22:44:40 +0000 (15:44 -0700)]
[1891] implemented addNSEC3RecordToZone, 1st step.
defined a new statement for updating the nsec3 table, and used it from
addNSEC3RecordToZone. some validation checks are still missing.
also made simple cleanup of removing unnecessary namespace qualifiers.
JINMEI Tatuya [Tue, 17 Apr 2012 21:49:10 +0000 (14:49 -0700)]
[1891] (unrelated) cleanup: unify the definition of faked NSEC3 strings.
defining const values in a shared header file isn't illegal, but it
could cause definition bloat (it's up to the linker implementation
whether to combine them). in practice this probably doesn't matter
much for this limited scope purpose, but it's still cleaner to avoid
the bloat.
JINMEI Tatuya [Tue, 17 Apr 2012 20:04:40 +0000 (13:04 -0700)]
[1891] Merge branch 'trac1781' into trac1891
Jelte Jansen [Tue, 17 Apr 2012 14:13:00 +0000 (16:13 +0200)]
[master] removed test db file that shouldn't be in repos
It gets (re)created on tests, and does not need to be in the repository
Jelte Jansen [Tue, 17 Apr 2012 13:52:15 +0000 (15:52 +0200)]
[master] Fix tab in Makefile
previous commit had a mangled tab due to a copy-paste error from the original diff
Jelte Jansen [Tue, 17 Apr 2012 13:40:49 +0000 (15:40 +0200)]
[master] set B10_FROM_BUILD in auth tests
So that the sqlite3_ds.so is found correctly
This has been acked on jabber, and is tentatively waiting full resolution in ticket #1895
Michal 'vorner' Vaner [Tue, 17 Apr 2012 11:36:34 +0000 (13:36 +0200)]
[1793] More tests
Checking various error modes, like unreadable database, wrong or missing
configuration.
Michal 'vorner' Vaner [Tue, 17 Apr 2012 09:49:17 +0000 (11:49 +0200)]
[1793] Update the loadzone command
It now looks into the configuration and checks if the zone should be
loaded from the sqlite3 data source instead of the text file.
Stephen Morris [Tue, 17 Apr 2012 09:23:47 +0000 (10:23 +0100)]
[1704] Changes to documentation regarding jumbled up messages
Logging output from different processes can get jumbled up if written
to stderr (because messages are output in multiple write(2) operations.)
This change updates the documentation to suggest that the user switch
to stdout if that happens.
Michal 'vorner' Vaner [Tue, 17 Apr 2012 08:47:36 +0000 (10:47 +0200)]
Changelog for #1782
Michal 'vorner' Vaner [Tue, 17 Apr 2012 08:46:08 +0000 (10:46 +0200)]
Merge #1782
JINMEI Tatuya [Tue, 17 Apr 2012 00:14:03 +0000 (17:14 -0700)]
[1781] Merge branch 'master' into trac1781 with fixing conflicts.
As part of conflict resolution, I've extended the unified textToRRset
so it takes an optional 'origin' parameter. It's necessary to convert
SOA RRs.
JINMEI Tatuya [Mon, 16 Apr 2012 21:43:14 +0000 (14:43 -0700)]
[1781] renamed the new NSEC3 methods.
so it will be clearer that they are used only for NSEC3-related records.
as suggested in review.
JINMEI Tatuya [Mon, 16 Apr 2012 21:16:18 +0000 (14:16 -0700)]
[1781] doc: explicitly noted DataSourceError can be thrown from NSEC3 methods.
(as suggested in review)
JINMEI Tatuya [Mon, 16 Apr 2012 21:02:50 +0000 (14:02 -0700)]
[1781] small editorial/style fixes: updated comment and use unnamed namespace.
the previous "TODO" comment was a leftover when I moved it from the datasrc
test. also moved the callback function to the unnamed namespace as it
doesn't have to be referrable from others.
JINMEI Tatuya [Mon, 16 Apr 2012 20:56:41 +0000 (13:56 -0700)]
[master] added boss configuration to the newly added lettuce tests with #1792.
the server components now need to be specified explicitly.
JINMEI Tatuya [Mon, 16 Apr 2012 20:47:51 +0000 (13:47 -0700)]
[master] Merge branch 'trac1792' with fixing conflicts.
Jeremy C. Reed [Mon, 16 Apr 2012 19:24:58 +0000 (14:24 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org//var/bind10/git/bind10
Jeremy C. Reed [Mon, 16 Apr 2012 19:24:20 +0000 (14:24 -0500)]
[master] add boost license used by the external code
Jeremy C. Reed [Mon, 16 Apr 2012 19:24:01 +0000 (14:24 -0500)]
[master] mention external code using boost license
Mukund Sivaraman [Mon, 16 Apr 2012 14:22:42 +0000 (19:52 +0530)]
[1828] Close open handles when done using them (contd.)
Mukund Sivaraman [Mon, 16 Apr 2012 13:18:22 +0000 (18:48 +0530)]
[1828] Close open handles when done using them (contd.)
Michal 'vorner' Vaner [Mon, 16 Apr 2012 13:04:47 +0000 (15:04 +0200)]
[1793] Tests for the loadzone command
It puts the configuration of the zone (which is loaded from SQLite3
database) and the database at the disposition of the test. Then it asks
it to load the zone and it expects it to load it.
Mukund Sivaraman [Mon, 16 Apr 2012 13:13:27 +0000 (18:43 +0530)]
[1828] Close open handles when done using them (contd.)
Michal 'vorner' Vaner [Mon, 16 Apr 2012 13:01:58 +0000 (15:01 +0200)]
[1793] Remove generated file
The file is created during tests so the original one is not destroyed.
So it makes no sense to store the file that is being modified by the
test each run in git.
Michal 'vorner' Vaner [Mon, 16 Apr 2012 10:14:54 +0000 (12:14 +0200)]
Merge #1577
Conflicts:
src/lib/datasrc/tests/memory_datasrc_unittest.cc
Mukund Sivaraman [Sun, 15 Apr 2012 09:43:14 +0000 (15:13 +0530)]
[1818] Add ChangeLog entry
Mukund Sivaraman [Fri, 13 Apr 2012 01:01:19 +0000 (06:31 +0530)]
[1818] Switch back to DEBUG log level for process starting messages
Mukund Sivaraman [Fri, 13 Apr 2012 00:33:23 +0000 (06:03 +0530)]
[1818] Add spacing for consistency
Michal 'vorner' Vaner [Thu, 12 Apr 2012 15:10:49 +0000 (17:10 +0200)]
[1818] Removed spaces at the end of line
Mukund Sivaraman [Thu, 12 Apr 2012 09:52:32 +0000 (15:22 +0530)]
[1818] Untabify *.feature files
Mukund Sivaraman [Thu, 12 Apr 2012 09:48:54 +0000 (15:18 +0530)]
[1818] Wait twice for AUTH_SERVER_STARTED in lettuce multi instance test
Mukund Sivaraman [Thu, 12 Apr 2012 08:25:45 +0000 (13:55 +0530)]
[1818] Report the error code when CC_ASYNC_READ_FAILED is logged
Mukund Sivaraman [Wed, 11 Apr 2012 15:00:10 +0000 (20:30 +0530)]
[1818] Check that StatsHttpd is not running by default too
Mukund Sivaraman [Wed, 11 Apr 2012 14:55:53 +0000 (20:25 +0530)]
[1863] Make stats-httpd listen on a non-default port for lettuce tests (contd.)
Mukund Sivaraman [Wed, 11 Apr 2012 14:48:35 +0000 (20:18 +0530)]
[1863] Make stats-httpd listen on a non-default port for lettuce tests
Mukund Sivaraman [Wed, 11 Apr 2012 13:39:29 +0000 (19:09 +0530)]
[1818] Set kind of components that are stopped during tests to dispensable
Mukund Sivaraman [Wed, 11 Apr 2012 13:00:43 +0000 (18:30 +0530)]
[1818] Run lettuce tests in lockstep, checking availability of services (contd.)
Mukund Sivaraman [Wed, 11 Apr 2012 12:20:10 +0000 (17:50 +0530)]
[1818] Run lettuce tests in lockstep, checking availability of services
Mukund Sivaraman [Wed, 11 Apr 2012 10:41:46 +0000 (16:11 +0530)]
[1818] Log cc startup as info message
Mukund Sivaraman [Wed, 11 Apr 2012 10:25:22 +0000 (15:55 +0530)]
[1818] Wait for components to start before testing them
Mukund Sivaraman [Wed, 11 Apr 2012 10:21:06 +0000 (15:51 +0530)]
[1818] Log components startup properly
Mukund Sivaraman [Wed, 11 Apr 2012 07:37:39 +0000 (13:07 +0530)]
[1818] Fix argument list in wait_for_stdout_message()
Mukund Sivaraman [Wed, 11 Apr 2012 07:37:18 +0000 (13:07 +0530)]
[1818] Use different function names for stderr and stdout waiters
Mukund Sivaraman [Tue, 10 Apr 2012 06:37:53 +0000 (12:07 +0530)]
[1818] Fix rest of the lettuce tests (these were missing the resolver component)
Mukund Sivaraman [Wed, 4 Apr 2012 11:50:20 +0000 (17:20 +0530)]
[1818] Rename database file (already renamed in config file)
Mukund Sivaraman [Wed, 4 Apr 2012 11:07:50 +0000 (16:37 +0530)]
[1818] Start more components when running lettuce tests
Mukund Sivaraman [Wed, 4 Apr 2012 10:54:44 +0000 (16:24 +0530)]
[1818] Fix b10-stats-httpd address and re-enable check
Mukund Sivaraman [Wed, 4 Apr 2012 09:37:00 +0000 (15:07 +0530)]
[1818] Rearrange checks for components
Mukund Sivaraman [Wed, 4 Apr 2012 09:35:16 +0000 (15:05 +0530)]
[1818] Rearrange tests commenting out StatsHttpd (see bug #1852)
Mukund Sivaraman [Wed, 4 Apr 2012 09:20:10 +0000 (14:50 +0530)]
[1853] Fix module_is_running() to check for component exactly
Mukund Sivaraman [Wed, 4 Apr 2012 08:19:03 +0000 (13:49 +0530)]
[1818] Add method to sleep for some seconds
Mukund Sivaraman [Wed, 4 Apr 2012 07:33:43 +0000 (13:03 +0530)]
[1818] Fix a config file to start various components
Mukund Sivaraman [Wed, 4 Apr 2012 07:25:57 +0000 (12:55 +0530)]
[1818] Don't check for auth when starting bind10 in lettuce tests
Mukund Sivaraman [Wed, 4 Apr 2012 07:25:31 +0000 (12:55 +0530)]
[1818] Prepend to PYTHONPATH, don't replace it
Mukund Sivaraman [Wed, 4 Apr 2012 07:25:15 +0000 (12:55 +0530)]
[1818] Add lettuce test for the default configuration of bind10
Mukund Sivaraman [Wed, 4 Apr 2012 07:02:40 +0000 (12:32 +0530)]
[1818] Fix zones sqlite3 filename
Mukund Sivaraman [Mon, 2 Apr 2012 11:28:12 +0000 (16:58 +0530)]
Start more components when running ixfr tests
Mukund Sivaraman [Mon, 2 Apr 2012 11:27:59 +0000 (16:57 +0530)]
Start more components when running glue tests
Mukund Sivaraman [Mon, 2 Apr 2012 08:32:41 +0000 (14:02 +0530)]
[1818] Show log when retrying verification
Mukund Sivaraman [Mon, 2 Apr 2012 08:29:55 +0000 (13:59 +0530)]
[1818] Don't show dig output for expected failures
Mukund Sivaraman [Mon, 2 Apr 2012 08:16:08 +0000 (13:46 +0530)]
[1818] Fix counters as dig is not called during startup verify anymore
Mukund Sivaraman [Mon, 2 Apr 2012 08:15:09 +0000 (13:45 +0530)]
[1818] Use bindctl to verify server instead of dig
Mukund Sivaraman [Mon, 26 Mar 2012 10:29:32 +0000 (15:59 +0530)]
bug #1818: Update system test for components that are not started by default
Mukund Sivaraman [Fri, 23 Mar 2012 12:05:56 +0000 (17:35 +0530)]
bug #1818: Update guide to reflect components that are not started by default
Mukund Sivaraman [Fri, 23 Mar 2012 11:59:20 +0000 (17:29 +0530)]
bug #1818: Update manpage removing deleted elements from default list
Mukund Sivaraman [Thu, 22 Mar 2012 08:13:44 +0000 (13:43 +0530)]
bug #1818: Don't start b10-auth, xfrin, xfrout, zonemgr in default config
The bug #1818 is just about not starting b10-auth, but this currently
implies that b10-xfrin, b10-xfrout and b10-zonemgr should also be
disabled.
Mukund Sivaraman [Sun, 15 Apr 2012 09:27:53 +0000 (14:57 +0530)]
[324] Remove remnants of sqlite3-difftbl-check.py from configure.ac
Mukund Sivaraman [Sun, 15 Apr 2012 09:22:06 +0000 (14:52 +0530)]
[master] Add/update .gitignore files
Michal 'vorner' Vaner [Sat, 14 Apr 2012 14:51:44 +0000 (16:51 +0200)]
[1577] Logging messages fixes
One missing placeholder and one explanation in the text.
Michal 'vorner' Vaner [Sat, 14 Apr 2012 14:49:00 +0000 (16:49 +0200)]
[1577] Share some test code
As it had two copies (one in in-memory tests and one in database ones),
it can be moved to a separate function.
JINMEI Tatuya [Sat, 14 Apr 2012 06:45:26 +0000 (23:45 -0700)]
[1781] cleanup: moved textToRRset to testutils to share it from multiple tests.
JINMEI Tatuya [Sat, 14 Apr 2012 06:25:44 +0000 (23:25 -0700)]
[1781] overall documentation update
JINMEI Tatuya [Sat, 14 Apr 2012 05:29:04 +0000 (22:29 -0700)]
[1781] added a test that confirms add/delete NSEC3 is no different for diffs.
there should be no reason that this test fails, but I'm just making this
100% sure.
JINMEI Tatuya [Sat, 14 Apr 2012 05:11:09 +0000 (22:11 -0700)]
[1781] make sure deleting RRSIG for NSEC3 is performed on the nsec3 namespace.
JINMEI Tatuya [Sat, 14 Apr 2012 00:33:35 +0000 (17:33 -0700)]
[1781] introduced deleteRecordInNSEC3Zone DB accessor method for del'ing NSEC3.
updated DatabaseUpdater::deleteRRset so it would use the new method when
deleting NSEC3.
JINMEI Tatuya [Sat, 14 Apr 2012 00:06:30 +0000 (17:06 -0700)]
[1781] make sure RRSIGs for NSEC3 will go to the nsec3 namespace.
JINMEI Tatuya [Fri, 13 Apr 2012 22:56:30 +0000 (15:56 -0700)]
[1781] updated DB test so addRecordToNSEC3Zone updates the mock NSEC3 namespace
and extended the test to check if we can actually retrieve added records
from that namespace.
JINMEI Tatuya [Fri, 13 Apr 2012 20:41:24 +0000 (13:41 -0700)]
[1781] introduced addRecordToNSEC3Zone interface to DB accessors.
this is the first step to support updating the NSEC3 namespace of a zone.
to help support various cases in addRRset() in a less expensive way,
introduced a helper RRParameterConverter class.
one simple test case was added to confirm the behavior.
Jeremy C. Reed [Fri, 13 Apr 2012 17:32:34 +0000 (12:32 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org//var/bind10/git/bind10
Jeremy C. Reed [Fri, 13 Apr 2012 17:23:22 +0000 (12:23 -0500)]
[master] increase library current version for libdns++
To fix unittest from using wrong libdns++ version.
Error was:
terminate called after throwing an instance of 'isc::dns::EmptyLabel'
what(): duplicate period
Also isc::dns::NameParserException was added.
Discussed some on jabber.
Jeremy C. Reed [Fri, 13 Apr 2012 17:22:05 +0000 (12:22 -0500)]
[master] set library version
make sure use the correct version of libdatasrc.
Error was:
Undefined symbol "_ZN3isc7datasrc35DATASRC_SQLITE_INCOMPATIBLE_VERSIONE"
Discussed on jabber.
Jelte Jansen [Fri, 13 Apr 2012 14:17:11 +0000 (16:17 +0200)]
[master] update changelog for merge of #1491
Jelte Jansen [Fri, 13 Apr 2012 14:16:17 +0000 (16:16 +0200)]
[master] Merge branch 'trac1491'
Michal 'vorner' Vaner [Fri, 13 Apr 2012 12:14:58 +0000 (14:14 +0200)]
[1782] Include the NSEC3 namespace in the iterator
It is included using the UNION SQL statement to concatenate the tables
together. The ordering is little bit of a hack. We could order by name,
but that would not be much better and a lot of tests would need to be
modified. Also, the NSEC3 sigtype is hardcoded for the NSEC3 namespace,
as there can be no other signature.
Michal 'vorner' Vaner [Fri, 13 Apr 2012 11:49:10 +0000 (13:49 +0200)]
[1782] Test nsec3 iteration of sqlite3 zone
We count the NSEC3 records there and check one if it looks correct.
Jelte Jansen [Fri, 13 Apr 2012 09:20:51 +0000 (11:20 +0200)]
[master] Merge branch 'trac1789'