]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Tomas Krizek [Wed, 11 Apr 2018 08:16:15 +0000 (10:16 +0200)]
Merge branch 'packaging-improvements' into 'master'
Packaging improvements
Closes #323
See merge request knot/knot-resolver!540
Tomas Krizek [Thu, 5 Apr 2018 16:10:18 +0000 (18:10 +0200)]
distro/deb: sync keyfile-ro patch from debian
Tomas Krizek [Tue, 27 Mar 2018 14:07:16 +0000 (16:07 +0200)]
distro/deb: avoid shipping duplicate root.hints and icann-ca.pem
Closes #323
Petr Špaček [Tue, 10 Apr 2018 07:00:07 +0000 (09:00 +0200)]
Merge branch 'aho-corasick-update' into 'master'
Aho corasick update
See merge request knot/knot-resolver!548
Daniel Kahn Gillmor [Mon, 9 Apr 2018 19:08:52 +0000 (15:08 -0400)]
Update lua-aho-corasick build rules
This continues work done in !547 by respecting sensible build patterns
across a submodule.
Daniel Kahn Gillmor [Mon, 9 Apr 2018 19:11:02 +0000 (15:11 -0400)]
use https for lua-aho-corasick submodule
Vladimír Čunát [Mon, 9 Apr 2018 13:55:30 +0000 (15:55 +0200)]
Merge !547: use CPPFLAGS if set
Daniel Kahn Gillmor [Mon, 9 Apr 2018 04:14:00 +0000 (00:14 -0400)]
use CPPFLAGS if set
CPPFLAGS is a traditional build environment variable used to set C
pre-processor flags. Accept these flags during the build if they've
been set.
Grigorii Demidov [Mon, 9 Apr 2018 08:41:30 +0000 (10:41 +0200)]
Merge branch 'marek/fix-parentchild-insecure-delegation' into 'master'
iterate: update zone cut when NS is authoritative for both parent and child
See merge request knot/knot-resolver!543
Grigorii Demidov [Mon, 9 Apr 2018 08:26:25 +0000 (10:26 +0200)]
iterate: move structure declaratin outside of ifdef block
Marek Vavruša [Sun, 8 Apr 2018 01:37:55 +0000 (18:37 -0700)]
iterate: update zone cut when NS is authoritative for both parent and child
In some cases the NS is authoritative for both parent and the child side of
the delegation (e.g. nrl.navy.mil). When it gets the query for such NS,
it can respond from the child side with an NS record in the answer and AA=1.
The resolver should update the zone cut accordingly, otherwise it would fail
validation in cases when the child-side of the delegation is insecure,
but parent side of the delegation is secure, because the child side
would respond without DNSSEC records, and it wouldn't indicate that
the zone cut needs updating (when using minimal answers) (e.g. www.nrl.navy.mil).
Vladimír Čunát [Sat, 7 Apr 2018 13:10:23 +0000 (15:10 +0200)]
Merge !542: Grammar and wording improvements in README
David Beitey [Sat, 7 Apr 2018 12:33:36 +0000 (12:33 +0000)]
Grammar and wording improvements in README
Petr Špaček [Fri, 6 Apr 2018 13:28:19 +0000 (15:28 +0200)]
Merge branch 'nsfetch-nokey' into 'master'
lib/resolve: cut fetching: don't use root hints if no keys fetched, but glue addresses found
See merge request knot/knot-resolver!513
Vladimír Čunát [Mon, 5 Mar 2018 14:51:41 +0000 (15:51 +0100)]
lib/zonecut: nitpicks in kr_zonecut_has_glue()
Grigorii Demidov [Fri, 2 Mar 2018 11:34:09 +0000 (12:34 +0100)]
lib/zonecut: get rid off incorrect function name
Grigorii Demidov [Thu, 1 Mar 2018 10:43:48 +0000 (11:43 +0100)]
lib/resolve: cut fetching: don't use root hints if no keys fetched, but glue addresses found
Petr Špaček [Wed, 4 Apr 2018 07:19:27 +0000 (09:19 +0200)]
Merge branch 'nitpicks' into 'master'
Nitpicks
See merge request knot/knot-resolver!537
Vladimír Čunát [Thu, 29 Mar 2018 12:06:01 +0000 (14:06 +0200)]
docs: cross-linking nitpicks
- clickable module references
- clickable RFC references via :rfc:`NNN#anchor`
Vladimír Čunát [Thu, 29 Mar 2018 11:50:19 +0000 (13:50 +0200)]
predict: don't auto-load stats if not needed
and make docs conform to the reality.
Vladimír Čunát [Thu, 29 Mar 2018 11:15:08 +0000 (13:15 +0200)]
daemon/bindings: keep the pattern for function names
Vladimír Čunát [Thu, 29 Mar 2018 11:13:44 +0000 (13:13 +0200)]
document cache.ns_tout
Petr Špaček [Wed, 4 Apr 2018 07:06:17 +0000 (09:06 +0200)]
Merge branch 'validate-cname-nxdomain' into 'master'
validator: fix CNAME to NXDOMAIN in a single answer
See merge request knot/knot-resolver!538
Vladimír Čunát [Tue, 3 Apr 2018 14:15:26 +0000 (16:15 +0200)]
validator: fix CNAME to NXDOMAIN in a single answer
Real example: cname.nohats.ca
This case was handled for forwarding only, presumably because it
happened more often (no need to be withing single zone to be within
single answer); now the approach is the same.
Tomas Krizek [Wed, 28 Mar 2018 11:33:39 +0000 (13:33 +0200)]
Merge branch 'release-2-2-0' into 'master'
Release 2.2.0
See merge request knot/knot-resolver!535
Vladimír Čunát [Wed, 28 Mar 2018 10:36:40 +0000 (12:36 +0200)]
cache: nitpick after !532 (no effect)
Vladimír Čunát [Wed, 28 Mar 2018 09:42:02 +0000 (11:42 +0200)]
lua bindings: fix generator after !534
Tomas Krizek [Tue, 27 Mar 2018 08:57:59 +0000 (10:57 +0200)]
debian: bump to libkres7
Tomas Krizek [Tue, 27 Mar 2018 08:52:40 +0000 (10:52 +0200)]
release 2.2.0
Petr Špaček [Wed, 28 Mar 2018 09:26:35 +0000 (11:26 +0200)]
Merge branch 'serve-stale-rcache-v1' into 'master'
Serve stale with reputation cache: version 1
See merge request knot/knot-resolver!534
Grigorii Demidov [Thu, 22 Mar 2018 10:54:52 +0000 (11:54 +0100)]
lib/nsrep: cleanup
Grigorii Demidov [Wed, 21 Mar 2018 18:15:22 +0000 (19:15 +0100)]
lib/nsrep: tuning of serve-stale parameters; valid NS's sometimes been ignored by ns election algorithm, fixed
Grigorii Demidov [Tue, 20 Mar 2018 16:14:31 +0000 (17:14 +0100)]
daemon: tuning of stale-serve parameters
Grigorii Demidov [Mon, 19 Mar 2018 16:42:31 +0000 (17:42 +0100)]
daemon: time period which determines how long NS non-reachabilty will be cached made configurable
Grigorii Demidov [Mon, 19 Mar 2018 14:37:14 +0000 (15:37 +0100)]
daemon/engine: remove cache cleaning timer since this functionality was relocated to nsrep
Grigorii Demidov [Mon, 19 Mar 2018 14:15:00 +0000 (15:15 +0100)]
lib/nsrep: tuning of 'serve_stale' module
Grigorii Demidov [Mon, 12 Mar 2018 11:02:18 +0000 (12:02 +0100)]
lib/nsrep: when timeout occurs and NS has no cached RTT yet, don't mark it as timeouted
Grigorii Demidov [Fri, 9 Mar 2018 15:18:21 +0000 (16:18 +0100)]
lib/nsrep: don't mark NS as 'timeouted' immediately, but after two retries
Grigorii Demidov [Fri, 9 Mar 2018 10:35:54 +0000 (11:35 +0100)]
lib/nsrep: minor changes
Grigorii Demidov [Thu, 8 Mar 2018 16:15:42 +0000 (17:15 +0100)]
lib/nsrep: some changes in NS selection algorithm
Grigorii Demidov [Wed, 7 Mar 2018 16:21:07 +0000 (17:21 +0100)]
lib/nsrep: some changes in NS selection algorythm
Petr Špaček [Wed, 28 Mar 2018 09:09:25 +0000 (11:09 +0200)]
Merge branch 'fix-crash-with-large-rrsets' into 'master'
cache: fixed crash with RR sets with over 255 records
See merge request knot/knot-resolver!532
Marek Vavruša [Wed, 28 Mar 2018 05:10:09 +0000 (22:10 -0700)]
cache: fixed crash with RR sets with over 255 records
The previous cache version encoded RR count as uint8_t, which doesn't
work with RR sets with over 255 records. This caused cache writes
to fail and subsequently ending in an assertion failure.
It is not very common to have large RR sets, but it has legitimate
use cases such as a lot of SRV or address records for large container
deployments etc.
Grigorii Demidov [Mon, 26 Mar 2018 13:58:46 +0000 (15:58 +0200)]
Merge branch 'fix-oversize-responses-over-tcp' into 'master'
daemon/worker: allow large responses for outbound over TCP
See merge request knot/knot-resolver!526
Marek Vavruša [Tue, 20 Mar 2018 22:41:05 +0000 (15:41 -0700)]
daemon/worker: allow large responses for outbound over TCP
This was previously fixed in
e25358d4f6521a55c33ec1d3a55f2bf6e2f99607 ,
but broken in the rewrite. The answer buffer size must be a maximum size,
otherwise payloads larger than configured UDP buffer size can't be
transmitted over TCP.
Petr Špaček [Mon, 26 Mar 2018 12:27:06 +0000 (14:27 +0200)]
Merge branch 'debian-no-symbols-in-dev' into 'master'
debian: build dev packages without symbols file
See merge request knot/knot-resolver!524
Tomas Krizek [Mon, 19 Mar 2018 15:25:02 +0000 (16:25 +0100)]
debian: build dev packages without symbols file
Petr Špaček [Mon, 26 Mar 2018 12:14:58 +0000 (14:14 +0200)]
Merge branch 'packaging-tests' into 'master'
packaging: tests - explicitly specify repository for testing
See merge request knot/knot-resolver!525
Tomas Krizek [Mon, 19 Mar 2018 19:30:59 +0000 (20:30 +0100)]
packaging: tests - explicitly specify repository for testing
Petr Špaček [Mon, 26 Mar 2018 11:55:35 +0000 (13:55 +0200)]
Merge branch 'disable-tls-error-logs' into 'master'
daemon/tls: downgraded TLS logging to verbose
See merge request knot/knot-resolver!531
Marek Vavruša [Fri, 23 Mar 2018 21:32:08 +0000 (14:32 -0700)]
daemon/tls: downgraded TLS logging to verbose
Logging handshake and connection failures should be verbose, as
it's not really a server failure if client errors, or uses a wrong
SPKI pin to the certificate. It is however not ideal to flood logs.
Tomas Krizek [Thu, 22 Mar 2018 16:52:52 +0000 (17:52 +0100)]
Merge branch 'update-readme-pkg' into 'master'
README: update package information
See merge request knot/knot-resolver!529
Tomas Krizek [Thu, 22 Mar 2018 16:44:14 +0000 (17:44 +0100)]
README: update package information
Tomas Krizek [Thu, 22 Mar 2018 16:18:18 +0000 (17:18 +0100)]
Merge branch 'obs-nightly-build' into 'master'
ci: execute OBS build nightly instead of after every change
See merge request knot/knot-resolver!528
Tomas Krizek [Thu, 22 Mar 2018 15:59:48 +0000 (16:59 +0100)]
ci: execute OBS build nightly instead of after every change
There are couple reasons to prefer nightly builds:
- to conserve hw resources
- automated builds at predictable times make it easier to use the devel
repo for manual testing builds
Vladimír Čunát [Mon, 19 Mar 2018 12:08:12 +0000 (13:08 +0100)]
Merge !516: nitpicks, see individual commits
Vladimír Čunát [Wed, 7 Mar 2018 09:40:25 +0000 (10:40 +0100)]
make: don't magically -D_FORTIFY_SOURCE=2
This is just annoying for development. You want -O0 or -Og,
and consequently you get lots of warnings that are difficult to disable.
I believe hardening options are more of a responsibility/choice of the
caller, typically distributions have some general policies and pass the
flags (almost) uniformly to all packages. I can't see any part of kresd
being so specific to warrant explicit hardening.
Vladimír Čunát [Wed, 7 Mar 2018 09:27:53 +0000 (10:27 +0100)]
ucw/mempool-fmt: alloca.h isn't needed (anymore)
The file is new here, but it has a long history upstream.
Thanks to Leo Vandewoestijne for finding the problem on FreeBSD.
Vladimír Čunát [Fri, 2 Mar 2018 16:07:14 +0000 (17:07 +0100)]
kr_qrflags: fix a comment
NDEBUG has no effect on this, for a long time.
Tomas Krizek [Mon, 12 Mar 2018 11:34:56 +0000 (12:34 +0100)]
Merge branch 'ci-histogram' into 'master'
ci: respdiff - plot histogram
See merge request knot/knot-resolver!521
Tomas Krizek [Mon, 12 Mar 2018 10:51:00 +0000 (11:51 +0100)]
ci: respdiff - plot histogram
Tomas Krizek [Mon, 12 Mar 2018 09:58:02 +0000 (10:58 +0100)]
Merge branch 'rpm-spec-update' into 'master'
rpm: don't turn off selinux
See merge request knot/knot-resolver!520
Tomas Krizek [Mon, 12 Mar 2018 09:48:31 +0000 (10:48 +0100)]
rpm: don't turn off selinux
Vladimír Čunát [Wed, 7 Mar 2018 13:24:21 +0000 (14:24 +0100)]
Merge !517: ci: no distro builds for knot-resolver forks
They don't have enough privileges anyway.
Tomas Krizek [Wed, 7 Mar 2018 13:15:37 +0000 (14:15 +0100)]
ci: do not trigger distro builds for knot-resolver forks
Vladimír Čunát [Thu, 1 Mar 2018 14:25:34 +0000 (15:25 +0100)]
Merge !514: nitpicks: unused function, --verbose strings
Vladimír Čunát [Fri, 23 Feb 2018 13:57:50 +0000 (14:57 +0100)]
utils: remove an unused function
Last usage dropped in 1.9, and it seems unlikely to be useful in this
form.
Vladimír Čunát [Fri, 23 Feb 2018 09:47:07 +0000 (10:47 +0100)]
--verbose: use strings with clearer meaning
Vladimír Čunát [Thu, 1 Mar 2018 14:02:35 +0000 (15:02 +0100)]
Merge !503: map_t, set_t: unify memory allocation to mm_*
Vladimír Čunát [Fri, 23 Feb 2018 09:25:16 +0000 (10:25 +0100)]
map_add, set_add: fix misleading API doc
I really hate such "inaccuracies".
Vladimír Čunát [Mon, 19 Feb 2018 17:56:03 +0000 (18:56 +0100)]
map_t, set_t: unify memory allocation to mm_*
We use the knot style everywhere else; this was very similar and yet
different, so really annoying to me. In the long term we might better
migrate to qp-tries from knot, but the API differs, so it's delayed...
Tomas Krizek [Wed, 28 Feb 2018 14:51:29 +0000 (15:51 +0100)]
Merge branch 'obs-change-user' into 'master'
packaging: change OBS user
See merge request knot/knot-resolver!512
Tomas Krizek [Wed, 28 Feb 2018 14:42:44 +0000 (15:42 +0100)]
packaging: change OBS user
Petr Špaček [Wed, 28 Feb 2018 11:11:02 +0000 (12:11 +0100)]
Merge branch 'rpmbuild-in-ci' into 'master'
ci: Fedora/EPEL/Arch builds in CI and OBS
See merge request knot/knot-resolver!502
Tomas Krizek [Tue, 27 Feb 2018 17:20:41 +0000 (18:20 +0100)]
scripts: obs - require confirmation when not pushing to devel
Tomas Krizek [Tue, 27 Feb 2018 17:06:27 +0000 (18:06 +0100)]
deb: update keyfile-ro patch
Tomas Krizek [Tue, 27 Feb 2018 16:55:34 +0000 (17:55 +0100)]
deb: remove lintian overrides
Tomas Krizek [Tue, 27 Feb 2018 17:08:00 +0000 (18:08 +0100)]
deb: drop unnecessary python3 patch
Tomas Krizek [Tue, 27 Feb 2018 16:49:30 +0000 (17:49 +0100)]
makefile: use python3 to detect modules
Tomas Krizek [Tue, 27 Feb 2018 16:52:55 +0000 (17:52 +0100)]
rpm: update specfile
Tomas Krizek [Tue, 27 Feb 2018 16:51:42 +0000 (17:51 +0100)]
gitlabci: add comments
Tomas Krizek [Mon, 26 Feb 2018 11:58:58 +0000 (12:58 +0100)]
packaging: rename distro directories
Tomas Krizek [Sun, 25 Feb 2018 17:29:42 +0000 (18:29 +0100)]
packaging: add tests
Tomas Krizek [Fri, 23 Feb 2018 12:09:52 +0000 (13:09 +0100)]
debian: rebase patches
Tomas Krizek [Thu, 22 Feb 2018 14:13:39 +0000 (15:13 +0100)]
packaging: cleanup scripts
Tomas Krizek [Thu, 22 Feb 2018 12:45:48 +0000 (13:45 +0100)]
packaging: script to build in obs
Also triggers OBS build in a dedicated knot-resolver-devel repo in OBS,
which doesn't use the development libraries of knot from master branch.
Tomas Krizek [Tue, 20 Feb 2018 19:09:11 +0000 (20:09 +0100)]
ci: build debian packages
Tomas Krizek [Tue, 20 Feb 2018 19:00:46 +0000 (20:00 +0100)]
packing: debian
Tomas Krizek [Mon, 19 Feb 2018 12:56:35 +0000 (13:56 +0100)]
ci: trigger OBS build for arch
Tomas Krizek [Mon, 19 Feb 2018 13:23:14 +0000 (14:23 +0100)]
scripts: fill in VERSION for all distro files
Tomas Krizek [Fri, 16 Feb 2018 11:55:56 +0000 (12:55 +0100)]
packaging: add files for Arch builds
Tomas Krizek [Wed, 14 Feb 2018 16:41:45 +0000 (17:41 +0100)]
ci: trigger obs build
Tomas Krizek [Mon, 19 Feb 2018 09:37:46 +0000 (10:37 +0100)]
ci: create rpm packages for Fedora/EPEL
Tomas Krizek [Mon, 19 Feb 2018 09:49:01 +0000 (10:49 +0100)]
scripts: use dot as a separator for pre-release versions
To be able to use the exact same version in both upstream tarballs
and downstream packages always use dot as a version separator.
This enables downstream packages to re-use the upstream versions
(especially the pre-release ones which no longer contain dash) when
building packages. This is very useful for building testing packages
e.g. in Fedora and Arch, which do not allow dash in version number.
Tags should follow this format from now on as well, e.g. 2.99.0.alpha
instead of 2.99.0-alpha
Tomas Krizek [Wed, 14 Feb 2018 16:25:48 +0000 (17:25 +0100)]
scripts: add script to modify spec file
Tomas Krizek [Fri, 2 Feb 2018 10:31:22 +0000 (11:31 +0100)]
packaging: add Fedora/EPEL files
Fedora/EPEL files and the ability to create srpm was added to be
able to test Fedora/EPEL build in upstream CI.
Tomas Krizek [Fri, 2 Feb 2018 10:11:43 +0000 (11:11 +0100)]
ci: add fedora dockerfile
Tomas Krizek [Tue, 27 Feb 2018 16:41:19 +0000 (17:41 +0100)]
Merge branch 'keyfile-doc-update' into 'master'
man: fix typos in kresd.8
See merge request knot/knot-resolver!510
Tomas Krizek [Tue, 27 Feb 2018 16:15:00 +0000 (17:15 +0100)]
man: fix typos in kresd.8
Tomas Krizek [Fri, 23 Feb 2018 11:35:27 +0000 (12:35 +0100)]
Merge branch 'release-2-1-1' into 'master'
release 2.1.1
See merge request knot/knot-resolver!509