]> granicus.if.org Git - pdns/log
pdns
8 years agogrep out fd-usage metric in counters test
Kees Monshouwer [Sat, 23 Jul 2016 12:14:47 +0000 (14:14 +0200)]
grep out fd-usage metric in counters test

8 years agoadd used filedescriptor statistics to auth
Kees Monshouwer [Fri, 8 Jul 2016 19:32:46 +0000 (21:32 +0200)]
add used filedescriptor statistics to auth

8 years agoMerge pull request #4137 from cmouse/conditional-keys auth-4.0.0 rec-4.0.0
Peter van Dijk [Fri, 8 Jul 2016 09:59:41 +0000 (11:59 +0200)]
Merge pull request #4137 from cmouse/conditional-keys

gsqlite3: Check whether foreign keys should be turned on

8 years agogsqlite3: Check whether foreign keys should be turned on
Aki Tuomi [Fri, 8 Jul 2016 08:57:57 +0000 (11:57 +0300)]
gsqlite3: Check whether foreign keys should be turned on

8 years agoMerge pull request #4138 from pieterlexis/rpm-protobuf
Pieter Lexis [Fri, 8 Jul 2016 09:03:36 +0000 (11:03 +0200)]
Merge pull request #4138 from pieterlexis/rpm-protobuf

Build RPMs with protobuf

8 years agoBuild RPMs with protobuf
Pieter Lexis [Fri, 8 Jul 2016 07:53:47 +0000 (09:53 +0200)]
Build RPMs with protobuf

Fixes #4130

8 years agoMerge pull request #4096 from rgacogne/rec-no-empty-commit
Peter van Dijk [Fri, 8 Jul 2016 07:49:04 +0000 (09:49 +0200)]
Merge pull request #4096 from rgacogne/rec-no-empty-commit

rec: Don't call `commit()` if we skipped all the records

8 years agoMerge pull request #4124 from zeha/auth-no-recommends
Pieter Lexis [Fri, 8 Jul 2016 07:36:34 +0000 (09:36 +0200)]
Merge pull request #4124 from zeha/auth-no-recommends

Debian packaging: stop recommending/suggesting some packages

8 years agoMerge pull request #4101 from rgacogne/dnsdist-rpm-sed
Pieter Lexis [Fri, 8 Jul 2016 07:20:01 +0000 (09:20 +0200)]
Merge pull request #4101 from rgacogne/dnsdist-rpm-sed

dnsdist: Fix $ expansion in build-dnsdist-rpm

8 years agoMerge pull request #4127 from pieterlexis/protobuf-fixes
Peter van Dijk [Thu, 7 Jul 2016 19:34:39 +0000 (21:34 +0200)]
Merge pull request #4127 from pieterlexis/protobuf-fixes

Add protobuf to travis

8 years agoMerge pull request #4125 from rgacogne/protobuf-query-timestamp
Peter van Dijk [Thu, 7 Jul 2016 19:01:55 +0000 (21:01 +0200)]
Merge pull request #4125 from rgacogne/protobuf-query-timestamp

Add protobuf fields for the query's time in the response

8 years agoMerge pull request #4136 from rgacogne/rec-protobuf-doc
Peter van Dijk [Thu, 7 Jul 2016 18:54:11 +0000 (20:54 +0200)]
Merge pull request #4136 from rgacogne/rec-protobuf-doc

rec: Add protocol buffers documentation

8 years agorec: Add a link to the `dnsmessage.proto` file
Remi Gacogne [Thu, 7 Jul 2016 16:33:14 +0000 (18:33 +0200)]
rec: Add a link to the `dnsmessage.proto` file

8 years agorec: Add protocol buffers documentation
Remi Gacogne [Thu, 7 Jul 2016 15:23:37 +0000 (17:23 +0200)]
rec: Add protocol buffers documentation

8 years agoMerge pull request #4123 from pieterlexis/issue-3267-algo-5-7
Pieter Lexis [Wed, 6 Jul 2016 20:41:01 +0000 (22:41 +0200)]
Merge pull request #4123 from pieterlexis/issue-3267-algo-5-7

check-zone: warn on mismatch between algo and NSEC

8 years agoMerge pull request #3051 from pieterlexis/issue-2405-misleading-error-in-bind
Pieter Lexis [Wed, 6 Jul 2016 20:40:37 +0000 (22:40 +0200)]
Merge pull request #3051 from pieterlexis/issue-2405-misleading-error-in-bind

Better error message for unfound new slave domains

8 years agoAdd protobuf fields for the query's time in the response
Remi Gacogne [Wed, 6 Jul 2016 16:54:39 +0000 (18:54 +0200)]
Add protobuf fields for the query's time in the response

This way it's possible to compute the latency by looking only
at the response message.
Implemented for:
* dnsdist
* dnspcap2protobuf
* ProtobufLogger.py
* rec

8 years agoDebian packaging: stop recommending/suggesting some packages
Christian Hofstaedtler [Wed, 6 Jul 2016 16:11:53 +0000 (18:11 +0200)]
Debian packaging: stop recommending/suggesting some packages

Drop Suggests: pdns-recursor is not that common on the same machine.
Drop Recommends: mysql-client, as with default apt settings, that
would remove an installed mariadb server. (Drop Recommends:
postgresql-client for consistency.)

8 years agoAdd missing file to auth tarball
Pieter Lexis [Wed, 6 Jul 2016 14:40:38 +0000 (16:40 +0200)]
Add missing file to auth tarball

8 years agoAdd protobuf to travis
Pieter Lexis [Wed, 6 Jul 2016 14:40:09 +0000 (16:40 +0200)]
Add protobuf to travis

8 years agocheck-zone: warn on mismatch between algo and NSEC
Pieter Lexis [Wed, 6 Jul 2016 13:52:33 +0000 (15:52 +0200)]
check-zone: warn on mismatch between algo and NSEC

Closes #3267

8 years agoMerge pull request #4077 from pieterlexis/dnssec-stats
Pieter Lexis [Wed, 6 Jul 2016 09:11:38 +0000 (11:11 +0200)]
Merge pull request #4077 from pieterlexis/dnssec-stats

Recursor: Add DNSSEC validation statistics

8 years agoMerge pull request #4117 from pieterlexis/basic-rpz-fix
Pieter Lexis [Wed, 6 Jul 2016 09:02:04 +0000 (11:02 +0200)]
Merge pull request #4117 from pieterlexis/basic-rpz-fix

Recursor: basic.rpz fix

8 years agobasic.rpz fix (naive)
Pieter Lexis [Tue, 5 Jul 2016 22:29:18 +0000 (00:29 +0200)]
basic.rpz fix (naive)

Closes #4087

8 years agoMerge pull request #4097 from pieterlexis/DNSSEC-Log-Bogus
Pieter Lexis [Tue, 5 Jul 2016 16:41:36 +0000 (18:41 +0200)]
Merge pull request #4097 from pieterlexis/DNSSEC-Log-Bogus

Recursor: Allow logging DNSSEC bogus in any mode

8 years agoMerge pull request #4108 from pieterlexis/document-reload-lua-config
Pieter Lexis [Tue, 5 Jul 2016 14:53:37 +0000 (16:53 +0200)]
Merge pull request #4108 from pieterlexis/document-reload-lua-config

Document the fact that reload-lua-config blocks

8 years agoRecursor: Allow logging DNSSEC bogus in any mode
Pieter Lexis [Mon, 4 Jul 2016 13:15:41 +0000 (15:15 +0200)]
Recursor: Allow logging DNSSEC bogus in any mode

Also allow setting this at runtime.

8 years agoMerge pull request #4041 from rgacogne/remotebackend-unix-socat-eof
Peter van Dijk [Tue, 5 Jul 2016 14:28:06 +0000 (16:28 +0200)]
Merge pull request #4041 from rgacogne/remotebackend-unix-socat-eof

auth: Don't fail if `socat` exits at the end of remote backend unix tests

8 years agoRecursor: Add DNSSEC validation statistics
Pieter Lexis [Thu, 30 Jun 2016 14:55:48 +0000 (16:55 +0200)]
Recursor: Add DNSSEC validation statistics

Closes #3916

8 years agoDocument the fact that reload-lua-config blocks
Pieter Lexis [Tue, 5 Jul 2016 12:30:10 +0000 (14:30 +0200)]
Document the fact that reload-lua-config blocks

8 years agodocument C++11 ABI issue
Peter van Dijk [Tue, 5 Jul 2016 13:03:20 +0000 (15:03 +0200)]
document C++11 ABI issue

8 years agoMerge pull request #4090 from pieterlexis/issue-4085-rec_control-reload-lua-config
Peter van Dijk [Tue, 5 Jul 2016 09:37:48 +0000 (11:37 +0200)]
Merge pull request #4090 from pieterlexis/issue-4085-rec_control-reload-lua-config

rec_control: add reload-lua-config option

8 years agoMerge pull request #4038 from rgacogne/protobuf-refactor
Peter van Dijk [Tue, 5 Jul 2016 09:35:05 +0000 (11:35 +0200)]
Merge pull request #4038 from rgacogne/protobuf-refactor

Protobuf refactoring

8 years agoMerge pull request #4071 from mind04/gmysql
Pieter Lexis [Tue, 5 Jul 2016 09:05:09 +0000 (11:05 +0200)]
Merge pull request #4071 from mind04/gmysql

abort on backend failures at startup and retry while running

8 years agoMerge pull request #4099 from rgacogne/auth-issue-3868
Pieter Lexis [Tue, 5 Jul 2016 09:05:03 +0000 (11:05 +0200)]
Merge pull request #4099 from rgacogne/auth-issue-3868

auth: Close the TCP connection descriptor if `pthread_create()` failed

8 years agoincrease the default value for the maximum number of TCP connections to 20
Kees Monshouwer [Mon, 4 Jul 2016 17:50:34 +0000 (19:50 +0200)]
increase the default value for the maximum number of TCP connections to 20

8 years agodnsdist: Fix $ expansion in build-dnsdist-rpm
Remi Gacogne [Mon, 4 Jul 2016 16:06:08 +0000 (18:06 +0200)]
dnsdist: Fix $ expansion in build-dnsdist-rpm

Using '!' inside double-quoted string in shell might lead to nasty
issues if bash is used (history), replacing that with ',' instead.

8 years agoBetter error message for unfound new slave domains
Pieter Lexis [Wed, 16 Dec 2015 16:18:10 +0000 (17:18 +0100)]
Better error message for unfound new slave domains

Closes #2405

8 years agoauth: Close the TCP connection descriptor if `pthread_create()` failed
Remi Gacogne [Mon, 4 Jul 2016 15:00:15 +0000 (17:00 +0200)]
auth: Close the TCP connection descriptor if `pthread_create()` failed

8 years agoMerge pull request #4094 from zeha/sort-incfiles
Pieter Lexis [Mon, 4 Jul 2016 14:38:30 +0000 (16:38 +0200)]
Merge pull request #4094 from zeha/sort-incfiles

Sort included html files

8 years agoMerge pull request #4083 from zeha/resolver-cc-warnings
Pieter Lexis [Mon, 4 Jul 2016 14:38:20 +0000 (16:38 +0200)]
Merge pull request #4083 from zeha/resolver-cc-warnings

resolver.cc: fix warnings found by clang-703.0.31 on OS X

8 years agoMerge pull request #4062 from pieterlexis/dnsname-toLogString
Pieter Lexis [Mon, 4 Jul 2016 14:34:02 +0000 (16:34 +0200)]
Merge pull request #4062 from pieterlexis/dnsname-toLogString

DNSName logging fixes

8 years agoMerge pull request #4073 from Habbie/rec-fwd-doc-nit
bert hubert [Mon, 4 Jul 2016 13:22:29 +0000 (15:22 +0200)]
Merge pull request #4073 from Habbie/rec-fwd-doc-nit

fix doc copy/paste error

8 years agorec: Don't call `commit()` if we skipped all the records
Remi Gacogne [Mon, 4 Jul 2016 09:45:18 +0000 (11:45 +0200)]
rec: Don't call `commit()` if we skipped all the records

8 years agorec_control: add reload-lua-config option
Pieter Lexis [Fri, 1 Jul 2016 14:40:56 +0000 (16:40 +0200)]
rec_control: add reload-lua-config option

Closes #4085

8 years agodnsdist: Fix typo (NOTIMPL->NOTIMP) in dnsdistconf.lua
Remi Gacogne [Mon, 4 Jul 2016 08:09:37 +0000 (10:09 +0200)]
dnsdist: Fix typo (NOTIMPL->NOTIMP) in dnsdistconf.lua

8 years agoSort included html files
Christian Hofstaedtler [Sun, 3 Jul 2016 08:20:06 +0000 (10:20 +0200)]
Sort included html files

For improved reproducibility.

8 years agomysql autoreconnect is a really bad idea
Kees Monshouwer [Sun, 3 Jul 2016 19:20:14 +0000 (21:20 +0200)]
mysql autoreconnect is a really bad idea
prepared statementes are released at reconnect

8 years agoa warning for a future developer
Peter van Dijk [Sun, 3 Jul 2016 14:37:36 +0000 (16:37 +0200)]
a warning for a future developer

8 years agoMerge pull request #4081 from pieterlexis/licenses
Peter van Dijk [Sun, 3 Jul 2016 12:50:41 +0000 (14:50 +0200)]
Merge pull request #4081 from pieterlexis/licenses

Hopefully appease the License Gods (again)

8 years agocompare NSEC labels canonically instead of DNSName default. Clears up many in-addr...
bert hubert [Fri, 1 Jul 2016 15:25:39 +0000 (17:25 +0200)]
compare NSEC labels canonically instead of DNSName default. Clears up many in-addr.arpa failures.

8 years agofix up arpa/com.co insecure delegations
bert hubert [Fri, 1 Jul 2016 13:50:03 +0000 (15:50 +0200)]
fix up arpa/com.co insecure delegations

8 years agoretry once after a backend failure
Kees Monshouwer [Thu, 30 Jun 2016 20:35:41 +0000 (22:35 +0200)]
retry once after a backend failure

8 years agoFix a failing test
Pieter Lexis [Tue, 28 Jun 2016 13:23:09 +0000 (15:23 +0200)]
Fix a failing test

8 years agoUse toStringRootDot semantics for toLogString
Pieter Lexis [Tue, 28 Jun 2016 12:41:01 +0000 (14:41 +0200)]
Use toStringRootDot semantics for toLogString

8 years agouse implicit DNSName.toLogString() in zone2ldap
Pieter Lexis [Tue, 28 Jun 2016 10:51:42 +0000 (12:51 +0200)]
use implicit DNSName.toLogString() in zone2ldap

8 years agouse implicit DNSName.toLogString() anmd correct dots in zone2json
Pieter Lexis [Tue, 28 Jun 2016 10:51:22 +0000 (12:51 +0200)]
use implicit DNSName.toLogString() anmd correct dots in zone2json

8 years agouse implicit DNSName.toLogString() in zone2sql
Pieter Lexis [Tue, 28 Jun 2016 10:51:01 +0000 (12:51 +0200)]
use implicit DNSName.toLogString() in zone2sql

8 years agouse implicit DNSName.toLogString() in tcpreceiver
Pieter Lexis [Tue, 28 Jun 2016 10:10:39 +0000 (12:10 +0200)]
use implicit DNSName.toLogString() in tcpreceiver

8 years agouse implicit DNSName.toLogString() in syncres logging
Pieter Lexis [Tue, 28 Jun 2016 10:05:08 +0000 (12:05 +0200)]
use implicit DNSName.toLogString() in syncres logging

8 years agouse DNSName.toLogString() in the rfc2136handler
Pieter Lexis [Tue, 28 Jun 2016 09:51:58 +0000 (11:51 +0200)]
use DNSName.toLogString() in the rfc2136handler

8 years agoRemove DNSName.toString() in many places in pdnsutil
Pieter Lexis [Tue, 28 Jun 2016 09:48:47 +0000 (11:48 +0200)]
Remove DNSName.toString() in many places in pdnsutil

8 years agoUse toLogString when creating a logstring with a DNSName in the recursor
Pieter Lexis [Tue, 28 Jun 2016 09:38:20 +0000 (11:38 +0200)]
Use toLogString when creating a logstring with a DNSName in the recursor

8 years agoReplace DNSName.toString() in the packethandler
Pieter Lexis [Tue, 28 Jun 2016 09:33:05 +0000 (11:33 +0200)]
Replace DNSName.toString() in the packethandler

8 years agoReplace DNSName.toString() in notify.cc
Pieter Lexis [Tue, 28 Jun 2016 09:30:59 +0000 (11:30 +0200)]
Replace DNSName.toString() in notify.cc

8 years agoReplace DNSName.toString() in mastercommunicator
Pieter Lexis [Tue, 28 Jun 2016 09:28:03 +0000 (11:28 +0200)]
Replace DNSName.toString() in mastercommunicator

8 years agoReplace DNSName.toString() in dnsreplay
Pieter Lexis [Tue, 28 Jun 2016 09:23:07 +0000 (11:23 +0200)]
Replace DNSName.toString() in dnsreplay

8 years agoUse toLogString when writing a DNSName to an ostream
Pieter Lexis [Tue, 28 Jun 2016 09:21:22 +0000 (11:21 +0200)]
Use toLogString when writing a DNSName to an ostream

8 years agomake DNSName.toLogString() default for logs
Pieter Lexis [Wed, 22 Jun 2016 17:42:00 +0000 (19:42 +0200)]
make DNSName.toLogString() default for logs

8 years agoReplace DNSName.toString() in dnsgram
Pieter Lexis [Tue, 28 Jun 2016 09:19:09 +0000 (11:19 +0200)]
Replace DNSName.toString() in dnsgram

8 years agoReplace DNSName.toString() in anadns
Pieter Lexis [Tue, 28 Jun 2016 09:17:52 +0000 (11:17 +0200)]
Replace DNSName.toString() in anadns

8 years agoReplace DNSName.toString() in dnsdemog
Pieter Lexis [Tue, 28 Jun 2016 09:17:01 +0000 (11:17 +0200)]
Replace DNSName.toString() in dnsdemog

8 years agoReplace DNSName.toString() in dnsbulktest
Pieter Lexis [Tue, 28 Jun 2016 09:16:28 +0000 (11:16 +0200)]
Replace DNSName.toString() in dnsbulktest

8 years agoReplace DNSName.toString() in comfun
Pieter Lexis [Tue, 28 Jun 2016 09:13:39 +0000 (11:13 +0200)]
Replace DNSName.toString() in comfun

8 years agologging and root-correctness in the pipe-backend
Pieter Lexis [Tue, 28 Jun 2016 09:08:48 +0000 (11:08 +0200)]
logging and root-correctness in the pipe-backend

8 years agoReplace DNSName.toString() in the geoip-backend
Pieter Lexis [Tue, 28 Jun 2016 09:03:23 +0000 (11:03 +0200)]
Replace DNSName.toString() in the geoip-backend

8 years agoReplace DNSName.toString() in the bind-backend
Pieter Lexis [Tue, 28 Jun 2016 08:59:25 +0000 (10:59 +0200)]
Replace DNSName.toString() in the bind-backend

8 years agodnsname.cc: whitespace fix
Pieter Lexis [Tue, 28 Jun 2016 08:57:06 +0000 (10:57 +0200)]
dnsname.cc: whitespace fix

8 years agomore ways to wrap an nsec3
bert hubert [Fri, 1 Jul 2016 10:16:56 +0000 (12:16 +0200)]
more ways to wrap an nsec3

8 years agoimprove error message when validation of domain fails due to timeouts
bert hubert [Fri, 1 Jul 2016 10:07:37 +0000 (12:07 +0200)]
improve error message when validation of domain fails due to timeouts

8 years agosome TLDs have only 1 NSEC3 record
bert hubert [Fri, 1 Jul 2016 09:50:04 +0000 (11:50 +0200)]
some TLDs have only 1 NSEC3 record

8 years agoresolver.cc: fix warnings found by clang-703.0.31 on OS X
Christian Hofstaedtler [Fri, 1 Jul 2016 09:35:18 +0000 (11:35 +0200)]
resolver.cc: fix warnings found by clang-703.0.31 on OS X

Move try/catch inside the function, as otherwise clang complains:
  cannot refer to a non-static member from the handler of a
  constructor function try block

This also cleans up the initialization of locals[]. Without this,
the code might have ended up closing stdout or another unrelated
socket.

8 years agofix nsec3 wrapping issue for insecure delegations
bert hubert [Fri, 1 Jul 2016 09:02:26 +0000 (11:02 +0200)]
fix nsec3 wrapping issue for insecure delegations

8 years agoMerge pull request #3981 from zeha/provide-js-sources
Pieter Lexis [Fri, 1 Jul 2016 08:42:40 +0000 (10:42 +0200)]
Merge pull request #3981 from zeha/provide-js-sources

Import Javascript sources for libs shipped with Recursor

8 years agoHopefully appease the License Gods (again)
Pieter Lexis [Fri, 1 Jul 2016 08:41:41 +0000 (10:41 +0200)]
Hopefully appease the License Gods (again)

8 years agoMerge pull request #4040 from pieterlexis/rec-chroot-dnssec
Peter van Dijk [Fri, 1 Jul 2016 07:40:22 +0000 (09:40 +0200)]
Merge pull request #4040 from pieterlexis/rec-chroot-dnssec

rec: Initialize OpenSSL before chrooting

8 years agoMerge pull request #4069 from rgacogne/dnsdist-opcode-to-str
Remi Gacogne [Thu, 30 Jun 2016 15:33:54 +0000 (17:33 +0200)]
Merge pull request #4069 from rgacogne/dnsdist-opcode-to-str

dnsdist: Fix a buffer overflow when displaying an OpcodeRule

8 years agoMerge pull request #4065 from rgacogne/dnsdist-libedit-history
Remi Gacogne [Thu, 30 Jun 2016 15:33:39 +0000 (17:33 +0200)]
Merge pull request #4065 from rgacogne/dnsdist-libedit-history

dnsdist: Include editline/readline.h instead of readline.h/history.h

8 years agoMerge pull request #4075 from Habbie/openbsd-headers
Pieter Lexis [Thu, 30 Jun 2016 11:37:30 +0000 (13:37 +0200)]
Merge pull request #4075 from Habbie/openbsd-headers

add net/if.h dependencies

8 years agoadd missing throw in pipe backend
Kees Monshouwer [Thu, 30 Jun 2016 11:00:10 +0000 (13:00 +0200)]
add missing throw in pipe backend

8 years agonit
Peter van Dijk [Thu, 30 Jun 2016 09:19:10 +0000 (11:19 +0200)]
nit

8 years agoMerge pull request #1 from Habbie/4065-openbsd
Remi Gacogne [Thu, 30 Jun 2016 09:18:44 +0000 (11:18 +0200)]
Merge pull request #1 from Habbie/4065-openbsd

duplicate header change to dnsdist.cc; make openbsd exceptions

8 years agoduplicate header change to dnsdist.cc; make openbsd exceptions
Peter van Dijk [Thu, 30 Jun 2016 05:55:58 +0000 (05:55 +0000)]
duplicate header change to dnsdist.cc; make openbsd exceptions

8 years agoadd net/if.h dependencies
Peter van Dijk [Thu, 30 Jun 2016 06:42:36 +0000 (06:42 +0000)]
add net/if.h dependencies

8 years agoabort on backend failures at startup and retry while running
Kees Monshouwer [Wed, 29 Jun 2016 19:20:07 +0000 (21:20 +0200)]
abort on backend failures at startup and retry while running

8 years agodnsdist: Fix a buffer overflow when displaying an OpcodeRule
Remi Gacogne [Wed, 29 Jun 2016 15:04:46 +0000 (17:04 +0200)]
dnsdist: Fix a buffer overflow when displaying an OpcodeRule

Thanks clang for the warning!

8 years agoMerge pull request #4064 from pieterlexis/auth-4.0.0-rc1-changelog
Pieter Lexis [Wed, 29 Jun 2016 14:15:57 +0000 (16:15 +0200)]
Merge pull request #4064 from pieterlexis/auth-4.0.0-rc1-changelog

Add auth 4.0.0 RC1 changelog and secpoll entry

8 years agoAdd auth 4.0.0 RC1 changelog and secpoll entry
Pieter Lexis [Wed, 29 Jun 2016 08:37:56 +0000 (10:37 +0200)]
Add auth 4.0.0 RC1 changelog and secpoll entry

8 years agoMerge pull request #4066 from mind04/gmysql auth-4.0.0-rc2
Pieter Lexis [Wed, 29 Jun 2016 13:21:13 +0000 (15:21 +0200)]
Merge pull request #4066 from mind04/gmysql

don't die on a mysql timeout

8 years agodon't die without a fight
Kees Monshouwer [Wed, 29 Jun 2016 11:18:22 +0000 (13:18 +0200)]
don't die without a fight