]>
granicus.if.org Git - pdns/log
Aki Tuomi [Fri, 7 Jul 2017 15:47:29 +0000 (18:47 +0300)]
fix check_stest_source
Aki Tuomi [Fri, 7 Jul 2017 15:46:47 +0000 (18:46 +0300)]
fix recursor prequery scripts
Aki Tuomi [Sun, 11 Jun 2017 22:54:18 +0000 (01:54 +0300)]
testrunner: Add unit test for lua-auth4.cc
Aki Tuomi [Mon, 26 Jun 2017 11:01:06 +0000 (14:01 +0300)]
lua-auth4: updatePolicy should default to accept when not present
Aki Tuomi [Sun, 11 Jun 2017 21:37:08 +0000 (00:37 +0300)]
lua-auth: Remove unused sources
Aki Tuomi [Sun, 11 Jun 2017 16:47:30 +0000 (19:47 +0300)]
lua-auth4: Move prequery to new lua framework
This changes how prequery gets called
Aki Tuomi [Sun, 11 Jun 2017 18:49:03 +0000 (21:49 +0300)]
lua-auth4: Add DNSPacket to Lua
Aki Tuomi [Sun, 11 Jun 2017 21:02:32 +0000 (00:02 +0300)]
lua-base4: Refactor to load from non-file sources
Aki Tuomi [Sun, 11 Jun 2017 21:08:55 +0000 (00:08 +0300)]
Use BaseLua4 with both auth and recursor
Aki Tuomi [Sun, 11 Jun 2017 20:53:12 +0000 (23:53 +0300)]
lua-base4: Add base lua for auth and recursor
Allows code sharing between recursor and auth
Aki Tuomi [Fri, 7 Jul 2017 15:36:26 +0000 (18:36 +0300)]
ext/luawrapper: Add toString and eq to LuaContext
https://github.com/ahupowerdns/luawrapper/pull/35
Remi Gacogne [Mon, 18 Dec 2017 10:11:30 +0000 (11:11 +0100)]
Merge pull request #5947 from rgacogne/dnsdist-split-lua
dnsdist: Split the Lua files, remove deprecated functions
Remi Gacogne [Fri, 15 Dec 2017 20:13:45 +0000 (21:13 +0100)]
Merge pull request #6042 from rgacogne/rec-duplicate-ns-ip
rec: Don't cache merged answers from different sections in a single packet
Remi Gacogne [Fri, 15 Dec 2017 16:46:18 +0000 (17:46 +0100)]
Merge pull request #6092 from rgacogne/rec-fix-nsec3-wildcard-labels
rec: Fix the computation of the closest encloser for positive answers
Remi Gacogne [Fri, 10 Nov 2017 15:43:43 +0000 (16:43 +0100)]
dnsdist: Split the Lua files, remove deprecated functions
Remi Gacogne [Mon, 4 Dec 2017 09:38:43 +0000 (10:38 +0100)]
rec: Don't cached merged answers from different sections in a single packet
We incorrectly merged answers for the same qname and qtype coming from
a single packet but from different sections when storing them in the
cache. It resulted in duplicates for the IP addresses of some NS, for
example.
Remi Gacogne [Fri, 15 Dec 2017 13:30:46 +0000 (14:30 +0100)]
rec: Switch the exception thrown by `getDenial()` to a `PDNSException`
Remi Gacogne [Fri, 15 Dec 2017 13:29:26 +0000 (14:29 +0100)]
Merge pull request #6037 from rgacogne/dnsdist-tags
dnsdist: Implement tag-based routing, add missing LuaAction and LuaResponseAction
Remi Gacogne [Fri, 15 Dec 2017 10:48:47 +0000 (11:48 +0100)]
Merge pull request #5929 from rgacogne/dnsdist-check-class
dnsdist: Add a class option to health checks
Remi Gacogne [Fri, 15 Dec 2017 09:39:45 +0000 (10:39 +0100)]
Merge pull request #6094 from rgacogne/dnsdist-outstanding-responder-exception
dnsdist: Fix the oustanding counter when an exception is raised
Remi Gacogne [Thu, 14 Dec 2017 22:13:36 +0000 (23:13 +0100)]
dnsdist: Fix a typo in the IDS outstanding counter comment
Remi Gacogne [Thu, 14 Dec 2017 11:28:34 +0000 (12:28 +0100)]
dnsdist: Fix the oustanding counter when an exception is raised
If an exception is raised in the responder thread after the outstanding
queries counter has been decremented, but before we could mark the
state as processed, the same state would be processed again and the
counter decremented a second time, either because of a duplicate
answer or more likely by the timeout handler.
This commit simply increase back the outstanding counter when such
an exception occurs.
Remi Gacogne [Wed, 13 Dec 2017 14:03:24 +0000 (15:03 +0100)]
rec: Fix the computation of the closest encloser for positive answers
When the positive answer is expanded from a wildcard with NSEC3,
the closest encloser is not always parent of the qname, depending
on the number of labels in the initial wildcard.
Pieter Lexis [Tue, 12 Dec 2017 15:50:49 +0000 (16:50 +0100)]
Merge pull request #6065 from peterthomassen/patch-1
docs: API: clarify what happens if rrsets is empty
Pieter Lexis [Tue, 12 Dec 2017 15:50:29 +0000 (16:50 +0100)]
Merge pull request #6062 from pieterlexis/rec-centos6-piddir
Fix PIDDIR detection on CentOS 6
Pieter Lexis [Tue, 12 Dec 2017 15:50:12 +0000 (16:50 +0100)]
Merge pull request #6076 from pieterlexis/api-zone-endpoint-404
API: return 404 for non-existing zones
Remi Gacogne [Tue, 12 Dec 2017 09:07:34 +0000 (10:07 +0100)]
Merge pull request #6073 from zeha/one-unused
Quiet unused variable warning on macOS
Remi Gacogne [Tue, 12 Dec 2017 09:07:12 +0000 (10:07 +0100)]
Merge pull request #6077 from fobser/missing_include
Include unistd.h for chroot(2) et al.
Remi Gacogne [Tue, 12 Dec 2017 09:06:34 +0000 (10:06 +0100)]
Merge pull request #6085 from rgacogne/rec-skip-non-in
rec: Don't process records for another class than IN
Remi Gacogne [Tue, 12 Dec 2017 09:05:54 +0000 (10:05 +0100)]
Merge pull request #6086 from rgacogne/rec-test-time
rec: Use the SyncRes time in our unit tests when checking cache validity
Remi Gacogne [Mon, 11 Dec 2017 12:46:13 +0000 (13:46 +0100)]
rec: Use the SyncRes time in our unit tests when checking cache validity
This might not fix our apparently random failures, but it will at least
remove on possible cause.
Pieter Lexis [Mon, 11 Dec 2017 12:12:54 +0000 (13:12 +0100)]
Fix date in advisory 2017-08
Pieter Lexis [Mon, 11 Dec 2017 12:12:08 +0000 (13:12 +0100)]
Fix date in advisory 2017-08
Pieter Lexis [Mon, 11 Dec 2017 12:09:13 +0000 (13:09 +0100)]
Merge pull request #6084 from rgacogne/advisory-2017-08
Advisory 2017-08
Remi Gacogne [Fri, 1 Dec 2017 11:00:45 +0000 (12:00 +0100)]
Add advisory 2017-08
aerique [Mon, 11 Dec 2017 12:01:31 +0000 (13:01 +0100)]
Merge pull request #6083 from aerique:feature/update-rec-4.0.x-changelog.
Update changelog and secpoll for rec-4.0.8.
Peter van Dijk [Mon, 11 Dec 2017 09:26:37 +0000 (10:26 +0100)]
Merge pull request #6072 from Habbie/dnsdist-inclientstartup
dnsdist: add inClientStartup() function
Remi Gacogne [Wed, 29 Nov 2017 13:59:26 +0000 (14:59 +0100)]
rec: Don't process records for another class than IN
Florian Obser [Fri, 8 Dec 2017 16:07:49 +0000 (17:07 +0100)]
Include unistd.h for chroot(2) et al.
Pieter Lexis [Fri, 8 Dec 2017 14:33:11 +0000 (15:33 +0100)]
API: return 404 for non-existing zones
This commit ensures that any request for a path inside a non-existing
zone returns an HTTP 404 code.
Closes #6074
Chris Hofstaedtler [Fri, 8 Dec 2017 12:28:28 +0000 (13:28 +0100)]
Quiet unused variable warning on macOS
Peter van Dijk [Fri, 8 Dec 2017 09:44:26 +0000 (10:44 +0100)]
do not return true after startup is done
Peter van Dijk [Fri, 8 Dec 2017 09:32:56 +0000 (10:32 +0100)]
dnsdist: add inClientStartup() function
Remi Gacogne [Fri, 8 Dec 2017 09:18:47 +0000 (10:18 +0100)]
Merge pull request #6057 from zeha/combo-ipv6
Handle bracketed IPv6 addresses without ports
Peter Thomassen [Thu, 7 Dec 2017 09:16:45 +0000 (10:16 +0100)]
docs: API: clarify what happens if rrsets is empty
Remi Gacogne [Wed, 6 Dec 2017 14:11:10 +0000 (15:11 +0100)]
Merge pull request #6061 from rgacogne/docs-regression-tests-typos
Docs: Fix minor typos in the regression tests README
Pieter Lexis [Wed, 6 Dec 2017 14:02:30 +0000 (15:02 +0100)]
Fix PIDDIR detection on CentOS 6
Fixes #6051
Chris Hofstaedtler [Wed, 6 Dec 2017 09:44:08 +0000 (10:44 +0100)]
Drop useless if branch
Remi Gacogne [Wed, 6 Dec 2017 09:07:39 +0000 (10:07 +0100)]
Merge pull request #6022 from rgacogne/dnsdist-api-pools-cache-hits
dnsdist: Add Pools, cacheHitResponseRules to the API
Remi Gacogne [Wed, 6 Dec 2017 09:03:11 +0000 (10:03 +0100)]
Docs: Fix minor typos in the regression tests README
Pieter Lexis [Wed, 6 Dec 2017 08:54:47 +0000 (09:54 +0100)]
Merge pull request #6058 from pieterlexis/docs-from-swagger
Auth: Generate API documentation based on swagger file
Pieter Lexis [Wed, 6 Dec 2017 08:54:22 +0000 (09:54 +0100)]
Merge pull request #6059 from cyclops1982/docfix
Small changes to docs that can help contributors
Pieter Lexis [Wed, 6 Dec 2017 08:52:22 +0000 (09:52 +0100)]
Merge pull request #6055 from rgacogne/rec-negcache-32
rec: Work around a RRSIG year-2038 issue in the negcache unit tests
Ruben d'Arco [Tue, 5 Dec 2017 18:14:24 +0000 (18:14 +0000)]
Move debian-jessie notes to a less prominent place
Ruben d'Arco [Tue, 5 Dec 2017 18:11:06 +0000 (18:11 +0000)]
Small notes on needed tools for tests
Pieter Lexis [Tue, 21 Nov 2017 17:09:30 +0000 (18:09 +0100)]
Auth: Generate API documentation based on swagger file
Chris Hofstaedtler [Tue, 5 Dec 2017 17:13:25 +0000 (18:13 +0100)]
Handle bracketed IPv6 addresses without ports
dnsdist's newServer source parameter is documented to take values
of those forms (plus some more):
- v4 address ("192.0.2.1")
- v6 address ("2001:DB8::1")
For consistency, bracketed addresses should work too, and all of them
should have a test.
Ruben d'Arco [Tue, 5 Dec 2017 16:46:04 +0000 (16:46 +0000)]
Some utils that debian-jessie has in docs
Ruben d'Arco [Tue, 5 Dec 2017 16:39:15 +0000 (16:39 +0000)]
For building docs, virtualenv is needed.
Remi Gacogne [Tue, 5 Dec 2017 13:47:39 +0000 (14:47 +0100)]
rec: Work around a RRSIG year-2038 issue in the negcache unit tests
On 32-bit OS with a signed 32-bit `time_t`, we have a known issue with
dates later than 2038 in `RecordTextWriter::xfrTime()`. For now we will
just use an earlier date than 2038 in these tests since the date has no
relevance there.
Remi Gacogne [Tue, 5 Dec 2017 13:39:20 +0000 (14:39 +0100)]
Merge pull request #6012 from rgacogne/dnsdist-tcp-ka
dnsdist: Keep the TCP connection open on cache hit, generated answers
Remi Gacogne [Tue, 5 Dec 2017 13:38:39 +0000 (14:38 +0100)]
Merge pull request #6043 from rgacogne/dnsdist-fix-servers-order
dnsdist: Sort the servers based on their 'order' after it has been set
Pieter Lexis [Tue, 5 Dec 2017 12:55:11 +0000 (13:55 +0100)]
Merge pull request #5862 from ffledgling/5854-swagger-api
Add Draft of swagger spec for Authoritative Server HTTP API
Pieter Lexis [Tue, 5 Dec 2017 11:24:23 +0000 (12:24 +0100)]
Swagger: bump version
Pieter Lexis [Tue, 5 Dec 2017 11:24:02 +0000 (12:24 +0100)]
Swagger: update description
bert hubert [Tue, 5 Dec 2017 11:21:58 +0000 (12:21 +0100)]
Merge pull request #6046 from pieterlexis/rec-40-EOL
Recursor: update EOL statements
Pieter Lexis [Tue, 5 Dec 2017 11:21:34 +0000 (12:21 +0100)]
Rename listCryptokey to getCryptokey
Pieter Lexis [Mon, 4 Dec 2017 18:56:13 +0000 (19:56 +0100)]
Merge pull request #6047 from RvdE/patch-2
Update recursion.rst
Pieter Lexis [Mon, 4 Dec 2017 18:55:59 +0000 (19:55 +0100)]
Merge pull request #6033 from pieterlexis/doc-updates
A collection of documentation updates
Pieter Lexis [Mon, 4 Dec 2017 18:55:45 +0000 (19:55 +0100)]
Merge pull request #5994 from zeha/macosnotes
Update/add macOS compilation notes
Pieter Lexis [Fri, 1 Dec 2017 10:48:53 +0000 (11:48 +0100)]
Recursor: Fix some manpage issues
RvdE [Mon, 4 Dec 2017 15:23:05 +0000 (16:23 +0100)]
Update recursion.rst
Fix newServer statements in the dnsdist config and fix duplicate sesion 4.
Pieter Lexis [Mon, 4 Dec 2017 15:14:06 +0000 (16:14 +0100)]
Recursor: update EOL statements
Pieter Lexis [Fri, 1 Dec 2017 10:45:40 +0000 (11:45 +0100)]
dnsdist: fix some manpage issues
Pieter Lexis [Fri, 1 Dec 2017 10:35:46 +0000 (11:35 +0100)]
docs: Fix the Authoritative Server manpages' intro
Also set the name to PowerDNS Authoritative Server.
Pieter Lexis [Fri, 1 Dec 2017 10:08:21 +0000 (11:08 +0100)]
docs: Document `newRemoteLogger` in dnsdist
aerique [Mon, 4 Dec 2017 13:47:41 +0000 (14:47 +0100)]
Merge pull request #6017 from aerique:feature/update-rec-4.1.0-changelog.
Update changelog and secpoll for 4.1.0.
Peter van Dijk [Mon, 4 Dec 2017 11:34:00 +0000 (12:34 +0100)]
Merge pull request #6041 from rgacogne/mplexer-time
Add the missing <sys/time.h> include to mplexer.hh for struct timeval
Remi Gacogne [Mon, 4 Dec 2017 11:22:19 +0000 (12:22 +0100)]
dnsdist: Sort the servers based on their 'order' after it has been set
We keep the servers ordered inside their pools because it's easier
for the policies that way, so we sort them whenever a new one is
added. However we were doing the sorting _before_ the order of the
new server had been set, resulting in the last added server to be
sorted based on an order of 0, regardless of its actual order.
Reported by Frank Even (thanks!).
Remi Gacogne [Mon, 4 Dec 2017 08:41:49 +0000 (09:41 +0100)]
Add the missing <sys/time.h> include to mplexer.hh for struct timeval
Remi Gacogne [Fri, 1 Dec 2017 18:23:56 +0000 (19:23 +0100)]
dnsdist: Fix DNSResponse:dh Lua binding
Remi Gacogne [Fri, 1 Dec 2017 18:23:01 +0000 (19:23 +0100)]
dnsdist: Add missing LuaAction and LuaResponseAction
Remi Gacogne [Fri, 1 Dec 2017 18:21:20 +0000 (19:21 +0100)]
dnsdist: Add tag-based routing
Pieter Lexis [Fri, 1 Dec 2017 15:50:40 +0000 (16:50 +0100)]
Merge pull request #6023 from rgacogne/dnsdist-ebpf-doc
dnsdist: Add missing documentation about ClientState, eBPF dynamic filters
Pieter Lexis [Fri, 1 Dec 2017 15:50:15 +0000 (16:50 +0100)]
Merge pull request #5956 from job/priv_drop
Priv drop
Peter van Dijk [Fri, 1 Dec 2017 15:16:28 +0000 (16:16 +0100)]
Merge pull request #6034 from Habbie/ragel-path
centralise ragel check+remove .cc symlink
bert hubert [Fri, 1 Dec 2017 12:22:41 +0000 (13:22 +0100)]
Merge pull request #6032 from rgacogne/rec-getrr-cleanup
rec: Use getRR<T>() instead of directly using a dynamic cast
Peter van Dijk [Fri, 1 Dec 2017 12:10:36 +0000 (13:10 +0100)]
remove spurious symlink
Peter van Dijk [Fri, 1 Dec 2017 12:00:10 +0000 (13:00 +0100)]
centralise ragel check
Pieter Lexis [Fri, 1 Dec 2017 11:01:22 +0000 (12:01 +0100)]
Merge pull request #6020 from rgacogne/auth-testrunner-log
Travis: Display the content of the logs when the auth unit tests fail
Pieter Lexis [Fri, 1 Dec 2017 11:01:08 +0000 (12:01 +0100)]
Merge pull request #6025 from pieterlexis/fix-changelog-blog-url
Fix 4.1.0 changelog blog url
Pieter Lexis [Fri, 1 Dec 2017 11:00:54 +0000 (12:00 +0100)]
Merge pull request #6026 from pieterlexis/update-EOL
[WIP] Update auth EOL statement on Auth
Pieter Lexis [Fri, 1 Dec 2017 11:00:40 +0000 (12:00 +0100)]
Merge pull request #6027 from rgacogne/rec-regression-tests-rpz-ttl
rec: Normalize the TTLs for default.example.net. in the RPZ tests
Pieter Lexis [Fri, 1 Dec 2017 11:00:20 +0000 (12:00 +0100)]
Merge pull request #6029 from Habbie/alias-nocompress
forbid label compression in ALIAS wire format
Remi Gacogne [Fri, 1 Dec 2017 10:18:25 +0000 (11:18 +0100)]
rec: Use getRR<T>() instead of directly using a dynamic cast
Peter van Dijk [Thu, 30 Nov 2017 18:20:41 +0000 (19:20 +0100)]
forbid label compression in ALIAS wire format
fixes #6028
Peter van Dijk [Thu, 30 Nov 2017 15:58:37 +0000 (16:58 +0100)]
Merge pull request #6024 from Habbie/builder-version
add preliminary pdns-builder support
bert hubert [Thu, 30 Nov 2017 15:47:15 +0000 (16:47 +0100)]
add explicit 3.x statement, clarify we offer commercial support beyond EOL.
Remi Gacogne [Thu, 30 Nov 2017 14:29:30 +0000 (15:29 +0100)]
rec: Normalize the TTLs for default.example.net. in the RPZ tests
Since we ask for several records that are CNAME to default.example.net.
the TTL might have been decreased by the time we get to the last ones.
That's fine, the TTL we are interested in are for other records, so we
can just ignore the TTL for this exact record.
Pieter Lexis [Thu, 30 Nov 2017 13:08:53 +0000 (14:08 +0100)]
Fix 4.1.0 changelog blog url