]>
granicus.if.org Git - pdns/log
Pieter Lexis [Thu, 21 Feb 2019 11:16:47 +0000 (12:16 +0100)]
Merge pull request #7505 from rgacogne/fix-speedtest-gcc8
auth: Fix compilation of speedtest with GCC 8.0+
Remi Gacogne [Thu, 21 Feb 2019 09:14:43 +0000 (10:14 +0100)]
Merge pull request #7478 from rgacogne/rec-max-cache-bogus-ttl
rec: Add a new 'max-cache-bogus-ttl' option
Remi Gacogne [Wed, 20 Feb 2019 16:02:13 +0000 (17:02 +0100)]
auth: Fix compilation of speedtest with GCC 8.0+
Remi Gacogne [Wed, 20 Feb 2019 15:48:40 +0000 (16:48 +0100)]
rec: Fix a typo in the comment of one of the SyncRes unit tests
Peter van Dijk [Wed, 20 Feb 2019 13:28:17 +0000 (14:28 +0100)]
Merge pull request #7492 from pieterlexis/lua-expose-pdnsrandom
Lua: expose `dns_random` as `pdnsrandom`
Remi Gacogne [Wed, 20 Feb 2019 09:20:46 +0000 (10:20 +0100)]
Merge pull request #7476 from rgacogne/rpz-default-pol-custom-option
rec: Add an option to not override custom RPZ types with the default policy
Remi Gacogne [Wed, 20 Feb 2019 08:44:16 +0000 (09:44 +0100)]
Merge pull request #7479 from phonedph1/addrecords
rec: Document addRecord
phonedph1 [Tue, 19 Feb 2019 17:24:25 +0000 (17:24 +0000)]
Add default ttl values
Pieter Lexis [Tue, 19 Feb 2019 11:06:22 +0000 (12:06 +0100)]
Merge pull request #7483 from rgacogne/dnsdist-logs
dnsdist: Preserve configuration and log files in regression tests
Charles-Henri Bruyand [Tue, 19 Feb 2019 10:07:55 +0000 (11:07 +0100)]
Fix missing word in pdns/recursordist/docs/lua-config/rpz.rst
Co-Authored-By: rgacogne <rgacogne@users.noreply.github.com>
Remi Gacogne [Tue, 19 Feb 2019 09:38:17 +0000 (10:38 +0100)]
Merge pull request #7485 from rgacogne/clang-static-analyzer-fixes
Fix some warning reported by Clang's static analyzer
Peter van Dijk [Tue, 19 Feb 2019 09:16:11 +0000 (10:16 +0100)]
Update docs/lua-records/reference/misc.rst
Co-Authored-By: pieterlexis <pieterlexis@users.noreply.github.com>
Remi Gacogne [Tue, 19 Feb 2019 08:44:24 +0000 (09:44 +0100)]
Merge pull request #7491 from klaus3000/restapi-comma-separated-masters
store masters with comma separated and without trailing space
Pieter Lexis [Mon, 18 Feb 2019 12:29:52 +0000 (13:29 +0100)]
Lua: expose `dns_random` as `pdnsrandom`
Fixes the usecase in #6853
Klaus Darilion [Mon, 18 Feb 2019 10:42:16 +0000 (10:42 +0000)]
store masters with comma separated and without trailing space
Remi Gacogne [Mon, 18 Feb 2019 08:51:16 +0000 (09:51 +0100)]
Merge pull request #7488 from zeha/6114-stoi
API: improve handling of out of range modified_at value
Chris Hofstaedtler [Fri, 15 Feb 2019 20:46:59 +0000 (21:46 +0100)]
API: improve handling of out of range modified_at value
Fixes #6114.
Peter van Dijk [Fri, 15 Feb 2019 16:30:32 +0000 (17:30 +0100)]
Merge pull request #7487 from pieterlexis/dnsdist-DoT-autoconf
dnsdist: don't test or show unneeded TLS libs
Pieter Lexis [Fri, 15 Feb 2019 14:18:45 +0000 (15:18 +0100)]
dnsdist: don't test or show unneeded TLS libs
Remi Gacogne [Fri, 15 Feb 2019 12:18:59 +0000 (13:18 +0100)]
rec: Wrap FILE* in smart pointers
Remi Gacogne [Fri, 15 Feb 2019 12:17:55 +0000 (13:17 +0100)]
rec: Set haveEDNS only once
Remi Gacogne [Fri, 15 Feb 2019 12:16:51 +0000 (13:16 +0100)]
dnsdist: Fix use-after-free on DoT initialization failure
Remi Gacogne [Thu, 14 Feb 2019 13:28:37 +0000 (14:28 +0100)]
Merge pull request #7482 from hnsk/fix-pdnsutil-add-record-output-order
pdnsutil: Fix output order of pdnsutil add-record
Remi Gacogne [Thu, 14 Feb 2019 13:28:01 +0000 (14:28 +0100)]
Merge pull request #7352 from Habbie/packet-too-big
respect packet size limits, even with ECS and TSIG
Remi Gacogne [Thu, 14 Feb 2019 10:55:47 +0000 (11:55 +0100)]
dnsdist: Preserve configuration and log files in regression tests
Remi Gacogne [Wed, 13 Feb 2019 15:04:57 +0000 (16:04 +0100)]
rec: Add a small regression test for 'max-cache-bogus-ttl'
Hannu Ylitalo [Wed, 13 Feb 2019 11:47:55 +0000 (13:47 +0200)]
pdnsutil: Fix output order of pdnsutil add-record
There was also unnecessary whitespace at the end of the line which was
removed. Since it only affected the same line it's included in this single
commit.
Remi Gacogne [Tue, 12 Feb 2019 16:15:30 +0000 (17:15 +0100)]
Merge pull request #7451 from rgacogne/systemd-deps
Make sure that the systemd binaries are available during the build
Remi Gacogne [Tue, 12 Feb 2019 15:35:24 +0000 (16:35 +0100)]
Merge pull request #7459 from mind04/dotstrip
auth: fix dot stripping in setContent()
Remi Gacogne [Tue, 12 Feb 2019 15:32:55 +0000 (16:32 +0100)]
Merge pull request #7477 from Habbie/resolver-lmdb
also use dnsmasq during lmdb testing
bert hubert [Tue, 12 Feb 2019 14:25:00 +0000 (15:25 +0100)]
Merge pull request #7463 from zeha/auth-api-validate
Auth. API: improve RRset validation
phonedph1 [Mon, 11 Feb 2019 15:57:29 +0000 (15:57 +0000)]
Document addRecord
Peter van Dijk [Mon, 11 Feb 2019 15:54:38 +0000 (16:54 +0100)]
also use dnsmasq during lmdb testing
Remi Gacogne [Tue, 5 Feb 2019 15:53:12 +0000 (16:53 +0100)]
rec: Add a new 'max-cache-bogus-ttl' option
Remi Gacogne [Mon, 11 Feb 2019 15:16:29 +0000 (16:16 +0100)]
rec: Add an option to not override custom RPZ types with the default policy
Otto Moerbeek [Mon, 11 Feb 2019 14:30:05 +0000 (15:30 +0100)]
Merge pull request #7475 from omoerbeek/mydns-no-infinite-loop
Avoid infinite loop in mydnsbackend.
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
Chris Hofstaedtler [Fri, 8 Feb 2019 10:51:31 +0000 (11:51 +0100)]
Auth. API: improve RRset validation
Refuse to load RRset arrays that contain more than one of CNAME or
DNAME. Expand refusal to load CNAMEs to pre-existing RRsets also to
DNAMEs, and vice versa. Refuse to load zones given in BIND format
for the same reasons. Apply hostname correctness check also to
BIND format zones.
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
Kees Monshouwer [Thu, 7 Feb 2019 13:25:14 +0000 (14:25 +0100)]
auth: fix dot stripping in setContent()
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 15:16:12 +0000 (16:16 +0100)]
Make sure that the systemd binaries are available during the build
Otherwise the detection of systemd's sandboxing features does not
work properly, since it uses `systemctl` to determine the version
of systemd.
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