summaryrefslogtreecommitdiffstats
path: root/tests/integration (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests/integration/deckard: update to latest masterVladimír Čunát2024-09-061-0/+0
| | | | adds libjemalloc-detector
* scripts: organize into subdirs and clean up unusedOto Šťáva2024-08-261-1/+1
|
* tests/integration/deckard: update to latest masterOto Šťáva2024-08-261-0/+0
|
* scripts: use env shebangAleš Mrázek2024-08-261-0/+0
|
* tests/integration/meson.build: refer to augeas as 'python-augeas'Oto Šťáva2024-03-051-1/+1
| | | | | This is so that it is more obvious that the PyPI package actually has the `python-` prefix.
* tests/integration/deckard: updateVladimír Čunát2023-04-031-0/+0
| | | | Adds just https://gitlab.nic.cz/knot/deckard/-/merge_requests/220
* tests/integration/deckard: update to version with --forkedOto Šťáva2023-01-261-0/+0
|
* lib/dnssec: replace kr_nsec_existence_denial()Vladimír Čunát2022-05-181-0/+0
| | | | | | | | | The NSEC validation code has been written very mechanically according to RFC 4033..4035, but those explain wildcard-related topics in a way that's hard to understand right. So here I rewrite it with a different philosophy, so it should be easier to understand, a bit faster, and less buggy and bug-prone.
* meson: update dependencies for deckardTomas Krizek2022-01-131-1/+3
|
* spellingJosh Soref2021-11-191-1/+1
| | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* validator: avoid assertion in an edge-caseVladimír Čunát2021-04-301-0/+0
| | | | | | | Case: NSEC3 with too many iterations used for a positive wildcard proof. To really fix the answers, this also needed fixing the `any_rank` part which I somehow forgot in commit 7107faebc :-(
* ci: utilize test reportsVladimír Čunát2021-04-302-0/+4
| | | | | | | https://docs.gitlab.com/ce/ci/unit_test_reports.html https://mesonbuild.com/Unit-tests.html#testlogjunitxml Implemented fully: build, build-asan; partially: pytests, deckard.
* when FORMERR comes, differentiate based on OPTVladimír Čunát2021-02-021-0/+0
| | | | | | | | | | In particular, non-support of EDNS is implied iff FORMERR without OPT comes. If OPT is there, one possibility is that there was something wrong in the OPT that *we* sent, but it seems much more likely that this particular server is just bad and we want to try another one. https://tools.ietf.org/html/rfc6891#section-7 In particular, we would be in trouble if we dropped OPT in a zone that is covered by DNSSEC.
* remove NO_THROTTLE optionŠtěpán Balážik2021-01-271-0/+0
| | | | | It wasn't really used for a long time and became completely obsolete after !1030.
* iterate: rework error handling from iterate.cŠtěpán Balážik2021-01-251-0/+0
| | | | | | | Previously there where resolve_badmsg and resolve_error functions used to apply workarounds. This is now moved to selection.c and iterate.c just provides feedback using the server selection API. Errors are now handled centrally in selection.c:error.
* deckard: update for the new server selectionŠtěpán Balážik2020-12-201-0/+0
|
* meson: use / instead of join_pathsTomas Krizek2020-11-231-1/+1
|
* fix SERVFAIL in *FORWARD modes with CNAME to sibling zoneVladimír Čunát2020-10-211-0/+0
| | | | | | It failed on a CNAME to a sibling name that's a zone cut. Fixed by a minimalistic approach - tweaking the conditions to always ask each CNAME step separately when forwarding.
* ci: fix Deckard integration so it throws errors up the stackPetr Špaček2020-09-251-0/+0
| | | | Fixes: #611
* ci: use docker image with knot 3.0Lukáš Ježek2020-09-161-0/+0
|
* tests: integration test for cache overflow situationPetr Špaček2020-09-071-0/+0
| | | | Resolvers must answer queries even if the shared cache overflown during query processing.
* modules/ta_update: resurrect RFC5011 test removed from deckardLukáš Ježek2020-08-131-0/+0
|
* ci: fix divergent commit in Deckard submoduleŠtěpán Balážik2020-08-111-0/+0
| | | | | | Branch on Deckard tree tracked in this repository was left unmerged in Deckard. The two trees therefore diverged and broke CI in knot-resolver repo on a few commits retroactively.
* validator: bottom->up chase DS if RRSIG(s) are missingVladimír Čunát2020-08-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | This is about situations when validator *thinks* it's in a signed zone but an unsigned answer comes in. The assumption was that RRSIGs didn't make it through some middle-boxes and it retried with explicit QTYPE=RRSIG. There were two issues with that. 1. It seems that in most cases the cause of the situation is that we skipped over a zone cut that transitioned to insecure state, so the signatures correctly don't exist. 2. An explicit RRSIG query appears to be more trouble than worth; it seems reasonable for servers not to answer it (fully); see RFC 8482 sect. 7. The new approach simply tries to find a proof that the name is insecure, by spawning a QTYPE=DS sub-query on that name. That fixes some real-life cases; usually this happens in iteration mode where one IP address serves zones on both sides of a cut that transitions to insecure. For details see new comments in that rrsig_not_found() function. The change resulted in the iterator fallback not making sense anymore so it was removed.
* deckard: update to fix in CI (new dnspython in image)Vladimír Čunát2020-08-031-0/+0
|
* NXNSAttack mitigation testsPetr Špaček2020-05-182-12/+0
| | | | | | New Deckard repo without conflicting iter_refused.rpl test does not contain libswrap and libfaketime anymore so I had to remove hacks in build system for these.
* ci: update Deckard to a version without swrapPetr Špaček2020-04-301-0/+0
|
* tests: add Deckard module with DNAME testsPetr Špaček2020-04-271-0/+0
|
* validator: use rank BOGUS where appropriate instead of MISSINGPetr Špaček2020-04-151-0/+0
| | | | | | | | | | | | | | | MISSING triggers re-query to auth in attempt to find missing RRSIGs. It causes reduntant queries and also puts some BOGUS RRsets in answers. (It sounds bad but we were correctly setting rcode=SERVFAIL and AD=0 even before this commit.) Formerly RRSIG ranks did not reflect results of validation. Now we mark them as BOGUS and upgrade them to SECURE if they validate. New validator phase answer_finalize prevents BOGUS RRsets from being put even into SERVFAIL answers. Closes: #396
* modules/policy: use origin and domain name as binary dataLukáš Ježek2020-04-141-0/+0
|
* modules/policy: Return NODATA on *. action in rpz fileLukáš Ježek2020-04-141-0/+0
|
* tests: revert broken commits in Deckard repoPetr Špaček2020-04-021-0/+0
| | | | I don't know why exactly it fails ... let's unblock release.
* deckard: abort if sendmmsg/recvmmsg are in usePetr Špaček2020-03-311-0/+0
| | | | | | Deckard does not support these and it leads to confusing errors. In long term we need to migrate Deckard to different network backend: https://gitlab.labs.nic.cz/knot/deckard/issues/42
* treewide: machine readable license for all the restPetr Špaček2020-02-252-0/+2
| | | | | These files did not have GNU GPL v3 boilderplate in them so I've added machine readable tag with appropriate license.
* lua net.list(): change output and docsVladimír Čunát2019-04-181-0/+0
| | | | Now we hopefully won't need to touch it for a long time.
* trust_anchors: update Deckard to take ta_update module into accountPetr Špaček2019-04-041-0/+0
|
* trust_anchors: do not accept add_file() for managed TA without ta_update modulePetr Špaček2019-04-041-0/+0
| | | | | Previous version would add the TA and then print error message, which is not expected.
* WIP: test/integration: update deckardTomas Krizek2019-04-041-0/+0
|
* tests/integration: update kresd config for deckardTomas Krizek2019-04-041-56/+0
|
* tests: adapt to change of net.list() outputVladimír Čunát2019-03-122-1/+1
|
* tests/integration: turn off python3 deprecation warnings (jinja2)Tomas Krizek2019-03-121-0/+2
|
* meson: tests/integration - turn off DNSSEC, add additional testsTomas Krizek2019-03-122-1/+3
|
* meson: use sbin_dir variableTomas Krizek2019-03-121-1/+1
|
* meson: cleanupTomas Krizek2019-03-121-0/+2
|
* meson: tests/integration run all test suitesTomas Krizek2019-03-121-22/+57
|
* meson: tests/pytests - add extra_tests build optionTomas Krizek2019-03-121-27/+32
|
* meson: tests/integration - prepare scriptTomas Krizek2019-03-121-0/+30
|
* tests/integration: move related filesTomas Krizek2019-03-1235-0/+7715
|
* test/integration: move deckard submoduleTomas Krizek2019-03-121-0/+0