]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoRaise an exception on invalid first part (!= \#) in unknown records 9498/head
Remi Gacogne [Tue, 11 Aug 2020 12:07:32 +0000 (14:07 +0200)] 
Raise an exception on invalid first part (!= \#) in unknown records

4 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.

4 years agoMerge pull request #9036 from Habbie/backport-9033-to-auth-4.3.x
Peter van Dijk [Tue, 1 Sep 2020 07:22:05 +0000 (09:22 +0200)] 
Merge pull request #9036 from Habbie/backport-9033-to-auth-4.3.x

auth-4.3.x: EL8 pkgs: Build mysql backend against mariadb-connector-c-devel

5 years agoMerge pull request #9219 from zeha/psql-prep-4.3.x
Peter van Dijk [Tue, 11 Aug 2020 13:20:58 +0000 (15:20 +0200)] 
Merge pull request #9219 from zeha/psql-prep-4.3.x

auth 4.3.x: gpgsql: Reintroduce prepared statements

5 years agoMerge pull request #9233 from mind04/pdns-sqlite-schema-bp
Peter van Dijk [Tue, 23 Jun 2020 09:33:27 +0000 (11:33 +0200)] 
Merge pull request #9233 from mind04/pdns-sqlite-schema-bp

auth-4.3.x: gsqlite3backend: add missing indexes

5 years agoauth: gsqlite3backend: add missing indexes 9233/head
Kees Monshouwer [Mon, 15 Jun 2020 09:54:05 +0000 (11:54 +0200)] 
auth: gsqlite3backend: add missing indexes
Sqlite3 backend was performing terrible in environments with many updates.
On a slaved root zone the performance increase was huge, 71ms -> 1ms.
Since the lack of proper indexes is causing a lot of trouble in larger environments, I target this update at 4.3.1

5 years agoMerge pull request #9224 from mind04/pdns-supersomething-bp
Peter van Dijk [Mon, 15 Jun 2020 09:15:35 +0000 (11:15 +0200)] 
Merge pull request #9224 from mind04/pdns-supersomething-bp

 auth-4.3.x: use real remote for supermaster createSlaveDomain()

5 years agoauth: use real remote for supermaster createSlaveDomain() 9224/head
Kees Monshouwer [Fri, 12 Jun 2020 09:52:36 +0000 (11:52 +0200)] 
auth: use real remote for supermaster createSlaveDomain()

5 years agoFlip prepared-statements to off for 4.3.x 9219/head
Chris Hofstaedtler [Tue, 9 Jun 2020 19:21:18 +0000 (21:21 +0200)] 
Flip prepared-statements to off for 4.3.x

5 years agospgsql: tidy up (partial)
Chris Hofstaedtler [Tue, 9 Jun 2020 19:10:40 +0000 (21:10 +0200)] 
spgsql: tidy up (partial)

Partial version of 4f214291f9ca0ac5304bb3be173d2937286fa904,
only changing the NULLs introduced in the commit before.

5 years agogpgsql: Reintroduce prepared statements
Chris Hofstaedtler [Tue, 2 Jun 2020 18:40:29 +0000 (20:40 +0200)] 
gpgsql: Reintroduce prepared statements

And a toggle.

5 years agoMerge pull request #9176 from zeha/fix-7795-4.3.x
Peter van Dijk [Mon, 8 Jun 2020 14:49:57 +0000 (16:49 +0200)] 
Merge pull request #9176 from zeha/fix-7795-4.3.x

auth-4.3.x: Optimize IXFR-to-AXFR fallback path

5 years agoAddress feedback from #9176 9176/head
Chris Hofstaedtler [Fri, 29 May 2020 12:12:38 +0000 (14:12 +0200)] 
Address feedback from #9176

5 years agoOptimize IXFR-to-AXFR fallback path
Chris Hofstaedtler [Wed, 27 May 2020 21:20:08 +0000 (23:20 +0200)] 
Optimize IXFR-to-AXFR fallback path

Avoid making new backends when we are going to either deny the XFR, or
fall back to AXFR anyway.

This cuts down the number of new backends from four (three for IXFR
pre-checks plus one for AXFR) to one (just the AXFR one).
When replying in IXFR mode, we keep making _one_ new backend, which is
also better than before.

While we now hold the s_plock for a while longer, we only take it once
in doIXFR; before we took it twice -- for TSIG retrieval, which now
re-uses the IXFR backend.

5 years agoMerge pull request #9150 from rgacogne/auth43-no-spellcheck
Remi Gacogne [Mon, 25 May 2020 14:22:26 +0000 (16:22 +0200)] 
Merge pull request #9150 from rgacogne/auth43-no-spellcheck

auth-4.3.x: Suppress PR based spell check

5 years agoSuppress PR based spell check 9150/head
Josh Soref [Tue, 19 May 2020 17:10:37 +0000 (13:10 -0400)] 
Suppress PR based spell check

(cherry picked from commit 16f3f8060ece690049dbf8059cf2f5a2bcc21bc2)

5 years agoMerge pull request #9013 from Habbie/backport-9012-to-auth-4.3.x
Peter van Dijk [Tue, 12 May 2020 15:27:31 +0000 (17:27 +0200)] 
Merge pull request #9013 from Habbie/backport-9012-to-auth-4.3.x

auth-4.3.x: Install bind SQL schema files as part of bindbackend

5 years agoMerge pull request #9083 from Habbie/backport-8972-to-auth-4.3.x
Peter van Dijk [Fri, 1 May 2020 15:55:42 +0000 (17:55 +0200)] 
Merge pull request #9083 from Habbie/backport-8972-to-auth-4.3.x

auth-4.3.x: add ubuntu focal target

5 years agobuilder: add ubuntu focal target 9083/head
Peter van Dijk [Wed, 25 Mar 2020 10:41:15 +0000 (11:41 +0100)] 
builder: add ubuntu focal target

(cherry picked from commit b4f4b1ab4ba666fe16f0201b38778fe66dc8e7ae)

5 years agoEL8 pkgs: Build mysql backend against mariadb-connector-c-devel 9036/head
Pieter Lexis [Thu, 16 Apr 2020 10:40:39 +0000 (12:40 +0200)] 
EL8 pkgs: Build mysql backend against mariadb-connector-c-devel

This matches EPEL downstream.

Closes: #9026
(cherry picked from commit fd0a94e9816a17f9046e71609db53878343c3cb3)

5 years agoInstall bind SQL schema files as part of bindbackend 9013/head
Chris Hofstaedtler [Tue, 7 Apr 2020 15:55:59 +0000 (17:55 +0200)] 
Install bind SQL schema files as part of bindbackend

(cherry picked from commit a9124d551ee7cfb25464a8386f61187fd8ca6dc9)

5 years agoMerge pull request #8997 from Habbie/backport-8977-to-auth-4.3.x auth-4.3.0
Peter van Dijk [Sun, 5 Apr 2020 19:42:39 +0000 (21:42 +0200)] 
Merge pull request #8997 from Habbie/backport-8977-to-auth-4.3.x

auth-4.3.x: fix IXFR-in record duplication issue by avoiding the query cache

5 years agofix IXFR-in record duplication issue by avoiding the query cache 8997/head
Peter van Dijk [Fri, 27 Mar 2020 13:00:43 +0000 (14:00 +0100)] 
fix IXFR-in record duplication issue by avoiding the query cache

(cherry picked from commit fce7ba570569aa6e9d5a21e0c4525a50b73789ef)

5 years agoMerge pull request #8983 from Habbie/backport-8975-to-auth-4.3.x
Peter van Dijk [Tue, 31 Mar 2020 14:49:42 +0000 (16:49 +0200)] 
Merge pull request #8983 from Habbie/backport-8975-to-auth-4.3.x

auth-4.3.x: improve sql schema updates

5 years agoauth: remove beta2 schema files 8983/head
Kees Monshouwer [Thu, 26 Mar 2020 21:16:30 +0000 (22:16 +0100)] 
auth: remove beta2 schema files

(cherry picked from commit 5f0988efb1d2cfb997d842682a45f342aeb7a91e)

5 years agoauth: improve sql schema updates
Kees Monshouwer [Sat, 21 Mar 2020 20:41:17 +0000 (21:41 +0100)] 
auth: improve sql schema updates

(cherry picked from commit 2af952b486b3bd57e69eeecfed9cd25d6340a361)

5 years agoMerge pull request #8973 from Habbie/backport-8939-to-auth-4.3.x
Peter van Dijk [Thu, 26 Mar 2020 12:25:34 +0000 (13:25 +0100)] 
Merge pull request #8973 from Habbie/backport-8939-to-auth-4.3.x

auth-4.3.x: Fix NSECx for unpublished DNSKEYs properly

5 years agoMerge pull request #8958 from Habbie/rel-auth-4.3.x-ci
Peter van Dijk [Thu, 26 Mar 2020 10:21:29 +0000 (11:21 +0100)] 
Merge pull request #8958 from Habbie/rel-auth-4.3.x-ci

CI: skip non-auth testing

5 years agoRetab backends/bind-master and backends/gsql-common to prevent annoying indenting... 8973/head
Robin Geuze [Tue, 17 Mar 2020 15:33:43 +0000 (16:33 +0100)] 
Retab backends/bind-master and backends/gsql-common to prevent annoying indenting issues

(cherry picked from commit 1bdee42ff1945dd631db725acf3d03b8a36f6a48)

5 years agoProper fix for NSECx typemaps in the case of only unpublished DNSKEY's
Robin Geuze [Tue, 17 Mar 2020 08:59:26 +0000 (09:59 +0100)] 
Proper fix for NSECx typemaps in the case of only unpublished DNSKEY's

(cherry picked from commit 3a5b3fef3680b86c54f4a80bcbfa92b9035d1ece)

5 years agoalso skip docs build 8958/head
Peter van Dijk [Mon, 23 Mar 2020 10:53:53 +0000 (11:53 +0100)] 
also skip docs build

5 years agoMerge pull request #8959 from Habbie/backport-8916-to-auth-4.3.x
Peter van Dijk [Sat, 21 Mar 2020 15:59:37 +0000 (16:59 +0100)] 
Merge pull request #8959 from Habbie/backport-8916-to-auth-4.3.x

auth 4.3.x lmdb: avoid blanket std import; fixes #8872

5 years agoauth lmdb: avoid blanket std import; fixes #8872 8959/head
Peter van Dijk [Mon, 9 Mar 2020 18:10:00 +0000 (19:10 +0100)] 
auth lmdb: avoid blanket std import; fixes #8872

(cherry picked from commit 6910a23b67f64bd71ffb26c1888fb9d8b99acfa6)

5 years agoMerge pull request #8951 from Habbie/redo-8907
Peter van Dijk [Fri, 20 Mar 2020 15:17:47 +0000 (16:17 +0100)] 
Merge pull request #8951 from Habbie/redo-8907

auth-4.3.x: Reduce the number of temporary memory allocations

5 years agoCI: skip non-auth testing
Peter van Dijk [Fri, 20 Mar 2020 15:15:32 +0000 (16:15 +0100)] 
CI: skip non-auth testing

5 years agoMerge pull request #8936 from Habbie/backport-8925-to-auth-4.3.x auth-4.3.0-rc2
Peter van Dijk [Mon, 16 Mar 2020 11:56:47 +0000 (12:56 +0100)] 
Merge pull request #8936 from Habbie/backport-8925-to-auth-4.3.x

auth-4.3.x:  Fix it so NSEC and NSEC3 records if there are no published DNSKEYs

5 years agoAlso only add CDS and CDNSKEY to the type map in case we have published DNSKEY's 8936/head
Robin Geuze [Sat, 14 Mar 2020 11:24:35 +0000 (12:24 +0100)] 
Also only add CDS and CDNSKEY to the type map in case we have published DNSKEY's

(cherry picked from commit caa1f48db28a46abd1ce7ac2aa3b4b3cda4e38f0)

5 years agoFix it so NSEC and NSEC3 records will not include DNSKEY in the typemap if there...
Robin Geuze [Fri, 13 Mar 2020 12:09:10 +0000 (13:09 +0100)] 
Fix it so NSEC and NSEC3 records will not include DNSKEY in the typemap if there are no published DNSKEY records

(cherry picked from commit b8f6caa13c261a9994a3bb50a27dfae3a96c7d84)

5 years agoMerge pull request #8924 from mind04/auth-4.3.0-rc1-cache
Remi Gacogne [Fri, 13 Mar 2020 10:10:32 +0000 (11:10 +0100)] 
Merge pull request #8924 from mind04/auth-4.3.0-rc1-cache

auth: make sure we look at 10% of all cached items during cleanup

5 years agoauth: make sure we look at 10% of all cached items during cleanup 8924/head
Kees Monshouwer [Thu, 12 Mar 2020 18:17:19 +0000 (19:17 +0100)] 
auth: make sure we look at 10% of all cached items during cleanup

5 years agoMove the logic of validDNSName to DNSName::has8bitBytes() 8907/head 8951/head
Remi Gacogne [Mon, 17 Feb 2020 14:08:21 +0000 (15:08 +0100)] 
Move the logic of validDNSName to DNSName::has8bitBytes()

(cherry picked from commit bf7ef5b4ee0ce310db0a3761a8250f86a5fea20d)

5 years agoauth: Skip the construction of a root DNSName when possible
Remi Gacogne [Thu, 30 Jan 2020 14:12:57 +0000 (15:12 +0100)] 
auth: Skip the construction of a root DNSName when possible

(cherry picked from commit 020b94c9e00434a509b8f46af070afb2f2afa4b5)

5 years agoauth: Prevent temporary objects in the DNSBackend::get() overrides
Remi Gacogne [Thu, 30 Jan 2020 14:10:42 +0000 (15:10 +0100)] 
auth: Prevent temporary objects in the DNSBackend::get() overrides

(cherry picked from commit 2ea3d25e0c9eeefdb6d625bc314ad40a19022e23)

5 years agoauth: Reserve the needed space in the vector of keys
Remi Gacogne [Fri, 17 Jan 2020 15:46:49 +0000 (16:46 +0100)] 
auth: Reserve the needed space in the vector of keys

(cherry picked from commit fb4c0e19ccaaed9b88426ca3183b33271be2ecd6)

5 years agoauth: Reduce the number of allocations in apiServerZones()
Remi Gacogne [Fri, 17 Jan 2020 14:15:16 +0000 (15:15 +0100)] 
auth: Reduce the number of allocations in apiServerZones()

(cherry picked from commit c8b929d9f1b17cb3ca73a309172d6929254bf91c)

5 years agoauth: Reduce the number of memory allocations
Remi Gacogne [Tue, 14 Jan 2020 16:26:15 +0000 (17:26 +0100)] 
auth: Reduce the number of memory allocations

(cherry picked from commit 9bbcf03a6ff139016686e97a387cc6787a3990ce)

5 years agoMerge pull request #8888 from Habbie/auth-4.3.x-backports auth-4.3.0-rc1
Peter van Dijk [Tue, 3 Mar 2020 21:03:18 +0000 (22:03 +0100)] 
Merge pull request #8888 from Habbie/auth-4.3.x-backports

auth 4.3.x: two backports

5 years agoIt's 2020 8888/head
Otto Moerbeek [Mon, 24 Feb 2020 14:58:08 +0000 (15:58 +0100)] 
It's 2020

(backport of #8857)

(cherry picked from commit 9fce9d6c21253da0fbeed5163d148be4a0bad1f6)

5 years agotravis: skip odbc testing, we have it in circleci, closes #8796
Peter van Dijk [Fri, 28 Feb 2020 10:53:30 +0000 (11:53 +0100)] 
travis: skip odbc testing, we have it in circleci, closes #8796

(backport of #8877)

(cherry picked from commit 0d756465537c613b48c9b3bc3aa85d1b13090543)

5 years agoMerge pull request #8631 from zeha/once auth-4.3.0-beta2
Otto Moerbeek [Tue, 18 Feb 2020 15:09:26 +0000 (16:09 +0100)] 
Merge pull request #8631 from zeha/once

Replace include guard ifdef/define with pragma once

5 years agoMerge pull request #8505 from rgacogne/dnsdist-lua-ffi
Remi Gacogne [Tue, 18 Feb 2020 13:37:11 +0000 (14:37 +0100)] 
Merge pull request #8505 from rgacogne/dnsdist-lua-ffi

dnsdist: Implement LuaFFIRule, LuaFFIAction and LuaFFIResponseAction

5 years agoMerge pull request #8835 from omoerbeek/rec-prep-4.3.0-rc2
Otto Moerbeek [Tue, 18 Feb 2020 10:48:48 +0000 (11:48 +0100)] 
Merge pull request #8835 from omoerbeek/rec-prep-4.3.0-rc2

rec: Prep for rec-4.3.0-rc2

5 years agoPrep for rec-4.3.0-rc2 8835/head
Otto Moerbeek [Tue, 18 Feb 2020 07:26:26 +0000 (08:26 +0100)] 
Prep for rec-4.3.0-rc2

5 years agodnsdist: Add a comment about the lack of guard in dnsdist-lua-ffi-interface.h 8505/head
Remi Gacogne [Tue, 18 Feb 2020 09:37:54 +0000 (10:37 +0100)] 
dnsdist: Add a comment about the lack of guard in dnsdist-lua-ffi-interface.h

Reported by LGTM.

5 years agoMerge pull request #8833 from rgacogne/pgsql-circleci-trust
Peter van Dijk [Mon, 17 Feb 2020 19:20:05 +0000 (20:20 +0100)] 
Merge pull request #8833 from rgacogne/pgsql-circleci-trust

Allow all connections to the PG server in Circle CI

5 years agoAllow all connections to the PG server in Circle CI 8833/head
Remi Gacogne [Mon, 17 Feb 2020 14:11:29 +0000 (15:11 +0100)] 
Allow all connections to the PG server in Circle CI

5 years agoMerge pull request #8830 from omoerbeek/rec-init-zone-prio
Otto Moerbeek [Mon, 17 Feb 2020 08:39:54 +0000 (09:39 +0100)] 
Merge pull request #8830 from omoerbeek/rec-init-zone-prio

rec: Init zone's d_priority field.

5 years agoInit zone's d_priority field. 8830/head
Otto Moerbeek [Mon, 17 Feb 2020 08:38:10 +0000 (09:38 +0100)] 
Init zone's d_priority field.

5 years agoMerge pull request #8811 from Habbie/nsec-ttl
Peter van Dijk [Sat, 15 Feb 2020 22:01:00 +0000 (23:01 +0100)] 
Merge pull request #8811 from Habbie/nsec-ttl

adjust NSEC TTLs to negative TTL

5 years agoMerge pull request #8776 from mnordhoff/4.3-schema
Peter van Dijk [Sat, 15 Feb 2020 21:50:34 +0000 (22:50 +0100)] 
Merge pull request #8776 from mnordhoff/4.3-schema

auth: Add more SQL schema files to packages and tarballs

5 years agoadd upgrade notes for the new NSEC(3) TTLs 8811/head
Peter van Dijk [Fri, 14 Feb 2020 19:52:08 +0000 (20:52 +0100)] 
add upgrade notes for the new NSEC(3) TTLs

5 years agoupdate DNSSEC TTL notes
Peter van Dijk [Fri, 14 Feb 2020 19:45:31 +0000 (20:45 +0100)] 
update DNSSEC TTL notes

5 years agoadjust NSEC TTLs to negative TTL
Peter van Dijk [Tue, 11 Feb 2020 13:34:31 +0000 (14:34 +0100)] 
adjust NSEC TTLs to negative TTL

5 years agoMerge pull request #8828 from Habbie/qdcount-zero-debug
Peter van Dijk [Fri, 14 Feb 2020 18:46:29 +0000 (19:46 +0100)] 
Merge pull request #8828 from Habbie/qdcount-zero-debug

auth: log "No question section in packet" at Debug. Fixes #7970

5 years agoMerge pull request #8096 from mind04/pdns-notify-db-queries
Peter van Dijk [Fri, 14 Feb 2020 18:22:32 +0000 (19:22 +0100)] 
Merge pull request #8096 from mind04/pdns-notify-db-queries

auth: do not update identical notified serials

5 years agoMerge pull request #8826 from rgacogne/nsec-invalid-bitmap-len
Peter van Dijk [Fri, 14 Feb 2020 16:46:59 +0000 (17:46 +0100)] 
Merge pull request #8826 from rgacogne/nsec-invalid-bitmap-len

Refuse NSEC records with a bitmap length > 32

5 years agoauth: log "No question section in packet" at Debug. Fixes #7970 8828/head
Peter van Dijk [Fri, 14 Feb 2020 16:08:35 +0000 (17:08 +0100)] 
auth: log "No question section in packet" at Debug. Fixes #7970

5 years agoDeduplicate EXTRA_DIST and dist_doc_DATA in modified Makefile.ams 8776/head
Matt Nordhoff [Wed, 12 Feb 2020 14:52:42 +0000 (14:52 +0000)] 
Deduplicate EXTRA_DIST and dist_doc_DATA in modified Makefile.ams

5 years agoauth: Include bind schema files in debs
Matt Nordhoff [Sun, 2 Feb 2020 20:40:10 +0000 (20:40 +0000)] 
auth: Include bind schema files in debs

5 years agoauth: Include bind schema files in pdns RPM
Matt Nordhoff [Sun, 2 Feb 2020 20:14:54 +0000 (20:14 +0000)] 
auth: Include bind schema files in pdns RPM

5 years agoauth: List the 3.4.0+ SQL schema files wherever the older files are.
Matt Nordhoff [Sun, 2 Feb 2020 16:36:34 +0000 (16:36 +0000)] 
auth: List the 3.4.0+ SQL schema files wherever the older files are.

And clean up godbcbackend's Makefile.am.

5 years agoauth: Add enable-foreign-keys.mysql.sql to packages and Makefile.am
Matt Nordhoff [Sun, 2 Feb 2020 15:29:07 +0000 (15:29 +0000)] 
auth: Add enable-foreign-keys.mysql.sql to packages and Makefile.am

5 years agoauth: Add 4.3.0 schema files to Makefile.ams
Matt Nordhoff [Sun, 2 Feb 2020 15:20:47 +0000 (15:20 +0000)] 
auth: Add 4.3.0 schema files to Makefile.ams

5 years agoauth: do not update identical notified serials 8096/head
Kees Monshouwer [Thu, 4 Jul 2019 07:30:29 +0000 (09:30 +0200)] 
auth: do not update identical notified serials

5 years agoMerge pull request #8094 from mind04/pdns-diff-config
Peter van Dijk [Fri, 14 Feb 2020 14:18:22 +0000 (15:18 +0100)] 
Merge pull request #8094 from mind04/pdns-diff-config

auth: add full option to 'pdns_control show-config'

5 years agoMerge pull request #8823 from omoerbeek/rec-rpz-passthru
Otto Moerbeek [Fri, 14 Feb 2020 13:58:25 +0000 (14:58 +0100)] 
Merge pull request #8823 from omoerbeek/rec-rpz-passthru

Rec: do continue rpz processing if the current policy is passthru

5 years agoRefuse NSEC records with a bitmap length > 32 8826/head
Remi Gacogne [Fri, 14 Feb 2020 13:40:33 +0000 (14:40 +0100)] 
Refuse NSEC records with a bitmap length > 32

5 years agoMerge pull request #8799 from Habbie/odbc-threading
Peter van Dijk [Fri, 14 Feb 2020 12:53:17 +0000 (13:53 +0100)] 
Merge pull request #8799 from Habbie/odbc-threading

auth CI: enable ODBC thread locking

5 years agoMerge pull request #8815 from pieterlexis/yahttp-ipv6-address
Peter van Dijk [Fri, 14 Feb 2020 12:47:30 +0000 (13:47 +0100)] 
Merge pull request #8815 from pieterlexis/yahttp-ipv6-address

YaHTTP: Support bracketed IPv6 addresses

5 years agoMerge pull request #8779 from Habbie/empty-ixfr-soa-rrsig
Peter van Dijk [Fri, 14 Feb 2020 12:46:54 +0000 (13:46 +0100)] 
Merge pull request #8779 from Habbie/empty-ixfr-soa-rrsig

IXFR: only sign SOA in empty response for +DO queries

5 years agoRebased to handle NetmaskTree changes 8823/head
Otto Moerbeek [Fri, 14 Feb 2020 12:46:21 +0000 (13:46 +0100)] 
Rebased to handle NetmaskTree changes

5 years agoFix compilation issue on older compilers
Otto Moerbeek [Fri, 14 Feb 2020 10:48:15 +0000 (11:48 +0100)] 
Fix compilation issue on older compilers

5 years agoFormatting
Otto Moerbeek [Fri, 14 Feb 2020 09:55:11 +0000 (10:55 +0100)] 
Formatting

5 years agoAvoid copying policies around by passing a Policy& that gets modified
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.

5 years agorec: Lookup RPZ Client IP rules before qname ones
Remi Gacogne [Thu, 13 Feb 2020 14:24:42 +0000 (15:24 +0100)] 
rec: Lookup RPZ Client IP rules before qname ones

5 years agorec: Add more RPZ regression tests
Remi Gacogne [Thu, 13 Feb 2020 14:23:57 +0000 (15:23 +0100)] 
rec: Add more RPZ regression tests

5 years agoTest clientIP before name, fix one more cutoff condition.
Otto Moerbeek [Wed, 12 Feb 2020 16:04:39 +0000 (17:04 +0100)] 
Test clientIP before name, fix one more cutoff condition.

5 years agorec: Add unit tests for the RPZ policy priorities and ordering
Remi Gacogne [Wed, 12 Feb 2020 15:53:47 +0000 (16:53 +0100)] 
rec: Add unit tests for the RPZ policy priorities and ordering

5 years agoSet the d_priority field in the policy objects of a zone.
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.

5 years agorec: Add regression tests for the ordering of RPZ policies
Remi Gacogne [Wed, 12 Feb 2020 14:54:38 +0000 (15:54 +0100)] 
rec: Add regression tests for the ordering of RPZ policies

5 years agoContinue evaluation of RPZ rules after passthru, taking
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.

5 years agodnsdist: Fix issues reported by Charles-Henri during code review
Remi Gacogne [Fri, 14 Feb 2020 09:00:55 +0000 (10:00 +0100)] 
dnsdist: Fix issues reported by Charles-Henri during code review

5 years agoReplace include guard ifdef/define with pragma once 8631/head
Chris Hofstaedtler [Fri, 13 Dec 2019 10:00:31 +0000 (11:00 +0100)] 
Replace include guard ifdef/define with pragma once

5 years agotravis: enable ODBC thread locking 8799/head
Peter van Dijk [Mon, 10 Feb 2020 09:26:15 +0000 (10:26 +0100)] 
travis: enable ODBC thread locking

5 years agocircleci: enable ODBC thread locking
Peter van Dijk [Mon, 10 Feb 2020 09:26:09 +0000 (10:26 +0100)] 
circleci: enable ODBC thread locking

5 years agoMerge pull request #8614 from zeha/api-rm-unimplemented-check
Peter van Dijk [Wed, 12 Feb 2020 21:00:28 +0000 (22:00 +0100)] 
Merge pull request #8614 from zeha/api-rm-unimplemented-check

Remove not implemented zone check API from spec

5 years agoMerge pull request #8766 from zeha/chrish
Peter van Dijk [Wed, 12 Feb 2020 20:16:30 +0000 (21:16 +0100)] 
Merge pull request #8766 from zeha/chrish

Update my name in old changelogs

5 years agoMerge pull request #8793 from rgacogne/auth-reserve-caches
Peter van Dijk [Wed, 12 Feb 2020 20:06:24 +0000 (21:06 +0100)] 
Merge pull request #8793 from rgacogne/auth-reserve-caches

auth: Prepare the caches' buckets in advance

5 years agodocs security-policy: fix typo in my email address
Peter van Dijk [Wed, 12 Feb 2020 19:03:43 +0000 (20:03 +0100)] 
docs security-policy: fix typo in my email address

5 years agoYaHTTP: Send correct Host header for IPv6 address 8815/head
Pieter Lexis [Wed, 12 Feb 2020 14:29:01 +0000 (15:29 +0100)] 
YaHTTP: Send correct Host header for IPv6 address