]>
granicus.if.org Git - pdns/log
bert hubert [Mon, 5 Feb 2018 15:09:03 +0000 (16:09 +0100)]
Merge pull request #6170 from zeha/dnstap
dnsdist: Add simple dnstap logging
bert hubert [Mon, 5 Feb 2018 15:08:42 +0000 (16:08 +0100)]
Merge pull request #2603 from zeha/api-responsestats
Expose ResponseStats via REST API
Pieter Lexis [Fri, 2 Feb 2018 09:42:27 +0000 (10:42 +0100)]
Merge pull request #6134 from rgacogne/auth-mysql-multi-results-set
auth: Always bind the results array after executing a MySQL statement
Pieter Lexis [Fri, 2 Feb 2018 09:39:43 +0000 (10:39 +0100)]
Merge pull request #6234 from cmouse/fixme
Some Fixmes
Pieter Lexis [Mon, 29 Jan 2018 09:10:15 +0000 (10:10 +0100)]
Merge pull request #6227 from pieterlexis/docs-docs-docs
docs: Ensure Lua objects and their attributes are layed-out
bert hubert [Sun, 28 Jan 2018 12:47:43 +0000 (13:47 +0100)]
Merge pull request #6230 from ahupowerdns/deselectmplexer
remove all traces of selectmplexer, fix up pollmplexer
Aki Tuomi [Sat, 27 Jan 2018 23:18:15 +0000 (01:18 +0200)]
Use DNSName in RecordTextReader
Aki Tuomi [Sat, 27 Jan 2018 21:56:21 +0000 (23:56 +0200)]
tinydnsbackend: Use toDNSStringLC since lowercase is preferred
Fixes fixme
bert hubert [Fri, 26 Jan 2018 18:10:05 +0000 (19:10 +0100)]
Merge pull request #6229 from ahupowerdns/add-single-character-label-test
add a test for single character labels in dnsname and how they compare
bert hubert [Fri, 26 Jan 2018 09:06:11 +0000 (10:06 +0100)]
remove selectmplexer reference from nproxy and generalize getMplexer() so nproxy and dnsdist can both use it.
Removed some final traces from SelectFDMplexer from mplexer.hh too.
bert hubert [Thu, 25 Jan 2018 21:57:11 +0000 (22:57 +0100)]
remove all traces of selectmplexer, fix up pollmplexer
select is scary when a lot of file descriptors are used. Use poll.
bert hubert [Thu, 25 Jan 2018 21:32:54 +0000 (22:32 +0100)]
add a test for single character labels and how they compare after our 'a.root-servers.net' scare (which turned out to be unrelated)
Pieter Lexis [Thu, 25 Jan 2018 17:19:16 +0000 (18:19 +0100)]
Merge pull request #6226 from gryphius/doc-master-mention-slave-renotify
mention slave-renotify in notification warnings
Pieter Lexis [Thu, 25 Jan 2018 17:11:08 +0000 (18:11 +0100)]
docs: better layout of Lua objects in dnsdist docs
Pieter Lexis [Thu, 25 Jan 2018 16:23:18 +0000 (17:23 +0100)]
docs: Fix ref
Pieter Lexis [Thu, 25 Jan 2018 16:22:13 +0000 (17:22 +0100)]
docs: squash some warnings
Pieter Lexis [Thu, 25 Jan 2018 16:19:40 +0000 (17:19 +0100)]
docs: Layout the Lua scripting docs better
Add missing functions, fix broken attributes and methods.
Oli Schacher [Thu, 25 Jan 2018 15:01:36 +0000 (16:01 +0100)]
mention slave-renotify in notification warnings
Pieter Lexis [Thu, 25 Jan 2018 12:29:10 +0000 (13:29 +0100)]
Merge pull request #6172 from cassvin/ixfr
IXFR: correct behavior of dealing with DNS Name with multiple records; speed up IXFR transaction
Pieter Lexis [Thu, 25 Jan 2018 11:46:47 +0000 (12:46 +0100)]
Merge pull request #6152 from zeha/bb2-note-error
bindbackend: handle std::exception during startup zone-parsing
Pieter Lexis [Thu, 25 Jan 2018 11:46:15 +0000 (12:46 +0100)]
Merge pull request #6144 from stbuehler/improve-tests-part-two
Improve test-dnsrecords
Chris Hofstaedtler [Tue, 23 Jan 2018 14:36:45 +0000 (15:36 +0100)]
Add dnstap-compatible protobuf support to dnsdist.
Based on a PR by Justin Valentini <jvalentini@dyn.com>.
Pieter Lexis [Wed, 24 Jan 2018 16:35:44 +0000 (17:35 +0100)]
Merge pull request #6148 from zeha/auth-2136-messages
Improve DNSUPDATE prereq check log messages
Pieter Lexis [Wed, 24 Jan 2018 16:35:18 +0000 (17:35 +0100)]
Merge pull request #6166 from rgacogne/dnsreplay-initial-port
Add an --initial-port option to dnsreplay
Pieter Lexis [Wed, 24 Jan 2018 16:34:39 +0000 (17:34 +0100)]
Merge pull request #6222 from pieterlexis/coverity-
20180124
Fix two Coverity issues
Pieter Lexis [Wed, 24 Jan 2018 09:08:36 +0000 (10:08 +0100)]
Rec: Fix 2 use-after-free bugs
Fix CID
1385373 .
Pieter Lexis [Wed, 24 Jan 2018 09:06:33 +0000 (10:06 +0100)]
XPF: Fix coverity "copy paste" issue
Fix CID
1385372 .
Chris Hofstaedtler [Thu, 11 Jan 2018 16:22:42 +0000 (17:22 +0100)]
dnsdist: record query time in DNSQuestion
Pieter Lexis [Tue, 23 Jan 2018 11:41:27 +0000 (12:41 +0100)]
Merge pull request #6220 from pieterlexis/ddist-xpf
Add XPF support
Pieter Lexis [Tue, 23 Jan 2018 11:24:10 +0000 (12:24 +0100)]
Merge pull request #6185 from zeha/selfanswered-rules
dnsdist: run self-answered responses through a ruleset
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
Pieter Lexis [Tue, 23 Jan 2018 09:21:26 +0000 (10:21 +0100)]
XPF, dnsdist: Rename Option Code to RR Code
And add some docs.
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
Pieter Lexis [Tue, 23 Jan 2018 09:09:11 +0000 (10:09 +0100)]
XPF, Rec: Rename Option Code to RR Code
Remi Gacogne [Tue, 14 Nov 2017 14:48:59 +0000 (15:48 +0100)]
Rename generateXPFPayload() parameters for clarity
Peter van Dijk [Tue, 14 Nov 2017 13:17:47 +0000 (14:17 +0100)]
full removal of squatted XPF code point
make XPF code point configurable in sdig
remove XPF from dnsrecords and qtype
check argument count for sdig modifiers
Remi Gacogne [Thu, 2 Nov 2017 15:12:36 +0000 (16:12 +0100)]
Make the XPF code point configurable in dnsdist and the rec
It's a bit trickier for sdig, though.
Remi Gacogne [Thu, 10 Aug 2017 14:53:02 +0000 (16:53 +0200)]
auth: Remove XPF records from the regression's tests example zone
Remi Gacogne [Fri, 11 Aug 2017 12:41:31 +0000 (14:41 +0200)]
Add initial XPF support to the recursor and dnsdist
Remi Gacogne [Mon, 7 Aug 2017 13:34:16 +0000 (15:34 +0200)]
Allow XPF records to come after a TSIG one
Peter van Dijk [Tue, 25 Jul 2017 14:29:10 +0000 (16:29 +0200)]
add support to sdig
Peter van Dijk [Tue, 25 Jul 2017 12:17:23 +0000 (14:17 +0200)]
v6 works now
Peter van Dijk [Tue, 25 Jul 2017 11:38:42 +0000 (13:38 +0200)]
sdig correctly shows XPF record from bindbackend for v4; v6 is broken
Chris Hofstaedtler [Mon, 15 Jan 2018 21:40:09 +0000 (22:40 +0100)]
dnsdist: add rules for self-answered responses
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.
Chris Hofstaedtler [Mon, 15 Jan 2018 20:11:29 +0000 (21:11 +0100)]
dnsdist: reduce resprulactions/cachehitresprulactions code deuplication
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 [Wed, 10 Jan 2018 12:01:28 +0000 (13:01 +0100)]
Add a --pcap-dns-port option to dnsreplay (thanks hawk!)
Allowing to replay queries received/sent from/to another port than 53.
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
Leon Xu [Fri, 12 Jan 2018 10:44:21 +0000 (18:44 +0800)]
import test for IXFR ending
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