]>
granicus.if.org Git - pdns/log
Peter van Dijk [Thu, 29 Jan 2015 11:03:24 +0000 (12:03 +0100)]
Merge pull request #2148 from pieterlexis/documentRecursorSettings
Document all the recursor settings
Peter van Dijk [Thu, 29 Jan 2015 11:02:34 +0000 (12:02 +0100)]
Merge pull request #2150 from rubenk/build-kqueue-multiplexer-on-freebsd
Build kqueue mplexer into recursor on FreeBSD
Peter van Dijk [Wed, 28 Jan 2015 18:48:13 +0000 (19:48 +0100)]
Merge pull request #2149 from rubenk/pie-detector-test
Pie detector test
bert hubert [Wed, 28 Jan 2015 16:03:42 +0000 (17:03 +0100)]
Merge pull request #2146 from rubenk/autoconf-recursor
Only build epollmultiplexer on Linux
Ruben Kerkhof [Wed, 28 Jan 2015 09:22:41 +0000 (10:22 +0100)]
Build kqueue mplexer into recursor on FreeBSD
Ruben Kerkhof [Tue, 27 Jan 2015 22:04:39 +0000 (23:04 +0100)]
Link only programs with -pie
Add a new variable, $PROGRAM_LDFLAGS
only meant for programs, not libraries.
Add PIE_LDFLAGS to this variable.
Since all programs need $THREADFLAGS,
add it to this variable too. This allows us
to remove a lot of program_LDFLAGS which contained only
$THREADFLAGS
An extra advantage is that we don't touch the user's LDFLAGS
anymore.
Ruben Kerkhof [Tue, 27 Jan 2015 21:48:12 +0000 (21:48 +0000)]
Simplify check
If we can link with -pie or -Wl,pie, -fPIE works too
Ruben Kerkhof [Tue, 27 Jan 2015 21:43:36 +0000 (21:43 +0000)]
Make variables global
Ruben Kerkhof [Tue, 27 Jan 2015 21:20:01 +0000 (21:20 +0000)]
Link some slightly more advanced code
Ruben Kerkhof [Tue, 27 Jan 2015 20:48:08 +0000 (20:48 +0000)]
Only export CXXFLAGS when the LDFLAGS work
Pieter Lexis [Tue, 27 Jan 2015 20:15:25 +0000 (21:15 +0100)]
Document all the recursor settings
* Better layout
* Fix a typo in the authoritative settings docs
Ruben Kerkhof [Tue, 27 Jan 2015 20:01:57 +0000 (20:01 +0000)]
Use -fPIE CXXFLAGS when linking
Ruben Kerkhof [Tue, 27 Jan 2015 19:41:17 +0000 (20:41 +0100)]
Fix quoting
Ruben Kerkhof [Tue, 27 Jan 2015 19:33:30 +0000 (20:33 +0100)]
Make sure Clang reports warnings as errors in test
Ruben Kerkhof [Tue, 27 Jan 2015 18:59:21 +0000 (19:59 +0100)]
Check both for -pie and -Wl,pie
Some versions of clang need the latter
Fixes #2125
Ruben Kerkhof [Tue, 27 Jan 2015 18:27:49 +0000 (19:27 +0100)]
Import warnings.m4 from gnulib
bb41ff0b7782
This uses AC_LINK_ELSE instead of AC_COMPILE_ELSE
which should detect failures a bit better
Ruben Kerkhof [Tue, 27 Jan 2015 13:21:56 +0000 (14:21 +0100)]
Only build epollmultiplexer on Linux
fixes make -C pdns pdns_recursor on OSX
bert hubert [Tue, 27 Jan 2015 13:03:24 +0000 (14:03 +0100)]
add lock.hh
bert hubert [Tue, 27 Jan 2015 13:01:10 +0000 (14:01 +0100)]
fix up jumbled to console logging
bert hubert [Tue, 27 Jan 2015 12:26:21 +0000 (13:26 +0100)]
add tests for our port override feature in ComboAddress
Peter van Dijk [Tue, 27 Jan 2015 12:24:47 +0000 (13:24 +0100)]
handle SRCDIR absence more gracefully
Peter van Dijk [Tue, 27 Jan 2015 09:35:19 +0000 (10:35 +0100)]
Merge pull request #2141 from zeha/out-of-tree-build
Fix (some) out of tree build failures
Peter van Dijk [Tue, 27 Jan 2015 09:32:26 +0000 (10:32 +0100)]
Merge pull request #2128 from zeha/json-uppercase-types
JSON API: uppercase types
Christian Hofstaedtler [Mon, 26 Jan 2015 22:54:35 +0000 (23:54 +0100)]
Fix testrunner for out-of-tree builds
Christian Hofstaedtler [Mon, 26 Jan 2015 22:08:10 +0000 (23:08 +0100)]
Fix (some) out of tree build failures
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).
Peter van Dijk [Mon, 26 Jan 2015 19:29:23 +0000 (20:29 +0100)]
Merge pull request #2137 from cmouse/fix-issue-1874
Use correct methods, fixes #1874
Peter van Dijk [Mon, 26 Jan 2015 18:55:08 +0000 (19:55 +0100)]
Merge pull request #2081 from Habbie/pkgsrc-upstream
Pkgsrc upstream
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
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
Peter van Dijk [Mon, 12 Jan 2015 15:38:20 +0000 (16:38 +0100)]
import 'Add DragonFly support.' from pkgsrc
Aki Tuomi [Mon, 26 Jan 2015 15:55:32 +0000 (17:55 +0200)]
Use correct methods, fixes #1874
Peter van Dijk [Mon, 26 Jan 2015 14:36:10 +0000 (15:36 +0100)]
Merge pull request #2129 from cmouse/test-dnsrecords-run-serialize-badvalue
Run serialize on test-dnsrecords for invalid record values
Peter van Dijk [Mon, 26 Jan 2015 14:35:49 +0000 (15:35 +0100)]
Merge pull request #2127 from zeha/replace-jsonstat
JSON API: provide flush-cache, notify, axfr-receive
Peter van Dijk [Mon, 26 Jan 2015 14:34:42 +0000 (15:34 +0100)]
Merge pull request #2124 from zeha/docs-2064
Improve API docs a bit
Peter van Dijk [Mon, 26 Jan 2015 14:34:09 +0000 (15:34 +0100)]
Merge pull request #2120 from pommi/fix-backend-capabilities-table
docs/markdown: fix column order in backend capabilities table
Peter van Dijk [Mon, 26 Jan 2015 13:56:41 +0000 (14:56 +0100)]
Merge pull request #2122 from rubenk/replace-cryptopp-lib-with-var
Replace hardcoded -lcryptopp with variable
Peter van Dijk [Mon, 26 Jan 2015 13:56:33 +0000 (14:56 +0100)]
Merge pull request #2121 from rubenk/add-disable-hardening-option
Add an option to disable hardening
Peter van Dijk [Mon, 26 Jan 2015 13:55:45 +0000 (14:55 +0100)]
Merge pull request #2117 from rubenk/coverage-support
Add --enable-coverage for coverage instrumentation
Peter van Dijk [Mon, 26 Jan 2015 13:55:36 +0000 (14:55 +0100)]
Merge pull request #2105 from rubenk/cleanup-some-whitespace-in-Makefile-am
Cleanup some whitespace
Peter van Dijk [Mon, 26 Jan 2015 12:22:20 +0000 (13:22 +0100)]
Merge pull request #2123 from rubenk/stop-checking-for-size_t
Stop checking for size_t
Ruben Kerkhof [Tue, 20 Jan 2015 09:45:09 +0000 (10:45 +0100)]
Cleanup some whitespace
Peter van Dijk [Mon, 26 Jan 2015 12:13:35 +0000 (13:13 +0100)]
Merge pull request #2007 from rubenk/dont-link-pgsql-backend-with-ssl-crypt-and-crypto
Stop linking with pgsql with hardcoded -lssl
Peter van Dijk [Mon, 26 Jan 2015 12:12:34 +0000 (13:12 +0100)]
Merge pull request #2044 from rubenk/travis-use-botan
Enable botan in Travis
Peter van Dijk [Mon, 26 Jan 2015 08:35:57 +0000 (09:35 +0100)]
Merge pull request #2118 from rubenk/recursor-fixes
Link the binary with -fstack-protector
Aki Tuomi [Sun, 25 Jan 2015 22:03:27 +0000 (00:03 +0200)]
Move overly large label tests to correct place
Aki Tuomi [Sun, 25 Jan 2015 22:02:00 +0000 (00:02 +0200)]
Try serialize invalid values to test certain assertions during serialization
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 and leaves only non-migrated
commands in jsonstat in Recursor.
Christian Hofstaedtler [Sun, 25 Jan 2015 18:27:39 +0000 (19:27 +0100)]
Improve API docs a bit
Based on feedback from issue #2064; no idea so far how to better
describe how comments work.
Ruben Kerkhof [Sat, 24 Jan 2015 22:10:25 +0000 (23:10 +0100)]
Add --enable-coverage for coverage instrumentation
bert hubert [Sun, 25 Jan 2015 15:59:25 +0000 (16:59 +0100)]
our houseKeeping mthread could (and would) frequently be run several times simultaneously. It is great that this worked. But let's not ;-)
Ruben Kerkhof [Sun, 25 Jan 2015 14:02:46 +0000 (15:02 +0100)]
Stop checking for size_t
We use it all over the place unconditionally.
Ruben Kerkhof [Sun, 25 Jan 2015 13:03:47 +0000 (14:03 +0100)]
Replace hardcoded -lcryptopp with variable
Pim van den Berg [Sun, 25 Jan 2015 12:47:58 +0000 (13:47 +0100)]
docs/markdown: fix column order in backend capabilities table
Column order of BIND and Geo were wrong.
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
Ruben Kerkhof [Sun, 25 Jan 2015 00:19:42 +0000 (01:19 +0100)]
Link the binary with -fstack-protector
This fixes the build on FreeBSD 9.2 i386
For the gory details, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168010
bert hubert [Sat, 24 Jan 2015 21:15:40 +0000 (22:15 +0100)]
Merge pull request #2116 from rubenk/recursor-fixes
Recursor fixes
bert hubert [Sat, 24 Jan 2015 20:07:58 +0000 (21:07 +0100)]
As noted by Fusl, the new DoS measures kill our daemon in case the root refresh query times out.
Ruben Kerkhof [Sat, 24 Jan 2015 17:47:23 +0000 (18:47 +0100)]
Fix PIE detection for older gcc's
At least on FreeBSD, gcc42 can't create
position-independent executables when threads are involved.
Expand our configure check to use some pthread code so it fails
instead of succeeds.
Fixes #2037 and probably #2055
Ruben Kerkhof [Sat, 24 Jan 2015 17:12:41 +0000 (18:12 +0100)]
Do not compile with -fPIC if we compile with -fPIE
Ruben Kerkhof [Sat, 24 Jan 2015 17:11:57 +0000 (18:11 +0100)]
Only compile PIE objects if we can link them
Ruben Kerkhof [Sat, 24 Jan 2015 17:08:50 +0000 (18:08 +0100)]
Move comment down
Ruben Kerkhof [Sat, 24 Jan 2015 16:58:18 +0000 (17:58 +0100)]
Remove a.out and a2.out at the end of the function
Ruben Kerkhof [Sat, 24 Jan 2015 16:53:11 +0000 (17:53 +0100)]
No need to export variables
We're not using these variables in any child processes
bert hubert [Sat, 24 Jan 2015 12:58:11 +0000 (13:58 +0100)]
7 seconds works better as max time waiting for a domain..
bert hubert [Sat, 24 Jan 2015 12:57:37 +0000 (13:57 +0100)]
speedtest needs -lrt on some platforms
bert hubert [Sat, 24 Jan 2015 12:45:28 +0000 (13:45 +0100)]
add some more microbenchmarks, move speedtest to CPUTime instead of wallclock
Peter van Dijk [Fri, 23 Jan 2015 11:19:10 +0000 (12:19 +0100)]
Merge pull request #2112 from rubenk/reduce-nr-of-shell-invocations-in-recursor
Reduce number of shell invocations in recursor
Peter van Dijk [Fri, 23 Jan 2015 11:16:50 +0000 (12:16 +0100)]
Merge pull request #2110 from mind04/label
check label and name length in xfrLabel()
Peter van Dijk [Fri, 23 Jan 2015 09:33:04 +0000 (10:33 +0100)]
Merge pull request #2102 from pieterlexis/issue-2058-Fix-Anchors
Fix anchors in docs and add a check possibility
Peter van Dijk [Thu, 22 Jan 2015 17:17:18 +0000 (18:17 +0100)]
Merge pull request #2089 from pieterlexis/issue-2085-Document-pdns_control-commands
Document missing options in pdns_control.1
Pieter Lexis [Tue, 20 Jan 2015 17:11:12 +0000 (18:11 +0100)]
Have travis check the links in the docs
Pieter Lexis [Tue, 20 Jan 2015 07:10:35 +0000 (08:10 +0100)]
Add optional linkchecker for documentation
* This allows all internal links (including anchors) in the
documentation to be verified.
Pieter Lexis [Mon, 19 Jan 2015 17:28:43 +0000 (18:28 +0100)]
Fix all internal links (also for anchors)
* Closes #2058
bert hubert [Thu, 22 Jan 2015 16:00:49 +0000 (17:00 +0100)]
improve error message for 'too much time spent'
bert hubert [Thu, 22 Jan 2015 15:56:21 +0000 (16:56 +0100)]
update the clock because we now make decisions on absolutely correct times
Ruben Kerkhof [Thu, 22 Jan 2015 15:07:31 +0000 (16:07 +0100)]
Reduce number of shell invocations in recursor
6e4dfa7e39 fixed this for auth, but we forgot to do this for the
recursor.
Peter van Dijk [Thu, 22 Jan 2015 14:05:00 +0000 (15:05 +0100)]
Merge pull request #2109 from mind04/yahttp
remove debug output in yahttp reqresp.hpp
bert hubert [Thu, 22 Jan 2015 12:56:25 +0000 (13:56 +0100)]
weird..
bert hubert [Thu, 22 Jan 2015 12:02:35 +0000 (13:02 +0100)]
we attempted to store string versions of addresses in comboaddress based ringbuffer for corrupt queries
bert hubert [Thu, 22 Jan 2015 11:57:52 +0000 (12:57 +0100)]
whitespace + better error message for ringbuffer error
bert hubert [Thu, 22 Jan 2015 11:54:39 +0000 (12:54 +0100)]
and update soa serial for secpoll.zone
bert hubert [Thu, 22 Jan 2015 11:50:42 +0000 (12:50 +0100)]
Changelog for 3.7.0-RC1, plus add mechanics for autoreplacing git hashes with github links in changelog.md.raw.
bert hubert [Thu, 22 Jan 2015 10:26:09 +0000 (11:26 +0100)]
I know, a kitten dies every time I do this. Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Thu, 22 Jan 2015 10:25:44 +0000 (11:25 +0100)]
make sure pdnssec emits error messages about inability to load a backend, and not die silently
bert hubert [Thu, 22 Jan 2015 10:16:35 +0000 (11:16 +0100)]
our logger is now so lockfree the output became hella ugly on console output, tweaked it a bit
bert hubert [Thu, 22 Jan 2015 09:53:20 +0000 (10:53 +0100)]
add 3.7.0-rc1 to zone
Kees Monshouwer [Wed, 21 Jan 2015 10:26:45 +0000 (11:26 +0100)]
tests for label and name length check in xfrLabel()
Kees Monshouwer [Wed, 21 Jan 2015 10:26:33 +0000 (11:26 +0100)]
check label and name length in xfrLabel()
bert hubert [Wed, 21 Jan 2015 15:09:46 +0000 (16:09 +0100)]
more docs
Kees Monshouwer [Wed, 21 Jan 2015 11:34:29 +0000 (12:34 +0100)]
remove debug output in yahttp reqresp.hpp
bert hubert [Wed, 21 Jan 2015 11:21:38 +0000 (12:21 +0100)]
implement max-tot-msec wallclock time limit per query (needs docs)
bert hubert [Wed, 21 Jan 2015 11:21:03 +0000 (12:21 +0100)]
fix up documentation error for ipfilter
bert hubert [Tue, 20 Jan 2015 21:03:31 +0000 (22:03 +0100)]
add ipfilter() lua hook, document it and also preoutquery. Cache which lua functions are defined, shaving a few microseconds per undefined hook. Feed preoutquery the address of the original requestor, which might then be added to an ipset for use by ipfilter. Update our example scripts.
bert hubert [Tue, 20 Jan 2015 20:01:32 +0000 (21:01 +0100)]
retune loglevels for quiet=no query logging but also make sure we print those lines with quiet=no
bert hubert [Tue, 20 Jan 2015 19:56:24 +0000 (20:56 +0100)]
make printing of netmasks and netmask groups from lua a bit easier
Peter van Dijk [Tue, 20 Jan 2015 13:53:30 +0000 (14:53 +0100)]
Merge pull request #2077 from mind04/secpoll
limit long version strings to 63 characters and catch exceptions in secpoll
bert hubert [Tue, 20 Jan 2015 09:20:03 +0000 (10:20 +0100)]
lua iputils ipset was accidentally port number sensitive. it is not an ipportset.
Peter van Dijk [Tue, 20 Jan 2015 08:59:29 +0000 (09:59 +0100)]
Merge pull request #2101 from cmouse/yahttp-upgrade-0.1.5
Upgrade YaHTTP to 0.1.5
Aki Tuomi [Mon, 19 Jan 2015 20:28:41 +0000 (22:28 +0200)]
Upgrade to 0.1.5