]> granicus.if.org Git - pdns/log
pdns
8 years agoMerge pull request #4712 from cmouse/patch-1
Pieter Lexis [Tue, 21 Feb 2017 09:00:31 +0000 (10:00 +0100)]
Merge pull request #4712 from cmouse/patch-1

Update version number for Lua updatePolicy

8 years agoMerge pull request #4922 from Habbie/ldap-ptr-fix
Pieter Lexis [Tue, 21 Feb 2017 08:59:30 +0000 (09:59 +0100)]
Merge pull request #4922 from Habbie/ldap-ptr-fix

fix ldap-strict autoptr feature, including a test

8 years agoMerge pull request #4950 from rgacogne/suffix-match-node-merge
Pieter Lexis [Tue, 21 Feb 2017 08:59:13 +0000 (09:59 +0100)]
Merge pull request #4950 from rgacogne/suffix-match-node-merge

Refactor SuffixMatchNode using a SuffixMatchTree

8 years agoMerge pull request #4953 from pieterlexis/issue-349-602-slave-checking-backoff
Pieter Lexis [Tue, 21 Feb 2017 08:58:59 +0000 (09:58 +0100)]
Merge pull request #4953 from pieterlexis/issue-349-602-slave-checking-backoff

Auth: Incremental backoff for failed slave checks

8 years agoMerge pull request #4990 from rgacogne/rec-snmp-clean
Pieter Lexis [Tue, 21 Feb 2017 08:58:24 +0000 (09:58 +0100)]
Merge pull request #4990 from rgacogne/rec-snmp-clean

rec: Add SNMP support

8 years agoMerge pull request #4989 from rgacogne/dnsdist-snmp-clean
Pieter Lexis [Tue, 21 Feb 2017 08:58:06 +0000 (09:58 +0100)]
Merge pull request #4989 from rgacogne/dnsdist-snmp-clean

dnsdist: Add SNMP support

8 years agoMerge pull request #5036 from rgacogne/dnsdist-delay-cache-hit
Pieter Lexis [Tue, 21 Feb 2017 08:57:50 +0000 (09:57 +0100)]
Merge pull request #5036 from rgacogne/dnsdist-delay-cache-hit

dnsdist: Apply delay to cache hits, locally generated responses

8 years agoMerge pull request #5037 from rgacogne/dnsdist-dont-cache-servfail
Pieter Lexis [Tue, 21 Feb 2017 08:57:31 +0000 (09:57 +0100)]
Merge pull request #5037 from rgacogne/dnsdist-dont-cache-servfail

dnsdist: Don't cache ServFail / Refused if the TTL is set to 0

8 years agoMerge pull request #5056 from rgacogne/dnsdist-no-shadow
Pieter Lexis [Tue, 21 Feb 2017 08:57:15 +0000 (09:57 +0100)]
Merge pull request #5056 from rgacogne/dnsdist-no-shadow

dnsdist: Don't shadow variables

8 years agoMerge pull request #5058 from rgacogne/rec-fast-rpz-update
Pieter Lexis [Tue, 21 Feb 2017 08:56:55 +0000 (09:56 +0100)]
Merge pull request #5058 from rgacogne/rec-fast-rpz-update

Rec: Store the RPZ policies in an unordered_map instead of a map

8 years agoMerge pull request #5042 from rgacogne/state-holder-allocate-and-copy-before-lock
bert hubert [Mon, 20 Feb 2017 14:52:10 +0000 (15:52 +0100)]
Merge pull request #5042 from rgacogne/state-holder-allocate-and-copy-before-lock

StateHolder: Allocate (and copy if needed) before taking the lock

8 years agoRec: Store the RPZ policies in an unordered_map instead of a map
Remi Gacogne [Mon, 20 Feb 2017 14:45:22 +0000 (15:45 +0100)]
Rec: Store the RPZ policies in an unordered_map instead of a map

This speeds up the loading of huge zones a bit (~20%) while also nicely
improving the lookup speed.
Also adds a `zoneSizeHint` parameter to `rpzFile()` and `rpzMaster()` to be
able to reserve space before loading the zone, to prevent reallocation
and rehashing when possible.

8 years agoMerge pull request #4982 from rgacogne/rec-gettag-data
Pieter Lexis [Mon, 20 Feb 2017 12:31:04 +0000 (13:31 +0100)]
Merge pull request #4982 from rgacogne/rec-gettag-data

rec: Allow returning the `DNSQuestion`'s `data` table from `gettag()`

8 years agoMerge pull request #4997 from cmouse/fix-remotebackend-params
Pieter Lexis [Mon, 20 Feb 2017 12:30:39 +0000 (13:30 +0100)]
Merge pull request #4997 from cmouse/fix-remotebackend-params

Fix remotebackend params

8 years agoMerge pull request #5006 from peterthomassen/master
Pieter Lexis [Mon, 20 Feb 2017 12:29:56 +0000 (13:29 +0100)]
Merge pull request #5006 from peterthomassen/master

docs: improve documentation of MySQL foreign keys

8 years agoMerge pull request #5038 from pieterlexis/API-allow-X-metadata
Pieter Lexis [Mon, 20 Feb 2017 12:29:46 +0000 (13:29 +0100)]
Merge pull request #5038 from pieterlexis/API-allow-X-metadata

API: Allow setting extra domain metadata

8 years agoMerge pull request #5041 from pieterlexis/boost-m4-update
Pieter Lexis [Mon, 20 Feb 2017 12:29:32 +0000 (13:29 +0100)]
Merge pull request #5041 from pieterlexis/boost-m4-update

Add GCC 6.3 to boost.m4

8 years agoMerge pull request #5049 from rgacogne/ox-coverity-fixes
Pieter Lexis [Mon, 20 Feb 2017 12:29:13 +0000 (13:29 +0100)]
Merge pull request #5049 from rgacogne/ox-coverity-fixes

Minor fixes based on Coverity's report

8 years agoMerge pull request #5051 from Habbie/odbc-query-logging
Pieter Lexis [Mon, 20 Feb 2017 12:28:46 +0000 (13:28 +0100)]
Merge pull request #5051 from Habbie/odbc-query-logging

fix godbc query logging

8 years agodocs: improve documentation of MySQL foreign keys
Peter Thomassen [Mon, 20 Feb 2017 10:26:05 +0000 (11:26 +0100)]
docs: improve documentation of MySQL foreign keys

So far, the docs mentioned the foreign key for the records table only.
However, if foreign keys are used, they also make sense for the
domainmetadata, cryptokeys, and comments tables.

Corresponding SQL is already in an .sql file in the repository. This
commit replaces the incomplete information with these statements.

8 years agodnsdist: Don't shadow variables
Remi Gacogne [Mon, 20 Feb 2017 10:22:34 +0000 (11:22 +0100)]
dnsdist: Don't shadow variables

Fix shadowed variables reported by `-Wshadow`.

8 years agoLuaWrapper: Don't shadow variables
Remi Gacogne [Mon, 20 Feb 2017 10:21:55 +0000 (11:21 +0100)]
LuaWrapper: Don't shadow variables

Fix shadowed variables reported by `-Wshadow`.

8 years agoYaHTTP: Don't shadow variables
Remi Gacogne [Mon, 20 Feb 2017 10:20:57 +0000 (11:20 +0100)]
YaHTTP: Don't shadow variables

Merged upstream in 2fb4d972176d25e0de4875141e3f28a4b12bba6b.

8 years agofix godbc query logging
Peter van Dijk [Fri, 17 Feb 2017 15:36:25 +0000 (16:36 +0100)]
fix godbc query logging

8 years agoMerge pull request #5050 from pieterlexis/update-copyright-year
Pieter Lexis [Fri, 17 Feb 2017 14:35:07 +0000 (15:35 +0100)]
Merge pull request #5050 from pieterlexis/update-copyright-year

Update copyright for several files

8 years agoMerge pull request #4798 from pieterlexis/limit-max-cache-ttl-minimum
Pieter Lexis [Fri, 17 Feb 2017 14:34:41 +0000 (15:34 +0100)]
Merge pull request #4798 from pieterlexis/limit-max-cache-ttl-minimum

rec: put 15 seconds lower bound on max-cache-ttl

8 years agoAPI: Allow setting extra domain metadata
Pieter Lexis [Wed, 15 Feb 2017 09:40:23 +0000 (10:40 +0100)]
API: Allow setting extra domain metadata

This allows setting domain metadata starting with "X-".

8 years agoUpdate copyright statements missed in #4163
Pieter Lexis [Fri, 17 Feb 2017 11:41:30 +0000 (12:41 +0100)]
Update copyright statements missed in #4163

8 years agoMerge pull request #4912 from pieterlexis/issue-4848-chroot-systemd
Pieter Lexis [Fri, 17 Feb 2017 10:00:38 +0000 (11:00 +0100)]
Merge pull request #4912 from pieterlexis/issue-4848-chroot-systemd

Refuse to start with chroot set in a systemd env

8 years agoMerge pull request #4960 from zeha/default-settings
Pieter Lexis [Fri, 17 Feb 2017 09:58:13 +0000 (10:58 +0100)]
Merge pull request #4960 from zeha/default-settings

recursor: use explicit yes for default-enabled settings

8 years agoFix coverity nits
Remi Gacogne [Thu, 16 Feb 2017 12:59:54 +0000 (13:59 +0100)]
Fix coverity nits

8 years agoCatch exceptions in destructors
Remi Gacogne [Thu, 16 Feb 2017 12:59:28 +0000 (13:59 +0100)]
Catch exceptions in destructors

8 years agoMerge pull request #4873 from mind04/ed25519
Peter van Dijk [Thu, 16 Feb 2017 14:52:01 +0000 (15:52 +0100)]
Merge pull request #4873 from mind04/ed25519

update Ed25519 algorithm number and mnemonic and hook up algorithm 15 in the recursor

8 years agoUpdate copyright year in publicly visible output and files
Pieter Lexis [Thu, 16 Feb 2017 13:08:40 +0000 (14:08 +0100)]
Update copyright year in publicly visible output and files

8 years agoStateHolder: Allocate (and copy if needed) before taking the lock
Remi Gacogne [Tue, 14 Feb 2017 17:46:38 +0000 (18:46 +0100)]
StateHolder: Allocate (and copy if needed) before taking the lock

8 years agoAdd GCC 6.3 to boost.m4
Pieter Lexis [Thu, 16 Feb 2017 08:56:42 +0000 (09:56 +0100)]
Add GCC 6.3 to boost.m4

8 years agoMerge pull request #4998 from cmouse/patch-2
bert hubert [Wed, 15 Feb 2017 13:00:00 +0000 (14:00 +0100)]
Merge pull request #4998 from cmouse/patch-2

Update PULL_REQUEST_TEMPLATE.md

8 years agoMerge pull request #5004 from rgacogne/rec-lowercase-qname-nit
bert hubert [Wed, 15 Feb 2017 12:58:48 +0000 (13:58 +0100)]
Merge pull request #5004 from rgacogne/rec-lowercase-qname-nit

rec: Use `DNSName::makeLowerCase()` instead of converting to string and back

8 years agodnsdist: Don't cache ServFail / Refused if the TTL is set to 0
Remi Gacogne [Wed, 15 Feb 2017 08:30:00 +0000 (09:30 +0100)]
dnsdist: Don't cache ServFail / Refused if the TTL is set to 0

8 years agodnsdist: Apply delay to cache hits, locally generated responses
Remi Gacogne [Wed, 15 Feb 2017 08:27:03 +0000 (09:27 +0100)]
dnsdist: Apply delay to cache hits, locally generated responses

8 years agoAuth: Incremental backoff for failed slave checks
Pieter Lexis [Fri, 27 Jan 2017 15:57:41 +0000 (16:57 +0100)]
Auth: Incremental backoff for failed slave checks

Closes #349
Closes #602

8 years agoRefuse to start with chroot set in a systemd env
Pieter Lexis [Mon, 16 Jan 2017 11:37:13 +0000 (12:37 +0100)]
Refuse to start with chroot set in a systemd env

Closes #4848

8 years agoUpdate PULL_REQUEST_TEMPLATE.md
Aki Tuomi [Sun, 12 Feb 2017 14:21:33 +0000 (16:21 +0200)]
Update PULL_REQUEST_TEMPLATE.md

Clarify test change wording

8 years agoremotebackend: Update regression test to notice domain id on do_list
Aki Tuomi [Sun, 12 Feb 2017 09:19:52 +0000 (11:19 +0200)]
remotebackend: Update regression test to notice domain id on do_list

8 years agodnsupdate.md: Change LUA to Lua
Aki Tuomi [Sun, 12 Feb 2017 08:49:58 +0000 (10:49 +0200)]
dnsupdate.md: Change LUA to Lua

8 years agoUpdate version number for Lua updatePolicy
Aki Tuomi [Mon, 28 Nov 2016 19:10:34 +0000 (21:10 +0200)]
Update version number for Lua updatePolicy

8 years agoremotebackend: Update unit test to notice domain id on do_list
Aki Tuomi [Sun, 12 Feb 2017 08:33:19 +0000 (10:33 +0200)]
remotebackend: Update unit test to notice domain id on do_list

8 years agoremotebackend: Treat NULL as empty string in POST parameters
Aki Tuomi [Sun, 12 Feb 2017 08:32:55 +0000 (10:32 +0200)]
remotebackend: Treat NULL as empty string in POST parameters

asString() cannot convert NULL to ""

8 years agoremotebackend: Fix incorrect parameter name
Aki Tuomi [Sun, 12 Feb 2017 08:32:27 +0000 (10:32 +0200)]
remotebackend: Fix incorrect parameter name

8 years agoMerge pull request #4985 from rgacogne/write-single-syscall
bert hubert [Fri, 10 Feb 2017 16:50:43 +0000 (17:50 +0100)]
Merge pull request #4985 from rgacogne/write-single-syscall

Add `sendSizeAndMsgWithTimeout` to send size and data in a single call

8 years agoMerge pull request #4986 from rgacogne/travis-build-dir
bert hubert [Fri, 10 Feb 2017 12:11:31 +0000 (13:11 +0100)]
Merge pull request #4986 from rgacogne/travis-build-dir

Use `${TRAVIS_BUILD_DIR}` instead of assuming the repo is in `pdns`

8 years agoMerge pull request #4944 from wojas/one-dnsseckeeper-per-request
bert hubert [Fri, 10 Feb 2017 12:08:43 +0000 (13:08 +0100)]
Merge pull request #4944 from wojas/one-dnsseckeeper-per-request

Fix API performance: one DNSSECKeeper per request

8 years agoMerge pull request #4977 from rgacogne/more-nmg-unit-tests
bert hubert [Fri, 10 Feb 2017 12:08:00 +0000 (13:08 +0100)]
Merge pull request #4977 from rgacogne/more-nmg-unit-tests

Add more NetmaskGroup unit tests

8 years agoMerge pull request #4963 from Habbie/dnsdist-doc-nit
bert hubert [Thu, 9 Feb 2017 15:13:53 +0000 (16:13 +0100)]
Merge pull request #4963 from Habbie/dnsdist-doc-nit

fix some typos; improve argument references

8 years agoMerge pull request #4972 from pieterlexis/root-dnssec
bert hubert [Thu, 9 Feb 2017 15:12:44 +0000 (16:12 +0100)]
Merge pull request #4972 from pieterlexis/root-dnssec

Add the 2017 root key

8 years agoMerge pull request #4980 from Habbie/clarify
bert hubert [Thu, 9 Feb 2017 15:11:24 +0000 (16:11 +0100)]
Merge pull request #4980 from Habbie/clarify

clarify checkbox comment

8 years agoMerge pull request #4984 from rgacogne/rec-preout-remote
bert hubert [Thu, 9 Feb 2017 15:10:27 +0000 (16:10 +0100)]
Merge pull request #4984 from rgacogne/rec-preout-remote

rec: Fix `remote`/`local` inversion in `preoutquery`

8 years agoMerge pull request #4987 from rgacogne/dnsdist-prevent-caching-no-ttl
bert hubert [Thu, 9 Feb 2017 15:09:43 +0000 (16:09 +0100)]
Merge pull request #4987 from rgacogne/dnsdist-prevent-caching-no-ttl

dnsdist: Don't cache answers without any TTL

8 years agorec: Use `DNSName::makeLowerCase()` instead of converting to string and back
Remi Gacogne [Thu, 9 Feb 2017 14:30:30 +0000 (15:30 +0100)]
rec: Use `DNSName::makeLowerCase()` instead of converting to string and back

8 years agodnsdist: Don't cache answers without any TTL
Remi Gacogne [Wed, 8 Feb 2017 16:19:18 +0000 (17:19 +0100)]
dnsdist: Don't cache answers without any TTL

`RFC2308` states that "negative responses without SOA records SHOULD
NOT be cached as there is no way to prevent the negative responses
looping forever between a pair of servers even with a short TTL".

8 years agoUse `${TRAVIS_BUILD_DIR}` instead of assuming the repo is in `pdns`
Remi Gacogne [Wed, 8 Feb 2017 14:33:57 +0000 (15:33 +0100)]
Use `${TRAVIS_BUILD_DIR}` instead of assuming the repo is in `pdns`

Thus avoiding issues when/if the repository is cloned with a different
name.

8 years agorec: Fix `remote`/`local` inversion in `preoutquery`
Remi Gacogne [Wed, 8 Feb 2017 10:57:41 +0000 (11:57 +0100)]
rec: Fix `remote`/`local` inversion in `preoutquery`

`dq.remoteaddr` should hold the authoritative server address, but
it was stored in `dq.localaddr` instead since
ba21fcfedc103f12b6a8eadc17f2797b6d7ffb7b.

8 years agorec: Allow returning the `DNSQuestion`'s `data` table from `gettag()`
Remi Gacogne [Tue, 7 Feb 2017 14:26:24 +0000 (15:26 +0100)]
rec: Allow returning the `DNSQuestion`'s `data` table from `gettag()`

Allow `gettag()` to optionally return a table whose keys and values
are strings, to fill up the `DNSQuestion`'s `data` table.

8 years agodnsdist: Use `sendSizeAndMsgWithTimeout()` for TCP, Fast Open toward backends
Remi Gacogne [Sun, 5 Feb 2017 11:15:37 +0000 (12:15 +0100)]
dnsdist: Use `sendSizeAndMsgWithTimeout()` for TCP, Fast Open toward backends

8 years agoUse `sendSizeAndMsgWithTimeout()` in Remote Logger (protobuf)
Remi Gacogne [Sun, 5 Feb 2017 11:13:54 +0000 (12:13 +0100)]
Use `sendSizeAndMsgWithTimeout()` in Remote Logger (protobuf)

8 years agoAdd `sendSizeAndMsgWithTimeout()` to send size and data with a single call
Remi Gacogne [Sun, 5 Feb 2017 11:12:33 +0000 (12:12 +0100)]
Add `sendSizeAndMsgWithTimeout()` to send size and data with a single call

8 years agoclarify checkbox comment
Peter van Dijk [Mon, 6 Feb 2017 14:36:15 +0000 (15:36 +0100)]
clarify checkbox comment

8 years agorec: Add SNMP support
Remi Gacogne [Mon, 5 Dec 2016 15:01:00 +0000 (16:01 +0100)]
rec: Add SNMP support

8 years agodnsdist: Add SNMP support
Remi Gacogne [Mon, 5 Dec 2016 14:59:58 +0000 (15:59 +0100)]
dnsdist: Add SNMP support

8 years agoAdd more NetmaskGroup unit tests
Remi Gacogne [Mon, 6 Feb 2017 11:01:57 +0000 (12:01 +0100)]
Add more NetmaskGroup unit tests

* negative entries using the explicit flag
* IPv6 negative entries
* regular and negative entries from Netmask objects instead of strings

8 years agoAdd the 2017 root key
Pieter Lexis [Fri, 3 Feb 2017 08:03:35 +0000 (09:03 +0100)]
Add the 2017 root key

8 years agomore assorted doc nits
Peter van Dijk [Wed, 1 Feb 2017 08:51:12 +0000 (09:51 +0100)]
more assorted doc nits

8 years agotypo
Peter van Dijk [Tue, 31 Jan 2017 21:35:43 +0000 (22:35 +0100)]
typo

8 years agofix typo; improve argument references
Peter van Dijk [Tue, 31 Jan 2017 20:48:21 +0000 (21:48 +0100)]
fix typo; improve argument references

8 years agoMerge pull request #4967 from jsoref/spelling
Pieter Lexis [Thu, 2 Feb 2017 12:18:47 +0000 (13:18 +0100)]
Merge pull request #4967 from jsoref/spelling

Spelling

8 years agoMerge pull request #4961 from rgacogne/tsig-canonical-algo
Pieter Lexis [Thu, 2 Feb 2017 12:18:32 +0000 (13:18 +0100)]
Merge pull request #4961 from rgacogne/tsig-canonical-algo

Lowercase the TSIG algorithm name in hash computation

8 years agospelling: without
Josh Soref [Thu, 2 Feb 2017 10:48:18 +0000 (10:48 +0000)]
spelling: without

8 years agospelling: unparseable
Josh Soref [Thu, 2 Feb 2017 10:45:59 +0000 (10:45 +0000)]
spelling: unparseable

8 years agospelling: trailing
Josh Soref [Thu, 2 Feb 2017 10:44:05 +0000 (10:44 +0000)]
spelling: trailing

8 years agospelling: supports
Josh Soref [Thu, 2 Feb 2017 10:40:23 +0000 (10:40 +0000)]
spelling: supports

8 years agospelling: still
Josh Soref [Thu, 2 Feb 2017 10:39:57 +0000 (10:39 +0000)]
spelling: still

8 years agospelling: specified
Josh Soref [Thu, 2 Feb 2017 10:38:32 +0000 (10:38 +0000)]
spelling: specified

8 years agospelling: signing
Josh Soref [Thu, 2 Feb 2017 10:37:15 +0000 (10:37 +0000)]
spelling: signing

8 years agospelling: signify
Josh Soref [Thu, 2 Feb 2017 10:37:24 +0000 (10:37 +0000)]
spelling: signify

8 years agospelling: settings
Josh Soref [Thu, 2 Feb 2017 10:36:10 +0000 (10:36 +0000)]
spelling: settings

8 years agospelling: setnotified
Josh Soref [Thu, 2 Feb 2017 10:36:32 +0000 (10:36 +0000)]
spelling: setnotified

8 years agospelling: servfails
Josh Soref [Thu, 2 Feb 2017 10:35:43 +0000 (10:35 +0000)]
spelling: servfails

8 years agospelling: serial
Josh Soref [Thu, 2 Feb 2017 10:32:04 +0000 (10:32 +0000)]
spelling: serial

8 years agospelling: separately
Josh Soref [Thu, 2 Feb 2017 10:35:07 +0000 (10:35 +0000)]
spelling: separately

8 years agospelling: separated
Josh Soref [Thu, 2 Feb 2017 10:35:16 +0000 (10:35 +0000)]
spelling: separated

8 years agospelling: sensitivity
Josh Soref [Thu, 2 Feb 2017 10:34:55 +0000 (10:34 +0000)]
spelling: sensitivity

8 years agospelling: selectors
Josh Soref [Thu, 2 Feb 2017 10:34:38 +0000 (10:34 +0000)]
spelling: selectors

8 years agospelling: responsibility
Josh Soref [Thu, 2 Feb 2017 10:32:55 +0000 (10:32 +0000)]
spelling: responsibility

8 years agospelling: response
Josh Soref [Thu, 2 Feb 2017 10:30:27 +0000 (10:30 +0000)]
spelling: response

8 years agospelling: repositories
Josh Soref [Thu, 2 Feb 2017 10:31:14 +0000 (10:31 +0000)]
spelling: repositories

8 years agospelling: registry
Josh Soref [Thu, 2 Feb 2017 10:29:57 +0000 (10:29 +0000)]
spelling: registry

8 years agospelling: records
Josh Soref [Thu, 2 Feb 2017 10:29:21 +0000 (10:29 +0000)]
spelling: records

8 years agospelling: qclasses
Josh Soref [Thu, 2 Feb 2017 10:27:29 +0000 (10:27 +0000)]
spelling: qclasses

8 years agospelling: qclass
Josh Soref [Thu, 2 Feb 2017 10:27:06 +0000 (10:27 +0000)]
spelling: qclass

8 years agospelling: program
Josh Soref [Thu, 2 Feb 2017 10:25:46 +0000 (10:25 +0000)]
spelling: program