]> granicus.if.org Git - pdns/log
pdns
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 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 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_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

8 years agothrow a non fatal exception for a lost mysql connection
Kees Monshouwer [Wed, 29 Jun 2016 11:16:53 +0000 (13:16 +0200)]
throw a non fatal exception for a lost mysql connection

8 years agodnsdist: Include editline/readline.h instead of readline.h/history.h
Remi Gacogne [Wed, 29 Jun 2016 10:20:11 +0000 (12:20 +0200)]
dnsdist: Include editline/readline.h instead of readline.h/history.h

All libedit functions are in <editline/readline.h>.
Including <readline.h> and <history.h> would get non-libedit headers.

8 years agoMerge branch 'rgacogne-pipe-getauth' auth-4.0.0-rc1
Pieter Lexis [Tue, 28 Jun 2016 15:29:07 +0000 (17:29 +0200)]
Merge branch 'rgacogne-pipe-getauth'

8 years agoMerge branch 'pipe-getauth' of https://github.com/rgacogne/pdns into rgacogne-pipe...
Pieter Lexis [Tue, 28 Jun 2016 15:28:36 +0000 (17:28 +0200)]
Merge branch 'pipe-getauth' of https://github.com/rgacogne/pdns into rgacogne-pipe-getauth

8 years agoMerge pull request #4061 from mind04/various
Pieter Lexis [Tue, 28 Jun 2016 15:27:00 +0000 (17:27 +0200)]
Merge pull request #4061 from mind04/various

some small changes and a huge mysql dnssec performance improvement

8 years agoMerge pull request #3962 from Habbie/openbsd
Pieter Lexis [Tue, 28 Jun 2016 15:13:03 +0000 (17:13 +0200)]
Merge pull request #3962 from Habbie/openbsd

fix openbsd support in auth and dnsdist

8 years agoAdd/clarify comments in `getAuth()`, rename `shorter` to `choppedOff`
Remi Gacogne [Thu, 16 Jun 2016 08:13:39 +0000 (10:13 +0200)]
Add/clarify comments in `getAuth()`, rename `shorter` to `choppedOff`

8 years agoauth: Warn when enabling SO_TIMESTAMP on v6 _failed_, not succeeded
Remi Gacogne [Tue, 28 Jun 2016 10:33:56 +0000 (12:33 +0200)]
auth: Warn when enabling SO_TIMESTAMP on v6 _failed_, not succeeded

Reported by Andreas Jakum (thanks)!

8 years agoMerge pull request #3972 from zeha/api-204
Pieter Lexis [Tue, 28 Jun 2016 10:07:09 +0000 (12:07 +0200)]
Merge pull request #3972 from zeha/api-204

API: change PATCH/PUT on zones to return 204 No Content instead of full zone

8 years agoMerge pull request #3937 from cmouse/gsql-lazy-statements
Pieter Lexis [Tue, 28 Jun 2016 10:06:03 +0000 (12:06 +0200)]
Merge pull request #3937 from cmouse/gsql-lazy-statements

GSQL: use lazy prepared statements

8 years agorec: Add support for protobuf requestor's anonymization
Remi Gacogne [Fri, 24 Jun 2016 13:25:01 +0000 (15:25 +0200)]
rec: Add support for protobuf requestor's anonymization

8 years agoProtobuf refactoring
Remi Gacogne [Fri, 24 Jun 2016 08:56:04 +0000 (10:56 +0200)]
Protobuf refactoring

The main idea here is to have a object encapsulating the protobuf
stuff, that exists but does nothing when protobuf support is off.
This makes it a lot easier and cleanier for the rest of the code.

This also:
* unifies the protobuf code used in dnsdist, rec and dnspcap2protobuf
* add CNAME values to responses

8 years agoMerge pull request #3998 from mind04/ourdomain
Pieter Lexis [Tue, 28 Jun 2016 08:36:36 +0000 (10:36 +0200)]
Merge pull request #3998 from mind04/ourdomain

remove gsql::isOurDomain for now

8 years agoMerge pull request #4043 from pieterlexis/issue-3809-pipebackend-doc-fixes
Pieter Lexis [Tue, 28 Jun 2016 08:36:00 +0000 (10:36 +0200)]
Merge pull request #4043 from pieterlexis/issue-3809-pipebackend-doc-fixes

Reformat pipebackend documentation for clarity

8 years agoMerge pull request #4049 from stirnim/fix-dnsdist-service-file
Pieter Lexis [Tue, 28 Jun 2016 08:35:49 +0000 (10:35 +0200)]
Merge pull request #4049 from stirnim/fix-dnsdist-service-file

Fix dnsdist rpm building script #4048

8 years agoMerge pull request #4052 from pieterlexis/issue-4014-boost-context-fcontext-hpp
Pieter Lexis [Tue, 28 Jun 2016 08:35:32 +0000 (10:35 +0200)]
Merge pull request #4052 from pieterlexis/issue-4014-boost-context-fcontext-hpp

Rec: Don't fail configure on missing fcontext.hpp

8 years agoMerge pull request #4050 from rgacogne/dnsdist-clear-set-rules
bert hubert [Mon, 27 Jun 2016 19:23:12 +0000 (21:23 +0200)]
Merge pull request #4050 from rgacogne/dnsdist-clear-set-rules

dnsdist: Add `clearRules()` and `setRules()`

8 years agoMerge pull request #4055 from rgacogne/dnspcap2protobuf-cov-fixes
bert hubert [Mon, 27 Jun 2016 19:22:47 +0000 (21:22 +0200)]
Merge pull request #4055 from rgacogne/dnspcap2protobuf-cov-fixes

auth: Minor fixes to dnspcap{,2protobuf}, reported by coverity

8 years agoFix struct pdns_timeval init in dnsgram
Remi Gacogne [Mon, 27 Jun 2016 16:14:37 +0000 (18:14 +0200)]
Fix struct pdns_timeval init in dnsgram

8 years agoauth: Minor fixes to dnspcap{,2protobuf}, reported by coverity
Remi Gacogne [Mon, 27 Jun 2016 15:50:16 +0000 (17:50 +0200)]
auth: Minor fixes to dnspcap{,2protobuf}, reported by coverity

8 years agoRec: Don't fail configure on missing fcontext.hpp
Pieter Lexis [Mon, 27 Jun 2016 11:02:15 +0000 (13:02 +0200)]
Rec: Don't fail configure on missing fcontext.hpp

Fixes #4014

8 years agodnsdist: Add `clearRules()` and `setRules()`
Remi Gacogne [Mon, 27 Jun 2016 10:39:24 +0000 (12:39 +0200)]
dnsdist: Add `clearRules()` and `setRules()`

8 years agoFix dnsdist rpm building script #4048
Daniel Stirnimann [Mon, 27 Jun 2016 09:55:39 +0000 (11:55 +0200)]
Fix dnsdist rpm building script #4048

8 years agoMerge pull request #4046 from rgacogne/rec-rpz-doc
Remi Gacogne [Mon, 27 Jun 2016 09:51:11 +0000 (11:51 +0200)]
Merge pull request #4046 from rgacogne/rec-rpz-doc

doc: Add more details regarding RPZ

8 years agodoc: Add more details regarding RPZ
Remi Gacogne [Mon, 27 Jun 2016 08:24:02 +0000 (10:24 +0200)]
doc: Add more details regarding RPZ

8 years agoReformat pipebackend documentation for clarity
Pieter Lexis [Sun, 26 Jun 2016 09:21:51 +0000 (11:21 +0200)]
Reformat pipebackend documentation for clarity

Closes #3809

8 years agoremove debuging output
Kees Monshouwer [Tue, 2 Feb 2016 19:54:18 +0000 (20:54 +0100)]
remove debuging output

8 years agocomment nits
Kees Monshouwer [Mon, 9 Nov 2015 10:33:10 +0000 (11:33 +0100)]
comment nits

8 years agogmysql get-order-after-query was ^%0@^* slow
Kees Monshouwer [Tue, 21 Jun 2016 16:23:10 +0000 (18:23 +0200)]
gmysql get-order-after-query was ^%0@^* slow

8 years agofix shorter best matching names in getAuth()
Kees Monshouwer [Sat, 18 Jun 2016 13:16:03 +0000 (15:16 +0200)]
fix shorter best matching names in getAuth()

8 years agorec: Initialize OpenSSL before chrooting
Pieter Lexis [Fri, 24 Jun 2016 14:19:48 +0000 (16:19 +0200)]
rec: Initialize OpenSSL before chrooting

When chroot()'ing into a 'bare' directory, /dev/random is not available.
This means that OpenSSL cannot gather randomness and all validations
will fail.

Closes #3994

8 years agoMerge pull request #3985 from pieterlexis/warn-we-are-master
Pieter Lexis [Fri, 24 Jun 2016 13:35:02 +0000 (15:35 +0200)]
Merge pull request #3985 from pieterlexis/warn-we-are-master

Auth: warn when NOTIFY is received for master domain

8 years agoMerge pull request #3989 from rgacogne/dnsname-distance-signedness
Pieter Lexis [Fri, 24 Jun 2016 13:34:17 +0000 (15:34 +0200)]
Merge pull request #3989 from rgacogne/dnsname-distance-signedness

Fix usage of std::distance() in DNSName::isPartOf()