- Apr 15, 2016
-
-
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
-
-
- 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
-
- 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
-
- Nov 13, 2015
-
-
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
-
- 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 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 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`
-
- Oct 11, 2015
-
-
Marek Vavruša authored
this is a workaround for missing DEFER operation, as the validator module can only detect trust chain breakage (caused by answering from different authority) after the iterator writes answer. this causes duplicated answer on uncached queries
-
Marek Vavruša authored
this doesn’t fix record duplication in answer when not answered from cache
-
- Oct 09, 2015
-
-
Marek Vavruša authored
-
- Oct 04, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
this is a problem when both CNAME and the target are answered from the same NS (but different authority), but only the CNAME authority does DNSSEC. it’s probably legal, but it’s pretty stupid to do so
-
- Sep 30, 2015
-
-
Marek Vavruša authored
-
- Sep 24, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
if the client doesn't support DNSSEC, scrub these from the answer and do not set the AD bit
-
- Sep 22, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
with DNSSEC, such query needs to be revalidated as the TA/key is missing for the new zone cut, which would lead to duplicated answers in the future there may be an api to defer query processing, but for now it can't be done
-
Marek Vavruša authored
in this case the NS is an authority for both parent and child, so the NS set stays the same and only the cut name changes
-
- Sep 21, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Sep 19, 2015
-
-
Marek Vavruša authored
also answers for which minimisation failed or truncated are fixed, for such answers iterator sets state to ‘consume’ to indicate the answer wasn’t processed
-
- Sep 15, 2015
-
-
Marek Vavruša authored
previously, debug messages were optional with -DWITH_DEBUG now the debug messages are built in (unless compiled with -DNDEBUG), but disabled by default verbose output can be enabled by '-v' or '--verbose' CLI option or interactively by 'verbose(true|false)' (or in config)
-
- Aug 04, 2015
-
-
Marek Vavruša authored
zonecut should be able to hold these for testing reasons (like private root or zone cut), but it should filter out data from the internet a new flag: QUERY_ALLOW_LOCAL allows for being more permissive, and letting name server query local or private address ranges
-
- Aug 03, 2015
-
-
Marek Vavruša authored
this is a small step for me, but a huge step for resolver
-
Marek Vavruša authored
this provides a useful callback for per-request operations that can’t wait until the query is completed (e.g. blocking or logging started queries)
-
- Jul 30, 2015
-
-
Karel Slaný authored
-
- Jul 14, 2015
-
-
Marek Vavruša authored
no need to scramble queries satisfied from cache
-
- Jul 08, 2015
-
-
Marek Vavruša authored
-
- Jun 29, 2015
-
-
Marek Vavruša authored
-