]>
granicus.if.org Git - pdns/log
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
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 )
Kees Monshouwer [Tue, 3 Feb 2015 22:21:18 +0000 (23:21 +0100)]
always set di.notified_serial in getAllDomains
Christian Hofstaedtler [Sun, 8 Feb 2015 12:36:24 +0000 (13:36 +0100)]
API: move shared DomainInfo reader into it's own function
And test that listing zones also returns account now.
(cherry picked from commit
c04b58702c28006df2b8931d660674ab8b390771 )
Christian Hofstaedtler [Sat, 7 Feb 2015 14:20:42 +0000 (15:20 +0100)]
API: allow writing to domains.account field
Christian Hofstaedtler [Sat, 7 Feb 2015 14:01:26 +0000 (15:01 +0100)]
API: read and expose domain account field
Christian Hofstaedtler [Sat, 7 Feb 2015 12:58:08 +0000 (13:58 +0100)]
API: be more strict when parsing record contents
Fixes #2113.
(cherry picked from commit
1e5b9ab91512cfc71d1714185cc80bf8ba69fca9 )
Christian Hofstaedtler [Sat, 7 Feb 2015 12:38:33 +0000 (13:38 +0100)]
API: Reject unknown types (TYPE0)
Fixes #2130.
(cherry picked from commit
24cd86ca0449fbb3ca861b846575093cb03ee661 )
Peter van Dijk [Mon, 23 Feb 2015 18:31:44 +0000 (19:31 +0100)]
Merge pull request #2273 from rubenk/rel/auth-3.4.3
Rel/auth 3.4.3
Ruben Kerkhof [Fri, 20 Feb 2015 16:51:38 +0000 (16:51 +0000)]
Check compiler for relro support instead of linker
We use the compiler for linking in most cases
instead of calling ld directly.
Do this the same way as we do for the recursor.
Fixes #2172
(cherry picked from commit
cc8ac2e97d16c01a6e4c10914d848d228f7494b5 )
Ruben Kerkhof [Fri, 20 Feb 2015 16:47:23 +0000 (16:47 +0000)]
Log when we don't know how to link relro
(cherry picked from commit
d9151447d3e9bc868dc97eac53393fb53d131904 )
Ruben Kerkhof [Fri, 13 Feb 2015 16:25:39 +0000 (17:25 +0100)]
pdns_control: don't open socket in /tmp
pdns_control opened a socket in /tmp to receive
responses on from pdns. However, since the control
socket pdns_control connects to is a SOCK_STREAM socket
there's no need to do this anymore.
Fixes #2221
(cherry picked from commit
79d65b3bd4402dce93d45405cc813afab6026f73 )
Peter van Dijk [Mon, 23 Feb 2015 14:51:10 +0000 (15:51 +0100)]
Merge pull request #2271 from zeha/auth-3.4.x-shared-ueberbackend
PacketHandler: Share UeberBackend with DNSSECKeeper (for 3.4.3)
Peter van Dijk [Fri, 20 Feb 2015 09:18:47 +0000 (10:18 +0100)]
respond REFUSED instead of NOERROR for "unknown zone" situations
Conflicts:
pdns/packethandler.cc
Christian Hofstaedtler [Sun, 15 Feb 2015 14:01:28 +0000 (15:01 +0100)]
Replace PacketHandler with UeberBackend where possible
Makes reasoning about PacketHandler usage easier.
Christian Hofstaedtler [Sun, 15 Feb 2015 13:08:32 +0000 (14:08 +0100)]
PacketHandler: Share UeberBackend with DNSSECKeeper
Reduces number of backend instances by 50%, very relevant for setups
that have backends with huge startup/runtime cost.
Peter van Dijk [Fri, 20 Feb 2015 13:29:54 +0000 (14:29 +0100)]
Merge pull request #2261 from rubenk/rel/auth-3.4.3
fix building with GCC 5
Ruben Kerkhof [Fri, 6 Feb 2015 13:05:25 +0000 (14:05 +0100)]
fix building with GCC 5
Fix the following failure:
checking for Boost headers version >= 1.35.0... yes
checking for Boost's header version...
configure: error: invalid value: boost_major_version=
by updating boost.m4 to upstream commit
af50806d657
from https://github.com/tsuna/boost.m4
Fixes #2198
(cherry picked from commit
2187934a7fda4460d13e4e62cd63288aeecae164 )
Peter van Dijk [Tue, 17 Feb 2015 15:24:55 +0000 (16:24 +0100)]
move auth-git build script from jenkins config into git
Peter van Dijk [Mon, 2 Feb 2015 12:08:03 +0000 (13:08 +0100)]
Merge pull request #2163 from mind04/auth-3.4.2-3
Auth API: fix missing abortTransaction() in error case
Peter van Dijk [Mon, 2 Feb 2015 12:07:14 +0000 (13:07 +0100)]
Merge pull request #2162 from cmouse/cors-3.4.2
Implement CORS for API in 3.4.2
Christian Hofstaedtler [Sun, 18 Jan 2015 17:42:16 +0000 (18:42 +0100)]
Auth API: fix missing abortTransaction() in error case
Noticed by Aki Tuomi.
(cherry picked from commit
d0f4bb3825281f6acb84477d6879cc494ffa1aaa )
Aki Tuomi [Sun, 1 Feb 2015 13:59:49 +0000 (15:59 +0200)]
Remove OPTIONS from webWrapper
Aki Tuomi [Fri, 30 Jan 2015 08:41:41 +0000 (10:41 +0200)]
Implement CORS in WebServer, fixes #1984
Peter van Dijk [Mon, 2 Feb 2015 07:30:13 +0000 (08:30 +0100)]
Merge pull request #2145 from mind04/auth-3.4.2-2
Auth 3.4.2 2
Kees Monshouwer [Sun, 25 Jan 2015 21:48:07 +0000 (22:48 +0100)]
qtype is now case insensitive
Plus update JSON API tests to test for this (from @zeha).
Ruben Kerkhof [Sun, 25 Jan 2015 12:43:19 +0000 (13:43 +0100)]
Add an option to disable hardening
This makes debugging hardening problems easier
--disable-hardening disables PIE, -fstack-protector,
-D_FORTIFY_SOURCE and -z relro