]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
7 years agolib/resolve: optimazlization of resolution overall time checking
Grigorii Demidov [Mon, 11 Sep 2017 08:55:19 +0000 (10:55 +0200)] 
lib/resolve: optimazlization of resolution overall time checking

7 years agolib: additional checks when overall resolution time of single query is checked
Grigorii Demidov [Thu, 7 Sep 2017 13:09:24 +0000 (15:09 +0200)] 
lib: additional checks when overall resolution time of single query is checked

7 years agolib: support of an upper limit for resolution time of single query
Grigorii Demidov [Thu, 7 Sep 2017 12:07:13 +0000 (14:07 +0200)] 
lib: support of an upper limit for resolution time of single query

7 years agoMerge !366: worker: disable assert we can't fix immediately
Vladimír Čunát [Thu, 7 Sep 2017 09:11:02 +0000 (11:11 +0200)] 
Merge !366: worker: disable assert we can't fix immediately

7 years agoworker: disable assertion that we can't fix immediately
Vladimír Čunát [Thu, 7 Sep 2017 09:04:06 +0000 (11:04 +0200)] 
worker: disable assertion that we can't fix immediately

Production kresd should compile with -DNDEBUG, so it wouldn't be
affected by this, but it was annoying for debugging other problems.
See https://gitlab.labs.nic.cz/knot/knot-resolver/issues/245

7 years agoMerge !362: LMDB fixes - transactions and cache.clear()
Vladimír Čunát [Wed, 6 Sep 2017 13:45:09 +0000 (15:45 +0200)] 
Merge !362: LMDB fixes - transactions and cache.clear()

7 years agoNEWS: entry for this branch
Vladimír Čunát [Wed, 6 Sep 2017 13:28:39 +0000 (15:28 +0200)] 
NEWS: entry for this branch

Fixes https://gitlab.labs.nic.cz/knot/knot-resolver/issues/240

7 years agocache: nitpicks
Vladimír Čunát [Mon, 4 Sep 2017 12:57:09 +0000 (14:57 +0200)] 
cache: nitpicks

7 years agocache.clear() on LMDB: be more strict about transactions
Vladimír Čunát [Mon, 4 Sep 2017 12:48:41 +0000 (14:48 +0200)] 
cache.clear() on LMDB: be more strict about transactions

In particular, don't keep even a reset read-only transaction.
This doesn't help with that MDB_BAD_TXN, but still it seems better.

7 years agocache.clear() on LMDB: simplify .cachelock
Vladimír Čunát [Mon, 4 Sep 2017 12:22:50 +0000 (14:22 +0200)] 
cache.clear() on LMDB: simplify .cachelock

The locking was done incorrectly - the copied text from man open(2)
suggested creating a *unique* file and linking that one to the lockfile.
Anyway, I don't think we need to support cache on NFSv3 on old kernels ;-)

7 years agoMerge !364: doc/build: fix another instance of the old link
Vladimír Čunát [Mon, 4 Sep 2017 11:49:17 +0000 (13:49 +0200)] 
Merge !364: doc/build: fix another instance of the old link

7 years agodoc/build: fix another instance of the old link
Vladimír Čunát [Mon, 4 Sep 2017 11:42:01 +0000 (13:42 +0200)] 
doc/build: fix another instance of the old link

7 years agoMerge !363: README: Fix homepage/download link
Vladimír Čunát [Mon, 4 Sep 2017 11:37:51 +0000 (13:37 +0200)] 
Merge !363: README: Fix homepage/download link

7 years agoFix homepage/download link in README
helb [Mon, 4 Sep 2017 11:24:01 +0000 (13:24 +0200)] 
Fix homepage/download link in README

Homepage link was broken – https://www.knot-resolver.cz/pages/try.html returns 404 (moved to /download during website redesign)

7 years agocache.clear() on LMDB: first try mdb_drop()
Vladimír Čunát [Mon, 4 Sep 2017 10:51:47 +0000 (12:51 +0200)] 
cache.clear() on LMDB: first try mdb_drop()

It's certainly a cleaner way.

7 years agocache: handle LMDB resize by another process
Vladimír Čunát [Fri, 1 Sep 2017 15:11:31 +0000 (17:11 +0200)] 
cache: handle LMDB resize by another process

kresd never handled it.  It's perhaps a rare occasion when different
instances (attempt to) set different cache sizes.

7 years agodocs: purge long-dead cache API from an example
Vladimír Čunát [Fri, 1 Sep 2017 15:40:36 +0000 (17:40 +0200)] 
docs: purge long-dead cache API from an example

7 years agocache: rework reusing transactions (LMDB)
Vladimír Čunát [Fri, 1 Sep 2017 13:33:30 +0000 (15:33 +0200)] 
cache: rework reusing transactions (LMDB)

Previously a read transaction could be held open by each fork
indefinitely.  That was done for better speed, but it had a downside
of keeping old pages alive and potentially reading only old data,
until some writes were attempted by that fork.

Now kr_cache_ provides explicit API for suitable points where to break
transactions, reusing the _sync command.  On LMDB side the read-only
transaction is only reset and later renewed, supposedly giving better
performance than aborting (see LMDB docs on reset+renew).

Performance: preliminary testing with two forks, resperf on comcast
query-set shows no noticeable difference in peak QPS.

7 years agoMerge !361: main ipc_activity: misc improvements
Vladimír Čunát [Fri, 1 Sep 2017 13:50:36 +0000 (15:50 +0200)] 
Merge !361: main ipc_activity: misc improvements

Fixes #150.

7 years agoMerge branch 'ci-valgrind' into 'master'
Petr Špaček [Thu, 31 Aug 2017 11:32:53 +0000 (13:32 +0200)] 
Merge branch 'ci-valgrind' into 'master'

Run unittests in CI under Valgrind memcheck

See merge request !353

7 years agoCheck for memory leaks during unittest CI using valgrind
Štěpán Kotek [Wed, 30 Aug 2017 09:06:11 +0000 (11:06 +0200)] 
Check for memory leaks during unittest CI using valgrind

New ci task has been added that checks for possible memory leaks when running unittests. Messages from valgrind are displayed only when leak is detected.
refs #227

7 years agoAdd dockerfile for valgrind ci tests.
Štěpán Kotek [Tue, 29 Aug 2017 11:31:39 +0000 (13:31 +0200)] 
Add dockerfile for valgrind ci tests.

7 years agomain ipc_activity: close and free handle on error
Vitezslav Kriz [Tue, 29 Aug 2017 10:08:48 +0000 (12:08 +0200)] 
main ipc_activity: close and free handle on error

7 years agomain ipc_activity: misc improvements
Vladimír Čunát [Thu, 24 Aug 2017 11:59:01 +0000 (13:59 +0200)] 
main ipc_activity: misc improvements

Stop IPC after getting an error.  One point is the situation when one
of the forks ends for some reason, which lead to problems.
Another point is pipes getting out of sync.

Smaller changes:
- don't free the handle while it's still half-in-use
- don't fully panic here because of ENOMEM, just stop IPC

Fixes https://gitlab.labs.nic.cz/knot/knot-resolver/issues/150

7 years agomain ipc_activity: use goto to simplify nesting
Vladimír Čunát [Thu, 24 Aug 2017 11:50:51 +0000 (13:50 +0200)] 
main ipc_activity: use goto to simplify nesting

7 years agoMerge branch 'ci-clone-workaround' into 'master'
Petr Špaček [Wed, 23 Aug 2017 15:07:52 +0000 (17:07 +0200)] 
Merge branch 'ci-clone-workaround' into 'master'

Gitlab bug workaround: use git:// protocol for submodules

See merge request !360

7 years agoci: update Deckard to use newest resolver test suite
Petr Špaček [Wed, 23 Aug 2017 14:18:02 +0000 (16:18 +0200)] 
ci: update Deckard to use newest resolver test suite

Besides other things, this version of Deckard has new DNSSEC tests and
includes workaround for Gitlab CI submodule checkout.

7 years agoci: use git:// protocol for external submodules
Petr Špaček [Wed, 23 Aug 2017 13:39:23 +0000 (15:39 +0200)] 
ci: use git:// protocol for external submodules

This is workaround for
https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/2148

Given the fact we only read it, and the fact that commit ID is stored
inside our repo, it should not bring any new security problems.

7 years agoMerge branch 'cache_error_reporting' into 'master'
Petr Špaček [Wed, 23 Aug 2017 11:45:21 +0000 (13:45 +0200)] 
Merge branch 'cache_error_reporting' into 'master'

daemon: improve error reporting related to cache configuration

See merge request !359

7 years agodaemon: improve error reporting related to cache configuration
Petr Špaček [Tue, 22 Aug 2017 16:20:21 +0000 (18:20 +0200)] 
daemon: improve error reporting related to cache configuration

Confusion related to wrong cache configuration is more frequent than it
should be. Hopefully this will enable users to help themselves.

7 years agoMerge !356: doc: fix default for net.tcp_pipeline
Vladimír Čunát [Fri, 18 Aug 2017 09:26:35 +0000 (11:26 +0200)] 
Merge !356: doc: fix default for net.tcp_pipeline

7 years agodoc: fix default for net.tcp_pipeline
Vladimír Čunát [Fri, 18 Aug 2017 09:21:12 +0000 (11:21 +0200)] 
doc: fix default for net.tcp_pipeline

8 years agoMerge !355: CI fixes
Vladimír Čunát [Tue, 15 Aug 2017 15:21:01 +0000 (17:21 +0200)] 
Merge !355: CI fixes

8 years agogitlab-ci: employ GIT_SUBMODULE_STRATEGY: recursive
Vladimír Čunát [Tue, 15 Aug 2017 14:55:47 +0000 (16:55 +0200)] 
gitlab-ci: employ GIT_SUBMODULE_STRATEGY: recursive

8 years agogitlab-ci: fallout from !352
Vladimír Čunát [Tue, 15 Aug 2017 14:39:13 +0000 (16:39 +0200)] 
gitlab-ci: fallout from !352

- don't have pyyaml twice
- don't install for python3 (for now), just as with other modules

8 years agodeckard: update, mainly to fix outdated RRSIG
Vladimír Čunát [Tue, 15 Aug 2017 14:37:47 +0000 (16:37 +0200)] 
deckard: update, mainly to fix outdated RRSIG

8 years agoMerge !337: policy.suffix: update the aho-corasick code
Vladimír Čunát [Tue, 15 Aug 2017 14:21:43 +0000 (16:21 +0200)] 
Merge !337: policy.suffix: update the aho-corasick code

Close https://gitlab.labs.nic.cz/knot/knot-resolver/issues/200.

8 years agoMerge branch 'master' into aho-corasick
Vladimír Čunát [Tue, 15 Aug 2017 14:12:12 +0000 (16:12 +0200)] 
Merge branch 'master' into aho-corasick

... to resolve some simple conflicts.

8 years agoMerge branch 'fix-deckard-ci' into 'master'
Petr Špaček [Tue, 15 Aug 2017 12:09:31 +0000 (14:09 +0200)] 
Merge branch 'fix-deckard-ci' into 'master'

Install yaml for deckard CI.

See merge request !352

8 years agoInstall yaml for deckard CI.
Štěpán Kotek [Tue, 15 Aug 2017 12:04:48 +0000 (14:04 +0200)] 
Install yaml for deckard CI.

8 years agoMerge branch 'flags-refactor' into 'master'
Petr Špaček [Thu, 10 Aug 2017 09:58:23 +0000 (11:58 +0200)] 
Merge branch 'flags-refactor' into 'master'

refactor query flags

See merge request !341

8 years agoMerge !351: Dockerfile: try fixing the build
Vladimír Čunát [Wed, 9 Aug 2017 16:32:23 +0000 (18:32 +0200)] 
Merge !351: Dockerfile: try fixing the build

8 years agobootstrap-depends.sh: update packages
Vladimír Čunát [Wed, 9 Aug 2017 15:28:26 +0000 (17:28 +0200)] 
bootstrap-depends.sh: update packages

8 years agoDockerfile: try fixing the build
Vladimír Čunát [Wed, 9 Aug 2017 15:19:29 +0000 (17:19 +0200)] 
Dockerfile: try fixing the build

The bad xxd didn't happen to me locally :-/

8 years agoMerge branch 'master' into flags-refactor
Vladimír Čunát [Wed, 9 Aug 2017 14:28:36 +0000 (16:28 +0200)] 
Merge branch 'master' into flags-refactor

There were just simple conflicts in NEWS and docs.

8 years agoMerge !350: Release 1.3.3 v1.3.3
Vladimír Čunát [Wed, 9 Aug 2017 12:19:39 +0000 (14:19 +0200)] 
Merge !350: Release 1.3.3

8 years agogitlab CI: try to fix it
Vladimír Čunát [Wed, 9 Aug 2017 09:27:53 +0000 (11:27 +0200)] 
gitlab CI: try to fix it

8 years agorelease 1.3.3
Vladimír Čunát [Wed, 9 Aug 2017 08:23:47 +0000 (10:23 +0200)] 
release 1.3.3

8 years agodoc: fix a RST syntax error
Vladimír Čunát [Wed, 9 Aug 2017 08:23:06 +0000 (10:23 +0200)] 
doc: fix a RST syntax error

8 years agoMerge a critical security fix
Vladimír Čunát [Wed, 9 Aug 2017 08:38:10 +0000 (10:38 +0200)] 
Merge a critical security fix

8 years agoMerge !349: modules/http: fix compatibility with Prometheus
Vladimír Čunát [Tue, 8 Aug 2017 08:26:02 +0000 (10:26 +0200)] 
Merge !349: modules/http: fix compatibility with Prometheus

https://github.com/CZ-NIC/knot-resolver/pull/48

8 years agoNEWS: add parent commit
Vladimír Čunát [Tue, 8 Aug 2017 08:20:57 +0000 (10:20 +0200)] 
NEWS: add parent commit

8 years agomodules/http: fix compatibility with the Prometheus text format
Marek Vavruša [Tue, 8 Aug 2017 05:00:32 +0000 (22:00 -0700)] 
modules/http: fix compatibility with the Prometheus text format

The Prometheus text format requires histogram parameters to be quoted,
and the result to end with an empty newline characted.

8 years agoMerge !348: utils: silence a coverity warning
Vladimír Čunát [Mon, 7 Aug 2017 08:36:02 +0000 (10:36 +0200)] 
Merge !348: utils: silence a coverity warning

8 years agoutils: silence a coverity warning
Vladimír Čunát [Mon, 7 Aug 2017 08:26:18 +0000 (10:26 +0200)] 
utils: silence a coverity warning

There's no real change, as the function is documented to possibly
return only zero or one in this case.

8 years agoMerge !347: utils: fix seeding of the random generator
Vladimír Čunát [Fri, 4 Aug 2017 12:15:30 +0000 (14:15 +0200)] 
Merge !347: utils: fix seeding of the random generator

8 years agoutils: fix seeding of the random generator
Vladimír Čunát [Fri, 4 Aug 2017 06:22:51 +0000 (08:22 +0200)] 
utils: fix seeding of the random generator

If the fread didn't read all in one go, the buffer was being repeatedly
overwritten from the start instead of continuing the read :-/
I also changed the overall approach in some respects.

8 years agodnssec: make a function static (unused outside)
Vladimír Čunát [Thu, 3 Aug 2017 12:39:50 +0000 (14:39 +0200)] 
dnssec: make a function static (unused outside)

8 years agodnssec: guard against out-of-bailiwick signatures
Vladimír Čunát [Thu, 3 Aug 2017 11:55:04 +0000 (13:55 +0200)] 
dnssec: guard against out-of-bailiwick signatures

8 years agoMerge !346: kr_rand_uint: nitpicks
Vladimír Čunát [Thu, 3 Aug 2017 13:23:43 +0000 (15:23 +0200)] 
Merge !346: kr_rand_uint: nitpicks

8 years agokr_rand_uint: nitpicks
Vladimír Čunát [Thu, 3 Aug 2017 12:59:48 +0000 (14:59 +0200)] 
kr_rand_uint: nitpicks

- the returned value is up to max-1 and not max (tiny bias)
- improve efficiency slightly
- unsigned -> uint32_t, as that's the range it supports (mostly equal)

8 years agoMerge !343: iterate: remove counter-productive validation
Vladimír Čunát [Thu, 3 Aug 2017 08:41:35 +0000 (10:41 +0200)] 
Merge !343: iterate: remove counter-productive validation

8 years agolayer/iterate: remove counter-productive validation
Grigorii Demidov [Wed, 2 Aug 2017 16:13:49 +0000 (18:13 +0200)] 
layer/iterate: remove counter-productive validation

... functionality from iterator: don't fail immediately if actual number
of labels in owner name exceeds number in label field of RRSIG rrset

8 years agoMerge branch 'ci-respdiff' into 'master'
Petr Špaček [Wed, 2 Aug 2017 18:45:00 +0000 (20:45 +0200)] 
Merge branch 'ci-respdiff' into 'master'

CI: integrate respdiff v2 into gitlab-ci

See merge request !345

8 years agoCI: migrate to respdiff v2
Stepan Kotek [Wed, 2 Aug 2017 10:42:01 +0000 (12:42 +0200)] 
CI: migrate to respdiff v2

All resolvers are configured as recursors (no forwarding).
We should extend testing so we can test recursion and forwarding at the
same time.

List of queries is taken dynamically from
https://gitlab.labs.nic.cz/knot/knot-resolver/snippets/69
This will likely change in future.

The test will fail if mismatch rate >= 1 %.
This is error margin for network instability and few possibly broken upstreams
in the test list.

8 years agoMerge branch 'ci-deckard' into 'master'
Petr Špaček [Wed, 2 Aug 2017 17:25:22 +0000 (19:25 +0200)] 
Merge branch 'ci-deckard' into 'master'

CI: update Deckard to use newest resolver test suite

See merge request !344

8 years agoCI: update Deckard to use newest resolver test suite
Petr Špaček [Wed, 2 Aug 2017 17:17:42 +0000 (19:17 +0200)] 
CI: update Deckard to use newest resolver test suite

8 years agoMerge !325: policy: more/better special-use domain names
Vladimír Čunát [Wed, 2 Aug 2017 15:41:51 +0000 (17:41 +0200)] 
Merge !325: policy: more/better special-use domain names

8 years agoNEWS: changes in this branch
Vladimír Čunát [Wed, 2 Aug 2017 14:59:14 +0000 (16:59 +0200)] 
NEWS: changes in this branch

8 years agoMerge branch 'master' into policy-reserved-domains
Vladimír Čunát [Wed, 2 Aug 2017 14:48:21 +0000 (16:48 +0200)] 
Merge branch 'master' into policy-reserved-domains

8 years agoMerge !342: make: revert adding -rpath by default
Vladimír Čunát [Wed, 2 Aug 2017 14:29:21 +0000 (16:29 +0200)] 
Merge !342: make: revert adding -rpath by default

8 years agomake: revert adding -rpath by default
Vladimír Čunát [Wed, 2 Aug 2017 14:23:19 +0000 (16:23 +0200)] 
make: revert adding -rpath by default

This reverts commits 89ebf5293 and 1d8b5706cd.
I didn't realize that setting rpath is considered bad practice by most
distributions.  I'm really "spoiled" by nix(pkgs/os).

8 years agopolicy docs: rework it all
Vladimír Čunát [Wed, 2 Aug 2017 09:31:12 +0000 (11:31 +0200)] 
policy docs: rework it all

- greatly reduce duplication - mainly actions and filters that were
described on two separate places
- try to improve readability etc.

8 years agohints docs: clean a bit, note interaction with policies
Vladimír Čunát [Wed, 2 Aug 2017 08:31:04 +0000 (10:31 +0200)] 
hints docs: clean a bit, note interaction with policies

8 years agolua: remove :nslist from kr_query_t
Vladimír Čunát [Tue, 1 Aug 2017 16:38:42 +0000 (18:38 +0200)] 
lua: remove :nslist from kr_query_t

It was rather low-level anyway.

8 years agolua: remove :final from kr_query_t
Vladimír Čunát [Tue, 1 Aug 2017 16:35:30 +0000 (18:35 +0200)] 
lua: remove :final from kr_query_t

8 years agolua: remove some compatibility code
Vladimír Čunát [Tue, 1 Aug 2017 16:15:52 +0000 (18:15 +0200)] 
lua: remove some compatibility code

8 years agoqflags refactor: NEWS entry, ABI bump
Vladimír Čunát [Wed, 26 Apr 2017 10:59:26 +0000 (12:59 +0200)] 
qflags refactor: NEWS entry, ABI bump

8 years agokr_qflags: don't use X-macros anymore
Vladimír Čunát [Wed, 26 Apr 2017 09:39:23 +0000 (11:39 +0200)] 
kr_qflags: don't use X-macros anymore

We no longer need it and it's just confusing,
e.g. the bit assignments were ignored now.

8 years agoqflags: WIP refactor - lua-related fixups
Vladimír Čunát [Tue, 25 Apr 2017 19:00:53 +0000 (21:00 +0200)] 
qflags: WIP refactor - lua-related fixups

8 years agoqflags: WIP refactor - reimplement option() in lua
Vladimír Čunát [Tue, 25 Apr 2017 15:59:49 +0000 (17:59 +0200)] 
qflags: WIP refactor - reimplement option() in lua

8 years agoqflags: WIP refactor - hand-replace complex cases
Vladimír Čunát [Tue, 25 Apr 2017 12:56:48 +0000 (14:56 +0200)] 
qflags: WIP refactor - hand-replace complex cases

8 years agoqflags: WIP refactor - regex replacements
Vladimír Čunát [Tue, 1 Aug 2017 13:23:57 +0000 (15:23 +0200)] 
qflags: WIP refactor - regex replacements

sed -e 's/flags |= QUERY_\([A-Z0-9_]*\);/flags.\1 = true;/g' \
        -e 's/flags &= ~QUERY_\([A-Z0-9_]*\);/flags.\1 = false;/g' \
        -e 's/\(flags\|options\|opts\) & QUERY_\([A-Z0-9_]*\)\()\| ||\)/\1.\2\3/g' \
        -i $(git grep -l QUERY_)

8 years agoqflags: WIP refactor
Vladimír Čunát [Tue, 25 Apr 2017 11:34:35 +0000 (13:34 +0200)] 
qflags: WIP refactor

8 years agoMerge !340: make: add -rpath only on non-Darwin POSIX
Vladimír Čunát [Tue, 1 Aug 2017 14:50:29 +0000 (16:50 +0200)] 
Merge !340: make: add -rpath only on non-Darwin POSIX

8 years agomake: add -rpath only on non-Darwin POSIX
Vladimír Čunát [Tue, 1 Aug 2017 11:47:10 +0000 (13:47 +0200)] 
make: add -rpath only on non-Darwin POSIX

I didn't recall this doesn't work on Darwin.

8 years agoMerge !338: make: add -rpath when linking to find libkres
Vladimír Čunát [Tue, 1 Aug 2017 11:28:28 +0000 (13:28 +0200)] 
Merge !338: make: add -rpath when linking to find libkres

8 years agomake: add -rpath when linking to find libkres
Vladimír Čunát [Tue, 1 Aug 2017 11:23:38 +0000 (13:23 +0200)] 
make: add -rpath when linking to find libkres

... even if LIBDIR isn't on a standard place.

8 years agoNEWS + docs: the aho-corasick update
Vladimír Čunát [Tue, 1 Aug 2017 09:36:09 +0000 (11:36 +0200)] 
NEWS + docs: the aho-corasick update

Fixes https://gitlab.labs.nic.cz/knot/knot-resolver/issues/200

8 years agoadd scripts/make-archive.sh
Vladimír Čunát [Tue, 1 Aug 2017 09:06:13 +0000 (11:06 +0200)] 
add scripts/make-archive.sh

as 'git archive' won't include the submodule with aho-corasick code

8 years agopolicy aho-corasick: makefile tweaks
Vladimír Čunát [Mon, 31 Jul 2017 16:51:14 +0000 (18:51 +0200)] 
policy aho-corasick: makefile tweaks

- install the library with executable bit
- use native library extension (i.e. .dylib on Macs)
- kill their fancy CFLAGS to get better portability (e.g. -msse4.1)
- gitlab-ci: this submodule is needed before building already
- actually remove aho-corasick.lua

8 years agoMerge branch 'master' into aho-corasick
Vladimír Čunát [Mon, 31 Jul 2017 13:08:01 +0000 (15:08 +0200)] 
Merge branch 'master' into aho-corasick

8 years agoMerge !336: release 1.3.2 v1.3.2
Vladimír Čunát [Fri, 28 Jul 2017 09:03:01 +0000 (11:03 +0200)] 
Merge !336: release 1.3.2

8 years agorelease 1.3.2
Vladimír Čunát [Fri, 28 Jul 2017 08:59:56 +0000 (10:59 +0200)] 
release 1.3.2

8 years agoMerge !335: predict: fixes for refreshing expiring RRs
Vladimír Čunát [Thu, 27 Jul 2017 11:51:12 +0000 (13:51 +0200)] 
Merge !335: predict: fixes for refreshing expiring RRs

8 years agopredict docs: fix the description of expiring records
Vladimír Čunát [Thu, 27 Jul 2017 11:38:03 +0000 (13:38 +0200)] 
predict docs: fix the description of expiring records

The description didn't match the reality.  Change docs for now,
even though 1% seems a bit too little to me personally.

8 years agopredict: refresh expiring records immediately
Vladimír Čunát [Thu, 27 Jul 2017 09:25:59 +0000 (11:25 +0200)] 
predict: refresh expiring records immediately

It seemed a bit strange to have 'stats' module collect expiring records
in an LRU, then once a few minutes convert that via JSON to a lua table,
and put those records into prefetching queue.  Apart from complexity,
it wouldn't work well with short TTLs typical for today's CDNs, e.g. 30
or 60 seconds.

8 years agorrcache: fix prefetching of expiring insecure RRs
Vladimír Čunát [Wed, 26 Jul 2017 16:21:01 +0000 (18:21 +0200)] 
rrcache: fix prefetching of expiring insecure RRs

Our security policy prevented those from reaching cache,
crippling the feature.

8 years agoMerge !334: bootstrap-depends.sh: fixup travis
Vladimír Čunát [Thu, 27 Jul 2017 10:54:03 +0000 (12:54 +0200)] 
Merge !334: bootstrap-depends.sh: fixup travis

8 years agobootstrap-depends.sh: try to fix travis
Vladimír Čunát [Thu, 27 Jul 2017 08:36:53 +0000 (10:36 +0200)] 
bootstrap-depends.sh: try to fix travis