]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agoUpdate regression-tests.dnsdist/test_SelfAnsweredResponses.py 7351/head
Remi Gacogne [Wed, 9 Jan 2019 15:10:03 +0000 (10:10 -0500)] 
Update regression-tests.dnsdist/test_SelfAnsweredResponses.py

Co-Authored-By: jsoref <jsoref@users.noreply.github.com>
5 years agotests: improve output by labeling tests
Josh Soref [Tue, 8 Jan 2019 16:48:22 +0000 (11:48 -0500)] 
tests: improve output by labeling tests

5 years agocatch subprocess.check_output and raise AssertionError with the output
Josh Soref [Tue, 8 Jan 2019 15:50:42 +0000 (10:50 -0500)] 
catch subprocess.check_output and raise AssertionError with the output

5 years agoMerge pull request #7344 from Habbie/dlog-simplify
bert hubert [Tue, 8 Jan 2019 14:03:24 +0000 (15:03 +0100)] 
Merge pull request #7344 from Habbie/dlog-simplify

simplify log message to avoid compile error

5 years agoMerge pull request #7349 from omoerbeek/kskrolldocs
Otto Moerbeek [Tue, 8 Jan 2019 13:56:35 +0000 (14:56 +0100)] 
Merge pull request #7349 from omoerbeek/kskrolldocs

Tweaks to the rollover docs: make a few things explicit.

5 years agoMerge branch 'kskrolldocs' of github.com:omoerbeek/pdns into kskrolldocs 7349/head
Otto Moerbeek [Tue, 8 Jan 2019 13:54:38 +0000 (14:54 +0100)] 
Merge branch 'kskrolldocs' of github.com:omoerbeek/pdns into kskrolldocs

5 years agoTweaks to the rollover docs: make a few things explicit.
Otto Moerbeek [Tue, 8 Jan 2019 13:22:25 +0000 (14:22 +0100)] 
Tweaks to the rollover docs: make a few things explicit.

5 years agoTweaks to the rollover docs: make a few things explicit.
Otto Moerbeek [Tue, 8 Jan 2019 13:22:25 +0000 (14:22 +0100)] 
Tweaks to the rollover docs: make a few things explicit.

5 years agoMerge pull request #7341 from ahupowerdns/ipv4-any-check
bert hubert [Tue, 8 Jan 2019 10:07:52 +0000 (11:07 +0100)] 
Merge pull request #7341 from ahupowerdns/ipv4-any-check

Fix replying from ANY address for non-standard port

5 years agoMerge pull request #7138 from rgacogne/dnsdist-libcap
Remi Gacogne [Tue, 8 Jan 2019 09:08:53 +0000 (10:08 +0100)] 
Merge pull request #7138 from rgacogne/dnsdist-libcap

dnsdist/rec: Drop remaining capabilities after startup

5 years agoMerge pull request #7307 from pieterlexis/rec-lower-udp-trunc
Remi Gacogne [Tue, 8 Jan 2019 09:07:35 +0000 (10:07 +0100)] 
Merge pull request #7307 from pieterlexis/rec-lower-udp-trunc

rec: Lower default EDNS0 buffersizes to 1232 bytes

5 years agoMerge pull request #7329 from rgacogne/ixfrdist-ubsan
Remi Gacogne [Tue, 8 Jan 2019 08:50:23 +0000 (09:50 +0100)] 
Merge pull request #7329 from rgacogne/ixfrdist-ubsan

ixfrdist: Enable UndefinedBehaviorSanitizer in Travis CI

5 years agoMerge pull request #7330 from rgacogne/dnsdist-doc-pools
Remi Gacogne [Tue, 8 Jan 2019 08:49:52 +0000 (09:49 +0100)] 
Merge pull request #7330 from rgacogne/dnsdist-doc-pools

dnsdist: Remove rmPool() from the doc and add showPools() to it

5 years agosimplify log message to avoid compile error 7344/head
Peter van Dijk [Mon, 7 Jan 2019 17:36:51 +0000 (18:36 +0100)] 
simplify log message to avoid compile error

5 years agoFix replying from ANY address for non-standard port 7341/head
bert hubert [Mon, 7 Jan 2019 14:28:37 +0000 (15:28 +0100)] 
Fix replying from ANY address for non-standard port
Previously, we would not recognize 0.0.0.0:5300 or even 0.0.0.0:53 as the 'any' address, leading us to answer from the wrong address.

5 years agoMerge pull request #7331 from omoerbeek/usemmapforstack
Otto Moerbeek [Mon, 7 Jan 2019 10:25:40 +0000 (11:25 +0100)] 
Merge pull request #7331 from omoerbeek/usemmapforstack

Use mmap for stack allocation, adding the MAP_STACK flag on OpenBSD.

5 years agoMerge pull request #7337 from omoerbeek/better-test-mtasker-maybe-unitialized
Otto Moerbeek [Mon, 7 Jan 2019 10:24:56 +0000 (11:24 +0100)] 
Merge pull request #7337 from omoerbeek/better-test-mtasker-maybe-unitialized

Fix maybe-unitialized warning while improving the test to use the ret…

5 years agoMerge pull request #7327 from rgacogne/rec-race-sig-syncres-tests
Remi Gacogne [Mon, 7 Jan 2019 08:51:01 +0000 (09:51 +0100)] 
Merge pull request #7327 from rgacogne/rec-race-sig-syncres-tests

rec: Fix a possible timing issue w/ RRSIGs in the SyncRes unit tests

5 years agoFix maybe-unitialized warning while improving the test to use the return value 7337/head
Otto Moerbeek [Mon, 7 Jan 2019 08:42:55 +0000 (09:42 +0100)] 
Fix maybe-unitialized warning while improving the test to use the return value
of waitEvent.

Beter fix than the one proposed in #6675

5 years agoMerge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack 7331/head
Otto Moerbeek [Mon, 7 Jan 2019 08:15:08 +0000 (09:15 +0100)] 
Merge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack

5 years agoMerge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack
Otto Moerbeek [Fri, 4 Jan 2019 13:17:57 +0000 (14:17 +0100)] 
Merge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack

5 years agodnsdist: Remove rmPool() from the doc and add showPools() to it 7330/head
Remi Gacogne [Fri, 4 Jan 2019 13:21:12 +0000 (14:21 +0100)] 
dnsdist: Remove rmPool() from the doc and add showPools() to it

5 years agoMerge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack
Otto Moerbeek [Fri, 4 Jan 2019 13:17:57 +0000 (14:17 +0100)] 
Merge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack

5 years agoUse mmap for stack allocation, adding the MAP_STACK flag on OpenBSD.
Otto Moerbeek [Fri, 4 Jan 2019 12:09:08 +0000 (13:09 +0100)] 
Use mmap for stack allocation, adding the MAP_STACK flag on OpenBSD.

On a userland to kernel transition OpenBSD checks if the stack
pointer points to a piece of mem marked MAP_STACK to prevent a large
class of exploits. Since we setup out own stack we must use mmap
on OpenBSD, and we might do that on other systems as well.

5 years agoMerge pull request #7311 from omoerbeek/setbufsize
Remi Gacogne [Fri, 4 Jan 2019 13:09:22 +0000 (14:09 +0100)] 
Merge pull request #7311 from omoerbeek/setbufsize

Rec: Set socket buf size for control socket.

5 years agoixfrdist: Enable UndefinedBehaviorSanitizer in CI 7329/head
Remi Gacogne [Fri, 4 Jan 2019 13:02:56 +0000 (14:02 +0100)] 
ixfrdist: Enable UndefinedBehaviorSanitizer in CI

We need a suppression because of a bug fixed in Boost 1.57.0, see:

https://github.com/boostorg/any/commit/c92ab03ab35775b6aab30f6cdc3d95b7dd8fc5c6

5 years agoUse mmap for stack allocation, adding the MAP_STACK flag on OpenBSD.
Otto Moerbeek [Fri, 4 Jan 2019 12:09:08 +0000 (13:09 +0100)] 
Use mmap for stack allocation, adding the MAP_STACK flag on OpenBSD.

On a userland to kernel transition OpenBSD checks if the stack
pointer points to a piece of mem marked MAP_STACK to prevent a large
class of exploits. Since we setup out own stack we must use mmap
on OpenBSD, and we might do that on other sytems as well.

5 years agoMerge remote-tracking branch 'origin/master' into setbufsize 7311/head
Otto Moerbeek [Fri, 4 Jan 2019 11:02:35 +0000 (12:02 +0100)] 
Merge remote-tracking branch 'origin/master' into setbufsize

5 years agoMerge pull request #7316 from omoerbeek/loggertemplate
Otto Moerbeek [Fri, 4 Jan 2019 10:49:23 +0000 (11:49 +0100)] 
Merge pull request #7316 from omoerbeek/loggertemplate

Use a template to log basic types

5 years agoFailure to raise socket buf size is not fatal
Otto Moerbeek [Fri, 4 Jan 2019 10:19:00 +0000 (11:19 +0100)] 
Failure to raise socket buf size is not fatal

5 years agoMerge remote-tracking branch 'origin/master' into setbufsize
Otto Moerbeek [Fri, 4 Jan 2019 10:15:24 +0000 (11:15 +0100)] 
Merge remote-tracking branch 'origin/master' into setbufsize

5 years agoMerge pull request #7308 from pieterlexis/fix-weird-trying-error
Remi Gacogne [Fri, 4 Jan 2019 08:47:49 +0000 (09:47 +0100)] 
Merge pull request #7308 from pieterlexis/fix-weird-trying-error

Improve error on sending non-TC response that should be TC

5 years agorec: Fix a possible timing issue w/ RRSIGs in the SyncRes unit tests 7327/head
Remi Gacogne [Fri, 4 Jan 2019 08:40:18 +0000 (09:40 +0100)] 
rec: Fix a possible timing issue w/ RRSIGs in the SyncRes unit tests

5 years agoMerge remote-tracking branch 'origin/master' into setbufsize
Otto Moerbeek [Thu, 3 Jan 2019 16:00:05 +0000 (17:00 +0100)] 
Merge remote-tracking branch 'origin/master' into setbufsize

5 years agoFollowup: Only set buffers size if increasing it.
Otto Moerbeek [Thu, 3 Jan 2019 14:42:15 +0000 (15:42 +0100)] 
Followup: Only set buffers size if increasing it.

Cannot call functions in pdns_recursor.cc because they use g_log
which is not available in rec_control.

5 years agoMerge pull request #7275 from rgacogne/dnscrypt-python3
Pieter Lexis [Thu, 3 Jan 2019 13:00:35 +0000 (14:00 +0100)] 
Merge pull request #7275 from rgacogne/dnscrypt-python3

dnsdist: Update DNSCrypt's regression tests for Python 3

5 years agoMerge pull request #7249 from Habbie/gtar
Pieter Lexis [Thu, 3 Jan 2019 12:59:33 +0000 (13:59 +0100)] 
Merge pull request #7249 from Habbie/gtar

try really hard to use gnu tar

5 years agoMerge pull request #7286 from bootc/fix_openapi
Pieter Lexis [Thu, 3 Jan 2019 12:57:57 +0000 (13:57 +0100)] 
Merge pull request #7286 from bootc/fix_openapi

Fix a couple of Swagger / OpenAPI issues

5 years agoMerge pull request #7288 from rubenk/snprintf-off-by-one
Pieter Lexis [Thu, 3 Jan 2019 12:57:38 +0000 (13:57 +0100)] 
Merge pull request #7288 from rubenk/snprintf-off-by-one

Fix a few off-by-one errors

5 years agoMerge pull request #7291 from rgacogne/auth-dnsscope-histogram-detection
Pieter Lexis [Thu, 3 Jan 2019 12:57:11 +0000 (13:57 +0100)] 
Merge pull request #7291 from rgacogne/auth-dnsscope-histogram-detection

dnsscope: Fix boost's version detection, build with histograms

5 years agoMerge pull request #7298 from rgacogne/rec-dnssec-stats
Pieter Lexis [Thu, 3 Jan 2019 12:45:03 +0000 (13:45 +0100)] 
Merge pull request #7298 from rgacogne/rec-dnssec-stats

rec: Add counters for incoming AD and CD queries

5 years agoMerge pull request #7299 from rgacogne/rec-load-suffix-list
Pieter Lexis [Thu, 3 Jan 2019 12:43:51 +0000 (13:43 +0100)] 
Merge pull request #7299 from rgacogne/rec-load-suffix-list

rec: Add support for loading the Public Suffix List from a file

5 years agoMerge pull request #7300 from rgacogne/rec-lua-hooks-tests
Pieter Lexis [Thu, 3 Jan 2019 12:39:14 +0000 (13:39 +0100)] 
Merge pull request #7300 from rgacogne/rec-lua-hooks-tests

rec: Add basic regression tests for most of the Lua hooks

5 years agoMerge pull request #7304 from rgacogne/rec-rootnxtrust-regtests
Pieter Lexis [Thu, 3 Jan 2019 12:30:53 +0000 (13:30 +0100)] 
Merge pull request #7304 from rgacogne/rec-rootnxtrust-regtests

rec: Add some basic regression tests for the root-nx-trust feature

5 years agoMerge remote-tracking branch 'origin/master' into rec-lower-udp-trunc 7307/head
Pieter Lexis [Thu, 3 Jan 2019 12:28:59 +0000 (13:28 +0100)] 
Merge remote-tracking branch 'origin/master' into rec-lower-udp-trunc

5 years agoMerge remote-tracking branch 'origin/master' into fix-weird-trying-error 7308/head
Pieter Lexis [Thu, 3 Jan 2019 12:27:21 +0000 (13:27 +0100)] 
Merge remote-tracking branch 'origin/master' into fix-weird-trying-error

5 years agoMerge remote-tracking branch 'origin/master' into loggertemplate 7316/head
Otto Moerbeek [Thu, 3 Jan 2019 12:00:37 +0000 (13:00 +0100)] 
Merge remote-tracking branch 'origin/master' into loggertemplate

5 years agoMerge pull request #7312 from pieterlexis/travis-rubygems-issue
Pieter Lexis [Thu, 3 Jan 2019 11:59:07 +0000 (12:59 +0100)] 
Merge pull request #7312 from pieterlexis/travis-rubygems-issue

Update rubygems in travis

5 years agoFix logger time_t issues on at least OpenBSD.
Otto Moerbeek [Thu, 3 Jan 2019 10:59:04 +0000 (11:59 +0100)] 
Fix logger time_t issues on at least OpenBSD.

Use a template to log trivial types. This way the compiler figures
out what logger methods oo generate.

5 years agoUpdate rubygems in travis (for bundler) 7312/head
Pieter Lexis [Thu, 3 Jan 2019 10:08:32 +0000 (11:08 +0100)] 
Update rubygems in travis (for bundler)

5 years agoRec: Set socket buf size for control socket.
Otto Moerbeek [Thu, 3 Jan 2019 09:47:12 +0000 (10:47 +0100)] 
Rec: Set socket buf size for control socket.

Fixes #5745 without changing settings for all processes.

5 years agoImprove error on sending non-TC resp that should be TC
Pieter Lexis [Thu, 3 Jan 2019 08:50:26 +0000 (09:50 +0100)] 
Improve error on sending non-TC resp that should be TC

This should aid in debugging when this happens.

5 years agorec: Lower default EDNS0 buffersizes
Pieter Lexis [Wed, 2 Jan 2019 13:31:20 +0000 (14:31 +0100)] 
rec: Lower default EDNS0 buffersizes

This should prevent issues with networks that drop fragments, have
broken PMTU detection, etc.

This commit lowers both the udp-truncation-threshold (stub<->res) and
edns-outgoing-bufsize (rec<->auths).

5 years agoMerge pull request #7227 from Annih/auth-geoip-non-zero-weight
Remi Gacogne [Wed, 2 Jan 2019 08:57:19 +0000 (09:57 +0100)] 
Merge pull request #7227 from Annih/auth-geoip-non-zero-weight

auth: geoip - forbid 0 as weight value

5 years agoMerge pull request #7295 from ton31337/feature/add_libmaxminddb-devel_dependency_for_...
Remi Gacogne [Wed, 2 Jan 2019 08:55:59 +0000 (09:55 +0100)] 
Merge pull request #7295 from ton31337/feature/add_libmaxminddb-devel_dependency_for_centos

geoipbackend: Add libmaxminddb-devel dependency for CentOS

5 years agorec: Add some basic regression tests for the root-nx-trust feature 7304/head
Remi Gacogne [Mon, 31 Dec 2018 16:34:10 +0000 (17:34 +0100)] 
rec: Add some basic regression tests for the root-nx-trust feature

5 years agorec: Add basic regression tests for most of the Lua hooks 7300/head
Remi Gacogne [Wed, 26 Dec 2018 15:56:21 +0000 (16:56 +0100)] 
rec: Add basic regression tests for most of the Lua hooks

5 years agorec: Add constraints while loading the Public Suffix List 7299/head
Remi Gacogne [Mon, 24 Dec 2018 13:26:13 +0000 (14:26 +0100)] 
rec: Add constraints while loading the Public Suffix List

5 years agorec: Add support for loading the Public Suffix List from a file
Remi Gacogne [Mon, 24 Dec 2018 13:06:09 +0000 (14:06 +0100)] 
rec: Add support for loading the Public Suffix List from a file

5 years agorec: Add counters for incoming AD and CD queries 7298/head
Remi Gacogne [Mon, 24 Dec 2018 09:54:17 +0000 (10:54 +0100)] 
rec: Add counters for incoming AD and CD queries

5 years agogeoipbackend: Add libmaxminddb-devel dependency for CentOS 7295/head
Donatas Abraitis [Thu, 20 Dec 2018 14:16:19 +0000 (16:16 +0200)] 
geoipbackend: Add libmaxminddb-devel dependency for CentOS

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
5 years agoMerge pull request #7294 from PowerDNS/ahupowerdns-patch-tcp-close-fd
Remi Gacogne [Wed, 19 Dec 2018 14:09:20 +0000 (15:09 +0100)] 
Merge pull request #7294 from PowerDNS/ahupowerdns-patch-tcp-close-fd

prevent leak of file descriptor if running out of ports for incoming AXFR

5 years agoprevent leak of file descriptor if running out of ports for incoming AXFR 7294/head
bert hubert [Wed, 19 Dec 2018 09:08:39 +0000 (10:08 +0100)] 
prevent leak of file descriptor if running out of ports for incoming AXFR

5 years agoMerge pull request #7247 from mnordhoff/pdnsutil-2018-11-30
Remi Gacogne [Tue, 18 Dec 2018 09:44:52 +0000 (10:44 +0100)] 
Merge pull request #7247 from mnordhoff/pdnsutil-2018-11-30

pdnsutil documentation ECC algorithm updates

5 years agoMerge pull request #7283 from rgacogne/fix-version-strings
Remi Gacogne [Tue, 18 Dec 2018 09:41:31 +0000 (10:41 +0100)] 
Merge pull request #7283 from rgacogne/fix-version-strings

Add missing insertion operators for libcrypto's features

5 years agoMerge pull request #7284 from rgacogne/auth-md5-sha1-signatures-cache
Remi Gacogne [Tue, 18 Dec 2018 09:27:24 +0000 (10:27 +0100)] 
Merge pull request #7284 from rgacogne/auth-md5-sha1-signatures-cache

auth: Fallback to sha1 for the signatures cache if md5 is not available

5 years agodnsscope: Fix boost's version detection, build with histograms 7291/head
Remi Gacogne [Tue, 18 Dec 2018 09:07:51 +0000 (10:07 +0100)] 
dnsscope: Fix boost's version detection, build with histograms

5 years agoMerge pull request #7290 from chbruyand/rec-log-levels
Remi Gacogne [Tue, 18 Dec 2018 08:47:44 +0000 (09:47 +0100)] 
Merge pull request #7290 from chbruyand/rec-log-levels

rec: reduce log message urgency of non pertinent errors

5 years agorec: reduce log message urgency of non pertinent errors 7290/head
Charles-Henri Bruyand [Mon, 17 Dec 2018 17:44:03 +0000 (18:44 +0100)] 
rec: reduce log message urgency of non pertinent errors

5 years agoauth: Fallback to sha1 for the signatures cache if md5 is not available 7284/head
Remi Gacogne [Thu, 13 Dec 2018 14:49:58 +0000 (15:49 +0100)] 
auth: Fallback to sha1 for the signatures cache if md5 is not available

5 years agoMerge pull request #7287 from rubenk/fix-typo-in-help-text
Remi Gacogne [Mon, 17 Dec 2018 13:12:39 +0000 (14:12 +0100)] 
Merge pull request #7287 from rubenk/fix-typo-in-help-text

recursor: Fix typo in help text of signature-inception-skew option

5 years agoFix a few off-by-one errors 7288/head
Ruben Kerkhof [Mon, 17 Dec 2018 11:55:57 +0000 (12:55 +0100)] 
Fix a few off-by-one errors

5 years agorecursor: Fix typo in help text of signature-inception-skew option 7287/head
Ruben Kerkhof [Mon, 17 Dec 2018 11:47:46 +0000 (12:47 +0100)] 
recursor: Fix typo in help text of signature-inception-skew option

5 years agoSwagger: fix Error object definition 7286/head
Chris Boot [Sun, 16 Dec 2018 14:18:19 +0000 (14:18 +0000)] 
Swagger: fix Error object definition

This corrects:
- a typo of the `description` key
- misuse of the `required` key for the `error` parameter

5 years agoSwagger: fix definition for putTSIGKey operation
Chris Boot [Sun, 16 Dec 2018 14:12:54 +0000 (14:12 +0000)] 
Swagger: fix definition for putTSIGKey operation

`properties` is not valid within the `parameters` specification; it
looks like it should be `schema` instead.

5 years agoMerge pull request #7281 from rgacogne/auth-fix-max-signature-cache-entries-doc
Remi Gacogne [Fri, 14 Dec 2018 14:15:28 +0000 (15:15 +0100)] 
Merge pull request #7281 from rgacogne/auth-fix-max-signature-cache-entries-doc

auth: Fix the default value of max-signature-cache-entries in the doc

5 years agoMerge pull request #7259 from aerique/feature/4.2.x-changelog
aerique [Fri, 14 Dec 2018 11:49:46 +0000 (12:49 +0100)] 
Merge pull request #7259 from aerique/feature/4.2.x-changelog

* Add 4.2.0 changelog,
* Update secpoll for auth-4.2.0-alpha1.

5 years agoAdd missing insertion operators for libcrypto's features 7283/head
Remi Gacogne [Thu, 13 Dec 2018 15:42:01 +0000 (16:42 +0100)] 
Add missing insertion operators for libcrypto's features

5 years agoauth: Fix the default value of max-signature-cache-entries in the doc 7281/head
Remi Gacogne [Thu, 13 Dec 2018 11:32:31 +0000 (12:32 +0100)] 
auth: Fix the default value of max-signature-cache-entries in the doc

5 years agoMerge pull request #7278 from rgacogne/auth-multiple-cnames-rrset
Remi Gacogne [Thu, 13 Dec 2018 09:12:45 +0000 (10:12 +0100)] 
Merge pull request #7278 from rgacogne/auth-multiple-cnames-rrset

 auth: Prevent more than one CNAME/SOA record in the same RRset

5 years agoauth: Add a whitespace before the last type and '}' 7278/head
Remi Gacogne [Wed, 12 Dec 2018 15:33:21 +0000 (16:33 +0100)] 
auth: Add a whitespace before the last type and '}'

5 years agoauth: Prevent more than one CNAME/SOA record in the same RRset
Remi Gacogne [Wed, 12 Dec 2018 13:38:07 +0000 (14:38 +0100)] 
auth: Prevent more than one CNAME/SOA record in the same RRset

5 years agoauth: Add an API test for multiple CNAME records in the same RRset
Remi Gacogne [Wed, 12 Dec 2018 13:35:32 +0000 (14:35 +0100)] 
auth: Add an API test for multiple CNAME records in the same RRset

5 years agoMerge pull request #7271 from rgacogne/dnsdist-dynblock-timing
Remi Gacogne [Tue, 11 Dec 2018 10:19:27 +0000 (11:19 +0100)] 
Merge pull request #7271 from rgacogne/dnsdist-dynblock-timing

dnsdist: Remove a possible timing issue in the DynBlock unit tests

5 years agoMerge pull request #7272 from rgacogne/xfrblob-assign-range
Remi Gacogne [Tue, 11 Dec 2018 08:56:05 +0000 (09:56 +0100)] 
Merge pull request #7272 from rgacogne/xfrblob-assign-range

Ensure a valid range to string::assign() in PacketReader::xfrBlob()

5 years agodnsdist: Add 'future' to the regression tests requirements 7275/head
Remi Gacogne [Mon, 10 Dec 2018 17:37:24 +0000 (18:37 +0100)] 
dnsdist: Add 'future' to the regression tests requirements

5 years agodnsdist: Remove a possible timing issue in the DynBlock unit tests 7271/head
Remi Gacogne [Mon, 10 Dec 2018 11:02:38 +0000 (12:02 +0100)] 
dnsdist: Remove a possible timing issue in the DynBlock unit tests

5 years agoEnsure a valid range to string::assign() in PacketReader::xfrBlob() 7272/head
Remi Gacogne [Fri, 7 Dec 2018 10:13:17 +0000 (11:13 +0100)] 
Ensure a valid range to string::assign() in PacketReader::xfrBlob()

In some cases we could have called:

std::string::assign(InputIterator first, InputIterator last)

with last < first, which is UB:

if the range specified by [first,last) is not valid, it causes undefined behavior

libstdc++ handles that gracefully by throwing an out-of-range exception
but libc++ tries to allocate a negative value of bytes, which in turns
triggers a request for a very large memory allocation, which fails.

5 years agoMerge pull request #7274 from rgacogne/dnscrypt-dnspython-1.16
Remi Gacogne [Mon, 10 Dec 2018 17:29:34 +0000 (18:29 +0100)] 
Merge pull request #7274 from rgacogne/dnscrypt-dnspython-1.16

dnsdist: Require dnspython < 1.16.0 since it broke binary in TXT

5 years agodnsdist: Update DNSCrypt's regression tests for Python 3
Remi Gacogne [Mon, 10 Dec 2018 16:16:55 +0000 (17:16 +0100)] 
dnsdist: Update DNSCrypt's regression tests for Python 3

5 years agodnsdist: Require dnspython < 1.16.0 since it broke binary in TXT 7274/head
Remi Gacogne [Mon, 10 Dec 2018 16:18:20 +0000 (17:18 +0100)] 
dnsdist: Require dnspython < 1.16.0 since it broke binary in TXT

Looks like https://github.com/rthalley/dnspython/issues/321

5 years agoMerge pull request #7268 from Habbie/gsql-4.1-4.2
Peter van Dijk [Fri, 7 Dec 2018 23:13:38 +0000 (00:13 +0100)] 
Merge pull request #7268 from Habbie/gsql-4.1-4.2

docs: link to 4.1 gsql schemas

5 years agoMerge pull request #7261 from zeha/debian-no-ucf auth-4.2.0-alpha1
Peter van Dijk [Fri, 7 Dec 2018 11:12:15 +0000 (12:12 +0100)] 
Merge pull request #7261 from zeha/debian-no-ucf

builder-support: finish up ucf removal for sql backends

5 years agoMerge pull request #7267 from rgacogne/dnsdist-ebpf-centos76
Remi Gacogne [Fri, 7 Dec 2018 08:53:36 +0000 (09:53 +0100)] 
Merge pull request #7267 from rgacogne/dnsdist-ebpf-centos76

dnsdist: Check that SO_ATTACH_BPF is defined before enabling eBPF

5 years agodocs: link to 4.1 gsql schemas 7268/head
Peter van Dijk [Thu, 6 Dec 2018 16:34:53 +0000 (17:34 +0100)] 
docs: link to 4.1 gsql schemas

5 years agodnsdist: Check that SO_ATTACH_BPF is defined before enabling eBPF 7267/head
Remi Gacogne [Thu, 6 Dec 2018 14:54:44 +0000 (15:54 +0100)] 
dnsdist: Check that SO_ATTACH_BPF is defined before enabling eBPF

It turns out that RH decided to backport only the tracing subsystem
part of eBPF as a "Technology Preview" in the RHEL / Centos 7.6
kernel, so most of the eBPF stuff is present but not what is needed
to use the networking parts.

5 years agoMerge pull request #7266 from Habbie/trusty-luarec
Peter van Dijk [Thu, 6 Dec 2018 14:17:21 +0000 (15:17 +0100)] 
Merge pull request #7266 from Habbie/trusty-luarec

auth ubuntu trusty: enable LUA records

5 years agoauth ubuntu trusty: enable LUA records 7266/head
Peter van Dijk [Thu, 6 Dec 2018 12:20:06 +0000 (13:20 +0100)] 
auth ubuntu trusty: enable LUA records

5 years agoMerge pull request #7265 from chbruyand/auth-enable-lua-records
Peter van Dijk [Thu, 6 Dec 2018 12:15:15 +0000 (13:15 +0100)] 
Merge pull request #7265 from chbruyand/auth-enable-lua-records

auth: make --enable-lua-records switch plural

5 years agoauth: make --enable-lua-records switch plural 7265/head
Charles-Henri Bruyand [Thu, 6 Dec 2018 11:53:31 +0000 (12:53 +0100)] 
auth: make --enable-lua-records switch plural