]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoOnly for auth 11499/head
Otto Moerbeek [Mon, 4 Apr 2022 11:26:57 +0000 (13:26 +0200)] 
Only for auth

3 years agoUnify CodeQL config between branches
Otto Moerbeek [Mon, 4 Apr 2022 11:02:02 +0000 (13:02 +0200)] 
Unify CodeQL config between branches

3 years agoMerge pull request #11453 from Habbie/auth-4.4.x-xfr
Peter van Dijk [Mon, 28 Mar 2022 09:51:40 +0000 (11:51 +0200)] 
Merge pull request #11453 from Habbie/auth-4.4.x-xfr

auth 4.4.x IXFR-in: Fix a case where an incomplete read caused by netw…

3 years agoMerge pull request #11459 from Habbie/backport-11449-to-auth-4.4.x
Otto Moerbeek [Fri, 25 Mar 2022 15:33:23 +0000 (16:33 +0100)] 
Merge pull request #11459 from Habbie/backport-11449-to-auth-4.4.x

auth 4.4.x docs: Pin jinja2 to < 3.1.0

3 years agodocs: Pin jinja2 to < 3.1.0 11459/head
Remi Gacogne [Fri, 25 Mar 2022 08:45:55 +0000 (09:45 +0100)] 
docs: Pin jinja2 to < 3.1.0

Jinja2 3.1.0 removed deprecated code that is still used by sphinx
1.8.x, and it looks like our custom sphinx extensions are not working
with more recent versions of sphinx..

See:
- https://github.com/pallets/jinja/issues/1631
- https://github.com/readthedocs/readthedocs.org/issues/9037

and

- https://github.com/PowerDNS/pdns/pull/7712

The exact error is:
```
Extension error:
Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py))
```

(cherry picked from commit 92ad29702011ac7cbd0d7d118ba612e7e07cedbe)

3 years agoauth, rec IXFR-in: Fix a case where an incomplete read caused by network error might... 11453/head auth-4.4.3
Otto Moerbeek [Tue, 8 Mar 2022 14:36:48 +0000 (15:36 +0100)] 
auth, rec IXFR-in: Fix a case where an incomplete read caused by network error might result in a truncated zone.

As we might break from the loop early, we need to check if the end SOA was seen after the loop.
Also make sure we detect end conditions for both AXFR and IXFR style properly, to avoid processing
data after the end marker.

3 years agoMerge pull request #11274 from Habbie/backport-11262-to-auth-4.4.x
Peter van Dijk [Thu, 3 Feb 2022 10:21:18 +0000 (11:21 +0100)] 
Merge pull request #11274 from Habbie/backport-11262-to-auth-4.4.x

auth-4.4.x: builder: migrate EL8 builds to oraclelinux, rename centos8 to el8 where possible

3 years agobuilder: add el-7 alias for centos-7 11274/head
Peter van Dijk [Mon, 31 Jan 2022 17:15:14 +0000 (18:15 +0100)] 
builder: add el-7 alias for centos-7

(cherry picked from commit 6bd3c9bb23f5dfc385a66647ab175ec2812d6617)

3 years agobuilder: archs for oraclelinux-8; el-8 symlinks
Peter van Dijk [Mon, 31 Jan 2022 15:28:04 +0000 (16:28 +0100)] 
builder: archs for oraclelinux-8; el-8 symlinks

(cherry picked from commit dee53cf16161a6c45560475b647de420842532ef)

3 years agoMerge pull request #11281 from Habbie/backport-11208-to-auth-4.4.x
Peter van Dijk [Wed, 2 Feb 2022 10:26:38 +0000 (11:26 +0100)] 
Merge pull request #11281 from Habbie/backport-11208-to-auth-4.4.x

auth-4.4.x: CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0

3 years agoCI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0 11281/head
Peter van Dijk [Tue, 18 Jan 2022 15:40:52 +0000 (16:40 +0100)] 
CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0

(cherry picked from commit 46a40ed033d64f58aa30013d7e68daa5b5e8d615)

3 years agoMerge pull request #11029 from Habbie/auth-4.4.x-bump-builder auth-4.4.2
Peter van Dijk [Tue, 23 Nov 2021 19:48:09 +0000 (20:48 +0100)] 
Merge pull request #11029 from Habbie/auth-4.4.x-bump-builder

auth-4.4: bump builder version to get per-line target printing

3 years agobump builder version to get per-line target printing 11029/head
Peter van Dijk [Tue, 23 Nov 2021 19:46:51 +0000 (20:46 +0100)] 
bump builder version to get per-line target printing

3 years agoMerge pull request #11004 from Habbie/backport-10981-to-auth-4.4.x
Peter van Dijk [Tue, 23 Nov 2021 09:46:39 +0000 (10:46 +0100)] 
Merge pull request #11004 from Habbie/backport-10981-to-auth-4.4.x

auth-4.4.x: apply new TTL to whole RRset, not only to the added record

3 years agoauth 2136: apply new TTL to whole RRset, not only to the added record 11004/head
Peter van Dijk [Mon, 15 Nov 2021 15:28:58 +0000 (16:28 +0100)] 
auth 2136: apply new TTL to whole RRset, not only to the added record

fixes #10921

(cherry picked from commit a725879238540d73c8e782f7bb3101de8a90459d)

3 years agoauth 2136: improve some log messages
Peter van Dijk [Mon, 15 Nov 2021 15:28:47 +0000 (16:28 +0100)] 
auth 2136: improve some log messages

(cherry picked from commit c712ec020fb6c4e62a23ea4667f09a6bf6d2306a)

4 years agoMerge pull request #10176 from Habbie/auth-4.4.x-stretch
Peter van Dijk [Mon, 15 Mar 2021 10:56:54 +0000 (11:56 +0100)] 
Merge pull request #10176 from Habbie/auth-4.4.x-stretch

auth-4.4.x: allow building on Debian stretch

4 years agoauth-4.4.x: allow building on Debian stretch 10176/head
Peter van Dijk [Mon, 15 Mar 2021 09:15:00 +0000 (10:15 +0100)] 
auth-4.4.x: allow building on Debian stretch

4 years agoMerge pull request #10008 from mind04/auth-bp-tcp-counters auth-4.4.1
Peter van Dijk [Sat, 6 Feb 2021 14:55:45 +0000 (15:55 +0100)] 
Merge pull request #10008 from mind04/auth-bp-tcp-counters

auth-4.4.x: fix tcp answer counters

4 years agoMerge pull request #9965 from zeha/debian-update-44
Peter van Dijk [Fri, 5 Feb 2021 21:09:59 +0000 (22:09 +0100)] 
Merge pull request #9965 from zeha/debian-update-44

authoritative: debian packaging update for 4.4

4 years agoRe-enable PKCS11 build 9965/head
Chris Hofstaedtler [Fri, 5 Feb 2021 19:46:50 +0000 (20:46 +0100)] 
Re-enable PKCS11 build

4 years agoMerge pull request #10039 from mind04/pdns-delete-domain-bp
Peter van Dijk [Tue, 2 Feb 2021 14:25:11 +0000 (15:25 +0100)] 
Merge pull request #10039 from mind04/pdns-delete-domain-bp

auth-4.4.x: run deleteDomain() inside a transaction

4 years agoauth: run deleteDomain() inside a transaction 10039/head
Kees Monshouwer [Mon, 1 Feb 2021 19:18:52 +0000 (20:18 +0100)] 
auth: run deleteDomain() inside a transaction

4 years agoRemove Debian-specific NEWS files
Chris Hofstaedtler [Thu, 28 Jan 2021 20:47:01 +0000 (21:47 +0100)] 
Remove Debian-specific NEWS files

4 years agoDrop Debian-specific README.source
Chris Hofstaedtler [Thu, 28 Jan 2021 12:36:10 +0000 (13:36 +0100)] 
Drop Debian-specific README.source

4 years agoautopkgtest supported-algos test: add ED448
Chris Hofstaedtler [Thu, 28 Jan 2021 12:34:06 +0000 (13:34 +0100)] 
autopkgtest supported-algos test: add ED448

4 years agoRemove outdated comment about make test
Chris Hofstaedtler [Thu, 28 Jan 2021 12:31:35 +0000 (13:31 +0100)] 
Remove outdated comment about make test

4 years agoUse Lua 5.3 again on platforms not having luajit
Chris Hofstaedtler [Thu, 28 Jan 2021 12:30:14 +0000 (13:30 +0100)] 
Use Lua 5.3 again on platforms not having luajit

4 years agoNo package version override for upstream
Chris Hofstaedtler [Thu, 28 Jan 2021 12:09:05 +0000 (13:09 +0100)] 
No package version override for upstream

4 years agoDo not build with --enable-reproducible for upstream
Chris Hofstaedtler [Thu, 28 Jan 2021 12:07:24 +0000 (13:07 +0100)] 
Do not build with --enable-reproducible for upstream

4 years agopdns-backend-odbc: remove duplicate schema file
Chris Hofstaedtler [Thu, 28 Jan 2021 08:37:06 +0000 (09:37 +0100)] 
pdns-backend-odbc: remove duplicate schema file

4 years agoUndo accidental name change
Chris Hofstaedtler [Thu, 28 Jan 2021 08:32:25 +0000 (09:32 +0100)] 
Undo accidental name change

4 years agoKeep security-poll-suffix for upstream
Chris Hofstaedtler [Thu, 28 Jan 2021 08:31:56 +0000 (09:31 +0100)] 
Keep security-poll-suffix for upstream

4 years agoauth: fix tcp answer counters 10008/head
Kees Monshouwer [Mon, 25 Jan 2021 20:56:09 +0000 (21:56 +0100)] 
auth: fix tcp answer counters

4 years agoMerge pull request #9985 from Habbie/auth-4.4.x-backport-9885-bis
Peter van Dijk [Mon, 18 Jan 2021 14:15:41 +0000 (15:15 +0100)] 
Merge pull request #9985 from Habbie/auth-4.4.x-backport-9885-bis

auth-4.4.x lmdb: do not reuse backend that has seen corrupted data

4 years agoauth lmdb: do not reuse backend that has seen corrupted data 9985/head
Peter van Dijk [Thu, 14 Jan 2021 10:20:03 +0000 (11:20 +0100)] 
auth lmdb: do not reuse backend that has seen corrupted data

(cherry picked from commit f330413e9a2cce5b0e638ea765f95e4e81e9ff44)

4 years agoMerge pull request #9953 from Habbie/backport-9803-to-auth-4.4.x
Peter van Dijk [Mon, 18 Jan 2021 10:39:18 +0000 (11:39 +0100)] 
Merge pull request #9953 from Habbie/backport-9803-to-auth-4.4.x

auth-4.4.x: dockerfiles: do not claim equivs-dummy is sourced from pdns

4 years agoMerge pull request #9952 from Habbie/backport-9895-to-auth-4.4.x
Peter van Dijk [Mon, 18 Jan 2021 10:39:03 +0000 (11:39 +0100)] 
Merge pull request #9952 from Habbie/backport-9895-to-auth-4.4.x

auth-4.4.x: Fix missing #include for gcc-11

4 years agoauthoritative: debian packaging update for 4.4
Chris Hofstaedtler [Tue, 12 Jan 2021 21:07:30 +0000 (22:07 +0100)] 
authoritative: debian packaging update for 4.4

4 years agodockerfiles: do not claim equivs-dummy is sourced from pdns 9953/head
Peter van Dijk [Wed, 2 Dec 2020 14:33:02 +0000 (15:33 +0100)] 
dockerfiles: do not claim equivs-dummy is sourced from pdns

.. because otherwise at least two security scanners will dig up every CVE since PowerDNS 1.0 and claim the image is vulnerable to it

(cherry picked from commit 7b968335642498c0fcaf9571b6950ba10bdb308d)

4 years agoFix missing #include for gcc-11 9952/head
Morten Stevens [Mon, 21 Dec 2020 11:11:01 +0000 (12:11 +0100)] 
Fix missing #include for gcc-11

(cherry picked from commit 2c010a9f0ff0e292d31b949065e1d5c245dc084e)

4 years agoMerge pull request #9949 from Habbie/backport-9933-to-auth-4.4.x
Peter van Dijk [Tue, 12 Jan 2021 12:29:25 +0000 (13:29 +0100)] 
Merge pull request #9949 from Habbie/backport-9933-to-auth-4.4.x

auth-4.4.x lmdb: serialise LMDBBackend construction

4 years agoMerge pull request #9946 from Habbie/backport-9888-to-auth-4.4.x
Peter van Dijk [Tue, 12 Jan 2021 09:21:12 +0000 (10:21 +0100)] 
Merge pull request #9946 from Habbie/backport-9888-to-auth-4.4.x

auth-4.4.x: Do a mdb_readers_check to clean up stale readers on database load

4 years agoauth lmdb: serialise LMDBBackend construction 9949/head
Peter van Dijk [Mon, 11 Jan 2021 11:27:41 +0000 (12:27 +0100)] 
auth lmdb: serialise LMDBBackend construction

(cherry picked from commit 6f3ea5dd6db432bc744c22e0d60dbe98483704ca)

4 years agoMerge pull request #9923 from Habbie/auth-4.4.x-backport-san-fixes
Peter van Dijk [Tue, 12 Jan 2021 08:50:34 +0000 (09:50 +0100)] 
Merge pull request #9923 from Habbie/auth-4.4.x-backport-san-fixes

auth-4.4.x: backport some asan/ubsan fixes

4 years agoDo a mdb_readers_check to clean up stale readers on database load 9946/head
Robin Geuze [Thu, 17 Dec 2020 10:51:24 +0000 (11:51 +0100)] 
Do a mdb_readers_check to clean up stale readers on database load

(cherry picked from commit 79dc3472276f3cf05e39c65a2f8b2a076a014105)

4 years agogeoipbackend: use const_iterator 9923/head
Peter van Dijk [Wed, 6 Jan 2021 17:58:00 +0000 (18:58 +0100)] 
geoipbackend: use const_iterator

==8618==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7ffd8c5a1420 at pc 0x55bee0a5d899 bp 0x7ffd8c5a0710 sp 0x7ffd8c5a0708
READ of size 1 at 0x7ffd8c5a1420 thread T0
    #0 0x55bee0a5d898 in YAML::Node::begin() const /usr/include/yaml-cpp/node/impl.h:284:8
    #1 0x55bee0a3f2f0 in GeoIPBackend::initialize() /opt/project/modules/geoipbackend/geoipbackend.cc:163:27
    #2 0x55bee0a3d0d3 in GeoIPBackend::GeoIPBackend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /opt/project/modules/geoipbackend/geoipbackend.cc:86:5
    #3 0x55bee0a784eb in GeoIPFactory::make(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /opt/project/modules/geoipbackend/geoipbackend.cc:1008:16
    #4 0x55bedff6cb18 in BackendMakerClass::all(bool) /opt/project/pdns/dnsbackend.cc:200:46
    #5 0x55bee07d3abe in UeberBackend::UeberBackend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /opt/project/pdns/ueberbackend.cc:479:28
    #6 0x55bee060579c in PacketHandler::PacketHandler() /opt/project/pdns/packethandler.cc:65:32
    #7 0x55bedfee1748 in std::unique_ptr<PacketHandler, std::default_delete<PacketHandler> > make_unique<PacketHandler>() /opt/project/pdns/./misc.hh:571:35
    #8 0x55bee079376d in TCPNameserver::go() /opt/project/pdns/tcpreceiver.cc:85:9
    #9 0x55bedfecf7b7 in mainthread() /opt/project/pdns/common_startup.cc:656:7
    #10 0x55bee0655f67 in main /opt/project/pdns/receiver.cc:654:5
    #11 0x7f374b4b809a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
    #12 0x55bedfc9a989 in _start (/opt/pdns-auth/sbin/pdns_server+0x2736989)

Address 0x7ffd8c5a1420 is located in stack of thread T0 at offset 3040 in frame
    #0 0x55bee0a3d5ef in GeoIPBackend::initialize() /opt/project/modules/geoipbackend/geoipbackend.cc:115

(cherry picked from commit 1a2d029efb4dd976f90e3c99b7fbc5a94e4fe197)

4 years agolmdbbackend: avoid unaligned uint32_t reads by using memcpy
Peter van Dijk [Wed, 6 Jan 2021 16:17:00 +0000 (17:17 +0100)] 
lmdbbackend: avoid unaligned uint32_t reads by using memcpy

lmdbbackend.cc:942:27: runtime error: load of misaligned address 0x604000b827aa for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment

(cherry picked from commit f061d15d3289070750d7213c04cbd93fe6c5ec5c+d49406608a9d35144bd01de18f78989c3739d155)

4 years agoMerge pull request #9912 from Habbie/backport-9826-to-auth-4.4.x
Peter van Dijk [Fri, 8 Jan 2021 12:59:19 +0000 (13:59 +0100)] 
Merge pull request #9912 from Habbie/backport-9826-to-auth-4.4.x

auth-4.4.x: pdnsutil edit-zone: do not exit on ZoneParser exception

4 years agoremotebackend: use 0 for denoting unknown serial which is uint32_t
Peter van Dijk [Wed, 6 Jan 2021 16:09:52 +0000 (17:09 +0100)] 
remotebackend: use 0 for denoting unknown serial which is uint32_t

remotebackend.cc:610:51: runtime error: -1 is outside the range of representable values of type 'unsigned int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior remotebackend.cc:610:51 in

(cherry picked from commit 79989810021b4f08b1365bca9b1fc16c6d9aad8e)

4 years agopdnsutil edit-zone: do not exit on ZoneParser exception 9912/head
Your Name [Mon, 7 Dec 2020 17:45:33 +0000 (18:45 +0100)] 
pdnsutil edit-zone: do not exit on ZoneParser exception

(cherry picked from commit 65d72cb789def6cf6eae65af74171d3a7d593dc4)

4 years agoMerge pull request #9884 from RobinGeuze/clearLMDBState auth-4.4.0
Peter van Dijk [Thu, 17 Dec 2020 08:12:40 +0000 (09:12 +0100)] 
Merge pull request #9884 from RobinGeuze/clearLMDBState

auth-4.4.x: clear the LMDB set state when performing a new lookup or list to prevent corruption cases

4 years agoMerge pull request #9878 from Habbie/backport-9844-to-auth-4.4.x
Peter van Dijk [Thu, 17 Dec 2020 07:01:29 +0000 (08:01 +0100)] 
Merge pull request #9878 from Habbie/backport-9844-to-auth-4.4.x

auth-4.4: SVCB: Correctly parse and print unknown params

4 years agoMerge pull request #9882 from Habbie/backport-9752-to-auth-4.4.x
Peter van Dijk [Thu, 17 Dec 2020 07:01:20 +0000 (08:01 +0100)] 
Merge pull request #9882 from Habbie/backport-9752-to-auth-4.4.x

auth-4.4.x: two docker improvements

4 years agoClear the LMDB set state when performing a new lookup or list to prevent corruption... 9884/head
Robin Geuze [Wed, 16 Dec 2020 19:37:58 +0000 (20:37 +0100)] 
Clear the LMDB set state when performing a new lookup or list to prevent corruption cases

4 years agodocker: also strip backend modules 9882/head
Pieter Lexis [Thu, 19 Nov 2020 11:44:16 +0000 (12:44 +0100)] 
docker: also strip backend modules

(cherry picked from commit 61f9a96fb05361d058fe68e96167e84046fcda88)

4 years agoDump generated configs from templates to stdout
Pieter Lexis [Thu, 19 Nov 2020 11:41:45 +0000 (12:41 +0100)] 
Dump generated configs from templates to stdout

(cherry picked from commit f51f65ebaf0755d5b780031ba55b00c0df3f0963)

4 years agoSVCB: Correctly parse and print unknown params 9878/head
Pieter Lexis [Wed, 9 Dec 2020 16:03:53 +0000 (17:03 +0100)] 
SVCB: Correctly parse and print unknown params

There were multiple issues. With this commit, we *always* store the
bytes that are represented by the option. To do this, we needed to
properly parse RFC 1035 character-strings. This is now done with a
conversion of the ABNF from draft-ietf-dnsop-svcb-https-02 to ragel.

The resulting function could be used as a starting point for a better
TXT storage format.

(cherry picked from commit b1a048a9caa0d14f9e6665c45af004c041fe5c5e)
(cherry picked from commit ca749ae109941ad0b5e96043b9f6a76305c4fcc7)

4 years agoMerge pull request #9873 from mind04/pdns-direct-dnskey-bp
Peter van Dijk [Tue, 15 Dec 2020 14:46:18 +0000 (15:46 +0100)] 
Merge pull request #9873 from mind04/pdns-direct-dnskey-bp

auth-4.4.x: fix direct-dnskey in AXFR-out

4 years agoauth: test direct-dnskey in AXFR-out 9873/head
Kees Monshouwer [Mon, 14 Dec 2020 22:32:12 +0000 (23:32 +0100)] 
auth: test direct-dnskey in AXFR-out

4 years agoauth: fix direct-dnskey in AXFR-out
Kees Monshouwer [Mon, 14 Dec 2020 22:20:50 +0000 (23:20 +0100)] 
auth: fix direct-dnskey in AXFR-out

4 years agoMerge pull request #9866 from mind04/pdns-bp-9847
Peter van Dijk [Mon, 14 Dec 2020 19:41:40 +0000 (20:41 +0100)] 
Merge pull request #9866 from mind04/pdns-bp-9847

auth-4.4.x: don't log trusted-notification-proxy notify at error level

4 years agoMerge pull request #9864 from Habbie/backport-9858-to-auth-4.4.x
Peter van Dijk [Mon, 14 Dec 2020 19:41:27 +0000 (20:41 +0100)] 
Merge pull request #9864 from Habbie/backport-9858-to-auth-4.4.x

auth-4.4.x bind: call DynListener static functions correctly

4 years agoauth bind: call DynListener static functions correctly 9864/head
Your Name [Fri, 11 Dec 2020 14:58:02 +0000 (15:58 +0100)] 
auth bind: call DynListener static functions correctly

(cherry picked from commit dc9a3a8ebbb43ceb7b770b1253e1c8b9852bf97d)

4 years agoMerge pull request #9853 from omoerbeek/backport-9840-to-auth-4.4.x
Peter van Dijk [Mon, 14 Dec 2020 08:05:12 +0000 (09:05 +0100)] 
Merge pull request #9853 from omoerbeek/backport-9840-to-auth-4.4.x

auth: Backport 9840 to auth 4.4.x: Stop using incbin and use od & sed to generate constant string data.

4 years agoauth: don't log trusted-notification-proxy notify at error level 9866/head
Kees Monshouwer [Tue, 8 Dec 2020 21:56:10 +0000 (22:56 +0100)] 
auth: don't log trusted-notification-proxy notify at error level

4 years agoforce 1 byte reads for od 9853/head
Otto Moerbeek [Fri, 11 Dec 2020 10:57:56 +0000 (11:57 +0100)] 
force 1 byte reads for od

(cherry picked from commit e1d66be3a14e28d446da3206f0f661d4ea990193)

4 years agoMake the processing binary safe and zap the incbin include from ws-auth.cc
Otto Moerbeek [Fri, 11 Dec 2020 10:11:00 +0000 (11:11 +0100)] 
Make the processing binary safe and zap the incbin include from ws-auth.cc

(cherry picked from commit 9c1f9f42a6f4a391e13446697fc9f68d53c9a3be)

4 years agoStop using incbin and use od & sed to generate constant string data.
Otto Moerbeek [Wed, 9 Dec 2020 14:33:58 +0000 (15:33 +0100)] 
Stop using incbin and use od & sed to generate constant string data.

(cherry picked from commit 006c3bef8a172319a585fe8c1243ad375642be1e)

4 years agoMerge pull request #9834 from Habbie/backport-9831-to-auth-4.4.x
Peter van Dijk [Wed, 9 Dec 2020 10:44:21 +0000 (11:44 +0100)] 
Merge pull request #9834 from Habbie/backport-9831-to-auth-4.4.x

auth-4.4.x: el8: PowerTools is now powertools

4 years agoel8: PowerTools is now powertools 9834/head
Your Name [Tue, 8 Dec 2020 14:23:13 +0000 (15:23 +0100)] 
el8: PowerTools is now powertools

(cherry picked from commit 26fe12046566da83844f1163134ba722a603e911)

4 years agoMerge pull request #9816 from mind04/auth44x-9813 auth-4.4.0-rc1
Peter van Dijk [Thu, 3 Dec 2020 20:17:48 +0000 (21:17 +0100)] 
Merge pull request #9816 from mind04/auth44x-9813

auth-4.4.x: geoip: set netmask on all string formatting types

4 years agoauth geoip: set netmask on all string formatting types 9816/head
Peter van Dijk [Thu, 3 Dec 2020 08:57:20 +0000 (09:57 +0100)] 
auth geoip: set netmask on all string formatting types

(via Kees Monshouwer)

4 years agoMerge pull request #9800 from Habbie/backport-9794-to-auth-4.4.x
Peter van Dijk [Thu, 3 Dec 2020 08:43:42 +0000 (09:43 +0100)] 
Merge pull request #9800 from Habbie/backport-9794-to-auth-4.4.x

auth 4.4.x api-swagger.json: do not depend on .venv target

4 years agoMerge pull request #9798 from Habbie/backport-9574-to-auth-4.4.x
Peter van Dijk [Wed, 2 Dec 2020 18:30:18 +0000 (19:30 +0100)] 
Merge pull request #9798 from Habbie/backport-9574-to-auth-4.4.x

auth-4.4.x: Ensure socket-dir matches runtimedir on old systemd

4 years agoMerge pull request #9797 from Habbie/backport-9796-to-auth-4.4.x
Peter van Dijk [Wed, 2 Dec 2020 14:54:24 +0000 (15:54 +0100)] 
Merge pull request #9797 from Habbie/backport-9796-to-auth-4.4.x

auth-4.4.x: geoipbackend: make local function static

4 years agoauth api-swagger.json: do not depend on .venv target. Fixes #9792 9800/head
Peter van Dijk [Tue, 1 Dec 2020 18:00:59 +0000 (19:00 +0100)] 
auth api-swagger.json: do not depend on .venv target. Fixes #9792

(cherry picked from commit fc7e2034559d4b20f487395aee88a0d8c0f56ece)

4 years agoEnsure socket-dir matches runtimedir on old systemd 9798/head
Pieter Lexis [Thu, 1 Oct 2020 18:36:51 +0000 (20:36 +0200)] 
Ensure socket-dir matches runtimedir on old systemd

This is mostly a hack for systemd version <240 so using virtual hosting
on Ubuntu Bionic and EL7 does not lead to surprises.

This Commit explicitly adds the `--socket-dir` to the invocation of the
unit. Any users who want to use their own runtimedirs should use a
drop-in unit overriding ExecStart. I believe this does not validate the
principle of least surprise for those using the PowerDNS provided
packages and virtual hosting.

Fixes #9485

(cherry picked from commit 7bbaae110abb53f43d0bf60c81efe3bb8630a925)

4 years agoauth geoipbackend: make local function static. Fixes #9791 9797/head
Peter van Dijk [Wed, 2 Dec 2020 08:39:57 +0000 (09:39 +0100)] 
auth geoipbackend: make local function static. Fixes #9791

(cherry picked from commit d73c73f9926ea784b5a443b70962b2bc7ebec435)

4 years agoMerge pull request #9778 from Habbie/backport-9775-to-auth-4.4.x
Peter van Dijk [Tue, 1 Dec 2020 15:12:07 +0000 (16:12 +0100)] 
Merge pull request #9778 from Habbie/backport-9775-to-auth-4.4.x

pdnsutil add-record: notice when backend does not support replaceRRSet. Fixes #9730

4 years agoMerge pull request #9765 from mind04/pdns-log-bp
Peter van Dijk [Sun, 29 Nov 2020 11:56:04 +0000 (12:56 +0100)] 
Merge pull request #9765 from mind04/pdns-log-bp

auth-4.4.x: add remote to default axfr logging

4 years agoMerge pull request #9785 from mind04/pdns-latency-44x
Peter van Dijk [Sun, 29 Nov 2020 11:51:40 +0000 (12:51 +0100)] 
Merge pull request #9785 from mind04/pdns-latency-44x

 auth-4.4.x: fix rounding inaccuracy in latency statistics

4 years agoauth: fix rounding inaccuracy in latency statistics 9785/head
Kees Monshouwer [Tue, 24 Nov 2020 19:50:34 +0000 (20:50 +0100)] 
auth: fix rounding inaccuracy in latency statistics

4 years agoauth: fix compiler errors with --enable-verbose-logging 9765/head
Kees Monshouwer [Fri, 27 Nov 2020 22:27:11 +0000 (23:27 +0100)] 
auth: fix compiler errors with --enable-verbose-logging

4 years agoauth: add zone and primary to all axfr logging
Kees Monshouwer [Mon, 23 Nov 2020 13:03:59 +0000 (14:03 +0100)] 
auth: add zone and primary to all axfr logging

4 years agoMerge pull request #9773 from Habbie/backport-9766-to-auth-4.4.x
Peter van Dijk [Thu, 26 Nov 2020 10:15:37 +0000 (11:15 +0100)] 
Merge pull request #9773 from Habbie/backport-9766-to-auth-4.4.x

auth-4.4.x: APL records: fix endianness problem.

4 years agopdnsutil add-record: notice when backend does not support replaceRRSet. Fixes #9730 9778/head
Peter van Dijk [Wed, 25 Nov 2020 12:07:12 +0000 (13:07 +0100)] 
pdnsutil add-record: notice when backend does not support replaceRRSet. Fixes #9730

(cherry picked from commit cd624e77d09e58228f5b54207f34496463193069)

4 years agoAPL records: fix endianness problem. Closes #9763 9773/head
Peter van Dijk [Tue, 24 Nov 2020 14:13:49 +0000 (15:13 +0100)] 
APL records: fix endianness problem. Closes #9763

(cherry picked from commit a0d9f00d8d76bb07847abb2f837f7c629fb238b2)

4 years agoMerge pull request #9761 from Habbie/backport-9749-to-auth-4.4.x
Peter van Dijk [Tue, 24 Nov 2020 14:37:40 +0000 (15:37 +0100)] 
Merge pull request #9761 from Habbie/backport-9749-to-auth-4.4.x

auth-4.4.x: Fix the DNSName move assignment operator

4 years agoauth: Don't steal resources from additional records 9761/head
Remi Gacogne [Thu, 19 Nov 2020 11:27:53 +0000 (12:27 +0100)] 
auth: Don't steal resources from additional records

(cherry picked from commit 21f2345d40c96fac7aff4f1f9e02f67579038352)

4 years agoFix the DNSName move assignement operator
Remi Gacogne [Thu, 19 Nov 2020 09:53:06 +0000 (10:53 +0100)] 
Fix the DNSName move assignement operator

A misplaced 'const' prevented it from being called, making every
move of a DNSName into a full copy.
Introduced in d720eb8add5ebda11867e8b404125e0b68ed2911.

(cherry picked from commit 8d1bb300460d5cc97b4599ea8eddeb7b6d35decf)

4 years agoMerge pull request #9735 from Habbie/pdnsutil-dname auth-4.4.0-beta1
Peter van Dijk [Thu, 19 Nov 2020 09:47:49 +0000 (10:47 +0100)] 
Merge pull request #9735 from Habbie/pdnsutil-dname

auth: pdnsutil check-zone: DNAME fixes

4 years agoMerge pull request #9523 from kpfleming/builder-improvements
Peter van Dijk [Thu, 19 Nov 2020 09:46:20 +0000 (10:46 +0100)] 
Merge pull request #9523 from kpfleming/builder-improvements

Package builder improvements

4 years agoMerge pull request #9673 from rgacogne/rec-ede
Remi Gacogne [Wed, 18 Nov 2020 20:47:37 +0000 (21:47 +0100)] 
Merge pull request #9673 from rgacogne/rec-ede

rec: Add support for rfc8914: Extended DNS Errors

4 years agoMerge pull request #9704 from mind04/pdns-performance
Peter van Dijk [Wed, 18 Nov 2020 13:14:42 +0000 (14:14 +0100)] 
Merge pull request #9704 from mind04/pdns-performance

auth: nxdomain performance

4 years agoauth: pdnsutil check-zone: DNAME fixes 9735/head
Peter van Dijk [Wed, 18 Nov 2020 10:53:30 +0000 (11:53 +0100)] 
auth: pdnsutil check-zone: DNAME fixes

* don't warn about occlusion of records with the same name as the DNAME record
* do warn about occlusion when the DNAME is at the apex

4 years agoMerge pull request #9731 from Habbie/auth-quote-ips
Peter van Dijk [Wed, 18 Nov 2020 12:33:14 +0000 (13:33 +0100)] 
Merge pull request #9731 from Habbie/auth-quote-ips

auth: put quotes around some IPs to make messages easier to read

4 years agoauth: SOAData is now a member variable in PacketHandler 9704/head
Kees Monshouwer [Wed, 11 Nov 2020 11:22:37 +0000 (12:22 +0100)] 
auth: SOAData is now a member variable in PacketHandler

4 years agoauth: avoid the use of getSOAUncached() in single backend setups
Kees Monshouwer [Tue, 10 Nov 2020 19:17:33 +0000 (20:17 +0100)] 
auth: avoid the use of getSOAUncached() in single backend setups

4 years agoauth: #9496 was incomplete, ignore cryptokeys in emitNSEC() and emitNSEC3()
Kees Monshouwer [Tue, 10 Nov 2020 19:12:06 +0000 (20:12 +0100)] 
auth: #9496 was incomplete, ignore cryptokeys in emitNSEC() and emitNSEC3()