Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mitigate KeyTrap DoS = CVE-2023-50387 | Vladimír Čunát | 2024-02-13 | 1 | -0/+1 |
| | |||||
* | Copyright notices: remove years and replace e-mail | Oto Šťáva | 2022-12-14 | 1 | -1/+1 |
| | |||||
* | TTL bounds: improve the logic | Vladimír Čunát | 2022-12-13 | 1 | -0/+1 |
| | | | | | | | | | - apply to first (uncached) answer already - don't extend over signature validity Nit: the tests were using too high TTL (RFCs disallow the "sign bit"). It was working because (manual) cache-insertion was applying bounds, but now the bounds don't get applied anymore, so it would fail. | ||||
* | daemon/zimport: better failure logging | Vladimír Čunát | 2021-12-22 | 1 | -1/+3 |
| | | | | | | | | The typical DNSSEC problems should happen already when trying to validate the DNSKEY set, so it's better to be more verbose there. In the end I gave up on deduplicating with log_bogus_rrsig() code, as it's different logging group, logging level, no kr_query, etc. | ||||
* | lib/dnssec.h: improve API docs | Vladimír Čunát | 2021-11-03 | 1 | -2/+10 |
| | |||||
* | lib/dnssec: add a simple validator API | Vladimír Čunát | 2021-11-03 | 1 | -0/+31 |
| | |||||
* | lib/dnssec: make kr_dnskeys_trusted() cleaner | Vladimír Čunát | 2021-11-03 | 1 | -2/+5 |
| | | | | | | | | This way it will be easier to re-use (and more efficient). I really disliked those searches for RRSIGs embedded deep inside. Uh, I tried to keep the new function as clean as possible, moving hacks to outside. | ||||
* | lib/dnssec refactor: struct dseckey -> struct dnssec_key | Vladimír Čunát | 2021-11-03 | 1 | -5/+5 |
| | | | | | I can't see motivation to add another abstraction layer here, and it caused ugly type juggling. Let's use the libdnssec's type. | ||||
* | validate: add kr_rrset_validation_ctx_t::log_qry | Vladimír Čunát | 2021-07-29 | 1 | -0/+1 |
| | | | | | | | ... so we can use it for more precise logging. Some calls get simpler. In particular, without the associated request, we can't produce anything into trace-logs, which could be confusing. Normal logs will benefit, too. (more precise replacement of WITH_VERBOSE will come in a subsequent commit) | ||||
* | fix DNAME support | Vladimír Čunát | 2020-04-27 | 1 | -0/+1 |
| | |||||
* | treewide: machine readable license for GNU GPLv3+ source code | Petr Špaček | 2020-02-25 | 1 | -13/+1 |
| | | | | | Long GNU GPLv3 boilderplate was automatically replaced with machine readable tag. | ||||
* | validator: trim TTLs by RRSIG's expiration and original TTL | Vladimír Čunát | 2019-09-20 | 1 | -4/+4 |
| | | | | | | A down-side is that validation can now modify the validated RRset on success. I checked all transitive call sites that it's OK. The change is pretty simple; I just hand-tested it a bit with faketime. | ||||
* | validate nitpick fix: unsupported algo edge case | Vladimír Čunát | 2019-04-08 | 1 | -3/+7 |
| | | | | | | | | | | | | | | kr_dnskeys_trusted() semantics is changed, but I do NOT consider that a part of public API. Go insecure due to algorithm support even if DNSKEY is NODATA. I can't see how that's relevant to practical usage, but I think this new behavior makes more sense. We still do try to fetch the DNSKEY even though we have information about its un-usability beforehand. I'd consider fixing that a premature optimization. We'll still be affected if the DNSKEY query SERVFAILs or something. Thanks to PowerDNS people for catching this! | ||||
* | dnssec: improve bogus logging to give more info | Petr Špaček | 2018-12-20 | 1 | -0/+10 |
| | |||||
* | dnssec: make a function static (unused outside) | Vladimír Čunát | 2017-08-04 | 1 | -12/+0 |
| | |||||
* | layer/validate: handle unknown algorithms | Vladimír Čunát | 2017-07-24 | 1 | -3/+6 |
| | | | | | | i.e. downgrade a zone to insecure when *all* DNSKEYs of the apex are unverifiable due to unimplemented DNSKEY or DS algorithms. Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/210 | ||||
* | nitpicks from doxygen parser | Vladimír Čunát | 2017-06-01 | 1 | -6/+6 |
| | |||||
* | lib: forwarding, some improvements in zone cut detection algorythm | Grigorii Demidov | 2017-06-01 | 1 | -0/+11 |
| | |||||
* | layer/validate: check if NSEC3 records in wildcard expansion proof has an optout | Grigorii Demidov | 2017-03-22 | 1 | -0/+1 |
| | |||||
* | Update copyright information with 2017 | Ondřej Surý | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | layer/validate: fix for issue 144 | Grigorii Demidov | 2017-01-24 | 1 | -0/+1 |
| | |||||
* | layer/validate: refactoring | Grigorii Demidov | 2017-01-11 | 1 | -0/+3 |
| | |||||
* | www.gnu.org prefers https | Daniel Kahn Gillmor | 2016-07-16 | 1 | -1/+1 |
| | |||||
* | lib/cache: flags field was added to cache entry header | Grigorii Demidov | 2016-04-14 | 1 | -8/+0 |
| | |||||
* | dnssec: wildcard answer proof | Grigorii Demidov | 2016-04-14 | 1 | -39/+42 |
| | |||||
* | all: ported to upcoming libknot APIs | Marek Vavruša | 2015-12-17 | 1 | -1/+0 |
| | | | this is not going to be backwards compatible change, but it will be the first tagged libknot release sufficient for resolver | ||||
* | build: library able to compile to both static/dynamic versioned libs | Marek Vavruša | 2015-12-10 | 1 | -0/+9 |
| | | | | | | * PIE,RELRO+NOW and other security features enabled * support for both static/dynamic builds with BUILDMODE * dynamic library is ABI-versioned, starting at 1 * pkg-config file is installed | ||||
* | lib/dnssec: accept valid and unrevoked keys (SEP not required), key matching | Marek Vavruša | 2015-09-25 | 1 | -0/+15 |
| | |||||
* | lib/dnssec: added missing functions, new key APIs | Marek Vavruša | 2015-09-25 | 1 | -4/+12 |
| | |||||
* | lib/dnssec: fixed bad SEP check | Marek Vavruša | 2015-09-24 | 1 | -0/+6 |
| | |||||
* | layer/validate: NSEC3 wildcard answer response check is enabled | Karel Slany | 2015-08-18 | 1 | -3/+9 |
| | |||||
* | layer/validate: NSEC authenticated denial of existence check | Karel Slany | 2015-08-05 | 1 | -0/+1 |
| | |||||
* | layer/validate: basic NSEC exact match non-existence check | Karel Slany | 2015-08-04 | 1 | -25/+30 |
| | |||||
* | layer/validate: validate_records() | Karel Slany | 2015-07-21 | 1 | -3/+16 |
| | |||||
* | layer/validate: implemented kr_rrset_validate() | Karel Slany | 2015-07-20 | 1 | -5/+19 |
| | |||||
* | layer/validate: implemented checking of RRSIG RR validity (RFC4035 5.3.1) | Karel Slany | 2015-07-15 | 1 | -4/+24 |
| | |||||
* | layer/validate: added DS to DNSKEY authentication code | Karel Slany | 2015-07-15 | 1 | -0/+11 |
| | |||||
* | crypto: added libdnssec dependency and initialisation | Karel Slany | 2015-07-15 | 1 | -0/+33 |