]>
granicus.if.org Git - pdns/log
Aki Tuomi [Sun, 17 May 2015 14:10:16 +0000 (17:10 +0300)]
Emit error if hashing fails on PKCS#11 token
bert hubert [Tue, 6 Jan 2015 11:49:31 +0000 (12:49 +0100)]
kill some further mallocs and add note to remind us not to add them back
Conflicts:
pdns/dnsparser.cc
Pieter Lexis [Tue, 28 Apr 2015 09:08:52 +0000 (11:08 +0200)]
Merge pull request #2458 from cmouse/remotebackend-move-test-socket-3.4.5
Move remotebackend-unix test socket to testsdir
Aki Tuomi [Tue, 28 Apr 2015 08:40:52 +0000 (11:40 +0300)]
Use tabs instead of spaces
Pieter Lexis [Tue, 28 Apr 2015 08:28:09 +0000 (10:28 +0200)]
Merge pull request #2457 from cmouse/remotebackend-pipe-defer-launch-3.4.5
Defer launch of coprocess until first question
Aki Tuomi [Fri, 24 Apr 2015 14:44:16 +0000 (17:44 +0300)]
Move remotebackend-unix test socket to testsdir
Aki Tuomi [Fri, 24 Apr 2015 14:36:12 +0000 (17:36 +0300)]
Defer launch of coprocess until first question
Do not launch coprocess in ctor as if that fails for some reason,
like delays, it can prevent PowerDNS from starting at all.
Peter van Dijk [Thu, 23 Apr 2015 08:06:53 +0000 (10:06 +0200)]
Merge pull request #2445 from mind04/3.4.4
make makeRelative() case insensitive
Kees Monshouwer [Wed, 22 Apr 2015 18:47:04 +0000 (20:47 +0200)]
add some missing toLower() and add a test for makeRelative()
Kees Monshouwer [Wed, 22 Apr 2015 17:31:31 +0000 (19:31 +0200)]
make makeRelative() case insensitive
Peter van Dijk [Tue, 21 Apr 2015 15:18:02 +0000 (17:18 +0200)]
Merge pull request #2439 from mind04/3.4.4-2
3.4.4 2
Peter van Dijk [Tue, 21 Apr 2015 14:19:00 +0000 (16:19 +0200)]
Merge pull request #2438 from mind04/3.4.4
3.4.4
Kees Monshouwer [Fri, 27 Mar 2015 19:19:36 +0000 (20:19 +0100)]
pdnssec: warn for insecure wildcards in opt-out zones
Kees Monshouwer [Tue, 24 Mar 2015 13:29:22 +0000 (14:29 +0100)]
allow "pdnssec set-nsec3 ZONE" for insecure zones
this saves on one rectify when securing a NSEC3 zone
Christian Hofstaedtler [Tue, 17 Mar 2015 23:03:32 +0000 (00:03 +0100)]
Test fix: actually update serial in rfc2136handler
(cherry picked from commit
effecfa731fb4315419aa312d148117935d38517 )
Christian Hofstaedtler [Thu, 5 Mar 2015 20:35:50 +0000 (21:35 +0100)]
Fix API tests after changing SOA-EDIT-API default
(cherry picked from commit
b0af91053d2cf3209342008de7aaadbb97eaf2da )
Christian Hofstaedtler [Thu, 26 Feb 2015 22:30:31 +0000 (23:30 +0100)]
Change SOA-EDIT-API to work like SOA-EDIT-DNSUPDATE
The SOA-EDIT-DNSUPDATE behaviour makes for a better ruleset for
incremental updates, like they are done via the API.
Also SOA-EDIT-API now defaults to DEFAULT, if it's not given at all
during zone creation (over the API).
(cherry picked from commit
a6448d959c9c83b0b985d460f54102878792459b )
Christian Hofstaedtler [Tue, 24 Feb 2015 22:46:27 +0000 (23:46 +0100)]
API (Auth): fix hosting of root zone
As discovered by @jpmens in #2216, the API could not create the root
zone, and listing zones would also fail when the root zone was present.
This corrects those bugs, plus another that prevented reading the root
zone, and adds a small API test set for the root zone.
Fixes #2216.
(cherry picked from commit
406497f50ca776c26db3df4a56bf560095c4db32 )
Christian Hofstaedtler [Mon, 30 Mar 2015 19:43:13 +0000 (21:43 +0200)]
API: Allow deleting out-of-zone records
Useful for fixing legacy data (but note that it's impossible to re-create
such data using the API.)
Fixes #2393.
(cherry picked from commit
34df6ecc4d214fcd3e91b7ca797ca649289d64f7 )
Peter van Dijk [Tue, 21 Apr 2015 09:58:27 +0000 (11:58 +0200)]
allow referencing of compressed label directly before another compressed label, thanks @giganteous
Peter van Dijk [Tue, 14 Apr 2015 11:48:45 +0000 (13:48 +0200)]
Merge pull request #2418 from cmouse/getsoa-check-rr-type-3.4.4
Throw if getSOA gets non-SOA record
Peter van Dijk [Tue, 14 Apr 2015 10:38:43 +0000 (12:38 +0200)]
Merge pull request #2419 from cmouse/mark-tsig-test-ok-3.4.4
Mark TSIG test OK as it should work now
Peter van Dijk [Tue, 14 Apr 2015 09:00:34 +0000 (11:00 +0200)]
Merge pull request #2425 from mind04/loop2
Loop2
Kees Monshouwer [Mon, 13 Apr 2015 11:53:55 +0000 (13:53 +0200)]
lower number of allowed compression loops in getLabelFromContent()
1000 is a bit high for a max 255 character qname
Kees Monshouwer [Mon, 13 Apr 2015 11:52:42 +0000 (13:52 +0200)]
fix forward reference-check in getLabelFromContent()
Ruben Kerkhof [Fri, 6 Mar 2015 14:20:27 +0000 (15:20 +0100)]
postgresql check should not touch LDFLAGS
Fixes #2323
Aki Tuomi [Sun, 29 Mar 2015 20:31:32 +0000 (23:31 +0300)]
Mark TSIG test OK as it should work now
Aki Tuomi [Sat, 1 Nov 2014 14:09:34 +0000 (16:09 +0200)]
Throw if getSOA gets non-SOA record
Pieter Lexis [Wed, 8 Apr 2015 12:26:44 +0000 (14:26 +0200)]
Merge pull request #2416 from cmouse/refactor-line-parsing-3.4.4
Refactor line parsing 3.4.4
Aki Tuomi [Tue, 7 Apr 2015 18:29:32 +0000 (21:29 +0300)]
Move entire file parsing to parseFile
Aki Tuomi [Tue, 7 Apr 2015 18:13:01 +0000 (21:13 +0300)]
Move line parsing to its own method
Aki Tuomi [Sun, 5 Apr 2015 14:42:16 +0000 (17:42 +0300)]
Strip # only when preceded with whitespace or start of line
Pieter Lexis [Thu, 2 Apr 2015 10:32:38 +0000 (12:32 +0200)]
Merge pull request #2370 from cmouse/pkcs11-patches-3.4.4
PKCS#11 patches 3.4.4
Aki Tuomi [Tue, 31 Mar 2015 20:09:22 +0000 (23:09 +0300)]
Use hashed input for ECDSA
Aki Tuomi [Tue, 31 Mar 2015 20:08:58 +0000 (23:08 +0300)]
Validate algorithm on assign
Pieter Lexis [Tue, 31 Mar 2015 14:34:07 +0000 (16:34 +0200)]
Merge pull request #2392 from cmouse/axfr-error-3.4.4
Log error when remote cannot do AXFR
Aki Tuomi [Mon, 30 Mar 2015 19:31:24 +0000 (22:31 +0300)]
Use p11_kit_strerror in logError
Aki Tuomi [Sun, 29 Mar 2015 21:37:27 +0000 (00:37 +0300)]
Log error when remote cannot do AXFR
Aki Tuomi [Sun, 29 Mar 2015 18:10:43 +0000 (21:10 +0300)]
Show if key is missing
This is deduced from having getBits() return value smaller than 1
Aki Tuomi [Sun, 29 Mar 2015 18:04:45 +0000 (21:04 +0300)]
Make sure they key isn't being reused
Aki Tuomi [Sun, 29 Mar 2015 18:00:01 +0000 (21:00 +0300)]
Display correct key ID after assign
Aki Tuomi [Sun, 29 Mar 2015 17:47:01 +0000 (20:47 +0300)]
Update usage to match reality
Aki Tuomi [Sun, 29 Mar 2015 17:43:13 +0000 (20:43 +0300)]
Validate key when loading from ISC map
Aki Tuomi [Sun, 29 Mar 2015 17:37:05 +0000 (20:37 +0300)]
Throw is pubKeyHash fails
Aki Tuomi [Sun, 29 Mar 2015 17:36:01 +0000 (20:36 +0300)]
Do not use CKA_SIGN or CKA_VERIFy
These are not supported by OpenSC for some cards
Aki Tuomi [Sun, 29 Mar 2015 15:57:23 +0000 (18:57 +0300)]
Ask for all slots before asking for slot
OpenSC with certain card(s) requires this call to make slots
visible.
Aki Tuomi [Sun, 29 Mar 2015 15:55:13 +0000 (18:55 +0300)]
Show error code if C_GetSlotInfo fails
Aki Tuomi [Tue, 17 Mar 2015 16:18:27 +0000 (18:18 +0200)]
Separate Slot and Label
This change properly permits using several labels
per one slot.
Aki Tuomi [Tue, 17 Mar 2015 10:22:49 +0000 (12:22 +0200)]
Fix compiler nits
Aki Tuomi [Sun, 8 Mar 2015 18:35:41 +0000 (20:35 +0200)]
Cleanup code and support multiple signing threads
Aki Tuomi [Sun, 8 Mar 2015 18:25:02 +0000 (20:25 +0200)]
Rename d_engine to d_module
Peter van Dijk [Sat, 28 Mar 2015 12:00:05 +0000 (13:00 +0100)]
Merge pull request #2367 from zeha/denied-axfr-dont-spawn-backend-3.4.x
[3.4.x] Optimize AXFR disabled case
Peter van Dijk [Thu, 26 Mar 2015 17:08:39 +0000 (18:08 +0100)]
Merge pull request #2368 from cmouse/tkey-support-3.4.4
Tkey support 3.4.4
Aki Tuomi [Mon, 23 Mar 2015 07:00:11 +0000 (09:00 +0200)]
Aki Tuomi [Tue, 17 Mar 2015 17:57:32 +0000 (19:57 +0200)]
Remove unneeded semicolons
Aki Tuomi [Wed, 18 Feb 2015 19:39:19 +0000 (21:39 +0200)]
Regression test for TKEY support
Aki Tuomi [Wed, 18 Feb 2015 19:30:06 +0000 (21:30 +0200)]
Unit test for TKEY record
Aki Tuomi [Wed, 18 Feb 2015 19:29:07 +0000 (21:29 +0200)]
Add and hook tkeyHandler
Aki Tuomi [Wed, 18 Feb 2015 19:27:56 +0000 (21:27 +0200)]
Implement TKEY record type
Aki Tuomi [Wed, 18 Feb 2015 19:22:57 +0000 (21:22 +0200)]
Add getTKEYRecord
Aki Tuomi [Wed, 18 Feb 2015 19:20:00 +0000 (21:20 +0200)]
Use qclass instead of hardcoded IN
Peter van Dijk [Thu, 26 Mar 2015 13:19:56 +0000 (14:19 +0100)]
Merge pull request #2371 from cmouse/tsig-changes-3.4.4
Tsig changes 3.4.4
Aki Tuomi [Sat, 31 Jan 2015 14:02:03 +0000 (16:02 +0200)]
Enable TSIG RR tests
Aki Tuomi [Sat, 31 Jan 2015 14:01:21 +0000 (16:01 +0200)]
Use no spaces version of xfrBlob for TSIG
Aki Tuomi [Tue, 27 Jan 2015 09:43:53 +0000 (11:43 +0200)]
Introduce xfrBlobNoSpaces
Christian Hofstaedtler [Thu, 19 Mar 2015 22:05:36 +0000 (23:05 +0100)]
Optimize AXFR disabled case
When disable-axfr=yes or client ACLs don't allow the AXFR to go through,
skip all backend launching activities (possibly expensive for pipe- and
remotebackend users).
Same for IXFR.
[Backport of
2289314 from master.]
Peter van Dijk [Mon, 16 Mar 2015 11:01:05 +0000 (12:01 +0100)]
Merge pull request #2349 from mind04/hashquery2
NSEC3 records and related RRSIGS are not part of the dnstree
Peter van Dijk [Fri, 13 Mar 2015 15:04:10 +0000 (16:04 +0100)]
forgot narrow
Kees Monshouwer [Fri, 13 Mar 2015 09:23:46 +0000 (10:23 +0100)]
skip our new nsec3-hash-query for oracle-nsec
Kees Monshouwer [Thu, 12 Mar 2015 16:38:51 +0000 (17:38 +0100)]
NSEC3 and related RRSIGS are not part of the dnstree
Peter van Dijk [Fri, 6 Mar 2015 08:13:56 +0000 (09:13 +0100)]
Merge pull request #2321 from James-TR/auth-3.4.4-reciever_cc
Change ifdef to check for __GLIBC__ instead of __linux__ to prevent errors when building under other libc
James Taylor [Wed, 17 Dec 2014 08:59:19 +0000 (08:59 +0000)]
Missed some traceback handler ifdefs
(cherry picked from commit
2005fe2ed6c20bf221433cbaa68364154620e1dd )
James Taylor [Wed, 17 Dec 2014 08:14:34 +0000 (08:14 +0000)]
Change ifdef to check for __GLIBC__ instead of __linux__ to prevent errors with other libc's
(cherry picked from commit
1a61508c53512e9d28332d6e450314a515360737 )
Peter van Dijk [Thu, 5 Mar 2015 18:02:21 +0000 (19:02 +0100)]
Merge pull request #2305 from rubenk/rel/auth-3.4.4
Rel/auth 3.4.4
Peter van Dijk [Thu, 5 Mar 2015 18:02:12 +0000 (19:02 +0100)]
Merge pull request #2320 from cmouse/busy-waiting-fix-v2-3.4.4
second take of busy waiting fix, now with blocking io
Peter van Dijk [Thu, 5 Mar 2015 18:01:39 +0000 (19:01 +0100)]
Merge pull request #2318 from cmouse/add-newline-carbon-error-3.4.4
Add newline carbon error 3.4.4
Peter van Dijk [Thu, 5 Mar 2015 18:01:26 +0000 (19:01 +0100)]
Merge pull request #2317 from cmouse/set-ulimit-before-setuid-3.4.4
Try to raise open files before dropping privileges
Peter van Dijk [Thu, 5 Mar 2015 18:01:14 +0000 (19:01 +0100)]
Merge pull request #2316 from cmouse/fix-lmdb-race-condition-3.4.4
Properly lock lmdb database, fixes #1954
Wieger Opmeer [Mon, 2 Mar 2015 12:21:44 +0000 (13:21 +0100)]
second take of busy waiting fix, now with blocking io
Aki Tuomi [Sat, 7 Feb 2015 20:03:13 +0000 (22:03 +0200)]
Add newline to carbon error message on auth
Aki Tuomi [Tue, 3 Feb 2015 19:08:31 +0000 (21:08 +0200)]
Try to raise open files before dropping privileges
Aki Tuomi [Tue, 24 Feb 2015 09:53:42 +0000 (11:53 +0200)]
Properly lock lmdb database, fixes #1954
The LMDB database needs to be reloaded without allowing requests, so
we use readwrite lock to ensure that this cannot happen.
Peter van Dijk [Thu, 5 Mar 2015 15:20:50 +0000 (16:20 +0100)]
Merge pull request #2303 from cmouse/send-servfail-on-error-3.4.4
Send servfail on error for auth-3.4.4
Peter van Dijk [Thu, 5 Mar 2015 12:44:34 +0000 (13:44 +0100)]
Merge pull request #2314 from mind04/ddot2
fix double dot for root MX/SRV in bind slave zone files
Kees Monshouwer [Wed, 4 Mar 2015 21:12:05 +0000 (22:12 +0100)]
fix double dot for root MX/SRV in bind slave zone files
Aki Tuomi [Fri, 13 Feb 2015 10:07:57 +0000 (12:07 +0200)]
Do not delete b too early
Aki Tuomi [Fri, 26 Sep 2014 11:24:58 +0000 (14:24 +0300)]
Make sure we send servfail on error
Ruben Kerkhof [Mon, 2 Mar 2015 13:27:37 +0000 (14:27 +0100)]
Ship lmdb-example.pl in tarball
(cherry picked from commit
f348d249ed1555115504130352784e6eb0586bba )
Conflicts:
modules/lmdbbackend/Makefile.am
Ruben Kerkhof [Mon, 2 Mar 2015 13:12:32 +0000 (14:12 +0100)]
Fix segfault in zone2lmdb
$ ./pdns/zone2lmdb --zone=./regression-tests.recursor/configs/10.0.3.10/example.net.zone
ASAN:SIGSEGV
=================================================================
==25526==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000000c
(pc 0x7fe8b57a4d50 bp 0x7ffedb062f90 sp 0x7ffedb061d58 T0)
#0 0x7fe8b57a4d4f (/lib64/liblmdb.so.0.0.0+0x4d4f)
#1 0x7fe8b6c4c1aa in emitData(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, ZoneParserTNG&)
/home/ruben/src/pdns/pdns/zone2lmdb.cc:99
#2 0x7fe8b6c4f301 in main /home/ruben/src/pdns/pdns/zone2lmdb.cc:295
#3 0x7fe8b493b83f in __libc_start_main (/lib64/libc.so.6+0x2083f)
#4 0x7fe8b6b6ef88 in _start
(/home/ruben/src/pdns/pdns/zone2lmdb+0x27f88)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
==25526==ABORTING
(cherry picked from commit
372579c534432cbaaacbfa305676dbee55a38851 )
Peter van Dijk [Tue, 3 Mar 2015 10:41:11 +0000 (11:41 +0100)]
Merge pull request #2301 from James-TR/auth-3.4.4-dynstack
allocate TCP buffer dynamically, decreasing our stack usage
bert hubert [Sat, 10 Jan 2015 22:06:38 +0000 (23:06 +0100)]
allocate TCP buffer dynamically, decreasing our stack usage
(cherry picked from commit
c2b4ccc0d125a30a1970f555f572bf74de27a3d5 )
Peter van Dijk [Sun, 1 Mar 2015 21:34:03 +0000 (22:34 +0100)]
Merge pull request #2289 from rubenk/rel/auth-3.4.3
Rel/auth 3.4.3
Ruben Kerkhof [Sun, 14 Dec 2014 14:19:55 +0000 (15:19 +0100)]
Limit who can send us AXFR notify queries
Fixes #1937 and #1120
(cherry picked from commit
d207ad630ba2c98c922c8ca31b35d973b2e6b756 )
Ruben Kerkhof [Sun, 14 Dec 2014 09:38:59 +0000 (10:38 +0100)]
Improve slave-cycle-interval description a little
(cherry picked from commit
8bc65f13e164f84eeda01e23ae8cab5ffce0a75b )
Ruben Kerkhof [Fri, 20 Feb 2015 20:59:20 +0000 (21:59 +0100)]
pdns_control: exit 1 on unknown command
Fixes #1295
(cherry picked from commit
72ab36f44459d137c8218d81fa6b07efe96144ef )
Peter van Dijk [Sun, 1 Mar 2015 14:12:44 +0000 (15:12 +0100)]
Merge pull request #2285 from mind04/auth-3.4.3
api and dnssec fixes and improvements
Ruben Kerkhof [Tue, 24 Feb 2015 20:09:29 +0000 (21:09 +0100)]
Check for Lua 5.3
(cherry picked from commit
750efa04ddaffb87d5648166de44ed69b3fdeba3 )
Christian Hofstaedtler [Sun, 8 Feb 2015 19:11:21 +0000 (20:11 +0100)]
insert-zone-query: Undo addition of account field
We don't actually need this, and we didn't bind any value to
account.
Christian Hofstaedtler [Sun, 8 Feb 2015 19:09:26 +0000 (20:09 +0100)]
Add account changes to goraclebackend
Kees Monshouwer [Wed, 11 Feb 2015 21:54:08 +0000 (22:54 +0100)]
evaluate KSK ZSK pairs per algorithm
(cherry picked from commit
7dc95f99c6aaafb9d1856a9ef85896022de04f93 )