]>
granicus.if.org Git - pdns/log
Otto Moerbeek [Wed, 27 Feb 2019 16:03:45 +0000 (16:03 +0000)]
Fix dns_random() in pdns_notify, it needs ::args setup properly.
Otto Moerbeek [Wed, 20 Feb 2019 08:44:04 +0000 (09:44 +0100)]
Init required args before calling dns_random()
No clue why this only happens only on Ubuntu trusty...
Otto Moerbeek [Mon, 18 Feb 2019 10:11:34 +0000 (11:11 +0100)]
Replace almost all occurences of random() by dns_random().
Exceptions are the ones in misc.cc, because they introduce a
dependency to libsodium and/or librypto, which is not wanted in
dnsdist.
The calls in misc,.cc are not security-sensitive so it is not a big
deal to use a deterministic PRNG there. Also, improve Utility::srandom()
a bit and call it in the recursor.
Otto Moerbeek [Thu, 14 Feb 2019 15:50:29 +0000 (16:50 +0100)]
Add back call to srandom() in common startup. srandom() is still used
and needs seeding (even if the seeding itself is predicable)
Otto Moerbeek [Thu, 14 Feb 2019 15:15:03 +0000 (16:15 +0100)]
Move from random() to dns_random()
An alternative would be to make sure srandom() is always called.
But since dns_random() has the nice uniform upperbound API, I have
chosen to use that one.
Otto Moerbeek [Thu, 14 Feb 2019 15:10:00 +0000 (16:10 +0100)]
Use dns_random() for generating the id of the notify message.
This does introduce a (conditional) dependency on libsodium.
Otto Moerbeek [Tue, 12 Feb 2019 13:06:52 +0000 (14:06 +0100)]
Utility::random() and srandom() is not used anymore.
Otto Moerbeek [Mon, 11 Feb 2019 13:15:30 +0000 (14:15 +0100)]
Avoid infinite loop in mydnsbackend.
bert hubert [Mon, 11 Feb 2019 11:47:25 +0000 (12:47 +0100)]
Merge pull request #7472 from mind04/compress
Do not compress the root
bert hubert [Mon, 11 Feb 2019 11:46:38 +0000 (12:46 +0100)]
Merge pull request #7470 from mind04/lmdb-missing
auth: lmdb-backend avoid duplicate NSEC3 records in presigned zones
Remi Gacogne [Mon, 11 Feb 2019 09:16:35 +0000 (10:16 +0100)]
Merge pull request #7142 from 1848/checkinterval
dnsdist: Add option to set interval between health checks
Remi Gacogne [Mon, 11 Feb 2019 09:11:07 +0000 (10:11 +0100)]
Merge pull request #7467 from Habbie/pdnsutil-compare
pdnsutil: fix signed/unsigned comparison, closes #7465
Kees Monshouwer [Sun, 10 Feb 2019 22:25:49 +0000 (23:25 +0100)]
Do not compress the root
Peter van Dijk [Sat, 9 Feb 2019 16:19:33 +0000 (17:19 +0100)]
Merge pull request #7432 from mikedamm/master
Clarify documentation to reflect actual behavior of includeDirectory
Kees Monshouwer [Sun, 27 Jan 2019 21:36:00 +0000 (22:36 +0100)]
auth: lmdb-backend avoid duplicate NSEC3 records in presigned zones
Peter van Dijk [Fri, 8 Feb 2019 17:33:03 +0000 (18:33 +0100)]
pdnsutil: fix signed/unsigned comparison, closes #7465
aerique [Fri, 8 Feb 2019 14:29:40 +0000 (15:29 +0100)]
Merge pull request #7421 from aerique/feature/support-for-github-access-tokens
Hack in support for GitHub access tokens.
Peter van Dijk [Fri, 8 Feb 2019 12:57:31 +0000 (13:57 +0100)]
Merge pull request #7464 from robinmulder/default-webserver-port
Fix default webserver port in documentation
Robin Mulder [Fri, 8 Feb 2019 12:52:23 +0000 (13:52 +0100)]
Fix default webserver port in documentation
Peter van Dijk [Thu, 7 Feb 2019 19:25:42 +0000 (20:25 +0100)]
Merge pull request #7457 from omoerbeek/fix-openbsd-warnings
sprintf, strcpy and const method case
Peter van Dijk [Thu, 7 Feb 2019 19:22:05 +0000 (20:22 +0100)]
Merge pull request #7433 from zeha/update-yahttp
Resync yahttp code to cmouse/yahttp@
11be77a1fc4032
bert hubert [Wed, 6 Feb 2019 10:18:37 +0000 (11:18 +0100)]
Merge pull request #7453 from ahupowerdns/pdns-lmdb-2
Authortitative LMDB backend.
bert hubert [Tue, 5 Feb 2019 16:41:50 +0000 (17:41 +0100)]
hook up lmdbbackend to configure, regression tests & travis
bert hubert [Tue, 5 Feb 2019 16:41:14 +0000 (17:41 +0100)]
add builder files and regression tests for lmdb
bert hubert [Tue, 5 Feb 2019 16:38:31 +0000 (17:38 +0100)]
expand pdnsutil load-zone so it can load multiple zone/filename pairs in one go
bert hubert [Tue, 5 Feb 2019 16:37:40 +0000 (17:37 +0100)]
speed up pdnsutil list-zone significantly, plus load up the lmdbbackend files
Remi Gacogne [Tue, 5 Feb 2019 15:18:32 +0000 (16:18 +0100)]
Merge pull request #7450 from omoerbeek/avoid-unaligned-access
Avoid unaligned access, it hurts on e.g. sparc64
Remi Gacogne [Tue, 5 Feb 2019 15:18:17 +0000 (16:18 +0100)]
Merge pull request #7438 from Habbie/travis-alias
travis auth: install dnsmasq, configure it on 127.0.0.53
Otto Moerbeek [Tue, 5 Feb 2019 12:04:43 +0000 (13:04 +0100)]
sprintf, strcpy and const method case
Otto Moerbeek [Tue, 5 Feb 2019 11:18:13 +0000 (12:18 +0100)]
Merge remote-tracking branch 'origin/master' into avoid-unaligned-access
Otto Moerbeek [Mon, 4 Feb 2019 08:39:50 +0000 (09:39 +0100)]
Avoid unaligned access, it hurts on e.g. sparc64
Remi Gacogne [Mon, 4 Feb 2019 09:14:38 +0000 (10:14 +0100)]
Merge pull request #7441 from dol/fix/dnsdist-docs
[dnsdist] Fix wrong version numbering of new features
aerique [Fri, 1 Feb 2019 13:10:39 +0000 (14:10 +0100)]
Merge pull request #7440 from aerique/feature/rec-4.1.11-changelog-and-secpoll
Update changelog and secpol for rec-4.1.11 and rec-4.2.0-alpha1.
Dominic Luechinger [Fri, 1 Feb 2019 09:04:32 +0000 (10:04 +0100)]
Fix wrong version numbering of new features
Peter van Dijk [Mon, 28 Jan 2019 20:50:15 +0000 (21:50 +0100)]
travis auth: install dnsmasq, configure it on 127.0.0.53
aerique [Thu, 31 Jan 2019 13:51:42 +0000 (14:51 +0100)]
Merge pull request #7435 from aerique/feature/auth-4.1.6-changelog-and-secpoll
Update changelog and secpoll for auth-4.1.6 release.
aerique [Wed, 30 Jan 2019 11:35:19 +0000 (12:35 +0100)]
Add secpoll for auth-4.1.6.
aerique [Wed, 30 Jan 2019 11:35:05 +0000 (12:35 +0100)]
Update changelog for auth-4.1.6.
Pieter Lexis [Wed, 30 Jan 2019 10:40:33 +0000 (11:40 +0100)]
Merge pull request #7400 from pieterlexis/5900-and-other-doc-fixes
Several documentation fixes and a small fix for the NOD `configure.ac`
Chris Hofstaedtler [Wed, 30 Jan 2019 10:12:21 +0000 (11:12 +0100)]
bert hubert [Wed, 30 Jan 2019 08:12:22 +0000 (09:12 +0100)]
Merge pull request #7428 from ahupowerdns/redo-remotelogger
Reduce systemcall usage in protobuf logging
Mike Damm [Tue, 29 Jan 2019 23:00:39 +0000 (15:00 -0800)]
Clarify documentation to reflect actual behavior
includeDirectory will only include *.conf files, this was not mentioned in the documentation
bert hubert [Tue, 29 Jan 2019 11:15:21 +0000 (12:15 +0100)]
Reduce systemcall usage in protobuf logging
Since Spectre/Meltdown, system calls have become more expensive. In
addition, relevant versions of glibc turn out to implement pthread_cond_wait
and pthread_cond_signal in such a way that they use multiple system calls always.
There is an optimization in glibc to improve this but it is disabled.
This new setup changes our protobuf logging so it amortizes system calls so we perform
far less than one call per message.
Note that our previous RemoteLogger was configured in terms of how many
*messages* it would buffer. Our new code is configured in terms of how many
*bytes*. I have multiplied the configured numbers by 100 elsewhere (recursor
config, dnsdist config) to sort of maintain parity.
In addition, the old RemoteLogger would buffer messages while there was no
connection available. We no longer do this.
Finally new, every 'reconnectTimeout' seconds we will flush our buffers
opportunistically to not keep people waiting.
Peter van Dijk [Mon, 28 Jan 2019 19:31:24 +0000 (20:31 +0100)]
Merge pull request #7350 from sjvs/patch-2
Remove Flake8 from lgtm.yml
Pieter Lexis [Mon, 28 Jan 2019 13:08:40 +0000 (14:08 +0100)]
Merge pull request #7422 from Habbie/luarec-unnest-exception
LUA: report nested exception
Remi Gacogne [Mon, 28 Jan 2019 08:57:56 +0000 (09:57 +0100)]
Merge pull request #7426 from Habbie/mvrule-off-by-one
fix off-by-one in mvRule counting
Pieter Lexis [Mon, 28 Jan 2019 08:50:39 +0000 (09:50 +0100)]
Merge remote-tracking branch 'origin/master' into 5900-and-other-doc-fixes
Peter van Dijk [Sun, 27 Jan 2019 18:16:12 +0000 (19:16 +0100)]
fix off-by-one in mvRule counting
this makes mvRule(0,x) work where x is the highest rule number
Peter van Dijk [Fri, 25 Jan 2019 18:44:19 +0000 (19:44 +0100)]
LUA: report nested exception
aerique [Fri, 25 Jan 2019 13:03:03 +0000 (14:03 +0100)]
Merge pull request #7416 from rgacogne/perl-instead-of-sed-makefile
Use perl instead of sed to conditionally remove lines from Makefiles
bert hubert [Fri, 25 Jan 2019 08:46:03 +0000 (09:46 +0100)]
Merge pull request #7417 from ahupowerdns/begone-spellcheck
While we all enjoy grate spelling, this was just to much hassle
bert hubert [Thu, 24 Jan 2019 21:15:32 +0000 (22:15 +0100)]
further cleanup
bert hubert [Thu, 24 Jan 2019 21:09:42 +0000 (22:09 +0100)]
While we all enjoy grate spelling, this was just to much hassle
Remi Gacogne [Thu, 24 Jan 2019 16:38:28 +0000 (17:38 +0100)]
Use perl instead of sed to conditionally remove lines from Makefiles
aerique [Thu, 24 Jan 2019 14:36:49 +0000 (15:36 +0100)]
Merge pull request #7414 from aerique/feature/update-changelog-for-rec-4.1.10
Update changelog and secpoll for rec-4.1.10.
Pieter Lexis [Thu, 24 Jan 2019 13:40:12 +0000 (14:40 +0100)]
Merge pull request #7413 from Habbie/epoch-not-deprecated
fix 4.0 changelog that wrongly said SOA-EDIT=EPOCH was deprecated
Pieter Lexis [Thu, 24 Jan 2019 13:17:29 +0000 (14:17 +0100)]
Merge pull request #7404 from rgacogne/rec-answers-aa
rec: Sanitize records received before doing anything else
Erik Winkels [Thu, 24 Jan 2019 12:59:53 +0000 (13:59 +0100)]
Fix broken grammar.
Erik Winkels [Thu, 24 Jan 2019 12:50:29 +0000 (13:50 +0100)]
Update changelog and secpoll for rec-4.1.10.
bert hubert [Thu, 24 Jan 2019 11:35:53 +0000 (12:35 +0100)]
Merge pull request #7412 from ahupowerdns/smart-whitespace
Be smarter about trimming whitespace when creating records from ASCII
Peter van Dijk [Thu, 24 Jan 2019 11:02:11 +0000 (12:02 +0100)]
fix 4.0 changelog that wrongly said SOA-EDIT=EPOCH was deprecated
closes #7384
bert hubert [Wed, 23 Jan 2019 20:23:22 +0000 (21:23 +0100)]
use a consistent space predicate
bert hubert [Wed, 23 Jan 2019 20:03:21 +0000 (21:03 +0100)]
Be smarter about trimming whitespace when creating records from ASCII
In
ff7ac440afdae4370e12a1b9eb21d4b1389a861f we added trimming of whitespace,
so you could turn " 1.2.3.4 " into an A record 0x01020304. This commit made us more flexible
but also six times slower in some microbenchmarks.
This commit restores the old performance which shaves double digits percentages of time from many
benchmarks in 'speedtest', while making "make-a record" six times faster again.
Remi Gacogne [Tue, 22 Jan 2019 13:24:24 +0000 (14:24 +0100)]
Merge pull request #6634 from rgacogne/more-systemd-sandboxing
More sandboxing using systemd's features
bert hubert [Tue, 22 Jan 2019 12:29:29 +0000 (13:29 +0100)]
Merge pull request #7353 from ahupowerdns/narrow-additional-lookup
Fix attempt to restrict/speed-up additional processing to auth zone
Remi Gacogne [Tue, 22 Jan 2019 10:26:35 +0000 (11:26 +0100)]
Merge pull request #7401 from rgacogne/rec-hooks-tcp
rec: Fix our Lua hooks not being called over TCP when distributing
Remi Gacogne [Tue, 22 Jan 2019 09:32:56 +0000 (10:32 +0100)]
Whitelist the 'tcpaaaa' variable name..
bert hubert [Mon, 21 Jan 2019 20:21:02 +0000 (21:21 +0100)]
Merge pull request #7402 from ahupowerdns/oracle-warning
note in docs that oracle gets no free support
Remi Gacogne [Fri, 18 Jan 2019 16:00:14 +0000 (17:00 +0100)]
Whitelist NXQ
Remi Gacogne [Fri, 18 Jan 2019 15:58:05 +0000 (16:58 +0100)]
rec: Fix SyncRes unit test since unrelated additional records are now scrubbed
Remi Gacogne [Wed, 16 Jan 2019 08:32:35 +0000 (09:32 +0100)]
rec: Don't cache non-AA records that we won't use
Remi Gacogne [Wed, 9 Jan 2019 17:53:07 +0000 (18:53 +0100)]
rec: Fix broken (bad AA bit, missing RRSIG) SyncRes unit tests
Remi Gacogne [Wed, 9 Jan 2019 17:44:16 +0000 (18:44 +0100)]
rec: Scrub SOA records in authority for AA=0 answers
Remi Gacogne [Wed, 9 Jan 2019 17:43:39 +0000 (18:43 +0100)]
rec: Be more permissive with CNAME in AA=0 answers
Remi Gacogne [Mon, 31 Dec 2018 08:46:27 +0000 (09:46 +0100)]
rec: Fix nits (trailing whitespaces, useless return statement)
Remi Gacogne [Wed, 26 Dec 2018 10:18:29 +0000 (11:18 +0100)]
rec: Add unit tests for the records sanitization in SyncRes
Remi Gacogne [Mon, 24 Dec 2018 18:16:33 +0000 (19:16 +0100)]
rec: Sanitize records received before doing anything else
Remi Gacogne [Mon, 24 Dec 2018 16:28:37 +0000 (17:28 +0100)]
rec: Refuse records in the answer section of AA=0 responses
bert hubert [Mon, 21 Jan 2019 15:01:01 +0000 (16:01 +0100)]
note that oracle gets no free support
Remi Gacogne [Tue, 8 Jan 2019 13:56:17 +0000 (14:56 +0100)]
rec: Call the ipfilter hook if any over TCP as well
Remi Gacogne [Tue, 8 Jan 2019 13:55:44 +0000 (14:55 +0100)]
rec: Load the Lua script in the distributor threads, for TCP
Remi Gacogne [Tue, 8 Jan 2019 13:55:06 +0000 (14:55 +0100)]
rec: Test the Lua hooks over TCP and with distributes-queries
Pieter Lexis [Mon, 21 Jan 2019 14:01:44 +0000 (15:01 +0100)]
Merge pull request #7370 from pieterlexis/double-cname-dns64
Fix output packets when using getFakeAAAARecords
Pieter Lexis [Mon, 21 Jan 2019 14:01:31 +0000 (15:01 +0100)]
Merge pull request #7375 from rgacogne/extra-warnings
Fix -Wextra warnings, mostly about members initialization order
Pieter Lexis [Mon, 21 Jan 2019 14:01:18 +0000 (15:01 +0100)]
Merge pull request #7388 from rgacogne/fix-boost-random-header
Move UUID generators to a common function, fix boost 1.69.0 warning
aerique [Mon, 21 Jan 2019 13:46:32 +0000 (14:46 +0100)]
Merge pull request #7399 from rgacogne/rec-4.1.9-release
rec: Add ChangeLog and secpoll update for the 4.1.9 release
Pieter Lexis [Mon, 21 Jan 2019 09:49:35 +0000 (10:49 +0100)]
Merge remote-tracking branch 'origin/master' into 5900-and-other-doc-fixes
Pieter Lexis [Mon, 21 Jan 2019 09:49:29 +0000 (10:49 +0100)]
appease the spelling gods
Pieter Lexis [Mon, 21 Jan 2019 09:22:14 +0000 (10:22 +0100)]
Merge remote-tracking branch 'origin/master' into fix-boost-random-header
Pieter Lexis [Mon, 21 Jan 2019 09:20:56 +0000 (10:20 +0100)]
Merge remote-tracking branch 'origin/master' into extra-warnings
Remi Gacogne [Mon, 21 Jan 2019 08:27:05 +0000 (09:27 +0100)]
rec: Add ChangeLog, advisories and secpoll update for the 4.1.9 release
Pieter Lexis [Fri, 18 Jan 2019 16:55:02 +0000 (17:55 +0100)]
Merge pull request #7392 from zeha/spellcheck
Spellcheck fixes
Chris Hofstaedtler [Fri, 18 Jan 2019 16:38:09 +0000 (17:38 +0100)]
whitelist.words: Add "filtername"
Chris Hofstaedtler [Fri, 18 Jan 2019 16:37:27 +0000 (17:37 +0100)]
Fix typo in "collisions"
Remi Gacogne [Fri, 18 Jan 2019 15:04:04 +0000 (16:04 +0100)]
Merge pull request #7391 from rgacogne/dnsdist-doc-typo-collisons
dnsdist: Fix 'collisons' typo in the docs
Remi Gacogne [Fri, 18 Jan 2019 14:06:53 +0000 (15:06 +0100)]
dnsdist: Fix 'collisons' typo in the docs
Pieter Lexis [Fri, 18 Jan 2019 11:40:15 +0000 (12:40 +0100)]
docs: fix link from changelog to manpage
Pieter Lexis [Fri, 18 Jan 2019 11:38:26 +0000 (12:38 +0100)]
Sort the NOD/UDR settings and fix underlines
Pieter Lexis [Fri, 18 Jan 2019 11:37:42 +0000 (12:37 +0100)]
NOD: use LOCALSTATEDIR and nod PREFIX/var as dir
Pieter Lexis [Fri, 18 Jan 2019 11:00:18 +0000 (12:00 +0100)]
docs: Sphinx markup for added/removed settings
Closes #5900