]>
git.ipfire.org Git - thirdparty/pdns.git/log
Ruben Kerkhof [Fri, 26 Dec 2014 17:33:32 +0000 (18:33 +0100)]
Stop linking pgsqlbackend with hardcoded libs
This is only for the dynamic case, static case uses
OBJECTLIBS to do the right thing.
Remove the check for libcrypt since that's now not needed anymore.
Peter van Dijk [Mon, 12 Jan 2015 16:16:06 +0000 (17:16 +0100)]
Merge pull request #1990 from rubenk/remove-hardcoded-libs
Remove hardcoded -lresolv, -lnsl and -lsocket
Peter van Dijk [Mon, 12 Jan 2015 12:59:48 +0000 (13:59 +0100)]
Merge pull request #2048 from rubenk/reduce-shell-invocations
Reduce the number of shell invocations
Aki Tuomi [Sun, 5 Oct 2014 15:14:16 +0000 (18:14 +0300)]
Switch gsql* and mydns backends to prepared statements
Closes #1783 which is the PR this code came from.
bert hubert [Mon, 12 Jan 2015 09:32:48 +0000 (10:32 +0100)]
should fix up rapidjson error on OSX
bert hubert [Mon, 12 Jan 2015 09:13:24 +0000 (10:13 +0100)]
fix up our public-suffix-list filtering, add co.za and co.il manually.
bert hubert [Sun, 11 Jan 2015 21:22:35 +0000 (22:22 +0100)]
hook up several more ringbuffers to the recursor web API, support grouping by public suffix, include counts for 'rest', remove dependency on version_generated.cc
bert hubert [Sat, 10 Jan 2015 22:06:38 +0000 (23:06 +0100)]
allocate TCP buffer dynamically, decreasing our stack usage
bert hubert [Fri, 9 Jan 2015 20:08:27 +0000 (21:08 +0100)]
document how to buid debian and rpm packages for the recursor
bert hubert [Fri, 9 Jan 2015 20:07:52 +0000 (21:07 +0100)]
adjust regression test to new http error in case of bad auth (401 is confusing if not doing basic auth)
bert hubert [Fri, 9 Jan 2015 19:55:28 +0000 (20:55 +0100)]
with this commit ./dist-recursor ; ./buid-recursor gets you debs and RPMs. Old 'specify version' syntax still works.
bert hubert [Fri, 9 Jan 2015 19:19:41 +0000 (20:19 +0100)]
note that pandoc and zip are required when building recursor from git
bert hubert [Fri, 9 Jan 2015 14:31:36 +0000 (15:31 +0100)]
make the webserver available via explicit API-key, add query-ring-querying for https://github.com/ahupowerdns/recuweb
bert hubert [Fri, 9 Jan 2015 13:34:22 +0000 (14:34 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Fri, 9 Jan 2015 13:32:21 +0000 (14:32 +0100)]
prevent crash at starup if lua script has an error AND we are powering up the webserver simultaneously
Peter van Dijk [Fri, 9 Jan 2015 11:31:33 +0000 (12:31 +0100)]
Merge pull request #2053 from mind04/pdnssec-rrsig
pdnssec: fix ttl ceck for RRSIG records
Peter van Dijk [Fri, 9 Jan 2015 10:17:42 +0000 (11:17 +0100)]
Merge pull request #2051 from mind04/base64
use polarssl Base64
bert hubert [Fri, 9 Jan 2015 09:33:48 +0000 (10:33 +0100)]
silence some stray debugging in recent 'any' address support (sorry)
JP Mens [Thu, 8 Jan 2015 20:21:44 +0000 (21:21 +0100)]
Add blurb about presign as discussed
for #2057
JP Mens [Thu, 8 Jan 2015 20:03:50 +0000 (21:03 +0100)]
Add missing parenthesis
bert hubert [Thu, 8 Jan 2015 19:45:44 +0000 (20:45 +0100)]
we relied on an unitialized variable for enabling UDP timestamps, plus set IPV6_V6ONLY when binding
bert hubert [Thu, 8 Jan 2015 15:59:33 +0000 (16:59 +0100)]
improve timeout reporting in rec_control
bert hubert [Thu, 8 Jan 2015 15:40:13 +0000 (16:40 +0100)]
recursor timestamps, recursor any address, auth consolidation: teach recursor about how to properly reply from 0.0.0.0, ::
teach recursor to measure 'received' timestamps, teach it to drop queries that have been sitting in a queue for a second already, add too-old-drops metric for this
unify some code with the auth server
bert hubert [Thu, 8 Jan 2015 14:48:11 +0000 (15:48 +0100)]
fix up compilation of testrunner
bert hubert [Thu, 8 Jan 2015 13:50:49 +0000 (14:50 +0100)]
move infrastructure for serving from 0.0.0.0 and :: from Auth server to a shared place with the recursor
bert hubert [Thu, 8 Jan 2015 13:48:46 +0000 (14:48 +0100)]
const correctness in addCMsgSrcAddr
bert hubert [Thu, 8 Jan 2015 12:02:10 +0000 (13:02 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Thu, 8 Jan 2015 12:01:30 +0000 (13:01 +0100)]
don't reprime the root because we discovered a delegation loop. No longer terminate a query when this happens. Do terminate a query if more than 50 throttled queries. Improve --trace output a bit.
Kees Monshouwer [Tue, 6 Jan 2015 21:46:23 +0000 (22:46 +0100)]
pdnssec: fix ttl ceck for RRSIG records
Peter van Dijk [Tue, 6 Jan 2015 19:33:14 +0000 (20:33 +0100)]
Merge pull request #1998 from mind04/
ed25519
hookup experimental
ed25519 signer
bert hubert [Tue, 6 Jan 2015 15:30:53 +0000 (16:30 +0100)]
new queries now get far more multiplexer attention than they used to
bert hubert [Tue, 6 Jan 2015 15:12:09 +0000 (16:12 +0100)]
put our loop detection on a diet, plus make it IPv6 aware (again)
bert hubert [Tue, 6 Jan 2015 15:11:12 +0000 (16:11 +0100)]
slightly tweak the 'doubting root repriming' logic
bert hubert [Tue, 6 Jan 2015 14:28:25 +0000 (15:28 +0100)]
if a query ends up failing so badly we want to reprime the root, do so, but abort the query
bert hubert [Tue, 6 Jan 2015 14:25:32 +0000 (15:25 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Tue, 6 Jan 2015 14:25:08 +0000 (15:25 +0100)]
improve non-quiet logging a bit, remove some dead code
Kees Monshouwer [Sun, 4 Jan 2015 14:30:32 +0000 (15:30 +0100)]
base64 encode/decode speedtest
Kees Monshouwer [Sat, 3 Jan 2015 22:24:24 +0000 (23:24 +0100)]
use polarssl base64
Peter van Dijk [Tue, 6 Jan 2015 13:51:14 +0000 (14:51 +0100)]
Revert "Make executables position-independent"
This reverts commit
c116f5d4a4e0d7a0cc22844cbd2a3cf267fb1a8e .
(Because it breaks with semistatic. Will have another attempt later.)
Peter van Dijk [Tue, 6 Jan 2015 13:11:38 +0000 (14:11 +0100)]
Merge pull request #2036 from rubenk/the-pie-is-a-lie
Make executables postion-independent
bert hubert [Tue, 6 Jan 2015 11:56:38 +0000 (12:56 +0100)]
scavenge some further malloc calls, plus don't attempt to make socket nonblocking before we know it is open!
Plus some comments on non-observed speedups on reducing system calls by passing CLO_EXEC and NONBLOCK to socket directly
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
bert hubert [Tue, 6 Jan 2015 11:49:11 +0000 (12:49 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Tue, 6 Jan 2015 11:48:54 +0000 (12:48 +0100)]
kill some mallocs we were doing for EDNS PING which we don't use right now
Ruben Kerkhof [Mon, 5 Jan 2015 21:23:32 +0000 (22:23 +0100)]
Reduce the number of shell invocations
Helps with the side-effects of #2039
Peter van Dijk [Tue, 6 Jan 2015 08:28:08 +0000 (09:28 +0100)]
Merge pull request #1918 from mind04/pc-key
better key for packetcache
Peter van Dijk [Tue, 6 Jan 2015 07:42:16 +0000 (08:42 +0100)]
Merge pull request #2006 from rubenk/fix-postgres-check-with-missing-pg_config
If pg_config is not found, don't override paths
Peter van Dijk [Mon, 5 Jan 2015 17:05:47 +0000 (18:05 +0100)]
Merge pull request #2042 from pieterlexis/issue-494-VirtualHosting
Expand a little on the virtual hosting docs
Pieter Lexis [Sun, 4 Jan 2015 13:55:16 +0000 (14:55 +0100)]
Expand a little on the virtual hosting docs
Closes #494 in the process
Peter van Dijk [Mon, 5 Jan 2015 16:58:56 +0000 (17:58 +0100)]
Merge pull request #2046 from pieterlexis/fix-manpages-sections
Fix manpage sections _in_ the manpages
Pieter Lexis [Mon, 5 Jan 2015 16:57:11 +0000 (17:57 +0100)]
Fix manpage sections _in_ the manpages
Peter van Dijk [Mon, 5 Jan 2015 15:10:44 +0000 (16:10 +0100)]
Merge pull request #2045 from mind04/zsk
support single-type ZSK signing
bert hubert [Mon, 5 Jan 2015 13:57:27 +0000 (14:57 +0100)]
document iputils class, fix some formatting
bert hubert [Mon, 5 Jan 2015 13:56:19 +0000 (14:56 +0100)]
fix up namespace issue for RHEL
bert hubert [Mon, 5 Jan 2015 13:21:39 +0000 (14:21 +0100)]
rename prequery to preoutquery, remove a duplicate *duplicate* prequery from example script
bert hubert [Mon, 5 Jan 2015 12:43:51 +0000 (13:43 +0100)]
fix up compilation with lua-ipset after dist-recursor, plus fix up compilation w/o lua
bert hubert [Mon, 5 Jan 2015 12:32:38 +0000 (13:32 +0100)]
expand our example script to benefit from the iputils code in prequery
bert hubert [Mon, 5 Jan 2015 12:26:59 +0000 (13:26 +0100)]
Merge branch 'master' into prequery
bert hubert [Mon, 5 Jan 2015 12:24:55 +0000 (13:24 +0100)]
expose 'iputils' module to Lua code, allowing for native IP(v6) address processing, netmasks and netmaskgroups
bert hubert [Mon, 5 Jan 2015 12:13:59 +0000 (13:13 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns
Peter van Dijk [Mon, 5 Jan 2015 11:50:18 +0000 (12:50 +0100)]
Merge pull request #1992 from rubenk/fixup-sqlite3-check
(Finally) move sqlite3 to separate checks
bert hubert [Mon, 5 Jan 2015 11:46:50 +0000 (12:46 +0100)]
if we make an IPv6 address struct, make sure it has that family, and that the scope_id is zeroed of not set explicitly
bert hubert [Mon, 5 Jan 2015 11:45:33 +0000 (12:45 +0100)]
small escaping issue
Kees Monshouwer [Mon, 5 Jan 2015 10:26:08 +0000 (11:26 +0100)]
support single-type ZSK signing
Peter van Dijk [Mon, 5 Jan 2015 10:00:24 +0000 (11:00 +0100)]
Merge pull request #2004 from rubenk/use-ac-path-prog-for-mysql_config
Check the whole $PATH for mysql_config
Peter van Dijk [Sun, 4 Jan 2015 18:32:15 +0000 (19:32 +0100)]
Merge pull request #2039 from rubenk/fix-race-in-generated-header
Fix race condition in generating header
Ruben Kerkhof [Sun, 4 Jan 2015 15:54:40 +0000 (16:54 +0100)]
Fix the same race in recursor Makefile
Kees Monshouwer [Sat, 3 Jan 2015 20:55:13 +0000 (21:55 +0100)]
make sure decoded is not filled by previous base64encode test
Kees Monshouwer [Sat, 3 Jan 2015 20:41:02 +0000 (21:41 +0100)]
remove some dead code from webserver
Ruben Kerkhof [Sat, 3 Jan 2015 16:06:04 +0000 (17:06 +0100)]
Fix race condition in generating header
Use a define to create the file in one go.
Fixes #1853
Kees Monshouwer [Thu, 25 Dec 2014 12:47:51 +0000 (13:47 +0100)]
hookup experimental
ed25519 signer
bert hubert [Sat, 3 Jan 2015 10:57:03 +0000 (11:57 +0100)]
Merge pull request #2038 from ahupowerdns/uniwork
Fix up various gcc 4.2.1 issues on FreeBSD with Boost
bert hubert [Sat, 3 Jan 2015 10:55:26 +0000 (11:55 +0100)]
disable our -fPIE detection for freebsd for recursor for now
bert hubert [Sat, 3 Jan 2015 10:30:01 +0000 (11:30 +0100)]
oops that bit too
bert hubert [Sat, 3 Jan 2015 10:12:12 +0000 (11:12 +0100)]
work around a compiler/boost bug (unsure who is really to blame)
bert hubert [Fri, 2 Jan 2015 21:57:34 +0000 (22:57 +0100)]
Merge pull request #1999 from zeha/f/pipedocs
docs: Remove PING from pipebackend
bert hubert [Fri, 2 Jan 2015 21:40:59 +0000 (22:40 +0100)]
work around a boost issue with circular buffer or map of unions, most evident on freebsd 9 and 10
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
Ruben Kerkhof [Fri, 2 Jan 2015 19:05:39 +0000 (20:05 +0100)]
Use AC_SEARCH_LIBS
Ruben Kerkhof [Fri, 2 Jan 2015 18:54:28 +0000 (19:54 +0100)]
Indent
Ruben Kerkhof [Fri, 2 Jan 2015 18:53:46 +0000 (19:53 +0100)]
Check for inet_aton in libresolv
Ruben Kerkhof [Wed, 24 Dec 2014 19:22:04 +0000 (20:22 +0100)]
Remove hardcoded -lresolv, -lnsl and -lsocket
We already check for the functions we need in libnsl
and libsocket, and I assume we don't need libresolv
Should fix #1967
Christian Hofstaedtler [Thu, 25 Dec 2014 16:35:52 +0000 (17:35 +0100)]
docs: correct typo for pipebackend
Christian Hofstaedtler [Thu, 25 Dec 2014 16:35:16 +0000 (17:35 +0100)]
docs: improve formatting for pipebackend
Christian Hofstaedtler [Thu, 25 Dec 2014 16:25:34 +0000 (17:25 +0100)]
docs: Remove PING from pipebackend
PING is never sent by pipebackend, so don't have it in the docs.
Peter van Dijk [Fri, 2 Jan 2015 18:02:14 +0000 (19:02 +0100)]
Merge pull request #2034 from rubenk/handle-missing-pandoc-and-no-generated-manpages
Handle missing pandoc and no generated manpages
Peter van Dijk [Fri, 2 Jan 2015 18:01:10 +0000 (19:01 +0100)]
Merge pull request #2035 from nivex/patch-1
Fix SOA example in backend.pl
bert hubert [Fri, 2 Jan 2015 15:36:27 +0000 (16:36 +0100)]
bought a book on Lua. Turns out I needed to learn a few things on scope ;-)
bert hubert [Fri, 2 Jan 2015 15:12:36 +0000 (16:12 +0100)]
add note about precompiled lua scripts
bert hubert [Fri, 2 Jan 2015 09:54:24 +0000 (10:54 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Fri, 2 Jan 2015 09:54:08 +0000 (10:54 +0100)]
improve packet too short error message
Kevin Otte [Thu, 1 Jan 2015 19:53:34 +0000 (14:53 -0500)]
Update backend.pl
SOA record format is "hostname email serial ..."
Example has hostname and email flipped.
Ruben Kerkhof [Thu, 1 Jan 2015 18:08:36 +0000 (19:08 +0100)]
Correct HAVE_MANPAGES conditional
We need to check for files in $srcdir during VPATH build
Ruben Kerkhof [Thu, 1 Jan 2015 18:05:01 +0000 (19:05 +0100)]
Generating manpages without pandoc is an error
If for some reason we end up with a dist tarball
without generated manpages, better warn and exit then trying to run
no -s -t man manpages/dnsdist.1.md -o dnsdist.1
Peter van Dijk [Thu, 1 Jan 2015 14:25:13 +0000 (15:25 +0100)]
Merge pull request #2033 from rubenk/make-distcheck
Fix header path during VPATH build
Ruben Kerkhof [Tue, 30 Dec 2014 22:35:20 +0000 (23:35 +0100)]
Fix header path during VPATH build
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../../../modules/remotebackend -I../.. -I../.. -I../../..
-pthread -I/usr/include -I../../pdns/ext/rapidjson/include
-I../../../pdns/ext/yahttp -I../../../pdns/ext/polarssl/include/
-fPIE -DPIE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4
-fstack-protector -Wall -g -O2 -c -o remotebackend.lo
../../../modules/remotebackend/remotebackend.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../modules/remotebackend -I../.. -I../.. -I../../.. -pthread
-I/usr/include -I../../pdns/ext/rapidjson/include
-I../../../pdns/ext/yahttp -I../../../pdns/ext/polarssl/include/ -DPIE
-D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -Wall -g
-O2 -c ../../../modules/remotebackend/remotebackend.cc -fPIC -DPIC -o
.libs/remotebackend.o
In file included from
../../../modules/remotebackend/remotebackend.hh:9:0,
from ../../../modules/remotebackend/remotebackend.cc:1:
../../../pdns/json.hh:27:32: fatal error: rapidjson/document.h: No such
file or directory
#include "rapidjson/document.h"
^
compilation terminated.
Peter van Dijk [Thu, 1 Jan 2015 14:22:57 +0000 (15:22 +0100)]
Merge pull request #2023 from rubenk/travis-multiline
Travis multiline
Ruben Kerkhof [Thu, 1 Jan 2015 12:51:25 +0000 (13:51 +0100)]
Break long lines into multiple lines
Peter van Dijk [Thu, 1 Jan 2015 12:40:25 +0000 (13:40 +0100)]
Merge pull request #2027 from rubenk/fix-building-on-osx-again
Fix building tools on OSX
Peter van Dijk [Thu, 1 Jan 2015 12:40:08 +0000 (13:40 +0100)]
Merge pull request #2028 from rubenk/vpath-build
Specify the correct location of the prerequisite