]> granicus.if.org Git - pdns/log
pdns
5 years agoBackport #7998
Peter van Dijk [Tue, 9 Jul 2019 09:08:43 +0000 (11:08 +0200)]
Backport #7998

5 years agoauth: Fix a memory leak when sqlite3_exec() fails
Remi Gacogne [Fri, 28 Jun 2019 12:08:10 +0000 (14:08 +0200)]
auth: Fix a memory leak when sqlite3_exec() fails

(cherry picked from commit a955a0100b081d1c6c1f5a267c790bcd0edd2252)

5 years agoBackport #7976: Make pdnsutil set-publish-cds default to SHA-256 only
Peter van Dijk [Mon, 8 Jul 2019 08:44:15 +0000 (10:44 +0200)]
Backport #7976: Make pdnsutil set-publish-cds default to SHA-256 only

5 years agoBackport #8019
Peter van Dijk [Wed, 3 Jul 2019 20:16:13 +0000 (22:16 +0200)]
Backport #8019

5 years agoauth: correct syntax for GLIBC detection
James Taylor [Wed, 3 Jul 2019 10:31:19 +0000 (20:31 +1000)]
auth: correct syntax for GLIBC detection

This commit fixes invalid syntax introduced in #7980 which caused build failures on some platforms

(cherry picked from commit 331d3d27ba270d5124ee4466decc4dcbc0b406b6)

5 years agoBackport #8006
Peter van Dijk [Mon, 1 Jul 2019 20:39:48 +0000 (22:39 +0200)]
Backport #8006

5 years agoauth: Fix a leak on 'Backend reported permanent error which prevented lookup' error
Remi Gacogne [Fri, 28 Jun 2019 13:21:12 +0000 (15:21 +0200)]
auth: Fix a leak on 'Backend reported permanent error which prevented lookup' error

(cherry picked from commit f4ea75a9bd112419e111f867b3b868864fbd322d)

5 years agoBackport #7969
Peter van Dijk [Mon, 1 Jul 2019 20:36:48 +0000 (22:36 +0200)]
Backport #7969

5 years agoremoved unused variables
fwsmit [Fri, 21 Jun 2019 09:33:24 +0000 (11:33 +0200)]
removed unused variables

(cherry picked from commit 17e300d77b3f68367e8f7b76dbf629c45e8604cc)

5 years agoBackport #7996
Peter van Dijk [Mon, 1 Jul 2019 20:35:20 +0000 (22:35 +0200)]
Backport #7996

5 years agoClear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.
Otto Moerbeek [Fri, 28 Jun 2019 09:25:32 +0000 (11:25 +0200)]
Clear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.

(cherry picked from commit 20b22895546a3e7fb7760940599dfb1e29a00777)

5 years agoBackport #7550
Peter van Dijk [Mon, 1 Jul 2019 20:33:01 +0000 (22:33 +0200)]
Backport #7550

5 years agomove settings doc from rec to auth
Peter van Dijk [Mon, 24 Jun 2019 09:06:22 +0000 (11:06 +0200)]
move settings doc from rec to auth

(cherry picked from commit ca609038ef48739ca14e0c166a621070601b2318)

5 years agowebserver-max-bodysize is new in 4.2.0
Remi Gacogne [Tue, 7 May 2019 10:45:20 +0000 (12:45 +0200)]
webserver-max-bodysize is new in 4.2.0

Co-Authored-By: Habbie <peter.van.dijk@powerdns.com>
(cherry picked from commit ffb7aefdd7e988ae4a5cf3f2d727b6a6bc48c4bd)

5 years agobump auth api request buffer size
Peter van Dijk [Fri, 8 Mar 2019 14:20:26 +0000 (15:20 +0100)]
bump auth api request buffer size

(cherry picked from commit bfde2d10cb0dec42b9a3661e176ce551055f0f3e)

5 years agoauth web: make max request/response body size configurable
Peter van Dijk [Fri, 8 Mar 2019 13:58:22 +0000 (14:58 +0100)]
auth web: make max request/response body size configurable

(cherry picked from commit 214b034e99eee03ab9c364fab11921be61942b15)

5 years agoBackport #7980
Peter van Dijk [Mon, 1 Jul 2019 20:31:43 +0000 (22:31 +0200)]
Backport #7980

5 years agoauth: make sure we really are using glibc
James Taylor [Tue, 25 Jun 2019 09:33:04 +0000 (19:33 +1000)]
auth: make sure we really are using glibc

Make sure we're using glibc and not uclibc pretending to be glibc

(cherry picked from commit 7ac0df2a59ddd6e92ede2bca590ec0c76eb67559)

5 years agoremove recursor/dnsdist travis testing
Peter van Dijk [Mon, 1 Jul 2019 15:12:14 +0000 (17:12 +0200)]
remove recursor/dnsdist travis testing

5 years agoremove recursor circleci testing
Peter van Dijk [Mon, 1 Jul 2019 10:42:49 +0000 (12:42 +0200)]
remove recursor circleci testing

5 years agoBackport #7977
Peter van Dijk [Mon, 1 Jul 2019 08:34:31 +0000 (10:34 +0200)]
Backport #7977

5 years agoAdd LMDB backend to centos-7
Pieter Lexis [Mon, 24 Jun 2019 12:16:33 +0000 (14:16 +0200)]
Add LMDB backend to centos-7

(cherry picked from commit d0d9195b07dfefd04de778b8c69a94c8fa68f317)

5 years agoBackport #7918
Peter van Dijk [Mon, 1 Jul 2019 08:33:50 +0000 (10:33 +0200)]
Backport #7918

5 years agodoc: add a depreation warning to the SOA autocomplete settings
Kees Monshouwer [Tue, 25 Jun 2019 14:02:42 +0000 (16:02 +0200)]
doc: add a depreation warning to the SOA autocomplete settings

(cherry picked from commit d57f0fa60d384a8157aedd4e0aad99b64ff9ff3e)

5 years agoauth: deprecate SOA autocomplete
Kees Monshouwer [Wed, 12 Jun 2019 13:35:26 +0000 (15:35 +0200)]
auth: deprecate SOA autocomplete

(cherry picked from commit 5018693961b51601f1123d55d1ae8ae4e9e383ec)

5 years agoBackport #7889
Peter van Dijk [Mon, 1 Jul 2019 08:27:41 +0000 (10:27 +0200)]
Backport #7889

5 years agoauth: move /var/lib/pdns to pdns-server debian package
Pieter Lexis [Fri, 7 Jun 2019 09:46:58 +0000 (11:46 +0200)]
auth: move /var/lib/pdns to pdns-server debian package

(cherry picked from commit 7334a7f56362d3e182a252bf82b83add285fdf20)

5 years agoBackport #7890
Peter van Dijk [Mon, 1 Jul 2019 08:26:56 +0000 (10:26 +0200)]
Backport #7890

5 years agoauth: report libmaxminddb and libgeoip
Pieter Lexis [Fri, 7 Jun 2019 12:44:51 +0000 (14:44 +0200)]
auth: report libmaxminddb and libgeoip

(cherry picked from commit a8e771e56efbdcabf720cf23454ca9ad66db67b6)

5 years agoauth configure: mention more features enabled
Pieter Lexis [Fri, 7 Jun 2019 12:35:31 +0000 (14:35 +0200)]
auth configure: mention more features enabled

(cherry picked from commit b8fa2bf249af26774bd099de832a9cda914c796a)

5 years agoBackport #7910
Peter van Dijk [Mon, 1 Jul 2019 08:26:12 +0000 (10:26 +0200)]
Backport #7910

5 years agodoc: s/\n//
Kees Monshouwer [Wed, 12 Jun 2019 09:27:19 +0000 (11:27 +0200)]
doc: s/\n//

(cherry picked from commit 828e5107ec539b9602cf36ad10c0be79fbe114de)

5 years agoauth: completely disable the packet when cache-ttl=0
Kees Monshouwer [Fri, 7 Jun 2019 12:46:03 +0000 (14:46 +0200)]
auth: completely disable the packet when cache-ttl=0
This was inspired by #7802 but is more in line with the current query cache behaviour

closes #7802

(cherry picked from commit 9a037bfa9444444d5b8a6e6bc04cc2a2521fe3a4)

5 years agoBackport #7943
Peter van Dijk [Mon, 1 Jul 2019 08:25:21 +0000 (10:25 +0200)]
Backport #7943

5 years agoclarify code with a comment
bert hubert [Mon, 17 Jun 2019 20:26:29 +0000 (22:26 +0200)]
clarify code with a comment

(cherry picked from commit 1fbf6feac8224a53413dd8107512ae14483ac0e8)

5 years agoImprove error when notification comes in for non-slave zone
bert hubert [Mon, 17 Jun 2019 12:57:58 +0000 (14:57 +0200)]
Improve error when notification comes in for non-slave zone

(cherry picked from commit 3729e7f856fc75bf5abd1e6570dd2d78895bae7e)

5 years agoBackport #7962
Peter van Dijk [Mon, 1 Jul 2019 08:20:50 +0000 (10:20 +0200)]
Backport #7962

5 years agoauth: add edited_serial to Zone object
Pieter Lexis [Thu, 20 Jun 2019 12:04:23 +0000 (14:04 +0200)]
auth: add edited_serial to Zone object

This gives API consumers the ability to see the edited SOA serial. The
API code used the same functions as the DNSSECKeeper, so this serial
will match the one send to clients in response to queries.

Closes #7961

(cherry picked from commit 1258fecde7a3c8b801c1aaf677628f73a9d3229e)

5 years agoBackport #7871
Peter van Dijk [Mon, 24 Jun 2019 08:30:06 +0000 (10:30 +0200)]
Backport #7871

5 years agoBackport #7699
Peter van Dijk [Mon, 24 Jun 2019 08:30:02 +0000 (10:30 +0200)]
Backport #7699

5 years agoall: DNSName avoid copying labels while converting to string
Charles-Henri Bruyand [Wed, 27 Mar 2019 17:17:01 +0000 (18:17 +0100)]
all: DNSName avoid copying labels while converting to string

(cherry picked from commit 19164b93abc64a56140114c0416be6fa585dfab9)

5 years agoall: DNSName reserve memory before converting to string
Charles-Henri Bruyand [Wed, 27 Mar 2019 14:30:19 +0000 (15:30 +0100)]
all: DNSName reserve memory before converting to string

(cherry picked from commit f0da87e09e98c1c9249e06cd22bb0d0451bba7ee)

5 years agoRemove unneeded AM_CONDITIONAL line.
Otto Moerbeek [Fri, 7 Jun 2019 09:37:02 +0000 (11:37 +0200)]
Remove unneeded AM_CONDITIONAL line.

(cherry picked from commit 659e39017f06c890454997f364002d55b4684a80)

5 years agoFix error handling in poll loop.
Otto Moerbeek [Tue, 4 Jun 2019 12:35:16 +0000 (14:35 +0200)]
Fix error handling in poll loop.

(cherry picked from commit 3252abefc2b75c19655c0be9570b1d293e948fd8)

5 years agoPort calidns to openbsd and other systems without recvmmsg or sched_setscheduler.
Otto Moerbeek [Tue, 4 Jun 2019 12:21:33 +0000 (14:21 +0200)]
Port calidns to openbsd and other systems without recvmmsg or sched_setscheduler.

(cherry picked from commit 63fd0bc9d43bf51c5471aea8b25cd0b6f3aa4029)

5 years agoMerge pull request #7887 from omoerbeek/auth-blacklist-special-memory-usage auth-4.2.0-rc2
Peter van Dijk [Tue, 11 Jun 2019 15:28:00 +0000 (17:28 +0200)]
Merge pull request #7887 from omoerbeek/auth-blacklist-special-memory-usage

Simple blacklist handler for StatBag

5 years agoMerge pull request #7903 from Habbie/dnsdist-doc-nits
Remi Gacogne [Tue, 11 Jun 2019 13:35:52 +0000 (15:35 +0200)]
Merge pull request #7903 from Habbie/dnsdist-doc-nits

dnsdist: minor doc updates/fixes

5 years agotcpFastOpenSize should be tcpFastOpenQueueSize
Peter van Dijk [Tue, 11 Jun 2019 09:29:17 +0000 (11:29 +0200)]
tcpFastOpenSize should be tcpFastOpenQueueSize

5 years agodocument makeIPCipherKey and fix links to it
Peter van Dijk [Tue, 11 Jun 2019 09:24:01 +0000 (11:24 +0200)]
document makeIPCipherKey and fix links to it

5 years agofix links to DNSClass overview
Peter van Dijk [Tue, 11 Jun 2019 09:19:04 +0000 (11:19 +0200)]
fix links to DNSClass overview

5 years agounhide setAllowEmptyResponse documentation
Peter van Dijk [Tue, 11 Jun 2019 09:18:52 +0000 (11:18 +0200)]
unhide setAllowEmptyResponse documentation

5 years agofix changelog formatting
Peter van Dijk [Tue, 11 Jun 2019 09:11:08 +0000 (11:11 +0200)]
fix changelog formatting

5 years agofix weird formatting of param type
Peter van Dijk [Tue, 11 Jun 2019 09:07:54 +0000 (11:07 +0200)]
fix weird formatting of param type

5 years agoMaintain blacklist inside StatBag.
Otto Moerbeek [Tue, 11 Jun 2019 06:56:03 +0000 (08:56 +0200)]
Maintain blacklist inside StatBag.

5 years agoMerge pull request #7899 from Habbie/circleci-mssql-version
Peter van Dijk [Sun, 9 Jun 2019 21:25:28 +0000 (23:25 +0200)]
Merge pull request #7899 from Habbie/circleci-mssql-version

auth: switch circleci mssql image

5 years agoMerge pull request #7881 from mind04/soacaching
Peter van Dijk [Sun, 9 Jun 2019 21:11:16 +0000 (23:11 +0200)]
Merge pull request #7881 from mind04/soacaching

auth: detect SOA cache pollution caused by broken backends

5 years agoMerge pull request #7891 from Habbie/gsql-transactions
Peter van Dijk [Sun, 9 Jun 2019 21:10:18 +0000 (23:10 +0200)]
Merge pull request #7891 from Habbie/gsql-transactions

auth API, pdnsutil: improve backend transaction correctness

5 years agoMerge pull request #7897 from Habbie/lua-shared-ecswho
Peter van Dijk [Sun, 9 Jun 2019 21:09:34 +0000 (23:09 +0200)]
Merge pull request #7897 from Habbie/lua-shared-ecswho

auth LUA: explicitly unset ecswho if we are not setting it, fixes #7896

5 years agoauth: switch circleci mssql image
Peter van Dijk [Sun, 9 Jun 2019 20:38:21 +0000 (22:38 +0200)]
auth: switch circleci mssql image

apparently 'Community Technology Preview' images expire, so
this switches us to a Generally Available version.

5 years agoauth LUA: explicitly unset ecswho if we are not setting it, fixes #7896
Peter van Dijk [Sat, 8 Jun 2019 19:20:48 +0000 (21:20 +0200)]
auth LUA: explicitly unset ecswho if we are not setting it, fixes #7896

5 years agoauth: detect SOA cache pollution caused by broken backends
Kees Monshouwer [Fri, 7 Jun 2019 07:14:29 +0000 (09:14 +0200)]
auth: detect SOA cache pollution caused by broken backends

5 years agoauth API, pdnsutil: improve backend transaction correctness
Peter van Dijk [Fri, 7 Jun 2019 14:29:37 +0000 (16:29 +0200)]
auth API, pdnsutil: improve backend transaction correctness

5 years agoMerge pull request #7807 from ahupowerdns/lmdb-sync-mode
Peter van Dijk [Fri, 7 Jun 2019 15:26:26 +0000 (17:26 +0200)]
Merge pull request #7807 from ahupowerdns/lmdb-sync-mode

Make explicit lmdbbackend synchronous option

5 years agoMerge pull request #7822 from pieterlexis/issue-7781-no-more-0.0.0
Pieter Lexis [Fri, 7 Jun 2019 13:26:15 +0000 (15:26 +0200)]
Merge pull request #7822 from pieterlexis/issue-7781-no-more-0.0.0

Use latest tag for version numbers for master builds

5 years agoreport sqlite3 extended error codes
Peter van Dijk [Fri, 7 Jun 2019 12:08:26 +0000 (14:08 +0200)]
report sqlite3 extended error codes

5 years agoSimple blacklist handler for StatBag. Not configurable but that
Otto Moerbeek [Fri, 7 Jun 2019 11:03:03 +0000 (13:03 +0200)]
Simple blacklist handler for StatBag. Not configurable but that
could easily be added if necessary.

5 years agoMerge pull request #7862 from pieterlexis/update-boost-m4
Peter van Dijk [Thu, 6 Jun 2019 23:00:43 +0000 (01:00 +0200)]
Merge pull request #7862 from pieterlexis/update-boost-m4

Update boost.m4 to the latest version

5 years agoMerge pull request #7878 from Habbie/auth-curl-m4
Peter van Dijk [Thu, 6 Jun 2019 18:05:30 +0000 (20:05 +0200)]
Merge pull request #7878 from Habbie/auth-curl-m4

auth: make configure call PDNS_CHECK_LIBCURL when needed

5 years agoMerge pull request #7846 from rgacogne/dnsdist-140b-changelog
Remi Gacogne [Thu, 6 Jun 2019 13:22:40 +0000 (15:22 +0200)]
Merge pull request #7846 from rgacogne/dnsdist-140b-changelog

dnsdist: Prepare ChangeLog and secpoll for 1.4.0-beta1

5 years agoMake configure call PDNS_CHECK_LIBCURL when needed
Peter van Dijk [Wed, 5 Jun 2019 14:05:09 +0000 (16:05 +0200)]
Make configure call PDNS_CHECK_LIBCURL when needed

5 years agodnsdist: Be explicit about 7814 fixing a crash in the changelog
Remi Gacogne [Thu, 6 Jun 2019 09:00:22 +0000 (11:00 +0200)]
dnsdist: Be explicit about 7814 fixing a crash in the changelog

5 years agoEnd the serial number of the security polling zone with something else than 0
Remi Gacogne [Thu, 6 Jun 2019 08:59:46 +0000 (10:59 +0200)]
End the serial number of the security polling zone with something else than 0

5 years agodnsdist: Update 1.4.0-beta1 release date
Remi Gacogne [Thu, 6 Jun 2019 08:20:54 +0000 (10:20 +0200)]
dnsdist: Update 1.4.0-beta1 release date

5 years agodnsdist: Add 7853 to the ChangeLog
Remi Gacogne [Tue, 4 Jun 2019 08:21:52 +0000 (10:21 +0200)]
dnsdist: Add 7853 to the ChangeLog

5 years agodnsdist: Prepare ChangeLog and secpoll for 1.4.0-beta1
Remi Gacogne [Fri, 24 May 2019 09:37:45 +0000 (11:37 +0200)]
dnsdist: Prepare ChangeLog and secpoll for 1.4.0-beta1

5 years agoMerge pull request #7874 from Habbie/auth-doc-updates dnsdist-1.4.0-beta1
Peter van Dijk [Wed, 5 Jun 2019 21:04:26 +0000 (23:04 +0200)]
Merge pull request #7874 from Habbie/auth-doc-updates

auth: some doc nits/updates

5 years agoMerge pull request #7868 from omoerbeek/rec-dnstap-to-unix-socket
Otto Moerbeek [Wed, 5 Jun 2019 08:04:56 +0000 (10:04 +0200)]
Merge pull request #7868 from omoerbeek/rec-dnstap-to-unix-socket

Allow unix domains sockets for dnstap destinations

5 years agoMerge pull request #7873 from mind04/truncate
Peter van Dijk [Tue, 4 Jun 2019 21:39:53 +0000 (23:39 +0200)]
Merge pull request #7873 from mind04/truncate

Always truncate when the additional records do not fit  in a response

5 years agoauth: sdig manpage: fix formatting; update with new features
Peter van Dijk [Tue, 4 Jun 2019 19:25:09 +0000 (21:25 +0200)]
auth: sdig manpage: fix formatting; update with new features

5 years agoauth: sdig usage: sort options
Peter van Dijk [Tue, 4 Jun 2019 19:17:42 +0000 (21:17 +0200)]
auth: sdig usage: sort options

5 years agoauth docs: fix link to supermaster/superslave setting
Peter van Dijk [Tue, 4 Jun 2019 19:13:28 +0000 (21:13 +0200)]
auth docs: fix link to supermaster/superslave setting

5 years agoauth docs: add lmdb backend to backends index
Peter van Dijk [Tue, 4 Jun 2019 19:12:46 +0000 (21:12 +0200)]
auth docs: add lmdb backend to backends index

5 years agoauth docs: fix underline lengths
Peter van Dijk [Tue, 4 Jun 2019 19:11:14 +0000 (21:11 +0200)]
auth docs: fix underline lengths

5 years agoauth: add an option to bulk fix the regression tests results
Kees Monshouwer [Tue, 4 Jun 2019 18:04:52 +0000 (20:04 +0200)]
auth: add an option to bulk fix the regression tests results
(use it wisely)

5 years agoauth: always truncate when the additional records do not fit
Kees Monshouwer [Tue, 4 Jun 2019 18:02:24 +0000 (20:02 +0200)]
auth: always truncate when the additional records do not fit
in a response
fixes #7315

5 years agoMerge pull request #7832 from Habbie/sdig-doh
Peter van Dijk [Tue, 4 Jun 2019 16:34:58 +0000 (18:34 +0200)]
Merge pull request #7832 from Habbie/sdig-doh

add DoH support to sdig

5 years agoMerge pull request #7869 from Habbie/auth-lua-reuse
Peter van Dijk [Tue, 4 Jun 2019 16:30:58 +0000 (18:30 +0200)]
Merge pull request #7869 from Habbie/auth-lua-reuse

auth LUA: optionally reuse Lua state

5 years agoallow building sdig without doh support
Peter van Dijk [Tue, 21 May 2019 08:30:23 +0000 (10:30 +0200)]
allow building sdig without doh support

5 years agoCheck for libcurl when tools are enabled
Pieter Lexis [Mon, 20 May 2019 14:44:05 +0000 (16:44 +0200)]
Check for libcurl when tools are enabled

5 years agoMove libcurl detection to its own function
Pieter Lexis [Mon, 20 May 2019 14:34:53 +0000 (16:34 +0200)]
Move libcurl detection to its own function

5 years agoadd DoH support to sdig
Peter van Dijk [Sat, 18 May 2019 21:20:37 +0000 (23:20 +0200)]
add DoH support to sdig

5 years agosdig: report EDNS Padding size
Peter van Dijk [Sat, 18 May 2019 23:37:45 +0000 (01:37 +0200)]
sdig: report EDNS Padding size

5 years agominicurl enhancements
Peter van Dijk [Sat, 18 May 2019 21:18:33 +0000 (23:18 +0200)]
minicurl enhancements

* support for adding headers to POST requests
* don't truncate POST data at the first NUL byte
* better error reporting for POST failures (like GET already has)

5 years agominicurl: correct comment
Peter van Dijk [Sat, 18 May 2019 21:18:06 +0000 (23:18 +0200)]
minicurl: correct comment

5 years agomake LUA state reuse optional
Peter van Dijk [Mon, 3 Jun 2019 20:52:49 +0000 (22:52 +0200)]
make LUA state reuse optional

5 years agoMerge pull request #7852 from Habbie/sqlite-wal
Peter van Dijk [Tue, 4 Jun 2019 11:47:33 +0000 (13:47 +0200)]
Merge pull request #7852 from Habbie/sqlite-wal

sqlite3: make journal mode configurable; default to WAL

5 years agoMerge pull request #7867 from mnordhoff/patch-3
Peter van Dijk [Tue, 4 Jun 2019 11:13:32 +0000 (13:13 +0200)]
Merge pull request #7867 from mnordhoff/patch-3

profile.rst: Remove GOST

5 years agoMerge pull request #7870 from omoerbeek/stubquery-fix-arg
Peter van Dijk [Tue, 4 Jun 2019 11:09:59 +0000 (13:09 +0200)]
Merge pull request #7870 from omoerbeek/stubquery-fix-arg

stubquery: Fix handling of optional type arg.

5 years agoMerge pull request #7864 from rgacogne/coverity-201905
Peter van Dijk [Tue, 4 Jun 2019 11:05:27 +0000 (13:05 +0200)]
Merge pull request #7864 from rgacogne/coverity-201905

Fix warnings reported by Coverity

5 years agoMerge pull request #7861 from neheb/lato
Remi Gacogne [Tue, 4 Jun 2019 10:23:01 +0000 (12:23 +0200)]
Merge pull request #7861 from neheb/lato

Check if -latomic is needed instead of hardcoding