]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agodnsdist: Speed up the round robin policy
Remi Gacogne [Wed, 29 Jul 2020 14:23:26 +0000 (16:23 +0200)] 
dnsdist: Speed up the round robin policy

Working with indices instead of copying shared pointers results in
a nice speed up, cutting the CPU time in half.

5 years agoMerge pull request #9408 from RvdE/patch-5
Remi Gacogne [Mon, 24 Aug 2020 07:29:17 +0000 (09:29 +0200)] 
Merge pull request #9408 from RvdE/patch-5

Fix building with LLVM11

5 years agoMerge pull request #9396 from omoerbeek/rec-rpz-ip-multi
Otto Moerbeek [Mon, 24 Aug 2020 07:21:50 +0000 (09:21 +0200)] 
Merge pull request #9396 from omoerbeek/rec-rpz-ip-multi

Rec: allow multipe local data records when doing RPZ IP matching

5 years agoSorting of items 9391/head
Otto Moerbeek [Mon, 24 Aug 2020 07:21:02 +0000 (09:21 +0200)] 
Sorting of items

5 years agos/mutex/lock in descriptions
Otto Moerbeek [Mon, 24 Aug 2020 07:18:22 +0000 (09:18 +0200)] 
s/mutex/lock in descriptions

Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
5 years agoFix building with LLVM11 9408/head
RvdE [Sun, 23 Aug 2020 22:26:21 +0000 (00:26 +0200)] 
Fix building with LLVM11

There's a typo on line 529, where it says "true", but the double quotes cause a type cast error on LLVM11.

dnsdist-console.cc:529:32: error: type 'const char [5]' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
  { "SetNegativeAndSOAAction", "true", "nxd, zone, ttl, mname, rname, serial, refresh, retry, expire, minimum [, options]", "Turn a query into a NXDomain or NoData answer and sets a SOA record in the additional section" },
                               ^~~~~~
dnsdist-console.cc:529:32: note: insert an explicit cast to silence this issue
  { "SetNegativeAndSOAAction", "true", "nxd, zone, ttl, mname, rname, serial, refresh, retry, expire, minimum [, options]", "Turn a query into a NXDomain or NoData answer and sets a SOA record in the additional section" },
                               ^~~~~~
                               static_cast<bool>( )
1 error generated.

5 years agoMerge pull request #9407 from mind04/pdns-race
Peter van Dijk [Sat, 22 Aug 2020 08:22:04 +0000 (10:22 +0200)] 
Merge pull request #9407 from mind04/pdns-race

auth: fix cache cleaning race conditions in DNSSECKeeper()

5 years agoauth: fix cache cleaning race conditions in DNSSECKeeper() 9407/head
Kees Monshouwer [Fri, 21 Aug 2020 15:09:32 +0000 (17:09 +0200)] 
auth: fix cache cleaning race conditions in DNSSECKeeper()

5 years agopdnsutil: file-local functions need to be static 9406/head
Peter van Dijk [Fri, 21 Aug 2020 09:38:03 +0000 (11:38 +0200)] 
pdnsutil: file-local functions need to be static

5 years agostatbag: prevent re-declaration in production coded 9401/head
Peter van Dijk [Fri, 21 Aug 2020 09:13:47 +0000 (11:13 +0200)] 
statbag: prevent re-declaration in production coded

5 years agodoc: Fix broken link to "per-zone-settings-domain-metadata" 9405/head
Remi Gacogne [Fri, 21 Aug 2020 08:39:25 +0000 (10:39 +0200)] 
doc: Fix broken link to "per-zone-settings-domain-metadata"

5 years agoMerge pull request #9157 from rgacogne/reuseport-lb
Remi Gacogne [Fri, 21 Aug 2020 07:59:23 +0000 (09:59 +0200)] 
Merge pull request #9157 from rgacogne/reuseport-lb

Add support for FreeBSD's SO_REUSEPORT_LB

5 years agoMerge pull request #9404 from jsoref/test-recursor-remove-cd
Peter van Dijk [Fri, 21 Aug 2020 07:50:22 +0000 (09:50 +0200)] 
Merge pull request #9404 from jsoref/test-recursor-remove-cd

test-recursor: remove duplicate cd directive

5 years agoReplaced bzero with memset
Nicko Dehaine [Thu, 20 Aug 2020 16:30:53 +0000 (16:30 +0000)] 
Replaced bzero with memset
Adjusted types
(via Remi on Aug 19)

5 years agorst: Remove failed attempt to fix rst warning 9402/head
Josh Soref [Thu, 20 Aug 2020 15:04:40 +0000 (11:04 -0400)] 
rst: Remove failed attempt to fix rst warning

5 years agorst: Definition list ends without a blank line
Josh Soref [Thu, 20 Aug 2020 15:01:11 +0000 (11:01 -0400)] 
rst: Definition list ends without a blank line

5 years agorst: fix markup
Josh Soref [Thu, 20 Aug 2020 13:35:01 +0000 (09:35 -0400)] 
rst: fix markup

5 years agorst: fix underline length
Josh Soref [Thu, 20 Aug 2020 13:21:14 +0000 (09:21 -0400)] 
rst: fix underline length

5 years agorst: use anonymous reference
Josh Soref [Thu, 20 Aug 2020 13:20:25 +0000 (09:20 -0400)] 
rst: use anonymous reference

to avoid duplicate explicit target

5 years agostatbag: when redeclaring a key, reset to 0 instead of reallocating
Peter van Dijk [Thu, 20 Aug 2020 13:10:59 +0000 (15:10 +0200)] 
statbag: when redeclaring a key, reset to 0 instead of reallocating

5 years agoMerge pull request #9088 from neheb/nbm
Remi Gacogne [Thu, 20 Aug 2020 09:27:34 +0000 (11:27 +0200)] 
Merge pull request #9088 from neheb/nbm

replace boost:bind() with lambdas

5 years agoMerge pull request #9399 from jsoref/rst-blankline
Peter van Dijk [Thu, 20 Aug 2020 08:20:15 +0000 (10:20 +0200)] 
Merge pull request #9399 from jsoref/rst-blankline

rst: Definition list ends without a blank line; unexpected unindent

5 years agoFormatting 9396/head
Otto Moerbeek [Wed, 19 Aug 2020 09:32:12 +0000 (11:32 +0200)] 
Formatting

5 years agoMerge pull request #9101 from pieterlexis/lua-record-improvements
Peter van Dijk [Wed, 19 Aug 2020 09:29:36 +0000 (11:29 +0200)] 
Merge pull request #9101 from pieterlexis/lua-record-improvements

LUA records: two improvements to createForward

5 years agoMerge pull request #8824 from cmouse/retrieve
Peter van Dijk [Wed, 19 Aug 2020 09:10:46 +0000 (11:10 +0200)] 
Merge pull request #8824 from cmouse/retrieve

Allow forced retrieval

5 years agoMerge pull request #9395 from Habbie/spelling-9264
Peter van Dijk [Wed, 19 Aug 2020 08:58:30 +0000 (10:58 +0200)] 
Merge pull request #9395 from Habbie/spelling-9264

fix spelling dict after merge of 9264

5 years agofix spelling dict after merge of 9264 9395/head
Peter van Dijk [Wed, 19 Aug 2020 08:52:16 +0000 (10:52 +0200)] 
fix spelling dict after merge of 9264

5 years agoAdd unit test for matching on netmask.
Otto Moerbeek [Wed, 19 Aug 2020 08:50:16 +0000 (10:50 +0200)] 
Add unit test for matching on netmask.

Also: fix the test to remove an entire entry. That should only be done
if there are no custom records left after the cleanup.
Old code was too eager and removed the entry whenever there was only one
custom record left. We could be trying to  remove a non-matching one.

5 years agoMerge pull request #9264 from cmouse/patch-1592679516
Peter van Dijk [Wed, 19 Aug 2020 08:43:27 +0000 (10:43 +0200)] 
Merge pull request #9264 from cmouse/patch-1592679516

PKCS#11: Document SoftHSM2 remote usage

5 years agoMerge pull request #9384 from kpfleming/add-rrsets-parameter-to-listZone
Peter van Dijk [Wed, 19 Aug 2020 08:41:01 +0000 (10:41 +0200)] 
Merge pull request #9384 from kpfleming/add-rrsets-parameter-to-listZone

Document 'rrsets' parameter to API listZone operation

5 years agoMerge pull request #9394 from vincentbernat/patch-1
Peter van Dijk [Wed, 19 Aug 2020 08:40:32 +0000 (10:40 +0200)] 
Merge pull request #9394 from vincentbernat/patch-1

Fix capitalization of Zone in documentation

5 years agoMerge pull request #9390 from omoerbeek/rec-record-cache-shards
Otto Moerbeek [Wed, 19 Aug 2020 08:03:01 +0000 (10:03 +0200)] 
Merge pull request #9390 from omoerbeek/rec-record-cache-shards

rec: rename cache-shards to record-cache-shards and document it.

5 years agodynhandler: Do not copy master value 8824/head
Aki Tuomi [Wed, 12 Aug 2020 12:25:13 +0000 (15:25 +0300)] 
dynhandler: Do not copy master value

5 years agopdns_control.1.rst: retrieve - Document new parameter
Aki Tuomi [Tue, 11 Aug 2020 12:40:53 +0000 (15:40 +0300)] 
pdns_control.1.rst: retrieve - Document new parameter

5 years agodynhandler: Allow specifying master IP on retrieve
Aki Tuomi [Fri, 14 Feb 2020 11:20:26 +0000 (13:20 +0200)] 
dynhandler: Allow specifying master IP on retrieve

Setting master IP allows overriding master location. This will
also override slave requirement checks, allowing fetch of NATIVE
and MASTER zones.

5 years agocommunicator: Allow forcing domain retrieval
Aki Tuomi [Fri, 14 Feb 2020 11:20:01 +0000 (13:20 +0200)] 
communicator: Allow forcing domain retrieval

This allows forcing retrieval of domain that is not slave domain.

5 years agoFix capitalization of Zone in documentation 9394/head
Vincent Bernat [Wed, 19 Aug 2020 07:02:18 +0000 (09:02 +0200)] 
Fix capitalization of Zone in documentation

5 years agoFix doc
Nicko Dehaine [Tue, 18 Aug 2020 23:23:47 +0000 (23:23 +0000)] 
Fix doc

5 years agoFix rebase conflict
Nicko Dehaine [Tue, 18 Aug 2020 22:44:19 +0000 (22:44 +0000)] 
Fix rebase conflict

5 years agoFix record name in doc
Nicko Dehaine [Mon, 16 Dec 2019 18:36:55 +0000 (10:36 -0800)] 
Fix record name in doc

5 years agoFix rebase
Nicko Dehaine [Tue, 18 Aug 2020 22:41:15 +0000 (22:41 +0000)] 
Fix rebase

5 years agoFix record name in doc
Nicko Dehaine [Mon, 16 Dec 2019 18:36:55 +0000 (10:36 -0800)] 
Fix record name in doc

5 years agoTarget 4.4.0 for APL records
Nicko Dehaine [Wed, 20 May 2020 22:43:09 +0000 (15:43 -0700)] 
Target 4.4.0 for APL records

5 years agoFix record name in doc
Nicko Dehaine [Mon, 16 Dec 2019 18:36:55 +0000 (10:36 -0800)] 
Fix record name in doc

5 years agoMerge
Nicko Dehaine [Tue, 18 Aug 2020 23:04:12 +0000 (23:04 +0000)] 
Merge

5 years agoFix ordering
Nicko Dehaine [Mon, 16 Dec 2019 19:02:17 +0000 (11:02 -0800)] 
Fix ordering

5 years agoFix record name in doc
Nicko Dehaine [Mon, 16 Dec 2019 18:36:55 +0000 (10:36 -0800)] 
Fix record name in doc

5 years agoFix rebase conflict
Nicko Dehaine [Tue, 18 Aug 2020 22:44:19 +0000 (22:44 +0000)] 
Fix rebase conflict

5 years agoFix record name in doc
Nicko Dehaine [Mon, 16 Dec 2019 18:36:55 +0000 (10:36 -0800)] 
Fix record name in doc

5 years agoFix rebase
Nicko Dehaine [Tue, 18 Aug 2020 22:41:15 +0000 (22:41 +0000)] 
Fix rebase

5 years agoFix ordering
Nicko Dehaine [Mon, 16 Dec 2019 19:02:17 +0000 (11:02 -0800)] 
Fix ordering

5 years agoFix record name in doc
Nicko Dehaine [Mon, 16 Dec 2019 18:36:55 +0000 (10:36 -0800)] 
Fix record name in doc

5 years agoAdd support for zero and multiple items in the APL RDATA
Nicko Dehaine [Tue, 18 Aug 2020 22:26:06 +0000 (22:26 +0000)] 
Add support for zero and multiple items in the APL RDATA

* Added a struct (APLRDataElement) for a single item
* Replace fields with a vector of APLRDataElement in APLRecordContent
* Adjusted APL methods to loop over backend record or packet accordingly
* Added tests with 0 items, 2 ipv4 items and a mix of ipv4 and ipv6

5 years agoFix ordering
Nicko Dehaine [Mon, 16 Dec 2019 19:02:17 +0000 (11:02 -0800)] 
Fix ordering

5 years agoFix record name in doc
Nicko Dehaine [Mon, 16 Dec 2019 18:36:55 +0000 (10:36 -0800)] 
Fix record name in doc

5 years agoFixed netmasks and added tests
Nicko Dehaine [Thu, 21 May 2020 15:00:08 +0000 (15:00 +0000)] 
Fixed netmasks and added tests

5 years agoUse boolean for negation flag (class definition)
Nicko Dehaine [Wed, 20 May 2020 22:52:11 +0000 (15:52 -0700)] 
Use boolean for negation flag (class definition)

5 years agoTarget 4.4.0 for APL records
Nicko Dehaine [Wed, 20 May 2020 22:43:09 +0000 (15:43 -0700)] 
Target 4.4.0 for APL records

5 years agoAdd APL field name to spell check
Nicko Dehaine [Wed, 20 May 2020 22:42:12 +0000 (15:42 -0700)] 
Add APL field name to spell check

5 years agoFixed travis warning
Nicko Dehaine [Fri, 24 Jan 2020 01:50:43 +0000 (17:50 -0800)] 
Fixed travis warning

5 years agoStyle fixes
Nicko Dehaine [Thu, 2 Jan 2020 18:55:04 +0000 (10:55 -0800)] 
Style fixes

5 years agoUse boolean for negation flag
Nicko Dehaine [Thu, 2 Jan 2020 18:31:20 +0000 (10:31 -0800)] 
Use boolean for negation flag

5 years agoSimplify loop to parse address in incoming packet
Nicko Dehaine [Thu, 2 Jan 2020 18:29:34 +0000 (10:29 -0800)] 
Simplify loop to parse address in incoming packet

5 years agoLexicalcast not needed after move to ComboAddress/Netmask
Nicko Dehaine [Thu, 2 Jan 2020 18:28:36 +0000 (10:28 -0800)] 
Lexicalcast not needed after move to ComboAddress/Netmask

5 years agoUpdated to use Netmask class and boilerplate
Nicko Dehaine [Tue, 17 Dec 2019 21:53:52 +0000 (13:53 -0800)] 
Updated to use Netmask class and boilerplate

5 years agoFix ordering
Nicko Dehaine [Mon, 16 Dec 2019 19:02:17 +0000 (11:02 -0800)] 
Fix ordering

5 years agoFix record name in doc
Nicko Dehaine [Mon, 16 Dec 2019 18:36:55 +0000 (10:36 -0800)] 
Fix record name in doc

5 years agoSupport for APL Records
Nicko Dehaine [Sat, 14 Dec 2019 00:06:03 +0000 (16:06 -0800)] 
Support for APL Records

This patch adds support for APL records (rfc3123)
- Tested with the BIND and SQLite3 backends
- Tested IPv4 and IPv6
- Tested Dynamic updates
- Tested negation flag
- Closes #8379

The patch includes a documentation update (need to set release version
once accepted) and unit tests.

Contributors:
nicko@threatstop.com - Nicolas Dehaine
dshabanov@threatstop.com - Dmitry Shabanov

I (nicko@threatstop.com) agree that this code can become GPLv2 licensed.

5 years agoMerge pull request #9393 from Habbie/dnsdist-upgrade-webserver-acl
Remi Gacogne [Tue, 18 Aug 2020 14:17:50 +0000 (16:17 +0200)] 
Merge pull request #9393 from Habbie/dnsdist-upgrade-webserver-acl

dnsdist upgrade notes: note new webserver ACL

5 years agodnsdist upgrade notes: note new webserver ACL 9393/head
Peter van Dijk [Tue, 18 Aug 2020 14:16:04 +0000 (16:16 +0200)] 
dnsdist upgrade notes: note new webserver ACL

5 years agoMerge pull request #9388 from omoerbeek/rec-dnsname-equal
Otto Moerbeek [Tue, 18 Aug 2020 13:27:16 +0000 (15:27 +0200)] 
Merge pull request #9388 from omoerbeek/rec-dnsname-equal

Fix docs for DNSName::equal()

5 years agoFix docs for DNSName::equal() 9388/head
Otto Moerbeek [Mon, 17 Aug 2020 13:42:07 +0000 (15:42 +0200)] 
Fix docs for DNSName::equal()

Since overloading Lua wrapper functions does not seem to be possible,
fix docs for DNSName:equal(). But note that == is defined for DNSNames.

Fixes #7510

5 years agoRename cache-shards to record-cache-shards and document it. 9390/head
Otto Moerbeek [Tue, 18 Aug 2020 11:45:04 +0000 (13:45 +0200)] 
Rename cache-shards to record-cache-shards and document it.

5 years agoExport record cache mutex stats via the various channels.
Otto Moerbeek [Tue, 18 Aug 2020 12:47:08 +0000 (14:47 +0200)] 
Export record cache mutex stats via the various channels.

5 years agoAlso process removal in a more generic way.
Otto Moerbeek [Tue, 18 Aug 2020 10:33:56 +0000 (12:33 +0200)] 
Also process removal in a more generic way.

5 years agoAllow IP (netmask) based RPZ trigger to have multiple records.
Otto Moerbeek [Tue, 18 Aug 2020 09:34:01 +0000 (11:34 +0200)] 
Allow IP (netmask) based RPZ trigger to have multiple records.

While there, refactor the name based code as well, so name based NS triggers
can have multiple records.

5 years agoMerge pull request #8928 from rgacogne/auth-lua-axfrfilter-last-char
Peter van Dijk [Tue, 18 Aug 2020 09:07:34 +0000 (11:07 +0200)] 
Merge pull request #8928 from rgacogne/auth-lua-axfrfilter-last-char

auth: Ensure qtype is set before calling setContent() in axfrfilter()

5 years agoMerge pull request #7932 from James-TR/patch-2
Peter van Dijk [Tue, 18 Aug 2020 08:57:08 +0000 (10:57 +0200)] 
Merge pull request #7932 from James-TR/patch-2

auth: remove redundant --no-config in makefile

5 years agoauth: remove redundant --no-config from commands 7932/head
James Taylor [Fri, 14 Jun 2019 11:17:38 +0000 (21:17 +1000)] 
auth: remove redundant --no-config from commands

Both the flags --no-config and --config=default prevent the loading of
configuration files from disk when used independently as per
https://github.com/PowerDNS/pdns/blob/master/pdns/receiver.cc#L418-L419

This commit removes the anomaly from documentation and build files to avoid
confusion and make it consistent among all packages.

5 years agoDocument 'rrsets' parameter to API listZone operation 9384/head
Kevin P. Fleming [Mon, 17 Aug 2020 11:55:36 +0000 (07:55 -0400)] 
Document 'rrsets' parameter to API listZone operation

The listZone operation supports the 'rrsets' parameter in the same
fashion as createZone does.

Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
5 years agoMerge pull request #7963 from Godwottery/master
Peter van Dijk [Mon, 17 Aug 2020 11:40:30 +0000 (13:40 +0200)] 
Merge pull request #7963 from Godwottery/master

Add a new command to add a super-master to SQL backends

5 years agoMerge pull request #8564 from criteo-forks/weighted_gap
Peter van Dijk [Mon, 17 Aug 2020 11:11:25 +0000 (13:11 +0200)] 
Merge pull request #8564 from criteo-forks/weighted_gap

geoipbackend: propagate weighted rounding gap fix

5 years agoMerge pull request #8565 from criteo-forks/stop_weighted
Peter van Dijk [Mon, 17 Aug 2020 11:09:10 +0000 (13:09 +0200)] 
Merge pull request #8565 from criteo-forks/stop_weighted

geoipbackend: stop looking after first weighted match

5 years agoMerge pull request #8623 from jonathaneen/accept_combination_delete_replace_for_rrset
Peter van Dijk [Mon, 17 Aug 2020 09:58:47 +0000 (11:58 +0200)] 
Merge pull request #8623 from jonathaneen/accept_combination_delete_replace_for_rrset

Make a combination of delete and replace for rrset possible

5 years agoauth: Remove GSS/TSIG support
Remi Gacogne [Mon, 17 Aug 2020 09:29:55 +0000 (11:29 +0200)] 
auth: Remove GSS/TSIG support

5 years agoMerge pull request #9092 from jsoref/current-config-help
Peter van Dijk [Wed, 12 Aug 2020 13:59:58 +0000 (15:59 +0200)] 
Merge pull request #9092 from jsoref/current-config-help

receiver: fix help output for pdns current-config

5 years agoMerge pull request #9340 from pieterlexis/auth-api-rm-nsec3param
Peter van Dijk [Wed, 12 Aug 2020 13:57:35 +0000 (15:57 +0200)] 
Merge pull request #9340 from pieterlexis/auth-api-rm-nsec3param

Auth API: Allow removal of NSEC3PARAM metadata

5 years agoMerge pull request #9380 from rgacogne/qclass-in-cleanup
Peter van Dijk [Wed, 12 Aug 2020 13:55:21 +0000 (15:55 +0200)] 
Merge pull request #9380 from rgacogne/qclass-in-cleanup

Replace the use of '1' by QClass::IN to improve readability

5 years agoMerge pull request #9378 from rgacogne/ddist-stop-backend-thread-on-removal
Remi Gacogne [Wed, 12 Aug 2020 07:23:23 +0000 (09:23 +0200)] 
Merge pull request #9378 from rgacogne/ddist-stop-backend-thread-on-removal

dnsdist: Stop the related responder thread when a backend is removed

5 years agorec: Fix invalid unknown record in the unit tests 9497/head
Remi Gacogne [Tue, 11 Aug 2020 13:31:57 +0000 (15:31 +0200)] 
rec: Fix invalid unknown record in the unit tests

5 years agodnsdist: Handle EINTR in DelayPipe 9381/head
Remi Gacogne [Tue, 11 Aug 2020 12:46:52 +0000 (14:46 +0200)] 
dnsdist: Handle EINTR in DelayPipe

Otherwise the DelayPipe thread might stop because the read() operation
has been interrupted by a signal (like SIGWINCH, which is quite annoying).
Also remove the unused `read()` operation.

5 years agoMerge pull request #9218 from zeha/auth-log-actions
Peter van Dijk [Tue, 11 Aug 2020 12:26:04 +0000 (14:26 +0200)] 
Merge pull request #9218 from zeha/auth-log-actions

auth: log more pdns_control actions

5 years agoauth: remove duplicated Makefile target for bind dnssec schema 8912/head
Peter van Dijk [Fri, 6 Mar 2020 13:03:36 +0000 (14:03 +0100)] 
auth: remove duplicated Makefile target for bind dnssec schema

5 years agoReplace the use of '1' by QClass::IN to improve readability 9380/head
Remi Gacogne [Tue, 11 Aug 2020 12:10:58 +0000 (14:10 +0200)] 
Replace the use of '1' by QClass::IN to improve readability

5 years agoRaise an exception on invalid first part (!= \#) in unknown records
Remi Gacogne [Tue, 11 Aug 2020 12:07:32 +0000 (14:07 +0200)] 
Raise an exception on invalid first part (!= \#) in unknown records

5 years agoMerge pull request #9318 from zeha/gsql-specific
Peter van Dijk [Tue, 11 Aug 2020 11:59:42 +0000 (13:59 +0200)] 
Merge pull request #9318 from zeha/gsql-specific

gsqlbackend: allow backend-specific queries

5 years agoMerge pull request #9265 from zeha/notify-axfr
Peter van Dijk [Tue, 11 Aug 2020 11:56:19 +0000 (13:56 +0200)] 
Merge pull request #9265 from zeha/notify-axfr

auth: add used master address to slave check logs

5 years agoMerge pull request #9049 from rgacogne/ddist-edns-buffer-size-self-generated
Remi Gacogne [Tue, 11 Aug 2020 11:47:05 +0000 (13:47 +0200)] 
Merge pull request #9049 from rgacogne/ddist-edns-buffer-size-self-generated

dnsdist: Set the default EDNS buffer size on generated answers to 1232

5 years agoMerge pull request #9159 from rgacogne/ueberbackend-tests
Remi Gacogne [Tue, 11 Aug 2020 11:46:42 +0000 (13:46 +0200)] 
Merge pull request #9159 from rgacogne/ueberbackend-tests

auth: Add some UeberBackend unit tests, document multi-backend interactions

5 years agoRaise an exception on invalid hex content in unknown records
Remi Gacogne [Tue, 11 Aug 2020 09:25:06 +0000 (11:25 +0200)] 
Raise an exception on invalid hex content in unknown records

Otherwise we can end up reading uninitialised memory from the stack,
possibly leaking information.
This is only an issue if the content is read from an untrusted source
and can be passed back to an attacker.