- May 06, 2016
-
-
Marek Vavrusa authored
* simplified soft-fail per-ns limit to per-query limit, each query gets 4 tries at resolving * instead of locking at single servfailing NS, penalise it and run reelection, this may or may not try other servers but avoids pathologic case when single NS is servfailing while others are good but never probed * added new nsrep update mode (addition)
-
-
- May 04, 2016
-
-
Marek Vavrusa authored
this code used memory pool of source packet instead of the answer, this could result in invalidated memory read if the memory occupied by source packet was rewritten
-
- Apr 18, 2016
-
-
Marek Vavrusa authored
the daemon has now three modes of strictness checking from strict to permissive. it reflects the tradeoff between resolving the query in as few steps as possible and security for insecure zones
-
- Apr 15, 2016
-
-
Marek Vavrusa authored
This reverts commit f9ffeca9.
-
Marek Vavrusa authored
in permissive mode, resolver is free to use (but not cache) non-mandatory glue records even if they're not resolvable. this is great as a workaround for broken child-side zones, but not great for security of, well, insecure delegations. it's off by default.
-
- Apr 14, 2016
-
-
- Mar 10, 2016
-
-
Marek Vavrusa authored
-
- Feb 24, 2016
-
-
Grigorii Demidov authored
-
- Feb 23, 2016
-
-
- Feb 17, 2016
-
-
Ondřej Surý authored
-
- Feb 12, 2016
-
-
Grigorii Demidov authored
-
- Feb 11, 2016
-
-
Grigorii Demidov authored
-
- Feb 08, 2016
-
-
Marek Vavrusa authored
the validator module should ignore any data that will be scrubbed, that includes non-authoritative data outside current bailiwick. previously, validator attempted to ignore these records only for answer section and had a special case for NS records. cache: non-authoritative NS records are always unchecked and must be treated as insecure affected: www.iana.org trying to provide delegation information for CNAME target, which is moot with CNAME target explicit-fetch policy unless the the resolver already knows DNSKEY with which is could verify the records
-
- Jan 29, 2016
-
-
Marek Vavrusa authored
updated tests
-
- Jan 20, 2016
-
-
there are broken resolution chains where a zone cut is advertised, but it doesn't exist and the final NS answers from its parent's zone cut, which is an attempt to escape bailiwick example: resolving A ab.cd.ef NS ef responds: - ab.cd.ef NS X ; adverises ab.cd.ef zone cut X responds: - A ab.cd.ef A 1.2.3.4 - cd.ef NS X ; escapes previously advertised cut on the other hand, it is important to fail early for referrals as it signifies a lame answer
-
- Jan 19, 2016
-
-
Marek Vavrusa authored
there are broken resolution chains where a zone cut is advertised, but it doesn't exist and the final NS answers from its parent's zone cut, which is an attempt to escape bailiwick example: resolving A ab.cd.ef NS ef responds: - ab.cd.ef NS X ; adverises ab.cd.ef zone cut X responds: - A ab.cd.ef A 1.2.3.4 - cd.ef NS X ; escapes previously advertised cut on the other hand, it is important to fail early for referrals as it signifies a lame answer
-
- Dec 17, 2015
-
-
Marek Vavruša authored
this is not going to be backwards compatible change, but it will be the first tagged libknot release sufficient for resolver
-
- Dec 11, 2015
-
-
Marek Vavruša authored
-
- Dec 08, 2015
-
-
Marek Vavruša authored
-
- Nov 25, 2015
-
-
Marek Vavruša authored
amalgamated build concatenates all files into a single .c file to allow compiler see all symbols and produce possibly smaller code. for binary distributions this is what you want, as it's faster but may consume more memory during compilation. it however cannot do incremental builds.
-
- Nov 19, 2015
-
-
Marek Vavruša authored
refs #33
-
Marek Vavruša authored
refs #33
-
- Nov 13, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
RRs may be touched after resolution completion, this copies RR from temporary per-recv buffer to answer, which is persistent for the whole duration of request
-
- Nov 03, 2015
-
-
Marek Vavruša authored
-
- Oct 28, 2015
-
-
Marek Vavruša authored
the library is able to resolve query in stub mode (no referral chasing, zone cut lookup) if asked to validator turns off for stub queries, validating stub is NYI
-
Marek Vavruša authored
thanks to Pieter Lexis and Peter van Dijk from PowerDNS for discovering this.
-
- Oct 27, 2015
-
-
Marek Vavruša authored
as the libknot packet interface disallows out-of-order packet writes, authority and additional records must be written after the answer is complete; records in the rr arrays will be written to final answer during finalization
-
- Oct 23, 2015
-
-
Marek Vavruša authored
for pktcache same or better rank is required (because it’s a direct answer) for rrcache better rank is required (unless doing write-through) for both cases, no cache rank check is needed when inserting secure data security note: this mitigates possible non-auth NS hijacking
-
- Oct 22, 2015
-
-
Marek Vavruša authored
[1] shows an attack using spoofed CNAME targets to replace legitimate entries in resolver cache by speeding up once-per-TTL attack opportunity as a defense, the resolver almost always requeries CNAME targets and doesn't store them in cache. the only exception is when the CNAME target is within current authority, and the answer is DNSSEC-secured thanks to Toshinori Maeno (@beyondDNS) for pointing this out [2] [1]: https://tools.ietf.org/id/draft-weaver-dnsext-comprehensive- resolver-00.html [2]: https://moin.qmail.jp/DNS/KnotResolver/CNAMEpatch
-
- Oct 19, 2015
-
-
Marek Vavruša authored
when the DS NODATA was proved from a different authority
-
- Oct 15, 2015
-
-
Marek Vavruša authored
-
- Oct 14, 2015
-
-
Marek Vavruša authored
validator can now yield, but it doesn't plan the sub-requests directly, that is still a job of the driver
-
- Oct 13, 2015
-
-
Marek Vavruša authored
this is useful when you need to issue several subrequests before continuing with the current query, resuming is not supported yet, so it will requery after the subrequests complete
-
Marek Vavruša authored
current processed query is always in `request->current_query`
-