- Aug 11, 2016
-
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
Use ENABLE_cookies=yes variable to compile functionality.
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
The cookies layer injects a new query into the plan when a DADCOOKIE response is detected. After failing the second attempt a TCP fallback is signalised.
-
Karel Slaný authored
The source address was always put into a subsequent query.
-
Karel Slaný authored
This simplifies the response source identification on the cookie module.
-
Karel Slaný authored
-
Karel Slaný authored
-
- Jul 16, 2016
-
-
Daniel Kahn Gillmor authored
-
- Jul 06, 2016
-
-
Marek Vavruša authored
* in the begin() layer, the incoming query is exposed as req->qsource.packet, it is invalidated after begin() and should not be modified * the destination address (local interface) is also tracked for filtering purposes
-
Marek Vavruša authored
during the consume step, the information about upstream authoritative (address and current rtt) is exposed in the request structure, just like information about current query
-
- May 30, 2016
-
-
Grigorii Demidov authored
-
- May 27, 2016
-
-
Marek Vavruša authored
-
- May 22, 2016
-
-
Marek Vavruša authored
-
- May 20, 2016
-
-
Marek Vavruša authored
this change introduces new API for cache backends, that is a subset of knot_db_api_t from libknot with several cache-specific operations major changes are: * merged 'cachectl' module into 'cache' as it is 99% default-on and it simplifies things * not transaction oriented, transactions may be reused and cached for higher performance * scatter/gather API, this is important for latency and performance of non-local backends like Redis * faster and reliable cache clearing * cache-specific operations (prefix scan, ...) in the API not hacked in * simpler code for both backends and caller
-
- May 06, 2016
-
-
Marek Vavruša 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)
-
Grigorii Demidov authored
-
- Mar 10, 2016
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Jan 22, 2016
-
-
Marek Vavruša authored
when raised, a response zone cut will be recovered even if the response came from cache. this is normally not needed (and incurs additional cache lookups), but it may be useful for inspection
-
- Jan 11, 2016
-
-
Grigorii Demidov authored
lib: answer finalization was changed
-
- 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 09, 2015
-
-
Marek Vavruša authored
rdata may be <=64k + 8B on stack which may be source of various mystery errors later, for example in bindings or stackspace-constricted env
-
- Dec 03, 2015
-
-
Marek Vavruša authored
any answer that is considered as malformed/servfail/otherwise bad penalizes the NS for the next time like timeout, this doesn't apply for DNSSEC validation failures as it still may be okay for insecure resolution. EDNS failures are okay because the server is requeried in the most simple RFC1035 mode before flagging it as failed this avoids instant requeries for SERVFAILing resolutions
-
Marek Vavruša authored
when a delegation is provably insecure, it is flagged as INSECURE in cache (this is different from "unchecked"), when the next query finds the same zone cut, this information is retrieved and if it was proved to be insecure before, this status is reused this prevents refetching of NS/DNSKEY in some situations
-
- Nov 28, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Nov 27, 2015
-
-
Marek Vavruša authored
skipping over last/root label returns a pointer to a memory after domain name, this is unsafe
-
- Nov 26, 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 24, 2015
-
-
Marek Vavruša authored
if the NSLIST already has a candidate with addresses, never replace current leader with an empty one. otherwise if the former leader address was tried and failed, new empty leader would be blamed for this and penalized
-
- Nov 18, 2015
-
-
Marek Vavruša authored
bad control flow, the zone cut should be checked for root, as the second condition checks if SNAME is at/below cut so the outcome is the same for root query
-
- Nov 17, 2015
-
-
Marek Vavruša authored
fixes #41
-
- Nov 15, 2015
-
-
Marek Vavruša authored
instead of single I/O request per step, the daemon now retries all addresses in the selection with 300ms timeout between tries. there are len(list) + len(list)/2 tries the idea is to reduce latency when UDP request doesn't punch through, or some NSs are overwhelmed/faulty
-
- Nov 13, 2015
-
-
Marek Vavruša authored
-
- Nov 12, 2015
-
-
Marek Vavruša authored
-