]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
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
Tomas Krizek [Fri, 23 Feb 2018 11:23:05 +0000 (12:23 +0100)]
release 2.1.1
Petr Špaček [Fri, 23 Feb 2018 08:06:20 +0000 (09:06 +0100)]
Merge branch 'make-detect-gcc' into 'master'
make nitpicks
See merge request knot/knot-resolver!508
Vladimír Čunát [Wed, 21 Feb 2018 18:27:35 +0000 (19:27 +0100)]
make: install ETCDIR/** as world-readable
Vladimír Čunát [Wed, 21 Feb 2018 17:31:07 +0000 (18:31 +0100)]
make: more fuzzy gcc detection
It was breaking on Gentoo:
https://gitter.im/CZ-NIC/knot-resolver?at=
5a8dab7b6f8b4b9946a3caeb
Vladimír Čunát [Thu, 22 Feb 2018 15:50:37 +0000 (16:50 +0100)]
Merge !507: doc: clarify what --quiet does
Vladimír Čunát [Wed, 21 Feb 2018 16:31:36 +0000 (17:31 +0100)]
doc: clarify what --quiet does
It does almost nothing, currently.
Petr Špaček [Wed, 21 Feb 2018 16:19:33 +0000 (17:19 +0100)]
Merge branch 'tls-misc-fixes' into 'master'
lib/resolve: don't clear TCP query flags when TCP forwarding is used
See merge request knot/knot-resolver!504
Grigorii Demidov [Tue, 20 Feb 2018 13:55:25 +0000 (14:55 +0100)]
lib/resolve: don't clear TCP query flags when TCP forwarding is used
Petr Špaček [Wed, 21 Feb 2018 12:49:11 +0000 (13:49 +0100)]
Merge branch 'short-zone-cut' into 'master'
avoid iterating from a too short zone cut
Closes #246
See merge request knot/knot-resolver!505
Vladimír Čunát [Tue, 20 Feb 2018 16:15:31 +0000 (17:15 +0100)]
nitpicks around zone cut searching
It's mostly just --verbose logging adjustments.
Vladimír Čunát [Tue, 20 Feb 2018 14:50:48 +0000 (15:50 +0100)]
avoid iterating from a too short zone cut
Example: after foo.sk query the bar.sk query started iterating from
asking the root again for NS sk. This bug was present on insecure zones,
and before version 2.0.0 only such that have a secure parent.
(These two parts of the bug correspond to the two changes in this commit.)
Fixes https://gitlab.labs.nic.cz/knot/knot-resolver/issues/246
Vladimír Čunát [Sun, 18 Feb 2018 14:00:44 +0000 (15:00 +0100)]
Merge !501: Fix minor spelling and grammar nits.
Daniel Kahn Gillmor [Sun, 18 Feb 2018 02:46:11 +0000 (21:46 -0500)]
Fix minor spelling and grammar nits.
Tomas Krizek [Fri, 16 Feb 2018 14:29:10 +0000 (15:29 +0100)]
Merge branch 'release-2-1-0' into 'master'
release 2.1.0
See merge request knot/knot-resolver!500
Tomas Krizek [Fri, 16 Feb 2018 12:05:00 +0000 (13:05 +0100)]
release 2.1.0
Tomas Krizek [Fri, 16 Feb 2018 11:54:32 +0000 (12:54 +0100)]
Merge branch 'systemd-revision' into 'master'
revise systemd management arrangements
See merge request knot/knot-resolver!490
Tomas Krizek [Fri, 16 Feb 2018 09:39:43 +0000 (10:39 +0100)]
systemd: update README
Discourage use of kresd.service in distros using systemd-sysv-generator.
Tomas Krizek [Fri, 16 Feb 2018 09:20:32 +0000 (10:20 +0100)]
systemd: compatibility drop-in for kresd@.service
Unify the drop-in files for manual activation and systemd compatibility,
since it is not recommended to use manual activation if socket
activation is supported.
Also add --forks=1 to the command, otherwise the service attempts to
start in interactive mode.
Tomas Krizek [Thu, 15 Feb 2018 10:07:39 +0000 (11:07 +0100)]
systemd: link to kresd.systemd(7) in unit files and doc
Tomas Krizek [Fri, 9 Feb 2018 11:09:38 +0000 (12:09 +0100)]
systemd: provide kresd arguments in ExecStart=
To avoid using /etc/default/kresd, provide the needed arguments directly
in the ExecStart= in the kresd@.service.
Tomas Krizek [Fri, 9 Feb 2018 11:03:07 +0000 (12:03 +0100)]
systemd: remove kresd.service meta-service
The kresd.service meta-service could be confusing for users and provides
no extra functionality. The system-kresd.slice can be used to restart or
stop all running instances.
Distributions shipping with /etc/init.d/kresd should symlink the
kresd.service to /dev/null to prevent systemd-sysv-generator from
creating this service.
Daniel Kahn Gillmor [Mon, 5 Feb 2018 19:18:58 +0000 (14:18 -0500)]
systemd: drop ReusePort=true, no longer needed
ReusePort=true isn't needed because there is a single listening
socket, which is shared across all instances. Nothing needs to reuse
the port.
Daniel Kahn Gillmor [Mon, 5 Feb 2018 19:04:55 +0000 (14:04 -0500)]
systemd: clarify dropping Sockets= for non-socket-activated services
If the adminstrator of a non-socket-activated kresd installation
doesn't clear Sockets=, then they will also inherit sockets from the
process manager, which doesn't make sense. Help them avoid that
situation.
Daniel Kahn Gillmor [Mon, 5 Feb 2018 18:56:09 +0000 (13:56 -0500)]
systemd: no need to include defaults
We want these files to be as simple as possible; there's no reason to
include arguments that are already the default.
--forks=1 is the default.
and the unit files indicate WorkingDirectory already.
Daniel Kahn Gillmor [Mon, 5 Feb 2018 18:55:19 +0000 (13:55 -0500)]
systemd: drop the preset
If we only install the files in this directory, there is no need for
the preset, because kresd@1.service is not enabled by default anyway.
Simplify, simplify :)
Daniel Kahn Gillmor [Mon, 5 Feb 2018 18:53:29 +0000 (13:53 -0500)]
systemd: remove symlinks
Administrators using bash tab completion with the full completion
utilities enabled will be able to tab-complete instantiated services.
shipping symlinks gets confused during tarball generation, and during
package installation, so it's safer and cleaner to just ship the
regular unit files.
Daniel Kahn Gillmor [Mon, 5 Feb 2018 07:37:44 +0000 (02:37 -0500)]
More systemd service management cleanup
Please see discussion at:
https://github.com/systemd/systemd/issues/8096
The new approach is:
* non-templated kresd.socket and kresd-tls.socket, for the
public-facing listening ports. They know to invoke kresd@1.service
if they're socket-activated.
* kresd@.service *is* templated, to allow the admin to add more
concurrent runners with:
systemctl enable kresd@2.service
* kresd-control@.socket is still templated, since each daemon has a
separately-addressable different control port.
* non-templated kresd.service is a dummy meta-service. it is in the
same slice as kresd@.service, and all the kresd@.service instances
are PartOf= it, so you should be able to stop and restart all
services together. On systems like debian that ship
/etc/init.d/kres, this also avoids having systemd-sysv-generator
create a kresd.service based on the initscript.
* no templated instances are explicitly instantiated during initial
ship, but kresd@1.service should be socket-activated cleanly
Gbp-Pq: Name 0010-More-systemd-service-management-cleanup.patch
Petr Špaček [Thu, 15 Feb 2018 16:40:09 +0000 (17:40 +0100)]
Merge branch 'libknot' into 'master'
Require libknot 2.6.4 to avoid mysterious problems with DNS-over-TLS
See merge request knot/knot-resolver!499
Petr Špaček [Thu, 15 Feb 2018 16:25:56 +0000 (17:25 +0100)]
Require libknot 2.6.4 to avoid mysterious problems with DNS-over-TLS.
Respdiff on kresd under load showed that DNS-over-TLS has higher ratio
of SERVFAILs than other transports. For some reason the problem
disappeared after upgrading from libknot 2.6.3 to 2.6.4, and appeared
again after downgrade.
Petr Špaček [Thu, 15 Feb 2018 15:54:07 +0000 (16:54 +0100)]
Merge branch 'predict_bugfix' into 'master'
Predict module bugfixes
See merge request knot/knot-resolver!498
Vladimír Čunát [Thu, 27 Jul 2017 13:00:39 +0000 (15:00 +0200)]
stats: remove tracking of expiring records
The predict module doesn't use this way since
965bab926f (v1.3.2),
and there seems to be no other likely use case.
Vladimír Čunát [Wed, 14 Feb 2018 14:24:03 +0000 (15:24 +0100)]
cache: fix broken refresh of insecure records
... that were about to expire. The effect was that predict module
started the request, but cache still didn't overwrite the record if it
wasn't secure.
Petr Špaček [Thu, 15 Feb 2018 15:27:56 +0000 (16:27 +0100)]
Merge branch 'serve_stale' into 'master'
lua: fix a mistake in kr_query, and simplify serve_stale
See merge request knot/knot-resolver!487
Vladimír Čunát [Mon, 5 Feb 2018 18:36:41 +0000 (19:36 +0100)]
lua: fix a mistake in kr_query, and simplify serve_stale
Fields after kr_nsrep got offset; fortunately only new fields were
added in there, unused from lua so far.
Vladimír Čunát [Thu, 15 Feb 2018 10:41:06 +0000 (11:41 +0100)]
lua bindings: regenerate after renames in
06acb579
Petr Špaček [Thu, 15 Feb 2018 15:16:17 +0000 (16:16 +0100)]
Merge branch 'draft-ietf-dnsop-kskroll-sentinel-01' into 'master'
Implement draft-ietf-dnsop-kskroll-sentinel-01
See merge request knot/knot-resolver!497
Petr Špaček [Thu, 15 Feb 2018 11:41:43 +0000 (12:41 +0100)]
ta_sentinel: fix is/not logic
I got confused by the original text in
draft-ietf-dnsop-kskroll-sentinel-00 and inverted meaning of is/not
sentinel queries.
Petr Špaček [Thu, 15 Feb 2018 11:40:26 +0000 (12:40 +0100)]
ta_sentinel: use names from draft-ietf-dnsop-kskroll-sentinel-01
Version 01 uses names incompatible with version 00.
Tomas Krizek [Thu, 15 Feb 2018 13:15:20 +0000 (14:15 +0100)]
Merge branch 'docker-git' into 'master'
ci: Dockerfile.debian - add newer git
See merge request knot/knot-resolver!496
Tomas Krizek [Thu, 15 Feb 2018 13:02:48 +0000 (14:02 +0100)]
ci: Dockerfile.debian - add newer git
git<=2.11 has issues with 'ls-files --recurse-submodules' command
which is used to generate upstream tarball
Petr Špaček [Thu, 15 Feb 2018 09:21:02 +0000 (10:21 +0100)]
Merge branch 'policy-TLS-306' into 'master'
policy.TLS_FORWARD: fix a bug, add test + NEWS
Closes #306
See merge request knot/knot-resolver!492
Vladimír Čunát [Mon, 12 Feb 2018 15:00:23 +0000 (16:00 +0100)]
NEWS: collect notable items up to now
Vladimír Čunát [Mon, 12 Feb 2018 14:49:43 +0000 (15:49 +0100)]
policy.TLS_FORWARD tests: add cases from Tomas
Vladimír Čunát [Mon, 12 Feb 2018 14:36:49 +0000 (15:36 +0100)]
policy.TLS_FORWARD: refusal when configuring with multiple IPs
Fixes https://gitlab.labs.nic.cz/knot/knot-resolver/issues/306
Tomas Krizek [Wed, 14 Feb 2018 17:23:46 +0000 (18:23 +0100)]
Merge branch 'update-ci' into 'master'
update CI
See merge request knot/knot-resolver!494
Tomas Krizek [Wed, 14 Feb 2018 17:14:05 +0000 (18:14 +0100)]
ci: add obs dependency to Dockerfile
Tomas Krizek [Wed, 14 Feb 2018 17:11:39 +0000 (18:11 +0100)]
ci: update respdiff config to newest version
Vladimír Čunát [Tue, 13 Feb 2018 14:11:39 +0000 (15:11 +0100)]
Merge !493: stats.list(): fix returning nothing
Vladimír Čunát [Tue, 13 Feb 2018 13:57:22 +0000 (14:57 +0100)]
stats module: fix stats.list() returning nothing
I messed this up in
44c2ea6bb0 !465.
Vladimír Čunát [Tue, 13 Feb 2018 10:55:39 +0000 (11:55 +0100)]
Merge !481: detect_time_jump: keep cache on suspend-resume
Closes #284
Vladimír Čunát [Fri, 2 Feb 2018 17:07:18 +0000 (18:07 +0100)]
detect_time_jump: don't clear cache on suspend-resume
This changes more time than anticipated, as the old naming didn't apply
anymore (time of last cache clear).
Tomas Krizek [Mon, 12 Feb 2018 13:01:00 +0000 (14:01 +0100)]
Merge branch 'fedora-symbols-again' into 'master'
Fedora symbols again
See merge request knot/knot-resolver!491
Vladimír Čunát [Fri, 9 Feb 2018 14:22:47 +0000 (15:22 +0100)]
make: hopefully fix the modules again for Fedora
- their `cc --version` doesn't start with "gcc"
- modifying CFLAGS at this point doesn't work,
so we modify BUILD_CFLAGS instead (_vomit_)
Vladimír Čunát [Fri, 9 Feb 2018 14:22:12 +0000 (15:22 +0100)]
make: also print the linker command
Petr Špaček [Fri, 9 Feb 2018 08:05:59 +0000 (09:05 +0100)]
Merge branch 'tls-push-refactoring' into 'master'
refactoring of the tls data sending scheme
See merge request knot/knot-resolver!489
Grigorii Demidov [Thu, 8 Feb 2018 08:07:00 +0000 (09:07 +0100)]
daemon: tls; cleanup
Grigorii Demidov [Wed, 7 Feb 2018 16:27:01 +0000 (17:27 +0100)]
daemon: unificate tls structures to avod code duplication
Grigorii Demidov [Tue, 6 Feb 2018 16:52:47 +0000 (17:52 +0100)]
daemon: cleanup errors; avoid discrepancy between declaration and definition of tls_close()
Grigorii Demidov [Tue, 6 Feb 2018 16:41:06 +0000 (17:41 +0100)]
daemon: avoid uv_try_write() usage both in tls-client and tls-server side; bugfixes
Grigorii Demidov [Mon, 5 Feb 2018 17:02:14 +0000 (18:02 +0100)]
daemon: server-side tls: use asynchronous network io model