]>
granicus.if.org Git - pdns/log
Stefan Bühler [Thu, 28 Dec 2017 22:20:48 +0000 (23:20 +0100)]
accept seconds since epoch in RRSIG timestamps too (fixes #6120)
Stefan Bühler [Thu, 28 Dec 2017 22:28:32 +0000 (23:28 +0100)]
fix xfrIP to reject invalid ips (fixes #6101)
- require exactly 3 dots
- forbid empty octets
Stefan Bühler [Thu, 28 Dec 2017 22:10:01 +0000 (23:10 +0100)]
test-dnsrecords: add tests related to #6101
Stefan Bühler [Thu, 28 Dec 2017 22:09:38 +0000 (23:09 +0100)]
test-dnsrecords: fix reversed logic for broken bad-values check
Stefan Bühler [Thu, 28 Dec 2017 22:07:14 +0000 (23:07 +0100)]
test-dnsrecords: warn that wire tests are not actually supported
Stefan Bühler [Thu, 28 Dec 2017 22:05:27 +0000 (23:05 +0100)]
test-dnsrecords: use enum class for case_type_enum_t, fix compile error testing wrong tuple entry
Stefan Bühler [Thu, 28 Dec 2017 21:42:56 +0000 (22:42 +0100)]
test-dnsrecords: test wire instead of zone for truncated AAAA wire value
Stefan Bühler [Thu, 28 Dec 2017 21:41:02 +0000 (22:41 +0100)]
test-dnsrecords: remove duplicate tests
Stefan Bühler [Thu, 28 Dec 2017 21:38:42 +0000 (22:38 +0100)]
test-dnsrecords: handle TSIG like everything else
Stefan Bühler [Thu, 28 Dec 2017 21:37:49 +0000 (22:37 +0100)]
test-dnsrecords: simplify CASE_L to CASE_S when inval == zoneval
Stefan Bühler [Thu, 28 Dec 2017 21:27:40 +0000 (22:27 +0100)]
unit tests: fix uninitialized pointer
Remi Gacogne [Thu, 28 Dec 2017 20:04:05 +0000 (21:04 +0100)]
Merge pull request #6122 from zeha/ldapbackend-get
ldapbackend: fix listing zones incl. AXFR
Chris Hofstaedtler [Thu, 28 Dec 2017 17:52:02 +0000 (18:52 +0100)]
ldapbackend: fix listing zones incl. AXFR
list() did not initialise m_qtype, but get() looks at it.
Pieter Lexis [Fri, 22 Dec 2017 11:30:32 +0000 (12:30 +0100)]
Merge pull request #6108 from Habbie/remove-fake-ENTs
auth: Remove fake NTs from testing zones
Remi Gacogne [Thu, 21 Dec 2017 09:41:03 +0000 (10:41 +0100)]
Merge pull request #6107 from rgacogne/lua-auth-getrrs-uninitialized-index
auth: Fix uninitialized index in Lua's DNSPacket::getRRS() binding
Peter van Dijk [Mon, 18 Dec 2017 15:49:45 +0000 (16:49 +0100)]
remove fake ENTs
Peter van Dijk [Mon, 18 Dec 2017 20:07:46 +0000 (21:07 +0100)]
adjust tinydns data for #6029
Remi Gacogne [Tue, 19 Dec 2017 09:01:16 +0000 (10:01 +0100)]
auth: Fix uninitialized index in Lua's DNSPacket::getRRS() binding
Remi Gacogne [Tue, 19 Dec 2017 08:56:26 +0000 (09:56 +0100)]
Merge pull request #6106 from pieterlexis/issue-6105-dnsdist-opcode-docs
dnsdist docs: Fix opcode links and sphinx warnings
Pieter Lexis [Tue, 19 Dec 2017 06:22:11 +0000 (07:22 +0100)]
dnsdist docs: Fix several warnings
Pieter Lexis [Tue, 19 Dec 2017 06:15:57 +0000 (07:15 +0100)]
docs: Fix links for constants
Closes #6105
bert hubert [Mon, 18 Dec 2017 18:17:16 +0000 (19:17 +0100)]
Merge pull request #6103 from Habbie/bounds-6089
auth: fix out of bounds exception in CAA processing, fixes #6089
Peter van Dijk [Mon, 18 Dec 2017 13:21:13 +0000 (14:21 +0100)]
auth: fix out of bounds exception in CAA processing, fixes #6089
Pieter Lexis [Mon, 18 Dec 2017 12:29:28 +0000 (13:29 +0100)]
Merge pull request #6096 from alexjfisher/docs_database_slaves
Docs: Add note about only needing ro db access
bert hubert [Mon, 18 Dec 2017 11:41:14 +0000 (12:41 +0100)]
Merge pull request #5390 from cmouse/lua
Remove old Lua code
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
Alexander Fisher [Fri, 15 Dec 2017 13:07:42 +0000 (13:07 +0000)]
Docs: Add note about only needing ro db access
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