]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Wed, 2 Dec 2020 13:46:19 +0000 (14:46 +0100)]
rec: Untangle the validation/resolving qnames and qtypes
Remi Gacogne [Tue, 1 Dec 2020 16:23:03 +0000 (17:23 +0100)]
Merge pull request #9784 from pieterlexis/dnsdist-spoofaction-one-arg
dnsdist: Remove useless second argument for `SpoofAction`
Remi Gacogne [Tue, 1 Dec 2020 14:10:17 +0000 (15:10 +0100)]
Merge pull request #9790 from rgacogne/rec-skip-cname-qname-min-step4
rec: Do not chase CNAME during qname minization step 4
Remi Gacogne [Tue, 1 Dec 2020 09:52:37 +0000 (10:52 +0100)]
rec: Do not chase CNAME during qname minization step 4
Remi Gacogne [Tue, 1 Dec 2020 08:44:41 +0000 (09:44 +0100)]
Merge pull request #9789 from rgacogne/rec-discard-invalid-sig
rec: Actually discard invalid RRSIGs with too high labels count
Remi Gacogne [Mon, 30 Nov 2020 16:06:02 +0000 (17:06 +0100)]
rec: Actually discard invalid RRSIGs with too high labels count
Peter van Dijk [Sun, 29 Nov 2020 11:55:31 +0000 (12:55 +0100)]
Merge pull request #9764 from mind04/pdns-log
auth: add remote to default axfr logging
Kees Monshouwer [Fri, 27 Nov 2020 22:27:11 +0000 (23:27 +0100)]
auth: fix compiler errors with --enable-verbose-logging
Kees Monshouwer [Mon, 23 Nov 2020 13:03:59 +0000 (14:03 +0100)]
auth: add zone and primary to all axfr logging
Pieter Lexis [Fri, 27 Nov 2020 12:27:45 +0000 (13:27 +0100)]
dnsdist: Add TTL test for `SpoofAction`
Pieter Lexis [Fri, 27 Nov 2020 12:23:05 +0000 (13:23 +0100)]
dnsdist: Drop second argument in `SpoofAction`
Fixes #9783
Remi Gacogne [Thu, 26 Nov 2020 14:13:13 +0000 (15:13 +0100)]
Merge pull request #9746 from rgacogne/ddist-named-rules
dnsdist: Add an optional name to rules
Pieter Lexis [Thu, 26 Nov 2020 10:26:30 +0000 (11:26 +0100)]
Merge pull request #9753 from pieterlexis/test-rcpgenerator-v4-mapped-v6
Test IPv4-mapped-IPv6 in the RecordTextReader
Peter van Dijk [Thu, 26 Nov 2020 10:07:06 +0000 (11:07 +0100)]
Merge pull request #9775 from Habbie/bindbackend-add-record-error
pdnsutil add-record: notice when backend does not support replaceRRSet. Fixes #9730
Erik Winkels [Wed, 25 Nov 2020 20:15:12 +0000 (21:15 +0100)]
Add hint for testing Raspbian repos.
Remi Gacogne [Wed, 25 Nov 2020 15:07:14 +0000 (16:07 +0100)]
Merge pull request #9770 from rgacogne/ddist-coverity-cleartext-dh
dnsdist: Initialize d_cleartextDH to make Coverity happy
Remi Gacogne [Wed, 25 Nov 2020 15:07:05 +0000 (16:07 +0100)]
Merge pull request #9771 from rgacogne/ddist-clean-up-tcp-fields
dnsdist: Clean up unused fields in IncomingTCPConnectionState
Otto Moerbeek [Wed, 25 Nov 2020 14:37:02 +0000 (15:37 +0100)]
Merge pull request #9755 from omoerbeek/prep-rec-4.3.6-and-4.4.1
rec: Prep for rec 4.3.6 and 4.4.1
Peter van Dijk [Wed, 25 Nov 2020 13:09:30 +0000 (14:09 +0100)]
Merge pull request #9762 from Habbie/auth-4.4-upgrade-unknown-types-doc
auth: document upgrade-unknown-types API interaction
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
Otto Moerbeek [Fri, 20 Nov 2020 10:02:12 +0000 (11:02 +0100)]
Prep for rec 4.3.6 and 4.4.1
Peter van Dijk [Wed, 25 Nov 2020 11:05:28 +0000 (12:05 +0100)]
Merge pull request #9766 from Habbie/apl-endian
APL records: fix endianness problem. Closes #9763
Remi Gacogne [Wed, 25 Nov 2020 09:56:19 +0000 (10:56 +0100)]
dnsdist: Clean up unused fields in IncomingTCPConnectionState
Remi Gacogne [Wed, 25 Nov 2020 09:54:22 +0000 (10:54 +0100)]
dnsdist: Initialize d_cleartextDH to make Coverity happy
Peter van Dijk [Tue, 24 Nov 2020 14:13:49 +0000 (15:13 +0100)]
APL records: fix endianness problem. Closes #9763
Peter van Dijk [Tue, 24 Nov 2020 14:38:43 +0000 (15:38 +0100)]
Merge pull request #9760 from rgacogne/ddist-out-of-order-doc-typo
dnsdist: Fix a typo (missing backquote) in the out-of-order docs
Peter van Dijk [Tue, 24 Nov 2020 10:44:43 +0000 (11:44 +0100)]
auth: document upgrade-unknown-types API interaction
Remi Gacogne [Tue, 24 Nov 2020 09:11:59 +0000 (10:11 +0100)]
dnsdist: Fix a typo (missing backquote) in the out-of-order docs
aerique [Tue, 24 Nov 2020 08:23:15 +0000 (09:23 +0100)]
Merge pull request #9759 from Habbie/repo-script-raspbian
generate-repo-files: add raspbian support
Peter van Dijk [Mon, 23 Nov 2020 14:43:57 +0000 (15:43 +0100)]
Merge pull request #9747 from Habbie/github-actions-ubuntu-20.04
github actions: pin ubuntu 20.04 instead of -latest
Peter van Dijk [Mon, 23 Nov 2020 10:16:55 +0000 (11:16 +0100)]
Merge pull request #9758 from Habbie/auth-4.4.0-beta1-docs
auth: changelog&secpoll for auth-4.4.0-beta1
Peter van Dijk [Mon, 23 Nov 2020 10:00:55 +0000 (11:00 +0100)]
generate-repo-files: add raspbian support
Remi Gacogne [Mon, 23 Nov 2020 08:41:05 +0000 (09:41 +0100)]
Merge pull request #9582 from rgacogne/ddist-tcp-refactor-split
dnsdist: Implement TCP out-of-order
Peter van Dijk [Mon, 23 Nov 2020 08:07:01 +0000 (09:07 +0100)]
auth: changelog&secpoll for auth-4.4.0-beta1
Remi Gacogne [Fri, 20 Nov 2020 16:00:20 +0000 (17:00 +0100)]
dnsdist: Better documentation for out-of-order support
Remi Gacogne [Fri, 20 Nov 2020 12:43:08 +0000 (13:43 +0100)]
Merge pull request #9744 from rgacogne/rec-near-miss-to-tcp
rec: Switch to TCP in case of spoofing (near-miss) attempts
Otto Moerbeek [Fri, 20 Nov 2020 11:00:15 +0000 (12:00 +0100)]
Merge pull request #9754 from omoerbeek/auth-openbsd-warnings
auth: Kill warnings in test code on OpenBSD/clang
Pieter Lexis [Fri, 20 Nov 2020 10:50:33 +0000 (11:50 +0100)]
Test IPv4-mapped-IPv6 in the RecordTextReader
Otto Moerbeek [Fri, 20 Nov 2020 10:09:28 +0000 (11:09 +0100)]
Kill warnings in test code on OpenBSD/clang
Remi Gacogne [Thu, 19 Nov 2020 15:05:42 +0000 (16:05 +0100)]
Merge pull request #9751 from rgacogne/rec-ede-centos6
rec: Fix getEDNSExtendedErrorOptFromString() on CentOS 6
Pieter Lexis [Thu, 19 Nov 2020 14:58:23 +0000 (15:58 +0100)]
Merge pull request #9752 from pieterlexis/docker-improvements2
Two new docker improvements
Pieter Lexis [Thu, 19 Nov 2020 11:44:16 +0000 (12:44 +0100)]
docker: also strip backend modules
Pieter Lexis [Thu, 19 Nov 2020 11:41:45 +0000 (12:41 +0100)]
Dump generated configs from templates to stdout
Remi Gacogne [Thu, 19 Nov 2020 14:31:14 +0000 (15:31 +0100)]
Merge pull request #9749 from rgacogne/dnsname-move-assignment-operator
Fix the DNSName move assignment operator
Remi Gacogne [Thu, 19 Nov 2020 13:24:01 +0000 (14:24 +0100)]
rec: Fix getEDNSExtendedErrorOptFromString() on CentOS 6
pdns_string_view falls back to a regular string there, so there
was an ambiguity on which overloaded function to call.
Remi Gacogne [Thu, 19 Nov 2020 11:27:53 +0000 (12:27 +0100)]
auth: Don't steal resources from additional records
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 .
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
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
Remi Gacogne [Thu, 19 Nov 2020 08:19:52 +0000 (09:19 +0100)]
rec: Clarify the 'near-miss' log message, add more comments
Remi Gacogne [Wed, 18 Nov 2020 20:54:28 +0000 (21:54 +0100)]
rec: Don't use a boost::optional to store "spoof-nearmiss-max"
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
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
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
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
Peter van Dijk [Wed, 18 Nov 2020 12:28:05 +0000 (13:28 +0100)]
github actions: pin ubuntu 20.04 instead of -latest
Kees Monshouwer [Wed, 11 Nov 2020 11:22:37 +0000 (12:22 +0100)]
auth: SOAData is now a member variable in PacketHandler
Kees Monshouwer [Tue, 10 Nov 2020 19:17:33 +0000 (20:17 +0100)]
auth: avoid the use of getSOAUncached() in single backend setups
Kees Monshouwer [Tue, 10 Nov 2020 19:12:06 +0000 (20:12 +0100)]
auth: #9496 was incomplete, ignore cryptokeys in emitNSEC() and emitNSEC3()
Peter van Dijk [Wed, 18 Nov 2020 10:55:16 +0000 (11:55 +0100)]
Merge pull request #9713 from pieterlexis/trusted-notification-proxy
Allow ip ranges as trusted-notification-proxy
Remi Gacogne [Wed, 18 Nov 2020 10:10:39 +0000 (11:10 +0100)]
dnsdist: Add an optional name to rules
Peter van Dijk [Wed, 18 Nov 2020 09:22:12 +0000 (10:22 +0100)]
Merge pull request #8707 from Habbie/lmdb-domaininfo-serial
lmdb: fill di.serial (code stolen straight from gsqlbackend)
Remi Gacogne [Wed, 18 Nov 2020 08:22:14 +0000 (09:22 +0100)]
rec: Remove trailing whitespaces
Remi Gacogne [Tue, 17 Nov 2020 10:21:14 +0000 (11:21 +0100)]
rec: Test that the "zero scope" option doesn't exceed the maximum payload size
When use-incoming-edns-subnet is enabled, the query has an ECS option,
and the answer was not variable, we do return a 0-scoped ECS answer,
to make it possible to the client (dnsdist for example) to cache the
response and serve it to all clients.
Still we need to make sure that adding the 0-scoped ECS option does not
exceed the client EDNS UDP payload size.
Remi Gacogne [Tue, 17 Nov 2020 08:28:14 +0000 (09:28 +0100)]
rec: Rename the EDE setting to 'extended-resolution-errors'
Also make RPZ and Lua EDE independent of that setting.
Remi Gacogne [Tue, 17 Nov 2020 08:15:46 +0000 (09:15 +0100)]
rec: PolicyOverridesGettag is the default for RPZ zones
Remi Gacogne [Mon, 16 Nov 2020 17:30:02 +0000 (18:30 +0100)]
rec: Use a struct to pass gettag_ffi parameters
Remi Gacogne [Mon, 16 Nov 2020 17:01:18 +0000 (18:01 +0100)]
rec: Better handling of max packet size for answers with a 0-scope
Remi Gacogne [Fri, 13 Nov 2020 08:00:49 +0000 (09:00 +0100)]
rec: Fix the parsing of RPZ's extendedErrorCode setting
Mixing uint16_t and uin32_t in the same boost::variant passed to Lua
does not work well.
Remi Gacogne [Thu, 12 Nov 2020 15:51:38 +0000 (16:51 +0100)]
rec: Implement Extended DNS Errors for RPZ hits
Remi Gacogne [Thu, 12 Nov 2020 13:53:47 +0000 (14:53 +0100)]
rec: Add Lua bindings, regression tests for Extended DNS Errors
Remi Gacogne [Tue, 10 Nov 2020 11:39:13 +0000 (12:39 +0100)]
rec: Add unit tests for Extended DNS Errors
Remi Gacogne [Fri, 6 Nov 2020 09:17:22 +0000 (10:17 +0100)]
rec: Fix formatting of the EDNS Extended Error codes
Remi Gacogne [Thu, 5 Nov 2020 10:38:55 +0000 (11:38 +0100)]
rec: Add support for rfc8914: Extended DNS Errors
Still needs:
- unit tests
- regression tests
Would be nice to have:
- ability to set an extended error from Lua (FFI or not)
- same for RPZ matches
Peter van Dijk [Wed, 15 Jan 2020 20:02:13 +0000 (21:02 +0100)]
lmdb: fill di.serial
Peter van Dijk [Tue, 17 Nov 2020 17:09:19 +0000 (18:09 +0100)]
Merge pull request #9745 from Habbie/auth-lua-intermittent
auth LUA tests: give healthchecker more time
Peter van Dijk [Tue, 17 Nov 2020 15:01:01 +0000 (16:01 +0100)]
auth LUA tests: give healthchecker more time
Peter van Dijk [Tue, 17 Nov 2020 13:07:19 +0000 (14:07 +0100)]
Merge pull request #9714 from Habbie/mysql-8
auth: disable mysql automatic charset detection
Peter van Dijk [Tue, 17 Nov 2020 12:57:21 +0000 (13:57 +0100)]
Merge pull request #9712 from kpfleming/use-python3
Use Python 3 in build system
Peter van Dijk [Tue, 17 Nov 2020 09:57:45 +0000 (10:57 +0100)]
auth-py tests: py3
Remi Gacogne [Tue, 17 Nov 2020 10:59:56 +0000 (11:59 +0100)]
Merge pull request #9737 from rgacogne/ddist-dump-cache-rcode
dnsdist: Add the response code in the packet cache dump
Remi Gacogne [Tue, 17 Nov 2020 10:51:14 +0000 (11:51 +0100)]
rec: Switch to TCP in case of spoofing (near-miss) attempts
Instead of treating this like an unrecoverable network error and
trying the next server, let's switch to TCP instead. This might
prevent a DoS by making us try every single servers and failing,
and will make the spoofing attempt a bit much harder.
Kevin P. Fleming [Tue, 17 Nov 2020 02:45:37 +0000 (21:45 -0500)]
BaseHTTPServer is now http.server in Python 3
Kevin P. Fleming [Tue, 17 Nov 2020 01:58:01 +0000 (20:58 -0500)]
Suppress Python 3 parsing of Unicode literals
Peter van Dijk [Tue, 17 Nov 2020 00:59:35 +0000 (19:59 -0500)]
Additional fixes for Python 3 conversion
Remi Gacogne [Mon, 16 Nov 2020 16:27:54 +0000 (17:27 +0100)]
Merge pull request #9591 from omoerbeek/fstrm-table-driven-options
Long overdue table driven option setting for libfstrm
Remi Gacogne [Mon, 16 Nov 2020 11:09:20 +0000 (12:09 +0100)]
dnsdist: Add the response code in the packet cache dump
Remi Gacogne [Mon, 16 Nov 2020 10:49:19 +0000 (11:49 +0100)]
dnsdist: Fix "in-flight" queries counter for XFR, plus a few typos
Otto Moerbeek [Mon, 16 Nov 2020 07:04:10 +0000 (08:04 +0100)]
Use string instead of char *
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Peter van Dijk [Sat, 14 Nov 2020 20:47:06 +0000 (21:47 +0100)]
auth: put quotes around some IPs to make messages easier to read
Remi Gacogne [Sat, 14 Nov 2020 18:50:48 +0000 (19:50 +0100)]
Merge pull request #9729 from appliedprivacy/patch-3
fix a typo in prometheus metrics dnsdist_frontend_tlshandshakefailures #9728
appliedprivacy [Sat, 14 Nov 2020 17:28:44 +0000 (17:28 +0000)]
fix typo #9728
Peter van Dijk [Sat, 14 Nov 2020 08:30:54 +0000 (09:30 +0100)]
Merge pull request #9727 from georgeto/dnsdist-docs-typo
dnsdist: Fix typo in DNSNameSet documentation
georgeto [Sat, 14 Nov 2020 00:24:17 +0000 (01:24 +0100)]
dnsdist: Fix typo in DNSNameSet documentation
The newDNSNameSet() function has no name argument.
Peter van Dijk [Fri, 13 Nov 2020 18:43:35 +0000 (19:43 +0100)]
add venv to Dockerfile-auth for JSON API file
Peter van Dijk [Fri, 13 Nov 2020 16:03:17 +0000 (17:03 +0100)]
recursor DNSSEC regression tests: skip debug cachedump
Peter van Dijk [Fri, 13 Nov 2020 11:40:23 +0000 (12:40 +0100)]
recursor DNSSEC regression tests: migrate to Python 3
Kevin P. Fleming [Fri, 13 Nov 2020 22:35:34 +0000 (17:35 -0500)]
Use Python 3 in build system
The various tasks in the build system which use Python
will now use Python 3 (3.6 or later) and the 'venv' module,
instead of the 'virtualenv' tool which was primarily used
with Python 2.7.
Peter van Dijk [Fri, 13 Nov 2020 16:04:16 +0000 (17:04 +0100)]
Merge pull request #9708 from Habbie/auth-regress-docs-mysql
auth regression docs: more mysql variants
Remi Gacogne [Fri, 13 Nov 2020 16:03:15 +0000 (17:03 +0100)]
Merge pull request #9721 from georgeto/lua-binding-const-qualifier
dnsdist: Improve const-correctness of Lua bindings