]> granicus.if.org Git - pdns/log
pdns
5 years agodnsdist: make tests run on python 3
Peter van Dijk [Fri, 10 May 2019 17:01:45 +0000 (19:01 +0200)]
dnsdist: make tests run on python 3

5 years agocircleci doc builder: write ssh known_hosts in $HOME, not in .
Peter van Dijk [Wed, 12 Jun 2019 16:43:46 +0000 (18:43 +0200)]
circleci doc builder: write ssh known_hosts in $HOME, not in .

5 years agoMerge pull request #7916 from pieterlexis/circleci-docs-ssh
Pieter Lexis [Wed, 12 Jun 2019 16:09:47 +0000 (18:09 +0200)]
Merge pull request #7916 from pieterlexis/circleci-docs-ssh

Use circle-ci context to get doc host FP

5 years agoMerge pull request #7915 from rgacogne/dnsdist-error-on-unsupported-addlocals
Remi Gacogne [Wed, 12 Jun 2019 16:09:37 +0000 (18:09 +0200)]
Merge pull request #7915 from rgacogne/dnsdist-error-on-unsupported-addlocals

dnsdist: Exit when requested DoT/DoH support is not compiled in

5 years agoMerge pull request #7909 from qvr/expungebyname-stats
Remi Gacogne [Wed, 12 Jun 2019 16:09:17 +0000 (18:09 +0200)]
Merge pull request #7909 from qvr/expungebyname-stats

dnsdist: print stats from expungeByName

5 years agoMerge pull request #7905 from rgacogne/rec-tcache-key
Remi Gacogne [Wed, 12 Jun 2019 16:09:00 +0000 (18:09 +0200)]
Merge pull request #7905 from rgacogne/rec-tcache-key

rec: Compare the CacheKey type and place first then the name

5 years agoUse circle-ci context to get doc host FP
Pieter Lexis [Wed, 12 Jun 2019 11:06:06 +0000 (13:06 +0200)]
Use circle-ci context to get doc host FP

5 years agodnsdist: Exit when requested DoT/DoH support is not compiled in
Remi Gacogne [Wed, 12 Jun 2019 10:06:59 +0000 (12:06 +0200)]
dnsdist: Exit when requested DoT/DoH support is not compiled in

5 years agoMerge pull request #7838 from pieterlexis/circleci-docs
Pieter Lexis [Wed, 12 Jun 2019 10:05:59 +0000 (12:05 +0200)]
Merge pull request #7838 from pieterlexis/circleci-docs

build docs in circleci

5 years agoMerge remote-tracking branch 'origin/master' into circleci-docs
Pieter Lexis [Wed, 12 Jun 2019 08:54:39 +0000 (10:54 +0200)]
Merge remote-tracking branch 'origin/master' into circleci-docs

5 years agoMerge pull request #7880 from pieterlexis/dnsdist-ignore-ipcrypt
Pieter Lexis [Wed, 12 Jun 2019 08:52:38 +0000 (10:52 +0200)]
Merge pull request #7880 from pieterlexis/dnsdist-ignore-ipcrypt

Ignore generated files for ipcrypt

5 years agodnsdist: print stats from expungeByName
Matti Hiljanen [Wed, 12 Jun 2019 08:10:38 +0000 (11:10 +0300)]
dnsdist: print stats from expungeByName

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 agorec: Compare the CacheKey type and place first then the name
Remi Gacogne [Tue, 11 Jun 2019 12:47:53 +0000 (14:47 +0200)]
rec: Compare the CacheKey type and place first then the name

We don't care about the actual ordering, so let's do the cheapest
comparisons first then the quite expensive DNSName comparison only
if we really need to.

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 agoIgnore generated files for ipcrypt
Pieter Lexis [Fri, 7 Jun 2019 07:36:22 +0000 (09:36 +0200)]
Ignore generated files for ipcrypt

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

5 years agoMerge pull request #7859 from pieterlexis/auth-rm-disable-tcp
Peter van Dijk [Tue, 4 Jun 2019 10:14:55 +0000 (12:14 +0200)]
Merge pull request #7859 from pieterlexis/auth-rm-disable-tcp

auth: Remove disable-tcp option

5 years agoignore __pycache__ dirs
Peter van Dijk [Mon, 27 May 2019 20:46:26 +0000 (22:46 +0200)]
ignore __pycache__ dirs

5 years agoignore sqlite WAL files
Peter van Dijk [Mon, 27 May 2019 20:46:17 +0000 (22:46 +0200)]
ignore sqlite WAL files

5 years agosqlite3: make journal mode configurable; default to WAL
Peter van Dijk [Mon, 27 May 2019 12:26:16 +0000 (14:26 +0200)]
sqlite3: make journal mode configurable; default to WAL

5 years agoMerge pull request #7865 from rgacogne/auth-curl-global-init
Peter van Dijk [Tue, 4 Jun 2019 09:57:23 +0000 (11:57 +0200)]
Merge pull request #7865 from rgacogne/auth-curl-global-init

auth: Initialize cURL before starting any thread

5 years agoCheck syntax during configuration and add fix docs.
Otto Moerbeek [Tue, 4 Jun 2019 09:49:37 +0000 (11:49 +0200)]
Check syntax during configuration and add fix docs.

5 years agostubquery: Fix handling of optional type arg.
Otto Moerbeek [Tue, 4 Jun 2019 09:22:40 +0000 (11:22 +0200)]
stubquery: Fix handling of optional type arg.

5 years agoUse sizeof when initializing NSECBitmapGenerator::res
Remi Gacogne [Tue, 4 Jun 2019 07:28:50 +0000 (09:28 +0200)]
Use sizeof when initializing NSECBitmapGenerator::res

5 years agoreuse AuthLua4 object
Peter van Dijk [Mon, 3 Jun 2019 16:00:09 +0000 (18:00 +0200)]
reuse AuthLua4 object

5 years agoAllow unix domains sockets for dnstap destinations
Otto Moerbeek [Mon, 3 Jun 2019 14:15:19 +0000 (16:15 +0200)]
Allow unix domains sockets for dnstap destinations

5 years agoMerge pull request #7853 from Marlinc/dnsdist-prometheus-histogram
Remi Gacogne [Mon, 3 Jun 2019 13:03:30 +0000 (15:03 +0200)]
Merge pull request #7853 from Marlinc/dnsdist-prometheus-histogram

dnsdist: Support Prometheus latency histograms

5 years agoMake the TCPNameserver a unique pointer
Pieter Lexis [Tue, 28 May 2019 12:17:44 +0000 (14:17 +0200)]
Make the TCPNameserver a unique pointer

5 years agoMerge pull request #7538 from omoerbeek/rec-dnstap
Otto Moerbeek [Mon, 3 Jun 2019 11:37:37 +0000 (13:37 +0200)]
Merge pull request #7538 from omoerbeek/rec-dnstap

Rec dnstap

5 years agoprofile.rst: Remove GOST
Matt Nordhoff [Sat, 1 Jun 2019 03:19:25 +0000 (03:19 +0000)]
profile.rst: Remove GOST

5 years agodnsdist: Add Prometheus latency histogram support
Marlin Cremers [Fri, 31 May 2019 14:21:18 +0000 (16:21 +0200)]
dnsdist: Add Prometheus latency histogram support

5 years agoMerge pull request #7863 from Marlinc/patch-1
Remi Gacogne [Fri, 31 May 2019 13:08:46 +0000 (15:08 +0200)]
Merge pull request #7863 from Marlinc/patch-1

dnsdist: Move PoolAvailableRule to rules section

5 years agoauth: Initialize cURL before starting any thread
Remi Gacogne [Fri, 31 May 2019 08:16:00 +0000 (10:16 +0200)]
auth: Initialize cURL before starting any thread

If `curl_global_init()` was not called prior to any call to
`curl_easy_init()`, it will be automatically called.
The documentation states that:

> This may be lethal in multi-threaded cases, since
> curl_global_init is not thread-safe, and it may result in
> resource problems because there is no corresponding cleanup.

5 years agoCheck if -latomic is needed instead of hardcoding
Rosen Penev [Tue, 28 May 2019 17:49:21 +0000 (10:49 -0700)]
Check if -latomic is needed instead of hardcoding

This avoids having a huge list of platforms which can change over time.

5 years agoMerge pull request #7856 from neheb/op
Remi Gacogne [Wed, 29 May 2019 15:07:56 +0000 (17:07 +0200)]
Merge pull request #7856 from neheb/op

Don't initialize and deinitialize with OpenSSL >= 1.1

5 years agoDon't close the random device on EINTR
Remi Gacogne [Wed, 29 May 2019 14:05:25 +0000 (16:05 +0200)]
Don't close the random device on EINTR

5 years agoHandle short reads from our random device
Remi Gacogne [Wed, 29 May 2019 14:00:35 +0000 (16:00 +0200)]
Handle short reads from our random device

Reported by Coverity (CID 1401626).

5 years agodnsdist: Move PoolAvailableRule to rules section
Marlin Cremers [Wed, 29 May 2019 14:32:06 +0000 (16:32 +0200)]
dnsdist: Move PoolAvailableRule to rules section

5 years agoUpdate boost.m4 to the latest version
Pieter Lexis [Wed, 29 May 2019 14:08:02 +0000 (16:08 +0200)]
Update boost.m4 to the latest version

5 years agoMerge pull request #7819 from pieterlexis/circleci-coverity
Pieter Lexis [Wed, 29 May 2019 14:04:54 +0000 (16:04 +0200)]
Merge pull request #7819 from pieterlexis/circleci-coverity

Do coverity builds once a day via circleci

5 years agoauth: Use the correct type while reading from the control channel
Remi Gacogne [Wed, 29 May 2019 13:46:53 +0000 (15:46 +0200)]
auth: Use the correct type while reading from the control channel

5 years agoauth: Check the result of safeGetBBDomainInfo in Bind2Backend::searchRecords()
Remi Gacogne [Wed, 29 May 2019 13:41:55 +0000 (15:41 +0200)]
auth: Check the result of safeGetBBDomainInfo in Bind2Backend::searchRecords()

There should be no way for it to fail here since we iterate on known
domains, but better safe than sorry.
Reported by Coverity (CID 1401684).

5 years agoauth: Initialize DNSPacket::d_ednsRawPacketSizeLimit
Remi Gacogne [Wed, 29 May 2019 13:39:13 +0000 (15:39 +0200)]
auth: Initialize DNSPacket::d_ednsRawPacketSizeLimit

That prevents it from being used uninitialized, for example after
DNSPakcet::noparse() has been used.
Reported by Coverity (CID 1401683).

5 years agoauth: Use mkstemp() to generate a temporary file name
Remi Gacogne [Wed, 29 May 2019 13:33:58 +0000 (15:33 +0200)]
auth: Use mkstemp() to generate a temporary file name

Reported by Coverity (CID 1401682).

5 years agoixfrutils: Check the return value of rename()
Remi Gacogne [Wed, 29 May 2019 13:02:13 +0000 (15:02 +0200)]
ixfrutils: Check the return value of rename()

Reported by Coverity (CID 1401680).

5 years agotools: Don't de-reference the end iterator
Remi Gacogne [Wed, 29 May 2019 12:54:42 +0000 (14:54 +0200)]
tools: Don't de-reference the end iterator

Reported by Coverity (CID 1401654140167114016781401691).

5 years agodnsbulktest: Correctly set the default value for the 'www' param
Remi Gacogne [Wed, 29 May 2019 12:46:15 +0000 (14:46 +0200)]
dnsbulktest: Correctly set the default value for the 'www' param

Reported by Coverity (CID 1401667).