]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Fri, 5 Jun 2020 07:27:48 +0000 (09:27 +0200)]
rec: Remove trailing whitespace in a comment
(cherry picked from commit
a566d83d762a7e1b83742a5eba1a72449b42603e )
Remi Gacogne [Mon, 25 May 2020 14:17:50 +0000 (16:17 +0200)]
rec: Fix formatting in the "root DS" unit test
(cherry picked from commit
2b4ea6d592aadce6e49bdff1035e0a0b0c59763b )
Remi Gacogne [Mon, 25 May 2020 14:02:21 +0000 (16:02 +0200)]
rec: Fix the handling of DS queries for the root
(cherry picked from commit
16dde22c73c195d5e5a4a8bc4483627e90a7643b )
Remi Gacogne [Mon, 25 May 2020 14:06:54 +0000 (16:06 +0200)]
Merge pull request #9145 from rgacogne/rec43-travis-unbreak-trusty
rec-4.3.x: travis: install pdns package from direct download
Peter van Dijk [Mon, 25 May 2020 08:27:01 +0000 (10:27 +0200)]
travis: install pdns package from direct download
(cherry picked from commit
b5b83152b5a56b8095ab0d713a31c3ab5d1ec25b )
Remi Gacogne [Mon, 25 May 2020 09:41:41 +0000 (11:41 +0200)]
Merge pull request #9140 from rgacogne/rec43-formatting
rec-4.3.X: Fix formatting
Remi Gacogne [Mon, 25 May 2020 09:26:37 +0000 (11:26 +0200)]
Merge pull request #9130 from jsoref/rel-rec-4.3.x-suppress-spell-check
Suppress PR based spell check for the rec-4.3.x branch
Otto Moerbeek [Tue, 19 May 2020 09:51:03 +0000 (11:51 +0200)]
fix formatting
(cherry picked from commit
b963ef8b7568c55493f942d660d9a61103bfc04e )
Remi Gacogne [Mon, 25 May 2020 07:51:28 +0000 (09:51 +0200)]
Merge pull request #9128 from rgacogne/rec43-fix-gethostname-no-hostnamemax
rec-4.3.x: Fix compilation on systems that do not define HOST_NAME_MAX
Josh Soref [Tue, 19 May 2020 17:10:37 +0000 (13:10 -0400)]
Suppress PR based spell check
Remi Gacogne [Tue, 19 May 2020 14:46:33 +0000 (16:46 +0200)]
Fix compilation on systems that do not define HOST_NAME_MAX
On FreeBSD at least, HOST_NAME_MAX is not defined and we need to
use sysconf() to get the value at runtime instead.
Based on a work done by @RvdE to make the recursor compile on
FreeBSD (many thanks!).
(cherry picked from commit
4c990a1b82e091d887d873c7da5254de84aabebb )
Remi Gacogne [Tue, 19 May 2020 10:50:52 +0000 (12:50 +0200)]
Merge pull request #9122 from rgacogne/rec43-gcc10
rec-4.3.x: Fix build with gcc-10
Sander Hoentjen [Mon, 16 Dec 2019 21:44:43 +0000 (22:44 +0100)]
Fix build with gcc-10
From an e-mail from Jeff Law <law@redhat.com>:
Subject: Minor problem in pdns, dnsdist and pdns-recursor packages in Fedora
[ All three packages have embedded copies of the same problematic code
and the same patch fixes all three. ]
Red Hat's compiler team continues to try and be proactive in identifying
issues that will arise as a result of the introduction of a new GCC
release into Fedora each spring.
You're being contacted because a package you maintain in Fedora is going
to fail to build with gcc-10 in the spring. Yes, I know that's a few
months away, but it's far easier to fix this stuff proactively now than
wait.
Fixing it now also means that your package will continue to be built
with testing versions of gcc-10 as we proceed through the development
process thus allowing additional issues to be caught early.
Your particular package will fail due to an uninstantiated template for
AsyncLoader<Request>. These kinds of problems are relatively common due to
changes in the tuning of the inliner for gcc-10:
> BUILDSTDERR: /usr/bin/ld: webserver.o: in function `WebServer::serveConnection(std::shared_ptr<Socket>) const':
> BUILDSTDERR: /builddir/build/BUILD/pdns-4.2.1/pdns/webserver.cc:373: undefined reference to `YaHTTP::AsyncLoader<YaHTTP::Request>::feed(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> BUILDSTDERR: collect2: error: ld returned 1 exit status
> BUILDSTDERR: make[3]: *** [Makefile:2751: ixfrdist] Error 1
>
The attached patch arranges for an instance to be instantiated when
compiling reqresp.cpp and is sufficient to fix this problem. The
choice of reqresp.cpp fairly arbitrary IIRC.
Ideally you'll with upstream to get this fixed, but a Fedora patch is
clearly OK as well. I'll install the attached fix into Fedora in a
week or so if I haven't heard from you.
Jeff
(cherry picked from commit
ffb885e937c27bb1c62dee8f18c58ae0d5d52d39 )
Pieter Lexis [Tue, 19 May 2020 08:49:27 +0000 (10:49 +0200)]
Merge pull request #9115 from pieterlexis/rec-4.3.x-may-2020
Recursor 4.3.x fixes May 2020
Remi Gacogne [Mon, 27 Apr 2020 14:48:16 +0000 (16:48 +0200)]
Don't read potentially uninitalized memory if gethostname() failed
If the buffer is smaller than `HOST_NAME_MAX` (64 on Linux but up to
255 bytes in POSIX, which FreeBSD, MacOS etc honor) gethostname()
might return -1 without null-terminating the buffer, causing an
out-of-bounds read.
As we look for the first '.' using `strchr()`, replacing it with a
null byte, we also have a one-byte out-of-bounds write which might
result in a crash or, albeit very unlikely, arbitrary code execution.
(cherry picked from commit
aac6348d56f6f3fdba9dd2455ef06081da507c14 )
Remi Gacogne [Fri, 24 Apr 2020 09:48:16 +0000 (11:48 +0200)]
rec: Fix DNSSEC validation of completely empty NXDomain answers
If the answer has no SOA and no NSEC inside a DNSSEC-secure zone,
we should go Bogus.
(cherry picked from commit
1c0ee0d118a886857629aa733c23311057f315f9 )
Remi Gacogne [Wed, 25 Mar 2020 13:34:29 +0000 (14:34 +0100)]
rec: Add a regression test for duplicate entries in a RPZ XFR update
Remi Gacogne [Wed, 25 Mar 2020 13:15:59 +0000 (14:15 +0100)]
rec: Don't crash on a duplicate RPZ entry received over XFR
Otto Moerbeek [Mon, 23 Mar 2020 14:22:32 +0000 (15:22 +0100)]
rec: Limit the number of queries sent out to get NS addresses per query
Otto Moerbeek [Fri, 1 May 2020 12:59:37 +0000 (14:59 +0200)]
Merge pull request #9082 from omoerbeek/backport-8972-to-rec-4.3.x
rec: backport to rec 4.3.x: builder: add ubuntu focal target
Peter van Dijk [Wed, 25 Mar 2020 10:41:15 +0000 (11:41 +0100)]
builder: add ubuntu focal target
(cherry picked from commit
b4f4b1ab4ba666fe16f0201b38778fe66dc8e7ae )
Otto Moerbeek [Wed, 22 Apr 2020 09:14:53 +0000 (11:14 +0200)]
Merge pull request #9048 from omoerbeek/backport-8778-to-rec-4.3.x
rec: Backport 8778 to rec 4.3.x: RPZ dumpFile/seedFile: store/get SOA refresh on dump/load
Otto Moerbeek [Tue, 11 Feb 2020 11:30:29 +0000 (12:30 +0100)]
Warn at refresh=0
(cherry picked from commit
1778d156949380dff86304aa5dbbfb5e10351302 )
Otto Moerbeek [Mon, 10 Feb 2020 14:17:09 +0000 (15:17 +0100)]
Tweaks for minimum time
(cherry picked from commit
87e7a7268ff1c2117f51fbc208ea213584d59536 )
Otto Moerbeek [Mon, 10 Feb 2020 13:31:41 +0000 (14:31 +0100)]
Introduce an explicit refreshFromConf arg to RPZIXFRTracker.
Always load and store the rpz refresh value from and to the zone.
That we we can easily decide which value to use: if an explicit
refreshFromConf value is set, use that one, otherwise use the one
in the rpz zone.
(cherry picked from commit
d70a762725cd7011b15286eb580ad93c932b7641 )
Peter van Dijk [Mon, 3 Feb 2020 19:09:07 +0000 (20:09 +0100)]
rec RPZ dumpFile/seedFile: store/get SOA refresh on dump/load
(cherry picked from commit
982817f34d0826bc80adefe488ba8d0383b0e6cf )
Remi Gacogne [Tue, 24 Mar 2020 09:04:19 +0000 (10:04 +0100)]
Merge pull request #8963 from omoerbeek/backport-8876-to-rec-4.3.x
rec: backport 8876 to rec-4.3.x: Update boost.m4
Pieter Lexis [Fri, 28 Feb 2020 08:27:30 +0000 (09:27 +0100)]
Update boost.m4
Closes #8875
(cherry picked from commit
2bcb6ea0ddc99548d3d7d6d317c5d64d55aac6cc )
Otto Moerbeek [Wed, 26 Feb 2020 17:14:31 +0000 (18:14 +0100)]
Merge pull request #8870 from omoerbeek/backport-8864-to-rec-4.3.x
rec: backport 8864 to rec 4.3.x: Only log qname parsing errors when 'log-common-errors' is set
Remi Gacogne [Wed, 26 Feb 2020 10:18:35 +0000 (11:18 +0100)]
rec: Only log qname parsing errors when 'log-common-errors' is set
(cherry picked from commit
4b4566e8d28ff3b18152213e8c8666aa643f8eb9 )
Otto Moerbeek [Wed, 26 Feb 2020 11:14:05 +0000 (12:14 +0100)]
Merge pull request #8863 from omoerbeek/backport-8857-to-rec-4.3.x
rec: backport 8857 to rec 4.3.x: update copyright year
Otto Moerbeek [Wed, 26 Feb 2020 11:13:44 +0000 (12:13 +0100)]
Merge pull request #8865 from omoerbeek/backport-8833-to-rec-4.3.x
rec: backport 8833 to rec 4.3.x: Allow all connections to the PG server in Circle CI
Remi Gacogne [Mon, 17 Feb 2020 14:11:29 +0000 (15:11 +0100)]
Allow all connections to the PG server in Circle CI
(cherry picked from commit
fed8314d910dbd61f3f3abfbf51f8a316b93001c )
Otto Moerbeek [Mon, 24 Feb 2020 14:58:08 +0000 (15:58 +0100)]
Otto Moerbeek [Mon, 17 Feb 2020 10:06:48 +0000 (11:06 +0100)]
Merge pull request #8831 from omoerbeek/backport-8826-to-rec-4.3.x
rec: Backport 8826 to rec 4.3.x: Refuse NSEC records with a bitmap length > 32
Otto Moerbeek [Mon, 17 Feb 2020 10:06:25 +0000 (11:06 +0100)]
Merge pull request #8827 from omoerbeek/backport-8823-to-rec-4.3.x
rec: Backport 8823 to rec 4.3.x: do continue rpz processing if the current policy is passthru
Remi Gacogne [Fri, 14 Feb 2020 13:40:33 +0000 (14:40 +0100)]
Refuse NSEC records with a bitmap length > 32
(cherry picked from commit
3d51568b456205c9bd60ceeedb4b43af4a33f019 )
Otto Moerbeek [Mon, 17 Feb 2020 08:41:45 +0000 (09:41 +0100)]
Init zone's d_priority field.
Otto Moerbeek [Fri, 14 Feb 2020 14:15:50 +0000 (15:15 +0100)]
Adapt to somewhat older NetmaskTree
Otto Moerbeek [Fri, 14 Feb 2020 12:46:21 +0000 (13:46 +0100)]
Rebased to handle NetmaskTree changes
(cherry picked from commit
9bb0af0351594875cc3a8648e0f523cc666989be )
Otto Moerbeek [Fri, 14 Feb 2020 10:48:15 +0000 (11:48 +0100)]
Fix compilation issue on older compilers
(cherry picked from commit
63464fee3f912b6b6c2d3df10321e17f1781cf6a )
Otto Moerbeek [Fri, 14 Feb 2020 09:55:11 +0000 (10:55 +0100)]
Otto Moerbeek [Fri, 14 Feb 2020 09:22:12 +0000 (10:22 +0100)]
Avoid copying policies around by passing a Policy& that gets modified
if a match is found.
(cherry picked from commit
2996400c6411b2cbd0b0d8f5d811f7daecad5282 )
Remi Gacogne [Thu, 13 Feb 2020 14:24:42 +0000 (15:24 +0100)]
rec: Lookup RPZ Client IP rules before qname ones
(cherry picked from commit
a7e329b836f7ccf4e8cd0c99b5e8aa01865a79f1 )
Remi Gacogne [Thu, 13 Feb 2020 14:23:57 +0000 (15:23 +0100)]
rec: Add more RPZ regression tests
(cherry picked from commit
f89ae456f6a975c54d94fd701b16a2fbd1284e82 )
Otto Moerbeek [Wed, 12 Feb 2020 16:04:39 +0000 (17:04 +0100)]
Test clientIP before name, fix one more cutoff condition.
(cherry picked from commit
a4fc3b3720c8bb6fe872b737cab31ae38e4d1191 )
Remi Gacogne [Wed, 12 Feb 2020 15:53:47 +0000 (16:53 +0100)]
rec: Add unit tests for the RPZ policy priorities and ordering
(cherry picked from commit
d2205b89a70d262fac29d0bafacfd6b46675dc34 )
Otto Moerbeek [Wed, 12 Feb 2020 15:49:58 +0000 (16:49 +0100)]
Set the d_priority field in the policy objects of a zone.
Comments from racacogne:
Better name for currentPriority, more elegant loops with right cutoff.
(cherry picked from commit
79f64c2b48b641b12f21a6f47b1b7b5ec0f6c7ee )
Remi Gacogne [Wed, 12 Feb 2020 14:54:38 +0000 (15:54 +0100)]
rec: Add regression tests for the ordering of RPZ policies
(cherry picked from commit
fa97374995007c984b756e2e8afb2ac63053107c )
Otto Moerbeek [Wed, 12 Feb 2020 14:35:12 +0000 (15:35 +0100)]
Continue evaluation of RPZ rules after passthru, taking
into account RPZ priorities.
(cherry picked from commit
e37e5795852dc954d50a91ecaca2c47b04f16c24 )
Otto Moerbeek [Tue, 28 Jan 2020 12:50:41 +0000 (13:50 +0100)]
Merge pull request #8751 from omoerbeek/backport-8740-to-rec-4.3.x
rec: backport 8740 to rec 4.3.x: Update boost.m4
Pieter Lexis [Wed, 22 Jan 2020 15:03:59 +0000 (16:03 +0100)]
Update boost.m4
This detects boost::context on boost version 1.61 through 1.65 correctly
(cherry picked from commit
c54133a4abccd7228b6898af5cb7b684c6225e97 )
Otto Moerbeek [Wed, 22 Jan 2020 14:54:38 +0000 (15:54 +0100)]
Merge pull request #8738 from omoerbeek/backport-8729-to-rec-4.3.x
rec: backport 8729 to rec 4.3.x: Explicitly enable dnstap for debian-stretch and buster
Otto Moerbeek [Wed, 22 Jan 2020 14:54:16 +0000 (15:54 +0100)]
Merge pull request #8731 from omoerbeek/backport-8723-to-rec-4.3.x
rec: Backport 8723 to rec 4.3.x: add unit tests for the NSEC3 Opt-Out case
Otto Moerbeek [Wed, 22 Jan 2020 14:53:52 +0000 (15:53 +0100)]
Merge pull request #8730 from omoerbeek/backport-8718-to-rec-4.3.x
rec: backport 8718 to rec 4.3.x: Make ComboAddress::setPort() update the current object
Otto Moerbeek [Wed, 22 Jan 2020 14:53:31 +0000 (15:53 +0100)]
Merge pull request #8728 from omoerbeek/backport-8719-to-rec-4.3.x
rec: Backport 8719 to rec 4.3.x: EPEL 8 now has libfstrm-devel
Otto Moerbeek [Wed, 22 Jan 2020 14:53:09 +0000 (15:53 +0100)]
Merge pull request #8727 from omoerbeek/backport-8705-to-rec-4.3.x
rec: Backport 8705 to rec 4.3.x: Fix the evaluation order for filtering policies (RPZ)
Otto Moerbeek [Wed, 22 Jan 2020 14:52:44 +0000 (15:52 +0100)]
Merge pull request #8726 from omoerbeek/backport-8688-to-rec-4.3.x
rec: Backport 8688 to rec 4.3.x: Give an explcit messsage if something is wrong with socket-dir.
Otto Moerbeek [Tue, 21 Jan 2020 09:13:03 +0000 (10:13 +0100)]
- Explcitly enable dnstap for debian-stretch and buster
- Fix inconsistent ref to stretch vs buster in ubuntu-bionic
(cherry picked from commit
51ad9bdf22e58e95e892b46ebc72904d00592560 )
Remi Gacogne [Tue, 21 Jan 2020 09:53:15 +0000 (10:53 +0100)]
rec: Bow to formatting gods
(cherry picked from commit
68ffd18c09061cca424cf2bd5ab4305b8271cfd8 )
Remi Gacogne [Tue, 21 Jan 2020 09:25:40 +0000 (10:25 +0100)]
Fix braces formatting in pdns/recursordist/test-syncres_cc.cc
Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit
6850fa5d095bf2bb4251a6bbf9f763a2116f5c6a )
Remi Gacogne [Mon, 20 Jan 2020 18:24:13 +0000 (19:24 +0100)]
rec: Add unit tests for the NSEC3 Opt-Out case
An Opt-Out NSEC3 only proves that there is no delegation, so we
should not consider a DS NODATA or a NXDOMAIN proved by that RR
secure but insecure.
This was fixed in
18c8faae6c67f734583c5c881d0d083d3253b49e and this
commit adds a few unit tests to cover the fix.
(cherry picked from commit
c179741988b9273b12c15a6b318ff0a43fe50081 )
Remi Gacogne [Mon, 20 Jan 2020 11:05:03 +0000 (12:05 +0100)]
Make ComboAddress::setPort() update the current object
Instead of creating a new one.
(cherry picked from commit
79816288afe7169c1f1bb28463f22512ca11c3b9 )
Otto Moerbeek [Mon, 20 Jan 2020 14:09:48 +0000 (15:09 +0100)]
Explicit--enable-dnstap, as suggested by lieter.
(cherry picked from commit
d9707e17d453042049d8a6cc920d9cc7fe09bf55 )
Otto Moerbeek [Mon, 20 Jan 2020 13:04:34 +0000 (14:04 +0100)]
EPEL 8 now has libfstrm-devel
(cherry picked from commit
7799259f199121b2b3feba24f90ef1c5381de51d )
Otto Moerbeek [Mon, 20 Jan 2020 13:42:16 +0000 (14:42 +0100)]
Better function name as suggested by rgacogne.
(cherry picked from commit
c6042a88ccf588e718daf1ddd35622d85b7f3dde )
Otto Moerbeek [Fri, 10 Jan 2020 11:30:37 +0000 (12:30 +0100)]
Give an explcit messsage if something is wrong with socket-dir.
(cherry picked from commit
0127f6bdccd1a694c5441e914eaa5550ec6d6e0b )
Remi Gacogne [Fri, 17 Jan 2020 14:36:45 +0000 (15:36 +0100)]
rec: Apply Otto's suggestion to distinguish which exact policy matched
(cherry picked from commit
f1ff3d4f19301340d64f6722d822d15bddda4fb4 )
Remi Gacogne [Fri, 17 Jan 2020 14:30:20 +0000 (15:30 +0100)]
rec: Remove now useless references to '-2' for RPZ hits
(cherry picked from commit
0a9fc756d4d3559ca999756cc6b451693b0467c8 )
Remi Gacogne [Wed, 15 Jan 2020 14:43:03 +0000 (15:43 +0100)]
rec: Add regression tests for RPZ ordering precedence rules
(cherry picked from commit
1d2777e993b3f958b182d90a024826217f28a5a5 )
Remi Gacogne [Wed, 15 Jan 2020 13:38:45 +0000 (14:38 +0100)]
rec: Export the filtering policy type to Lua
(cherry picked from commit
ed25b2151711bd20cf4a512b8102eef74665a65c )
Remi Gacogne [Wed, 15 Jan 2020 13:28:25 +0000 (14:28 +0100)]
rec: Only the first filtering policy should match
Subsequent ones should not be applied.
Also make sure that NSDNAME and NSIP triggers really stop the
processing of the query, instead of just causing the current NS to
be skipped.
(cherry picked from commit
124dd1d4124c52c56a93d6e765f091c88f7bc88a )
Remi Gacogne [Tue, 14 Jan 2020 15:26:23 +0000 (16:26 +0100)]
rec: Fix the evaluation order for filtering policies (RPZ)
Since
272e9a0034e8c5ea29d1ab7d24630424f178e926 we scanned all policies
for an exact match before looking for wildcard matches. It brokes
the promise that filtering policies are evaluated in the order they
are defined.
(cherry picked from commit
06cfa23ffbc7ae170eee31f8130d74f0b07ec9d9 )
Otto Moerbeek [Wed, 15 Jan 2020 10:25:14 +0000 (11:25 +0100)]
Merge pull request #8704 from omoerbeek/backport-8702-to-rec-4.3.x
rec: Backport 8702 to 4.3.x: Add the source and destination ports to the protobuf msg
Remi Gacogne [Tue, 14 Jan 2020 09:13:46 +0000 (10:13 +0100)]
Handle source and destination ports in the sample protobuf logger
(cherry picked from commit
f39c1ce956d4bf3fa73d08d996b638e3a8221859 )
Remi Gacogne [Tue, 14 Jan 2020 09:12:57 +0000 (10:12 +0100)]
rec: Add the source port to protobuf messages for incoming queries
(cherry picked from commit
5d2e9a839cd59911530bf124badfa239304af5b6 )
Remi Gacogne [Tue, 14 Jan 2020 09:12:18 +0000 (10:12 +0100)]
dnsdist: Add the source and destination ports to the protobuf msg
(cherry picked from commit
36de33306ac5bfa4f55e26975f35fb35a90914da )
Pieter Lexis [Tue, 14 Jan 2020 09:12:06 +0000 (10:12 +0100)]
Merge pull request #8673 from omoerbeek/backport-8639-to-rec-4.3.x
rec: backport 8639 to 4.3.x: debian postinst / do not fail on user creation if it already exists
Pieter Lexis [Tue, 14 Jan 2020 09:11:09 +0000 (10:11 +0100)]
Merge pull request #8685 from omoerbeek/backport-8684-to-rec-4.3.x
rec: backport 8684 to 4.3.x: parsing `dont-throttle-names` and `dont-throttle-netmasks` as comma separated lists
Otto Moerbeek [Tue, 14 Jan 2020 09:01:59 +0000 (10:01 +0100)]
Merge pull request #8692 from omoerbeek/backport-8665-to-rec-4.3.x
rec: backport 8665 to 4.3.x: An Opt-Out NSEC3 RR only proves that there is no secure delegation
Otto Moerbeek [Tue, 14 Jan 2020 09:01:35 +0000 (10:01 +0100)]
Merge pull request #8695 from omoerbeek/backport-8694-to-rec-4.3.x
rec: backport 8694 to 4.3.x: Fix ./syncres.hh:228:20: warning: initialized lambda captures are a C++14 extension
Otto Moerbeek [Mon, 13 Jan 2020 08:48:12 +0000 (09:48 +0100)]
Fix ./syncres.hh:228:20: warning: initialized lambda captures are a C++14 extension
(cherry picked from commit
7b07a07cce7b9476ef602b9e9b35d30a239bdc96 )
Remi Gacogne [Thu, 2 Jan 2020 10:52:14 +0000 (11:52 +0100)]
rec: An Opt-Out NSEC3 RR only proves that there is no secure delegation
(cherry picked from commit
18c8faae6c67f734583c5c881d0d083d3253b49e )
Otto Moerbeek [Fri, 10 Jan 2020 10:02:25 +0000 (11:02 +0100)]
Merge pull request #8670 from omoerbeek/backport-8648-to-rec-4.3.x
rec: backport 8648 to rec 4.3.x: fix wrong zoneCuts caused by cache only lookup
Costy Petrisor [Thu, 9 Jan 2020 10:56:16 +0000 (10:56 +0000)]
parsing `dont-throttle-names` and `dont-throttle-netmasks` as comma separated lists
(cherry picked from commit
5285831402f3f3a209c16cb3bd743eea640cf894 )
Otto Moerbeek [Fri, 10 Jan 2020 08:38:42 +0000 (09:38 +0100)]
Merge pull request #8675 from omoerbeek/backport-8647-to-rec-4.3.x
rec: Backport 8647 to rec 4.3.x: increase default maxqperq
Otto Moerbeek [Tue, 7 Jan 2020 11:31:22 +0000 (12:31 +0100)]
correct cast
Co-Authored-By: Remi Gacogne <rgacogne@users.noreply.github.com>
(cherry picked from commit
13c43bdd982b2a6df7096a167b0c32c3cc807a8d )
Otto Moerbeek [Tue, 7 Jan 2020 11:13:01 +0000 (12:13 +0100)]
Slightly different approach as suggested by rgacogne: if
qname-minimization is active, force maxqperq to be >= 100.
(cherry picked from commit
edea1bf7e1213f9643bd0ce29cb81d4413774d98 )
Otto Moerbeek [Tue, 7 Jan 2020 07:35:24 +0000 (08:35 +0100)]
Set default maxqperq to 60, and allow for extra if qname-minimization is on.
(cherry picked from commit
409b839837f174a1ca1e614dc7cd66f581e4c1be )
Otto Moerbeek [Fri, 20 Dec 2019 08:02:21 +0000 (09:02 +0100)]
Bump max-qperq default to 100; this is enough for rev v6 queries with cold
cache with validations and qname minimization enabled. Fixes #8646.
(cherry picked from commit
15d63d5a4a17aece479be953651643736a26d3d0 )
Antoine Joubert [Mon, 16 Dec 2019 16:57:13 +0000 (17:57 +0100)]
rec: debian postinst / do not fail on user creation if it already exists
(cherry picked from commit
fddad2718fb994d4fd016c03e1e05ef6c67aae14 )
Otto Moerbeek [Mon, 6 Jan 2020 14:04:25 +0000 (15:04 +0100)]
Introduce test for PR 8648.
While there, explicitly init qname-minimization in test-syncres to
false. The current code gave the impression it was turned on by
default for unit tests. We have a lot of test that count queries,
and that is highly depedent on qname minimization being on or off.
Otto Moerbeek [Fri, 20 Dec 2019 09:08:50 +0000 (10:08 +0100)]
QName Minimization consults the cache first to see work needs to
be done. Via doCacheCheck() this can lead to a call to computeZoneCuts()
which might/does not work properly on only cached records, so always
make sure it can go out if needed. Should fix #8642.
(cherry picked from commit
0eb07f3a5c23cc94c95a2bed022367085f8dfcef )
Peter van Dijk [Tue, 10 Dec 2019 11:25:44 +0000 (12:25 +0100)]
Merge pull request #8539 from pieterlexis/4.3-docs
Auth 4.3.0 docs
Peter van Dijk [Tue, 10 Dec 2019 10:51:44 +0000 (11:51 +0100)]
auth 4.3.0-alpha1 secpoll
Peter van Dijk [Mon, 9 Dec 2019 09:26:00 +0000 (10:26 +0100)]
document local-ipv6 removal in 4.3
Peter van Dijk [Fri, 6 Dec 2019 15:22:27 +0000 (16:22 +0100)]
auth 4.3 changelog
Peter van Dijk [Fri, 6 Dec 2019 15:22:00 +0000 (16:22 +0100)]
git-to-changelog-merges: remove trailing spaces
Pieter Lexis [Mon, 18 Nov 2019 09:40:09 +0000 (10:40 +0100)]
EL pkgs: chown dirs to service user
Pieter Lexis [Mon, 18 Nov 2019 09:38:03 +0000 (10:38 +0100)]
Add auth 4.3.0 upgrade docs