2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

9621 Commits

Author SHA1 Message Date
Mukund Sivaraman
034bc4e02e Start more components when running ixfr tests 2012-04-15 15:03:55 +05:30
Mukund Sivaraman
b303b434d9 Start more components when running glue tests 2012-04-15 15:03:55 +05:30
Mukund Sivaraman
b7f8713278 [1818] Show log when retrying verification 2012-04-15 15:03:55 +05:30
Mukund Sivaraman
22aa6eec94 [1818] Don't show dig output for expected failures 2012-04-15 15:03:55 +05:30
Mukund Sivaraman
b23c36ef2e [1818] Fix counters as dig is not called during startup verify anymore 2012-04-15 15:03:55 +05:30
Mukund Sivaraman
a17f42a08f [1818] Use bindctl to verify server instead of dig 2012-04-15 15:03:55 +05:30
Mukund Sivaraman
0d2ebae0cc bug #1818: Update system test for components that are not started by default 2012-04-15 15:03:54 +05:30
Mukund Sivaraman
325b81328b bug #1818: Update guide to reflect components that are not started by default 2012-04-15 15:03:54 +05:30
Mukund Sivaraman
be50e95723 bug #1818: Update manpage removing deleted elements from default list 2012-04-15 15:03:54 +05:30
Mukund Sivaraman
31de885ba0 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.
2012-04-15 15:03:12 +05:30
Mukund Sivaraman
2926429647 [324] Remove remnants of sqlite3-difftbl-check.py from configure.ac 2012-04-15 14:57:53 +05:30
Mukund Sivaraman
65e64487c2 [master] Add/update .gitignore files 2012-04-15 14:52:06 +05:30
Michal 'vorner' Vaner
4108ca766c [1577] Logging messages fixes
One missing placeholder and one explanation in the text.
2012-04-14 16:51:44 +02:00
Michal 'vorner' Vaner
de9ccf5df4 [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.
2012-04-14 16:50:15 +02:00
JINMEI Tatuya
d78d0dbcec [1781] cleanup: moved textToRRset to testutils to share it from multiple tests. 2012-04-13 23:45:26 -07:00
JINMEI Tatuya
be9562a0d3 [1781] overall documentation update 2012-04-13 23:25:44 -07:00
JINMEI Tatuya
5149a81497 [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.
2012-04-13 22:29:04 -07:00
JINMEI Tatuya
78c6b53311 [1781] make sure deleting RRSIG for NSEC3 is performed on the nsec3 namespace. 2012-04-13 22:11:09 -07:00
JINMEI Tatuya
ffbfe8fb29 [1781] introduced deleteRecordInNSEC3Zone DB accessor method for del'ing NSEC3.
updated DatabaseUpdater::deleteRRset so it would use the new method when
deleting NSEC3.
2012-04-13 17:33:35 -07:00
JINMEI Tatuya
fa7b9c53b1 [1781] make sure RRSIGs for NSEC3 will go to the nsec3 namespace. 2012-04-13 17:06:30 -07:00
JINMEI Tatuya
61fa7a4108 [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.
2012-04-13 15:56:30 -07:00
JINMEI Tatuya
0bc5c68ef6 [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.
2012-04-13 13:41:24 -07:00
Jeremy C. Reed
7efc7ddb38 [master]Merge branch 'master' of ssh://git.bind10.isc.org//var/bind10/git/bind10 2012-04-13 12:32:34 -05:00
Jeremy C. Reed
fcdc7a7b7f [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.
2012-04-13 12:23:22 -05:00
Jeremy C. Reed
e0bcbb981c [master] set library version
make sure use the correct version of libdatasrc.

Error was:
Undefined symbol "_ZN3isc7datasrc35DATASRC_SQLITE_INCOMPATIBLE_VERSIONE"

Discussed on jabber.
2012-04-13 12:22:05 -05:00
Jelte Jansen
57512ac60b [master] update changelog for merge of #1491 2012-04-13 16:17:11 +02:00
Jelte Jansen
00a36e7528 [master] Merge branch 'trac1491' 2012-04-13 16:16:17 +02:00
Michal 'vorner' Vaner
3057455dd0 [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.
2012-04-13 14:16:28 +02:00
Michal 'vorner' Vaner
65193e8384 [1782] Test nsec3 iteration of sqlite3 zone
We count the NSEC3 records there and check one if it looks correct.
2012-04-13 13:49:10 +02:00
Jelte Jansen
5dcf1dadd1 [master] Merge branch 'trac1789' 2012-04-13 11:20:51 +02:00
haikuo zhang
7c75154f52 Merge branch 'trac1579suggest' 2012-04-13 16:05:17 +08:00
JINMEI Tatuya
d127560b02 [1579] suggested addition: a missing test case for an empty wildcard name. 2012-04-12 20:00:45 -07:00
JINMEI Tatuya
793772f302 [1579] suggested addition: a missing test case for an empty name. 2012-04-12 19:44:02 -07:00
JINMEI Tatuya
be2b8d67e2 [1579] suggested updates to unit tests.
- consolidated test scenarios for NSEC and NSEC3 to avoid duplicates
- also tested the case for findAll()
- also tested when the zone only has NSEC3PARAM or unsigned
2012-04-12 18:49:16 -07:00
JINMEI Tatuya
6cd82ad2a6 [1579] suggested doc update.
I also renamed init() to probe() as the latter seemed more appropriate
in terms of what it does.
2012-04-12 16:08:41 -07:00
JINMEI Tatuya
493f952e69 [1579] cleanup: removed an unused class member variable. 2012-04-12 15:31:12 -07:00
JINMEI Tatuya
9b6993002b [1579] (suggested) cleanup, mainly moving isNSEC[3] to FindDNSSECContext
these are short, and only used in FindDNSSECContext, so it'd make more sense
to enclose them there.
Other cleanups:
- also made FindDNSSECContext::isNSEC/isNSEC3 private as they now don't need
  to be called outside the class
- removed isInited(); simpy doesn't see the need for it as a separate method
- simplified the code logic of getResultFlag()
2012-04-12 15:25:46 -07:00
Jeremy C. Reed
d8b8e46b85 [master]Merge branch 'master' of ssh://git.bind10.isc.org//var/bind10/git/bind10 2012-04-12 17:15:55 -05:00
Jeremy C. Reed
7116ee3c76 [master] fix typo in a pydoc string comment
trivial / no review
2012-04-12 17:15:09 -05:00
JINMEI Tatuya
fb23175505 [1579] cleanup: FINAL_TYPES_NO_NSEC & findNSECCover are now unused and removed.
the latter has been merged to getDNSSECRRset().  doxygen comments were
also merged.
2012-04-12 14:55:42 -07:00
Jeremy C. Reed
291d0cbfdc [master] fix usage synopsis
trivial, not reviewed
2012-04-12 16:49:14 -05:00
JINMEI Tatuya
52e971851f [1579] suggested change: made findNoNameResult completely DNSSEC-agnostic.
same adjustment as the previous comment was made for tests.
also fixed a small bug in getDNSSECRRset(): I should have reversed the
logic for need_nscheck.
2012-04-12 14:46:01 -07:00
JINMEI Tatuya
07274f662a [1579] suggested change: made findNoNameResult a bit more DNSSEC-agnostic.
to make a related test pass, incorporated the NotImplemented exception
handling from findNSECCover to getDNSSECRRset.
note: in this commit I reversed the behavior when we encounter the situation
where NSEC is expected but cannot be found; it now returns a NULL pointer,
although the NSEC_SIGNED flag can be still set.

It's a quite broken case of zone config so it's probably up to the
implementation, and in that sense throwing an exception is not necessary
wrong.  But we may have such a situation in a valid scenario if and when we
support incremental zone signing.  Also, this behavior is consistent with
BIND 9.

The emptyNonterminalNSEC test case was adjusted accordingly.
2012-04-12 14:25:41 -07:00
JINMEI Tatuya
c3bc4e0251 [1579] suggest change: made findWildcardMatch DNSSEC-agnostic.
to do this, I extended getDNSSECRRset(name) further: it now takes 'covering'
parameter, depending on whether the requested NSEC is for the exact name
or the covering ("previous") name.  In the latter case it does the same
thing as findNSECCover() (which will be merged to getDNSSECRRset later).
2012-04-12 13:55:14 -07:00
JINMEI Tatuya
b77375be27 [1579] suggested change: made findOnNameResult DNSSEC-agnostic about flags.
now FindDNSSECContext has sufficient information to choose the correct flag,
findOnNameResult() can simply call its getResultFlags().
as an additional bonus, we can constify 'flags'.
2012-04-12 13:23:20 -07:00
JINMEI Tatuya
05793b5a18 [1579] suggested change: made findOnNameResult more DNSSEC agnostic
- renamed getNSECRRset to getDNSSECRRset to clarify it's for generic DNSSEC
  purpose, even though it's essentially NSEC specific.
- moved the 'isNSEC' check to the now-renamed getDNSSECRRset, thereby removing
  the need for checking that within findOnNameResult.
2012-04-12 13:09:41 -07:00
JINMEI Tatuya
186bacfc7b [1579] suggested change: pass a reference of ZoneFinder to DNSSECContext.
instead of a pointer.
IMO, finderp_ should better be a reference than a pointer if we'd
worry about the case where it's NULL later on, like getNSECRRset
does (which shouldn't never happen in our usage).
the NULL pointer check was therefore removed with this change.
2012-04-12 11:50:05 -07:00
JINMEI Tatuya
058af3dc4b [1579] suggested changes: made FindDNSSECContext more focused.
removed origin_ or complete flags_ from the class members.  non DNSSEC-specific
processing was recovered from the original version.
also made FindDNSSECContext private inside ZoneFinder; it doesn't have to
be publicly usable.
also made indentation policy more consistent for the class.
2012-04-12 11:40:09 -07:00
Michal 'vorner' Vaner
c47c4c3541 [1577] Code comments for findNSEC3 2012-04-12 14:58:52 +02:00
Michal 'vorner' Vaner
7130e28820 [1577] Logging for findNSEC3 2012-04-12 14:36:45 +02:00