]>
granicus.if.org Git - pdns/log
Pieter Lexis [Tue, 23 Jan 2018 11:23:54 +0000 (12:23 +0100)]
Merge pull request #6179 from zeha/mtasker-stacksize
Increase MTasker stacksize to avoid crash in exception unwinding
Pieter Lexis [Tue, 23 Jan 2018 11:22:24 +0000 (12:22 +0100)]
Merge pull request #6168 from phonedph1/forward-nsspeed
Keep track of forward-zones NS speeds
Pieter Lexis [Tue, 23 Jan 2018 11:21:22 +0000 (12:21 +0100)]
Merge pull request #5068 from pieterlexis/issue-1010-calculateSOASerial-uint32_t
Change from time_t to uint32_t for serial in calculateSOASerial
Pieter Lexis [Tue, 23 Jan 2018 11:20:21 +0000 (12:20 +0100)]
Merge pull request #5770 from rgacogne/remote-logger-first-packet
Keep trying if the first connection to the remote logger failed
Pieter Lexis [Tue, 23 Jan 2018 11:20:00 +0000 (12:20 +0100)]
Merge pull request #5960 from rgacogne/rec-genudpqueryresponse-udp-race
Check more thoroughly the source of UDP answers
Pieter Lexis [Tue, 23 Jan 2018 11:19:28 +0000 (12:19 +0100)]
Merge pull request #5982 from ahupowerdns/pdnsutil-error-better
improve error message of pdnsutil if it can't find configuration
Pieter Lexis [Tue, 23 Jan 2018 11:18:04 +0000 (12:18 +0100)]
Merge pull request #6187 from gryphius/rzp-typo
fix typo rzpMaster, lowercase settings
Pieter Lexis [Tue, 23 Jan 2018 11:17:52 +0000 (12:17 +0100)]
Merge pull request #6189 from rgacogne/dnsdist-gnutls-errors
dnsdist: Print GnuTLS error messages when parsing the configuration
Pieter Lexis [Tue, 23 Jan 2018 11:17:26 +0000 (12:17 +0100)]
Merge pull request #6206 from paddg/patch-6
capitalization AndRule in example
Pieter Lexis [Tue, 23 Jan 2018 11:17:10 +0000 (12:17 +0100)]
Merge pull request #6207 from paddg/patch-7
capitalization DropAction in guide
Pieter Lexis [Tue, 23 Jan 2018 11:16:55 +0000 (12:16 +0100)]
Merge pull request #6210 from zeha/rec-abort-unused-arg
recursor: abort when unused arguments remain
Pieter Lexis [Tue, 23 Jan 2018 11:16:33 +0000 (12:16 +0100)]
Merge pull request #6217 from paddg/patch-8
Typo in maxCheckFailures description
aerique [Tue, 23 Jan 2018 09:27:26 +0000 (10:27 +0100)]
Merge pull request #6218 from aerique/bugfix/rec-ancestor-delegation-below
rec: Correctly handle ancestor delegation NSEC{,3} for children
Peter van Dijk [Tue, 23 Jan 2018 09:25:10 +0000 (10:25 +0100)]
Merge pull request #6188 from rgacogne/dnsdist-atomic-init
dnsdist: Fix a warning about braces around scalar initializer
Remi Gacogne [Thu, 11 Jan 2018 14:05:00 +0000 (15:05 +0100)]
rec: Add unit tests for ancestor delegation check in denial
Remi Gacogne [Thu, 11 Jan 2018 14:05:22 +0000 (15:05 +0100)]
rec: Correctly handle ancestor delegation NSEC{,3} for children
Winfried Angele [Mon, 22 Jan 2018 15:11:49 +0000 (16:11 +0100)]
Typo in maxCheckFailures description
aerique [Mon, 22 Jan 2018 14:54:37 +0000 (15:54 +0100)]
Merge pull request #6216 from aerique/feature/update-rec-4.1.x-changelog
Update changelog and secpoll for rec-4.1.1.
Erik Winkels [Mon, 22 Jan 2018 13:13:31 +0000 (14:13 +0100)]
Add fixes suggested by @habbie.
Erik Winkels [Mon, 22 Jan 2018 12:45:13 +0000 (13:45 +0100)]
Update changelog and secpoll for rec-4.1.1.
Add security advisory 2018-01.
bert hubert [Mon, 22 Jan 2018 08:53:49 +0000 (09:53 +0100)]
Merge pull request #6209 from zeha/primehints
Minimal fix to make primeHints threadsafe
Peter van Dijk [Sat, 20 Jan 2018 00:19:23 +0000 (01:19 +0100)]
Merge pull request #6030 from rgacogne/dnsdist-consistent-ids
dnsdist: Add UUIDs to rules
Chris Hofstaedtler [Fri, 19 Jan 2018 23:57:51 +0000 (00:57 +0100)]
recursor: abort when unused arguments remain
Copied this over from receiver.cc, as @ahupowerdns pointed out that Auth handles this.
Chris Hofstaedtler [Fri, 19 Jan 2018 22:34:13 +0000 (23:34 +0100)]
docs: fix some rm*Rule inconsistencies
Chris Hofstaedtler [Fri, 19 Jan 2018 22:32:46 +0000 (23:32 +0100)]
add uuid= option to addLua*Action, mirroring add*Action
Chris Hofstaedtler [Fri, 19 Jan 2018 22:23:44 +0000 (23:23 +0100)]
Warn when no rule was matched by uuid in rm...Rule()
Chris Hofstaedtler [Fri, 19 Jan 2018 22:17:40 +0000 (23:17 +0100)]
docs: replace order with position
Chris Hofstaedtler [Fri, 19 Jan 2018 22:16:51 +0000 (23:16 +0100)]
rm*Rule: rename num to id
Chris Hofstaedtler [Fri, 19 Jan 2018 22:15:32 +0000 (23:15 +0100)]
Rename getRuleID to makeRuleID
Chris Hofstaedtler [Fri, 19 Jan 2018 18:57:37 +0000 (19:57 +0100)]
Fix copied code
Chris Hofstaedtler [Fri, 19 Jan 2018 18:54:44 +0000 (19:54 +0100)]
Minimal fix to make primeHints threadsafe
Winfried Angele [Fri, 19 Jan 2018 05:28:01 +0000 (06:28 +0100)]
capitalization DropAction in guide
Winfried Angele [Fri, 19 Jan 2018 05:23:51 +0000 (06:23 +0100)]
capitalization AndRule in example
Remi Gacogne [Tue, 16 Jan 2018 14:56:48 +0000 (15:56 +0100)]
dnsdist: Print GnuTLS error messages when parsing the configuration
Remi Gacogne [Tue, 16 Jan 2018 14:55:38 +0000 (15:55 +0100)]
dnsdist: Fix a warning about braces around scalar initializer
Oli Schacher [Tue, 16 Jan 2018 11:47:03 +0000 (12:47 +0100)]
fix typo rzpMaster, lowercase settings
Remi Gacogne [Tue, 16 Jan 2018 09:28:32 +0000 (10:28 +0100)]
Merge pull request #6183 from zeha/macos-setsockopt
Fix macOS build: Use IPPROTO_TCP instead of SOL_TCP
Chris Hofstaedtler [Mon, 15 Jan 2018 19:38:42 +0000 (20:38 +0100)]
Fix macOS build: Use IPPROTO_TCP instead of SOL_TCP
Remi Gacogne [Mon, 15 Jan 2018 13:08:10 +0000 (14:08 +0100)]
Merge pull request #6177 from rgacogne/dnsdist-libssl
dnsdist: Fix building without libssl
Remi Gacogne [Mon, 15 Jan 2018 11:13:47 +0000 (12:13 +0100)]
dnsdist: Fix indentation in dnsdist_check_libssl.m4
Remi Gacogne [Mon, 15 Jan 2018 08:42:34 +0000 (09:42 +0100)]
dnsdist: Remove mention of s2n in the configure, add GnuTLS instead
Remi Gacogne [Mon, 15 Jan 2018 08:34:05 +0000 (09:34 +0100)]
Merge pull request #6176 from gryphius/fix-showtlscontext-typo
fix showTLSContexts tab completion
Remi Gacogne [Mon, 15 Jan 2018 08:32:49 +0000 (09:32 +0100)]
Merge pull request #6180 from ahupowerdns/dnsdist-large-axfr
fix dnsdist problems with large AXFR: it checked first record of 2nd envelope against the original qname
bert hubert [Sun, 14 Jan 2018 19:17:48 +0000 (20:17 +0100)]
dnsdist had problems with large AXFR as it checked first record of second envelope against the original qname.
With this commit, the check against spoofing is only performed against the first message, and not against subsequent ones.
Thanks to Janne for help debugging this issue.
James Cowgill [Fri, 12 Jan 2018 21:26:03 +0000 (22:26 +0100)]
Increase MTasker stacksize
Throwing an exception uses libgcc's stack unwinder. On mips64el
the unwinder will overflow the default stack size of 8K. In turn
the return ucontext gets overwritten, resulting in a jump into
garbage.
Oli Schacher [Fri, 12 Jan 2018 16:49:27 +0000 (17:49 +0100)]
fix showTLSContexts tab completion
Remi Gacogne [Fri, 12 Jan 2018 16:39:28 +0000 (17:39 +0100)]
dnsdist: Fix building without libssl
phonedph1 [Fri, 12 Jan 2018 16:20:37 +0000 (16:20 +0000)]
Constify rnameservers
Remi Gacogne [Tue, 14 Nov 2017 11:57:35 +0000 (12:57 +0100)]
auth: Thoroughly check the source of UDP answers in proxy, resolver
Remi Gacogne [Tue, 28 Nov 2017 16:16:19 +0000 (17:16 +0100)]
dnsdist: Add UUIDs to rules
Having UUID assigned to rules makes it possible to track a given rule,
as opposed to the existing rule numbers that changed everytime a rule
was deleted or moved around. A rule now keeps the same UUID for the
lifetime of the dnsdist process and can even keep this UUID persistent
across restart if the UUID is provided when the rule is added:
```
addAction(AllRule(), AllowAction(), {uuid="
123e4567 -e89b-12d3-a456-
426655440000 "})
```
This is especially useful if the rules are managed via a central
controller using the console, or to display metrics retrieved via
the API.
Remi Gacogne [Mon, 13 Nov 2017 16:18:24 +0000 (17:18 +0100)]
rec: Check the remote host on handleGenUDPQueryResponse()
We do connect the socket before sending, but it looks like various
kernels have a race condition allowing an attacker to inject a
packet between the bind() and the connect() calls, which then does
not necessarily comes from the expected host. Have fun.
Remi Gacogne [Fri, 12 Jan 2018 11:13:19 +0000 (12:13 +0100)]
Merge pull request #6117 from rgacogne/ddist-dns-over-tls
dnsdist: Add initial DNS over TLS support
phonedph1 [Thu, 11 Jan 2018 15:04:50 +0000 (15:04 +0000)]
Use speedOrderCA and be slightly less abusive on the amount of conversions done.
aerique [Thu, 11 Jan 2018 13:38:17 +0000 (14:38 +0100)]
Merge pull request #6167 from rgacogne/rec-uninit-ret-preoutquery
rec: Initialize the result var before calling the preoutquery hook
aerique [Thu, 11 Jan 2018 12:04:37 +0000 (13:04 +0100)]
Merge pull request #6162 from zeha/auth-slave-cleanup
Auth: slave cleanups
aerique [Thu, 11 Jan 2018 11:16:32 +0000 (12:16 +0100)]
Merge pull request #5993 from zeha/ecs-add-for
Recursor: add ecs-add-for option
aerique [Thu, 11 Jan 2018 10:03:10 +0000 (11:03 +0100)]
Merge pull request #6019 from mind04/schema
gmysql-backend: set unsigned attribute on notified_serial column
Peter van Dijk [Thu, 11 Jan 2018 08:48:07 +0000 (09:48 +0100)]
Merge pull request #6165 from Habbie/webrick-1.4.2
upgrade to webrick 1.4.2 (CVE-2009-4492)
phonedph1 [Wed, 10 Jan 2018 16:15:25 +0000 (16:15 +0000)]
Keep track of forward-zones NS speeds by stuffing them into the nsspeed collection.
Use a similar method to shuffleInSpeedOrder for sorting and trace log printing.
Remi Gacogne [Wed, 10 Jan 2018 13:18:10 +0000 (14:18 +0100)]
rec: Initialize the result var before calling the preoutquery hook
If the `preoutquery` hook was defined but didn't handle the query,
the resulting variable was left uninitialized.
Remi Gacogne [Wed, 10 Jan 2018 08:53:27 +0000 (09:53 +0100)]
Merge pull request #6164 from Habbie/dnsdist-snmp-no-client
dnsdist: do not connect the snmpAgent from a dnsdist client. Fixes #6163
Remi Gacogne [Wed, 10 Jan 2018 08:50:03 +0000 (09:50 +0100)]
Merge pull request #6160 from rgacogne/rec-tests-time
rec: Don't mix time() and gettimeofday() in our unit tests
Peter van Dijk [Tue, 9 Jan 2018 21:06:09 +0000 (22:06 +0100)]
upgrade to webrick 1.4.2 (CVE-2009-4492)
Peter van Dijk [Tue, 9 Jan 2018 20:47:04 +0000 (21:47 +0100)]
do not connect the snmpAgent from a dnsdist client. Fixes #6163
Chris Hofstaedtler [Tue, 9 Jan 2018 19:21:55 +0000 (20:21 +0100)]
auth: remove obsolete directResolve stub
Chris Hofstaedtler [Tue, 9 Jan 2018 19:17:38 +0000 (20:17 +0100)]
slavecommunicator: remove dead variable
Chris Hofstaedtler [Tue, 9 Jan 2018 19:13:12 +0000 (20:13 +0100)]
Resolover::resolve: dont second guess local socket choice
Chris Hofstaedtler [Tue, 9 Jan 2018 19:08:12 +0000 (20:08 +0100)]
sendResolve: improve local socket making error message
Chris Hofstaedtler [Tue, 9 Jan 2018 19:07:01 +0000 (20:07 +0100)]
resolver: remove pointless optional-local sendResolve overload
Chris Hofstaedtler [Tue, 9 Jan 2018 19:04:06 +0000 (20:04 +0100)]
Remove unused struct QueryInfo
Grégory Oestreicher [Tue, 9 Jan 2018 16:03:54 +0000 (17:03 +0100)]
LDAP: fix getDomainInfo() to set this as di.backend (#6048)
* LDAP: fix getDomainInfo() to set this as di.backend
Erik Winkels [Tue, 9 Jan 2018 14:30:51 +0000 (15:30 +0100)]
Add upgrading note for #5915.
And also for PR #6019.
aerique [Tue, 9 Jan 2018 10:36:45 +0000 (11:36 +0100)]
Merge pull request #6137 from rgacogne/rec-cname-glue
rec: Don't validate signature for "glue" CNAME
Peter van Dijk [Tue, 9 Jan 2018 09:34:42 +0000 (10:34 +0100)]
Merge pull request #6158 from cmouse/consumed
pdns: Improve record parsing
Remi Gacogne [Tue, 9 Jan 2018 07:40:45 +0000 (08:40 +0100)]
Merge pull request #6147 from zeha/dnsdist-ercode
Add ERCodeRule
Peter van Dijk [Mon, 8 Jan 2018 17:44:09 +0000 (18:44 +0100)]
Merge pull request #6018 from mind04/escape
escaping unusual DNS label octets in DNSName is off by one
Remi Gacogne [Mon, 8 Jan 2018 17:01:28 +0000 (18:01 +0100)]
Merge pull request #6003 from zeha/dnsdist-packetcache-ttlcap
Add TempFailureCacheTTLAction
Remi Gacogne [Mon, 8 Jan 2018 15:44:50 +0000 (16:44 +0100)]
rec: Don't mix time() and gettimeofday() in our unit tests
It turns out that, at least on Linux, doing
```
struct timeval now;
gettimeofday(&now, nullptr);
now.tv_sec - time(nullptr);
```
might be 1, without the time actually going backward. So let's just
be consistent in our calls and we should far less false positive
during our tests.
Chris Hofstaedtler [Mon, 8 Jan 2018 15:19:37 +0000 (16:19 +0100)]
Clarify where offset comes from
Chris Hofstaedtler [Mon, 8 Jan 2018 15:19:22 +0000 (16:19 +0100)]
Use c++-style casts
Chris Hofstaedtler [Mon, 8 Jan 2018 15:16:57 +0000 (16:16 +0100)]
Do not pretty-print out-of-range RCodes
Remi Gacogne [Wed, 29 Nov 2017 10:44:57 +0000 (11:44 +0100)]
Add a unit test for the label escape issue fixed in #6018
Chris Hofstaedtler [Mon, 8 Jan 2018 15:09:45 +0000 (16:09 +0100)]
Store rcodes as unsigned
Chris Hofstaedtler [Mon, 8 Jan 2018 14:57:00 +0000 (15:57 +0100)]
testcase: do not add "unused" response to queue
Chris Hofstaedtler [Mon, 8 Jan 2018 14:56:15 +0000 (15:56 +0100)]
Fix incorrect comment in testcase
Peter van Dijk [Mon, 8 Jan 2018 14:44:37 +0000 (15:44 +0100)]
Merge pull request #5979 from mind04/logstring
Use toLogString() for logging and throwing
Remi Gacogne [Mon, 8 Jan 2018 14:43:47 +0000 (15:43 +0100)]
rec: Add unit tests to make sure we correctly detect an unsigned DS
Peter van Dijk [Mon, 8 Jan 2018 14:34:14 +0000 (15:34 +0100)]
Merge pull request #6156 from zeha/rm-ednsping
Remove obsolete EDNS PING code
Peter van Dijk [Mon, 8 Jan 2018 14:33:25 +0000 (15:33 +0100)]
Merge pull request #6143 from pieterlexis/doc-bench-db
pdnsutil.1: document 'bench-db'
Aki Tuomi [Mon, 8 Jan 2018 10:34:00 +0000 (12:34 +0200)]
pdns: RecordTextReader - trim whitespace
DNS records should not care if there is whitespace around them.
Aki Tuomi [Mon, 8 Jan 2018 10:27:48 +0000 (12:27 +0200)]
pdns: Improve error when record data is not consumed
Old: "All data was not consumed"
New: "When parsing <qtype> trailing data was not parsed: '<remaining>'"
Remi Gacogne [Mon, 8 Jan 2018 09:40:51 +0000 (10:40 +0100)]
Merge pull request #6155 from zeha/ednsopts
Update EDNS Option code list
Peter van Dijk [Mon, 8 Jan 2018 08:48:54 +0000 (09:48 +0100)]
Merge pull request #6146 from tih/netbsd-fixes
Changes to compile and run on NetBSD
Chris Hofstaedtler [Sun, 7 Jan 2018 23:50:24 +0000 (00:50 +0100)]
Remove obsolete EDNS PING code
Chris Hofstaedtler [Sun, 7 Jan 2018 23:41:05 +0000 (00:41 +0100)]
Update EDNS Option code list
Chris Hofstaedtler [Sat, 6 Jan 2018 14:21:50 +0000 (15:21 +0100)]
ecs-add-for: add better wording from @rgacogne
Chris Hofstaedtler [Sat, 6 Jan 2018 00:15:50 +0000 (01:15 +0100)]
dnsdist: add docs, test for TempFailureCacheTTLAction
Chris Hofstaedtler [Sat, 6 Jan 2018 00:01:19 +0000 (01:01 +0100)]
dnsdist: Expose tempFailureTTL to Lua
bert hubert [Fri, 5 Jan 2018 23:27:47 +0000 (00:27 +0100)]
Merge pull request #4547 from zeha/soaedit-cleanup
Remove serializeSOAData, refactor calculate/edit/increaseSOA
Christian Hofstaedtler [Thu, 6 Oct 2016 22:04:40 +0000 (00:04 +0200)]
INCEPTION-INCREMENT: avoid jumping by two on every increase
Fixes #2377 (which is now also seen by pdnsutil increase-serial).