]>
granicus.if.org Git - pdns/log
Peter van Dijk [Thu, 15 Mar 2018 14:06:07 +0000 (15:06 +0100)]
write bestwho in non-ECS case as well
Peter van Dijk [Thu, 15 Mar 2018 12:49:39 +0000 (13:49 +0100)]
strip ; prefix before giving code to lua
bert hubert [Thu, 22 Feb 2018 23:56:32 +0000 (00:56 +0100)]
make Lua getID() return a number in the right byte order
bert hubert [Wed, 31 Jan 2018 15:16:57 +0000 (16:16 +0100)]
lua records would respond with 32 bits only matching answers. Now only does as many bits as you supplied.
bert hubert [Sun, 14 Jan 2018 16:00:51 +0000 (17:00 +0100)]
clarify error message
bert hubert [Thu, 11 Jan 2018 20:40:43 +0000 (21:40 +0100)]
hopefully fix travis
bert hubert [Thu, 11 Jan 2018 20:29:55 +0000 (21:29 +0100)]
abstract out 'selector' so ifurlup also has this feature
bert hubert [Thu, 11 Jan 2018 19:34:45 +0000 (20:34 +0100)]
adjustments to new lua environment
bert hubert [Thu, 11 Jan 2018 19:14:48 +0000 (20:14 +0100)]
Merge branch 'master' into luarec
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)
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).
Christian Hofstaedtler [Thu, 6 Oct 2016 21:14:52 +0000 (23:14 +0200)]
Have a test for SOA-EDIT-INCREASE via the API
Christian Hofstaedtler [Thu, 6 Oct 2016 21:03:17 +0000 (23:03 +0200)]
serialtweaker: remove fallback, make DEFAULT an explicit choice
Improves pdnsutil increase-serial, and helps the API being more strict.
Christian Hofstaedtler [Thu, 6 Oct 2016 22:10:16 +0000 (00:10 +0200)]
Remove serializeSOAData, refactor calculate/edit/increaseSOA
Chris Hofstaedtler [Fri, 5 Jan 2018 17:00:57 +0000 (18:00 +0100)]
Add ERCodeRule
Tom Ivar Helbekkmo [Fri, 5 Jan 2018 13:24:08 +0000 (14:24 +0100)]
Changes to compile and run on NetBSD
Pieter Lexis [Thu, 4 Jan 2018 17:02:39 +0000 (18:02 +0100)]
pdnsutil.1: document 'bench-db'
Peter van Dijk [Thu, 4 Jan 2018 14:23:43 +0000 (15:23 +0100)]
Merge pull request #6063 from cyclops1982/3760
Add colour to diff output of pdnsutil
Peter van Dijk [Thu, 4 Jan 2018 14:21:29 +0000 (15:21 +0100)]
Merge pull request #6130 from pieterlexis/2018
Update copyright years to 2018
Pieter Lexis [Thu, 4 Jan 2018 12:29:44 +0000 (13:29 +0100)]
Merge pull request #6127 from cmouse/fix-deps
pdns: Fix dependency tracking for backends
Pieter Lexis [Thu, 4 Jan 2018 12:28:41 +0000 (13:28 +0100)]
Merge pull request #6124 from stbuehler/improve-tests-and-two-bugfixes
Improve tests and two bugfixes
Peter van Dijk [Thu, 4 Jan 2018 10:37:49 +0000 (11:37 +0100)]
Merge pull request #6139 from zeha/dnssec-keysizes
Forbid creating algo 5/8/10 keys with out-of-spec sizes
Chris Hofstaedtler [Wed, 3 Jan 2018 23:35:57 +0000 (00:35 +0100)]
Use algo constants where possible
Chris Hofstaedtler [Wed, 3 Jan 2018 18:04:17 +0000 (19:04 +0100)]
Forbid creating algo 5/8/10 keys with out-of-spec sizes
Peter van Dijk [Wed, 3 Jan 2018 15:23:29 +0000 (16:23 +0100)]
Merge pull request #6136 from zeha/apitests
regression-tests.api: clean up runtests.py wrapper
Remi Gacogne [Wed, 3 Jan 2018 11:34:02 +0000 (12:34 +0100)]
rec: Don't validate signature for "glue" CNAME
Anything else than the initial CNAME can't be considered authoritative.
Chris Hofstaedtler [Wed, 3 Jan 2018 12:04:17 +0000 (13:04 +0100)]
regression-tests.api: clean up runtests.py wrapper
Pieter Lexis [Wed, 3 Jan 2018 10:14:25 +0000 (11:14 +0100)]
Merge pull request #6131 from Habbie/curl-dep
rec: note curl dep when building from git
Peter van Dijk [Tue, 2 Jan 2018 14:47:40 +0000 (15:47 +0100)]
Merge pull request #6132 from rgacogne/auth-no-lua
auth: Add methods missing from AuthLua4 when Lua support is disabled
Remi Gacogne [Tue, 2 Jan 2018 12:16:02 +0000 (13:16 +0100)]
Merge pull request #6129 from rgacogne/auth-init-crypto-before-chroot
auth: Init openssl and libsodium before chrooting in pdnsutil
Peter van Dijk [Tue, 2 Jan 2018 11:26:35 +0000 (12:26 +0100)]
rec: note curl dep when building from git
Peter van Dijk [Tue, 2 Jan 2018 10:59:50 +0000 (11:59 +0100)]
Merge pull request #6095 from rgacogne/rec-outgoing-buffer-off
rec: Pass the correct buffer size to arecvfrom()
Remi Gacogne [Tue, 2 Jan 2018 10:37:27 +0000 (11:37 +0100)]
auth: Add methods missing from AuthLua4 when Lua support is disabled
Pieter Lexis [Tue, 2 Jan 2018 08:57:59 +0000 (09:57 +0100)]
Update copyright years to 2018
Also update several years to match the data in pdns/version.cc
Remi Gacogne [Mon, 1 Jan 2018 22:43:51 +0000 (23:43 +0100)]
auth: Init openssl and libsodium before chrooting in pdnsutil
Aki Tuomi [Sat, 30 Dec 2017 18:42:21 +0000 (20:42 +0200)]
pdns: Fix dependency tracking for backends
Injects moduleobjects to dependency tracking. This fixes
issue where pdns_server did not recompile after backend
object(s) were changed.
Peter van Dijk [Sat, 30 Dec 2017 16:25:43 +0000 (17:25 +0100)]
Merge pull request #6126 from gryphius/os-doc-fixes
Os doc fixes
Oli Schacher [Sat, 30 Dec 2017 12:24:23 +0000 (13:24 +0100)]
compile options reference the Recursor instead of the Authoritative server
Oli Schacher [Sat, 30 Dec 2017 12:20:55 +0000 (13:20 +0100)]
fix partial Partial
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.
bert hubert [Wed, 27 Dec 2017 12:16:30 +0000 (13:16 +0100)]
add magicLatLon
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