]> granicus.if.org Git - pdns/log
pdns
10 years agoUse qclass instead of hardcoded IN
Aki Tuomi [Wed, 18 Feb 2015 19:20:00 +0000 (21:20 +0200)]
Use qclass instead of hardcoded IN

10 years agoMerge pull request #2371 from cmouse/tsig-changes-3.4.4
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

10 years agoEnable TSIG RR tests
Aki Tuomi [Sat, 31 Jan 2015 14:02:03 +0000 (16:02 +0200)]
Enable TSIG RR tests

10 years agoUse no spaces version of xfrBlob for TSIG
Aki Tuomi [Sat, 31 Jan 2015 14:01:21 +0000 (16:01 +0200)]
Use no spaces version of xfrBlob for TSIG

10 years agoIntroduce xfrBlobNoSpaces
Aki Tuomi [Tue, 27 Jan 2015 09:43:53 +0000 (11:43 +0200)]
Introduce xfrBlobNoSpaces

10 years agoMerge pull request #2349 from mind04/hashquery2
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

10 years agoforgot narrow
Peter van Dijk [Fri, 13 Mar 2015 15:04:10 +0000 (16:04 +0100)]
forgot narrow

10 years agoskip our new nsec3-hash-query for oracle-nsec
Kees Monshouwer [Fri, 13 Mar 2015 09:23:46 +0000 (10:23 +0100)]
skip our new nsec3-hash-query for oracle-nsec

10 years agoNSEC3 and related RRSIGS are not part of the dnstree
Kees Monshouwer [Thu, 12 Mar 2015 16:38:51 +0000 (17:38 +0100)]
NSEC3 and related RRSIGS are not part of the dnstree

10 years agoMerge pull request #2321 from James-TR/auth-3.4.4-reciever_cc
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

10 years agoMissed some traceback handler ifdefs
James Taylor [Wed, 17 Dec 2014 08:59:19 +0000 (08:59 +0000)]
Missed some traceback handler ifdefs

(cherry picked from commit 2005fe2ed6c20bf221433cbaa68364154620e1dd)

10 years agoChange ifdef to check for __GLIBC__ instead of __linux__ to prevent errors with other...
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)

10 years agoMerge pull request #2305 from rubenk/rel/auth-3.4.4
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

10 years agoMerge pull request #2320 from cmouse/busy-waiting-fix-v2-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

10 years agoMerge pull request #2318 from cmouse/add-newline-carbon-error-3.4.4
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

10 years agoMerge pull request #2317 from cmouse/set-ulimit-before-setuid-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

10 years agoMerge pull request #2316 from cmouse/fix-lmdb-race-condition-3.4.4
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

10 years agosecond take of busy waiting fix, now with blocking io
Wieger Opmeer [Mon, 2 Mar 2015 12:21:44 +0000 (13:21 +0100)]
second take of busy waiting fix, now with blocking io

10 years agoAdd newline to carbon error message on auth
Aki Tuomi [Sat, 7 Feb 2015 20:03:13 +0000 (22:03 +0200)]
Add newline to carbon error message on auth

10 years agoTry to raise open files before dropping privileges
Aki Tuomi [Tue, 3 Feb 2015 19:08:31 +0000 (21:08 +0200)]
Try to raise open files before dropping privileges

10 years agoProperly lock lmdb database, fixes #1954
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.

10 years agoMerge pull request #2303 from cmouse/send-servfail-on-error-3.4.4
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

10 years agoMerge pull request #2314 from mind04/ddot2
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

10 years agofix 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

10 years agoDo not delete b too early
Aki Tuomi [Fri, 13 Feb 2015 10:07:57 +0000 (12:07 +0200)]
Do not delete b too early

10 years agoMake sure we send servfail on error
Aki Tuomi [Fri, 26 Sep 2014 11:24:58 +0000 (14:24 +0300)]
Make sure we send servfail on error

10 years agoShip lmdb-example.pl in tarball
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

10 years agoFix segfault in zone2lmdb
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)

10 years agoMerge pull request #2301 from James-TR/auth-3.4.4-dynstack
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

10 years agoallocate 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)

10 years agoMerge pull request #2289 from rubenk/rel/auth-3.4.3 auth-3.4.3
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

10 years agoLimit who can send us AXFR notify queries
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)

10 years agoImprove slave-cycle-interval description a little
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)

10 years agopdns_control: exit 1 on unknown command
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)

10 years agoMerge pull request #2285 from mind04/auth-3.4.3
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

10 years agoCheck for Lua 5.3
Ruben Kerkhof [Tue, 24 Feb 2015 20:09:29 +0000 (21:09 +0100)]
Check for Lua 5.3

(cherry picked from commit 750efa04ddaffb87d5648166de44ed69b3fdeba3)

10 years agoinsert-zone-query: Undo addition of account field
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.

10 years agoAdd account changes to goraclebackend
Christian Hofstaedtler [Sun, 8 Feb 2015 19:09:26 +0000 (20:09 +0100)]
Add account changes to goraclebackend

10 years agoevaluate KSK ZSK pairs per algorithm
Kees Monshouwer [Wed, 11 Feb 2015 21:54:08 +0000 (22:54 +0100)]
evaluate KSK ZSK pairs per algorithm
(cherry picked from commit 7dc95f99c6aaafb9d1856a9ef85896022de04f93)

10 years agoalways set di.notified_serial in getAllDomains
Kees Monshouwer [Tue, 3 Feb 2015 22:21:18 +0000 (23:21 +0100)]
always set di.notified_serial in getAllDomains

10 years agoAPI: move shared DomainInfo reader into it's own function
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)

10 years agoAPI: allow writing to domains.account field
Christian Hofstaedtler [Sat, 7 Feb 2015 14:20:42 +0000 (15:20 +0100)]
API: allow writing to domains.account field

10 years agoAPI: read and expose domain account field
Christian Hofstaedtler [Sat, 7 Feb 2015 14:01:26 +0000 (15:01 +0100)]
API: read and expose domain account field

10 years agoAPI: be more strict when parsing record contents
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)

10 years agoAPI: Reject unknown types (TYPE0)
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)

10 years agoMerge pull request #2273 from rubenk/rel/auth-3.4.3
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

10 years agoCheck compiler for relro support instead of linker
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)

10 years agoLog when we don't know how to link relro
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)

10 years agopdns_control: don't open socket in /tmp
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)

10 years agoMerge pull request #2271 from zeha/auth-3.4.x-shared-ueberbackend
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)

10 years agorespond REFUSED instead of NOERROR for "unknown zone" situations
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

10 years agoReplace PacketHandler with UeberBackend where possible
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.

10 years agoPacketHandler: Share UeberBackend with DNSSECKeeper
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.

10 years agoMerge pull request #2261 from rubenk/rel/auth-3.4.3
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

10 years agofix 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)

10 years agomove auth-git build script from jenkins config into git
Peter van Dijk [Tue, 17 Feb 2015 15:24:55 +0000 (16:24 +0100)]
move auth-git build script from jenkins config into git

10 years agoMerge pull request #2163 from mind04/auth-3.4.2-3 auth-3.4.2
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

10 years agoMerge pull request #2162 from cmouse/cors-3.4.2
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

10 years agoAuth API: fix missing abortTransaction() in error case
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)

10 years agoRemove OPTIONS from webWrapper
Aki Tuomi [Sun, 1 Feb 2015 13:59:49 +0000 (15:59 +0200)]
Remove OPTIONS from webWrapper

10 years agoImplement CORS in WebServer, fixes #1984
Aki Tuomi [Fri, 30 Jan 2015 08:41:41 +0000 (10:41 +0200)]
Implement CORS in WebServer, fixes #1984

10 years agoMerge pull request #2145 from mind04/auth-3.4.2-2
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

10 years agoqtype is now case insensitive
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).

10 years agoAdd an option to disable hardening
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

10 years agoUse correct methods, fixes #1874
Aki Tuomi [Mon, 26 Jan 2015 15:55:32 +0000 (17:55 +0200)]
Use correct methods, fixes #1874

10 years agoMerge pull request #2143 from mind04/api-prio
Peter van Dijk [Thu, 29 Jan 2015 15:11:23 +0000 (16:11 +0100)]
Merge pull request #2143 from mind04/api-prio

remove priority in the json api

10 years agojson-api: remove priority from json
Kees Monshouwer [Tue, 27 Jan 2015 08:56:53 +0000 (09:56 +0100)]
json-api: remove priority from json

10 years agoremove priority from api tests
Kees Monshouwer [Sun, 17 Aug 2014 18:20:03 +0000 (20:20 +0200)]
remove priority from api tests
(cherry picked from commit 05cf6a71fc0434a307149163db6e99c1fc9e37e9)

10 years agoMerge pull request #2140 from rubenk/netbsd-fixes-for-3.4.2
Peter van Dijk [Tue, 27 Jan 2015 09:33:14 +0000 (10:33 +0100)]
Merge pull request #2140 from rubenk/netbsd-fixes-for-3.4.2

Netbsd fixes for 3.4.2

10 years agouse uint32_t consistently, this makes the 'u_int32_t not defined on SunOS.' patch...
Peter van Dijk [Mon, 12 Jan 2015 15:53:19 +0000 (16:53 +0100)]
use uint32_t consistently, this makes the 'u_int32_t not defined on SunOS.' patch from pkgsrc obsolete

(cherry picked from commit e7e17863115ce2b6f97dae5ebfe51178600ca370)

10 years agouse = instead of == in shell tests, this makes the configure 'Portability.' patch...
Peter van Dijk [Mon, 12 Jan 2015 15:47:57 +0000 (16:47 +0100)]
use = instead of == in shell tests, this makes the configure 'Portability.' patch from pkgsrc obsolete

(cherry picked from commit 14cd37570e6772dc2bd866f503302c5eb46c7f11)

Conflicts:
m4/pdns_with_mysql.m4
m4/pdns_with_postgresql.m4

10 years agoMerge pull request #2139 from zeha/replace-jsonstat-3.4.x
Peter van Dijk [Mon, 26 Jan 2015 20:39:34 +0000 (21:39 +0100)]
Merge pull request #2139 from zeha/replace-jsonstat-3.4.x

JSON API: provide flush-cache, notify, axfr-receive

10 years agoimport 'Add DragonFly support.' from pkgsrc
Peter van Dijk [Mon, 12 Jan 2015 15:38:20 +0000 (16:38 +0100)]
import 'Add DragonFly support.' from pkgsrc

(cherry picked from commit 0c86d4c318018c34dc76419f4fcf8052d3e48008)

Conflicts:
pdns/dns.hh

10 years agoJSON API: provide flush-cache, notify, axfr-receive
Christian Hofstaedtler [Sun, 25 Jan 2015 21:16:08 +0000 (22:16 +0100)]
JSON API: provide flush-cache, notify, axfr-receive

pdnscontrol used to send pdns/rec-control commands for those through
the jsonstat command tunnel, but jsonstat (on Auth at least) doesn't
do X-API-Key, so that functionality was broken.

Also removes jsonstat from Auth completely.

Cherry-pick conflicts:
pdns/ws-recursor.cc (kept jsonstat as is)

10 years agoMerge pull request #2111 from mind04/label-3.4.2
Peter van Dijk [Mon, 26 Jan 2015 14:21:30 +0000 (15:21 +0100)]
Merge pull request #2111 from mind04/label-3.4.2

check label and name length in xfrLabel()

10 years agoMerge pull request #2114 from rubenk/make-executables-position-independent-for-3.4.2
Peter van Dijk [Fri, 23 Jan 2015 14:43:59 +0000 (15:43 +0100)]
Merge pull request #2114 from rubenk/make-executables-position-independent-for-3.4.2

Don't create PIE executables for semistatic builds

10 years agoDon't create PIE executables for semistatic builds
Ruben Kerkhof [Tue, 6 Jan 2015 14:50:11 +0000 (15:50 +0100)]
Don't create PIE executables for semistatic builds

Otherwise this happens:

/bin/bash ../libtool  --tag=CXX   --mode=link /var/lib/jenkins/jobs/auth-git-semistatic-rpm-amd64/workspace/pdns-git-20150106-5355-20d9693/build-scripts/semistaticg++ -DSYSCONFDIR=\"/etc/powerdns\" -DPKGLIBDIR=\"/usr/lib/pdns\" -DLOCALSTATEDIR=\"/var/run\" -fPIE -DPIE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -Wall -g -O2 -pthread -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -L/opt/postgresql/lib -Wl,-rpath,/opt/postgresql/lib -lpq -all-static  -o pdns_control arguments.o dynloader.o dynmessenger.o logger.o misc.o qtype.o statbag.o unix_utility.o  -lcrypt
libtool: link: /var/lib/jenkins/jobs/auth-git-semistatic-rpm-amd64/workspace/pdns-git-20150106-5355-20d9693/build-scripts/semistaticg++ -DSYSCONFDIR=\"/etc/powerdns\" -DPKGLIBDIR=\"/usr/lib/pdns\" -DLOCALSTATEDIR=\"/var/run\" -fPIE -DPIE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -Wall -g -O2 -pthread -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-rpath -Wl,/opt/postgresql/lib -static -o pdns_control arguments.o dynloader.o dynmessenger.o logger.o misc.o qtype.o statbag.o unix_utility.o  -L/opt/postgresql/lib -lpq -lcrypt -pthread
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.a(compatibility.o): relocation R_X86_64_32 against `_ZTIN10__cxxabiv115__forced_unwindE' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status

(cherry picked from commit 62e6530a76a2accd997a287172e087ed46d03cf8)

Conflicts:
configure.ac

10 years agoMerge pull request #2106 from rubenk/make-executables-position-independent-for-3.4.2
Peter van Dijk [Fri, 23 Jan 2015 13:53:58 +0000 (14:53 +0100)]
Merge pull request #2106 from rubenk/make-executables-position-independent-for-3.4.2

Make executables position independent for 3.4.2

10 years agoMerge pull request #2108 from cmouse/yahttp-for-3.4.2
Peter van Dijk [Thu, 22 Jan 2015 15:37:31 +0000 (16:37 +0100)]
Merge pull request #2108 from cmouse/yahttp-for-3.4.2

Upgrade to 0.1.5

10 years agotests for label and name length check in xfrLabel()
Kees Monshouwer [Wed, 21 Jan 2015 10:26:45 +0000 (11:26 +0100)]
tests for label and name length check in xfrLabel()

10 years agocheck label and name length in xfrLabel()
Kees Monshouwer [Wed, 21 Jan 2015 10:26:33 +0000 (11:26 +0100)]
check label and name length in xfrLabel()

10 years agoMerge pull request #2107 from rubenk/remotebackend-fixes-for-3.4.2
Peter van Dijk [Thu, 22 Jan 2015 14:01:52 +0000 (15:01 +0100)]
Merge pull request #2107 from rubenk/remotebackend-fixes-for-3.4.2

Remotebackend fixes for 3.4.2

10 years agoUpdate to v0.1.5
Aki Tuomi [Wed, 21 Jan 2015 11:18:39 +0000 (13:18 +0200)]
Update to v0.1.5

10 years agoAllow changing the Sockaddr in ComboAddress
Aki Tuomi [Wed, 5 Nov 2014 10:05:29 +0000 (12:05 +0200)]
Allow changing the Sockaddr in ComboAddress

(cherry picked from commit a7360cd9e1daeb99e0d0632b807e90fc34bedb65)

10 years agoProperly handle read errors (EOF and errors)
Aki Tuomi [Thu, 15 Jan 2015 06:40:24 +0000 (08:40 +0200)]
Properly handle read errors (EOF and errors)

(cherry picked from commit 974427fd0afc3bf858f7b0a38f626bc3fd17ae61)

10 years agoUse NetworkError, remove redundant code
Aki Tuomi [Wed, 14 Jan 2015 09:57:45 +0000 (11:57 +0200)]
Use NetworkError, remove redundant code

(cherry picked from commit 7731f6fff580fb5b2ac4863bb3ffb20112f5dbe8)

10 years agoCheck timeout since it seems that readWithTimeout not always works
Aki Tuomi [Tue, 13 Jan 2015 10:30:11 +0000 (12:30 +0200)]
Check timeout since it seems that readWithTimeout not always works

(cherry picked from commit 24f62b51e277f996c5cbdcbff820580b7a424a68)

10 years agoReuse existing connection when possible
Aki Tuomi [Wed, 5 Nov 2014 10:05:45 +0000 (12:05 +0200)]
Reuse existing connection when possible

(cherry picked from commit 660dd268f667ea6ef7452a33fd0631cc687255a6)

10 years agoReconnect on read error, also fix whitespace
Aki Tuomi [Sat, 1 Nov 2014 08:56:34 +0000 (10:56 +0200)]
Reconnect on read error, also fix whitespace

(cherry picked from commit 74d13635b99021efbccf8056ff1e56a9f03b7fe1)

10 years agoUse zeromq library C API, based on work by @wtfuzz and @hexwave. Fixes #1760.
Aki Tuomi [Tue, 22 Jul 2014 19:59:10 +0000 (22:59 +0300)]
Use zeromq library C API, based on work by @wtfuzz and @hexwave. Fixes #1760.

(cherry picked from commit 49e4360a664e68a62eda2101e9e6af9b18d6005f)

Conflicts:
.travis.yml

10 years agoUse correct syntax for escapes
Aki Tuomi [Tue, 14 Oct 2014 17:27:45 +0000 (20:27 +0300)]
Use correct syntax for escapes

(cherry picked from commit a7424ff6089109e4f0089c212e733c4e30c25098)

10 years agoAdd json to the Gem bundle
Ruben Kerkhof [Sun, 5 Oct 2014 15:34:12 +0000 (17:34 +0200)]
Add json to the Gem bundle

This fixes the unit tests on Fedora Rawhide

unittest_pipe.rb:5:in `require': cannot load such file -- json
(LoadError)

(cherry picked from commit fd78ac1a5120ba12507d75658d3f6f761aecf9a3)

10 years agooops
Peter van Dijk [Tue, 20 Jan 2015 19:10:17 +0000 (20:10 +0100)]
oops

10 years agomove manpages to section 1
Peter van Dijk [Tue, 20 Jan 2015 15:51:51 +0000 (16:51 +0100)]
move manpages to section 1

10 years agoAppend to PKG_CONFIG only after calling PKG_PROG_PKG_CONFIG
Ruben Kerkhof [Tue, 13 Jan 2015 12:31:01 +0000 (13:31 +0100)]
Append to PKG_CONFIG only after calling PKG_PROG_PKG_CONFIG

Otherwise PKG_CONFIG is not set yet.

(cherry picked from commit 27fe16bdc147c7010d40d4aed53143edd3fc9de2)

10 years agoOverride PKG_CONFIG sooner
Ruben Kerkhof [Tue, 13 Jan 2015 12:09:49 +0000 (13:09 +0100)]
Override PKG_CONFIG sooner

We need to override PKG_CONFIG before any calls to PKG_PROG_PKG_CONFIG

(cherry picked from commit a49b335616721afc4b3ff250c2dad8bb8a0bac10)

Conflicts:
configure.ac

10 years agoMake executables position-independent
Ruben Kerkhof [Fri, 2 Jan 2015 18:28:14 +0000 (19:28 +0100)]
Make executables position-independent

Pass -pie to the linker

before:
ruben@yourmomma: pdns (master %=)$ checksec --file pdns/pdns_server
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO     Canary found     NX enabled   No PIE         No RPATH   No RUNPATH   pdns/pdns_server
ruben@yourmomma: pdns (master %=)$ checksec --file pdns/pdns_control
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO     Canary found     NX enabled   No PIE         No RPATH   No RUNPATH   pdns/pdns_control

after:
ruben@yourmomma: pdns (master *%=)$ checksec --file pdns/pdns_control
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO     Canary found     NX enabled   PIE enabled    No RPATH   No RUNPATH   pdns/pdns_control
ruben@yourmomma: pdns (master *%=)$ checksec --file pdns/pdns_server
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO     Canary found     NX enabled   PIE enabled    No RPATH   No RUNPATH   pdns/pdns_server

(cherry picked from commit c116f5d4a4e0d7a0cc22844cbd2a3cf267fb1a8e)

Conflicts:
configure.ac

10 years agoadjust specfile manpath
Peter van Dijk [Mon, 19 Jan 2015 13:06:38 +0000 (14:06 +0100)]
adjust specfile manpath

10 years agoMerge pull request #2054 from mind04/auth-3.4.2-1
Peter van Dijk [Mon, 19 Jan 2015 12:12:36 +0000 (13:12 +0100)]
Merge pull request #2054 from mind04/auth-3.4.2-1

Auth 3.4.2 1

10 years agoReport correct chosen lua
Aki Tuomi [Tue, 13 Jan 2015 10:15:01 +0000 (12:15 +0200)]
Report correct chosen lua