]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 7 Jul 2020 12:22:59 +0000 (14:22 +0200)]
rec: Add a 'skip DS from child zone' unit test
(cherry picked from commit
2b4f326914460e3c2a8cb1249fdd535090a355f7 )
Remi Gacogne [Tue, 2 Jun 2020 15:19:42 +0000 (17:19 +0200)]
rec: Refuse DS records received from child zones
(cherry picked from commit
3b8b3a7760b655d078aed24c42b0c48e1115eb55 )
Otto Moerbeek [Tue, 7 Jul 2020 12:38:45 +0000 (14:38 +0200)]
Merge pull request #9305 from omoerbeek/backport-9268-to-rec-4.3.x
rec: backport of 9268 to 4.3.x: Better exception handling in houseKeeping / handlePolicyHit
Otto Moerbeek [Tue, 7 Jul 2020 09:35:36 +0000 (11:35 +0200)]
Merge pull request #9304 from omoerbeek/backport-9301-to-rec-4.3.x
rec: backport 9301 to rec 4.3.x: take initial refresh time from loaded zone
Otto Moerbeek [Tue, 7 Jul 2020 09:25:56 +0000 (11:25 +0200)]
Fix indentation
Otto Moerbeek [Tue, 7 Jul 2020 08:54:15 +0000 (10:54 +0200)]
rec: backport of 9268 to 4.3.x: Better exception handling in houseKeeping / handlePolicyHit
Otto Moerbeek [Mon, 6 Jul 2020 13:55:53 +0000 (15:55 +0200)]
When no rpz cache is used and no refresh time is specified, use
the refresh time read on the initial load of the zone.
Should fix #9299.
(cherry picked from commit
3f4d728767f3924b4b96b22e6ae312ba8decdfe9 )
Otto Moerbeek [Tue, 30 Jun 2020 14:33:58 +0000 (16:33 +0200)]
Merge pull request #9285 from omoerbeek/rec-acl-backport-to-4.3.x
rec: Backport of acl fix to 4.3.x
Otto Moerbeek [Tue, 30 Jun 2020 13:15:15 +0000 (15:15 +0200)]
Backport of acl fix to 4.3.x
Otto Moerbeek [Fri, 19 Jun 2020 10:56:18 +0000 (12:56 +0200)]
Merge pull request #9262 from omoerbeek/backport-9251-to-rec-4.3.x
rec: backport 9251 to rec 4.3.x: Copy the negative cache entry before validating it
Remi Gacogne [Wed, 17 Jun 2020 12:49:55 +0000 (14:49 +0200)]
rec: Copy the negative cache entry before validating it
Otherwise, in the unlikely case that:
- we need to go to the network in order to validate, for example to
get or a DNSKEY ;
- the negative cache cleaning is run at that exact moment ;
- and the entry we have a pointer to gets wiped during that cleanup
we might trigger a heap-based use-after-free (read), possibly leading
to a crash if the memory has been reused already.
Remi Gacogne [Thu, 18 Jun 2020 09:25:45 +0000 (11:25 +0200)]
Merge pull request #9242 from omoerbeek/backport-9031-to-rec-4.3.x
rec: backport 9031 to rec 4.3.x: Fix compilation of the ports event multiplexer
Remi Gacogne [Thu, 18 Jun 2020 09:25:23 +0000 (11:25 +0200)]
Merge pull request #9243 from omoerbeek/backport-9142-to-rec-4.3.x
rec: backport 9142 to 4.3.x: Defer the NOD lookup until after the response has been sent
Remi Gacogne [Thu, 18 Jun 2020 09:25:01 +0000 (11:25 +0200)]
Merge pull request #9245 from omoerbeek/backport-9151-to-rec-4.3.x
rec: backport 9151 to rec 4.3.x: Fix the handling of DS queries for the root
Remi Gacogne [Thu, 18 Jun 2020 09:23:17 +0000 (11:23 +0200)]
Merge pull request #9246 from omoerbeek/backport-9172-to-rec-4.3.x
rec: backport 9172 to rec 4.3.x: Fix RPZ removals when an update has several deltas
Remi Gacogne [Thu, 18 Jun 2020 09:22:17 +0000 (11:22 +0200)]
Merge pull request #9247 from omoerbeek/backport-9192-to-rec-4.3.x
rec: backport 9192 to rec 4.3.x: Correct depth increments.
Remi Gacogne [Thu, 18 Jun 2020 09:21:14 +0000 (11:21 +0200)]
Merge pull request #9248 from omoerbeek/backport-9194-to-rec-4.3.x
rec: backport 9194 and followup to rec 4.3.x: cname loop detection
Remi Gacogne [Thu, 18 Jun 2020 09:19:54 +0000 (11:19 +0200)]
Merge pull request #9249 from omoerbeek/backport-9205-to-rec-4.3.x
rec: backport 9205 to rec 4.3.x: Limit the TTL of RRSIG records as well
Remi Gacogne [Fri, 5 Jun 2020 13:14:35 +0000 (15:14 +0200)]
rec: Limit the TTL of RRSIG records as well
(cherry picked from commit
fe091a7206f833e6927b82b813b5af0882d8c5d9 )
Remi Gacogne [Tue, 9 Jun 2020 15:19:09 +0000 (17:19 +0200)]
rec: Don't copy the records when scanning for CNAME loops
Otto Moerbeek [Fri, 5 Jun 2020 08:37:28 +0000 (10:37 +0200)]
Add/modify tests. Also re-check for the cache case. It *is* a bit
unsettling that case causes an ImmediateServFailException, but I do
not like to touch the general flow right now. That would be required
to make the CNAME cache case more similar to the non-cached case.
Otto Moerbeek [Fri, 5 Jun 2020 08:19:08 +0000 (10:19 +0200)]
Use seperate function to test for loop; empty result vector on loop
detection (like other resolvers I tested do).
Otto Moerbeek [Wed, 3 Jun 2020 14:31:57 +0000 (16:31 +0200)]
More sophisticated cname loop detection.
Otto Moerbeek [Wed, 3 Jun 2020 10:15:46 +0000 (12:15 +0200)]
If a CNAME target is found in the cache, check if it's equal
to qname and ServFail if so.
Fixes the easy case of #9153. Longer chains with self-refs remain an issue.
(cherry picked from commit
58c526bd0f63d5d424b7a03867b51ace495989a8 )
Otto Moerbeek [Wed, 3 Jun 2020 07:07:56 +0000 (09:07 +0200)]
Correct depth increments.
With the introduction of qname minimization, a function
doResolveNoQNameMinimization() was introduced. This function is
called by doResolve() with depth incremented. Due to the recursive
nature of the resursor algortihm (Nomen est Omen) we end up
incrementing the depth too much. This prompted a review of the other
places depth was incremented, and I believe it should only be done
when calling doResolve(). Especially the case "+ 2" in the getAddrs()
call looks strange to me, as the doResolve() calls in getAddrs()
already call doResolve() with depth + 1.
This fixes #9184 and likely other cases of deep recursion caused
by long CNAME chains.
(cherry picked from commit
a06745426b4df4d3946c36cd3429a5c8db9a8cd0 )
Remi Gacogne [Thu, 28 May 2020 16:54:20 +0000 (18:54 +0200)]
rec: Add a regression test for the RPZ updates with several deltas
(cherry picked from commit
ba5f46ae28b9502294424aaa90ff9dad729de757 )
Remi Gacogne [Thu, 28 May 2020 16:15:53 +0000 (18:15 +0200)]
rec: Fix RPZ removals when an update has several deltas
(cherry picked from commit
b72e5c8578561a8c0a306a861011f5e409a4797b )
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 09:33:19 +0000 (11:33 +0200)]
rec: Defer the NOD lookup until after the response has been sent
If the NOD lookup is slow, for example because the destination
authoritative server is down, doing the NOD lookup before the response
has been sent increases the latency a lot.
This commit moves the actual NOD lookup after the response has been
sent, so we can still use the existing mthread (we might actually need
to do a proper DNS resolution to find the target authoritative server)
without keeping the client waiting.
(cherry picked from commit
3bd27e4a01a3614aba3c0cf425e4ab9490318dd4 )
Remi Gacogne [Wed, 15 Apr 2020 15:47:12 +0000 (17:47 +0200)]
Fix compilation of test-dns_random_hh.cc w/ getrandom AND arc4random
(cherry picked from commit
b212114bb037c9d202da750af76c6a6ac5c2c652 )
Remi Gacogne [Wed, 15 Apr 2020 15:42:11 +0000 (17:42 +0200)]
Fix compilation of the ports event multiplexer
(cherry picked from commit
e9d446399be2db08cc18606537e6f9ba5bee933b )
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 )