]> granicus.if.org Git - pdns/log
pdns
5 years agoMerge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack
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 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 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
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 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 fix-weird-trying-error
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
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)
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 '}'
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
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
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()
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
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
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
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
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
Charles-Henri Bruyand [Thu, 6 Dec 2018 11:53:31 +0000 (12:53 +0100)]
auth: make --enable-lua-records switch plural

5 years agobuilder-support: finish up ucf removal for sql backends
Chris Hofstaedtler [Wed, 5 Dec 2018 21:13:41 +0000 (22:13 +0100)]
builder-support: finish up ucf removal for sql backends

5 years agoMerge pull request #7263 from zeha/readme-mac-gpgsql
Remi Gacogne [Thu, 6 Dec 2018 08:18:10 +0000 (09:18 +0100)]
Merge pull request #7263 from zeha/readme-mac-gpgsql

README.md: fix typo in macOS instructions

5 years agoMerge pull request #7264 from zeha/versioninfo
Remi Gacogne [Thu, 6 Dec 2018 08:17:48 +0000 (09:17 +0100)]
Merge pull request #7264 from zeha/versioninfo

Update and re-sort feature list in --version output

5 years agoUpdate and re-sort feature list in --version output
Chris Hofstaedtler [Wed, 5 Dec 2018 22:53:04 +0000 (23:53 +0100)]
Update and re-sort feature list in --version output

5 years agoREADME.md: fix typo in macOS instructions
Chris Hofstaedtler [Wed, 5 Dec 2018 22:53:48 +0000 (23:53 +0100)]
README.md: fix typo in macOS instructions

5 years agoMerge pull request #7226 from rgacogne/oss-fuzz
Remi Gacogne [Wed, 5 Dec 2018 09:15:50 +0000 (10:15 +0100)]
Merge pull request #7226 from rgacogne/oss-fuzz

Add fuzzing targets for integration into OSS-Fuzz

5 years agoMerge pull request #7257 from rgacogne/dnsdist-pugetmsglen
Remi Gacogne [Wed, 5 Dec 2018 09:13:05 +0000 (10:13 +0100)]
Merge pull request #7257 from rgacogne/dnsdist-pugetmsglen

dnsdist: Make getMsgLen32 and putMsgLen32 static

5 years agorec: Fix a typo in the fuzzing README
Remi Gacogne [Mon, 3 Dec 2018 08:03:33 +0000 (09:03 +0100)]
rec: Fix a typo in the fuzzing README

5 years agofuzzing: Document how fuzzing targets and continuous fuzzing work
Remi Gacogne [Wed, 28 Nov 2018 16:41:37 +0000 (17:41 +0100)]
fuzzing: Document how fuzzing targets and continuous fuzzing work

5 years agofuzzing: Skip payloads larger than 65k
Remi Gacogne [Tue, 27 Nov 2018 16:16:33 +0000 (17:16 +0100)]
fuzzing: Skip payloads larger than 65k

5 years agofuzzing: Add some corpus for OSS-Fuzz
Remi Gacogne [Tue, 27 Nov 2018 15:11:49 +0000 (16:11 +0100)]
fuzzing: Add some corpus for OSS-Fuzz

5 years agoAdd a 'fuzz_targets' target, rename fuzzing targets binaries
Remi Gacogne [Mon, 26 Nov 2018 13:57:31 +0000 (14:57 +0100)]
Add a 'fuzz_targets' target, rename fuzzing targets binaries

5 years agoTravis: Build fuzzing targets
Remi Gacogne [Thu, 22 Nov 2018 13:45:00 +0000 (14:45 +0100)]
Travis: Build fuzzing targets

5 years agodnsdist: Symlink tcpiohandler.hh
Remi Gacogne [Thu, 22 Nov 2018 11:18:14 +0000 (12:18 +0100)]
dnsdist: Symlink tcpiohandler.hh

5 years agoFix missing header for exception
Remi Gacogne [Thu, 22 Nov 2018 16:08:34 +0000 (17:08 +0100)]
Fix missing header for exception

5 years agoAdd fuzzing targets
Remi Gacogne [Tue, 22 May 2018 22:26:23 +0000 (00:26 +0200)]
Add fuzzing targets

5 years agoMerge pull request #7256 from rgacogne/dnsdist-lock-tickets-key-rotation
Remi Gacogne [Tue, 4 Dec 2018 14:41:44 +0000 (15:41 +0100)]
Merge pull request #7256 from rgacogne/dnsdist-lock-tickets-key-rotation

dnsdist: Protect GnuTLS tickets key rotation with a read-write lock

5 years agodnsdist: Make getMsgLen32 and putMsgLen32 static
Remi Gacogne [Tue, 4 Dec 2018 10:26:00 +0000 (11:26 +0100)]
dnsdist: Make getMsgLen32 and putMsgLen32 static

Only the console code uses them nowadays, so no need to export them.

5 years agodnsdist: Fix the type of numerical DNS over TLS's parameters
Remi Gacogne [Tue, 4 Dec 2018 09:27:28 +0000 (10:27 +0100)]
dnsdist: Fix the type of numerical DNS over TLS's parameters

We were trying to retrieve two parameters, ticketsKeysRotationDelay
and numberOfTicketsKeys, as strings then convert them to integers,
but the Lua wrapper already exposes them as numerical values.

5 years agodnsdist: Protect GnuTLS tickets key rotation with a read-write lock
Remi Gacogne [Tue, 4 Dec 2018 09:27:13 +0000 (10:27 +0100)]
dnsdist: Protect GnuTLS tickets key rotation with a read-write lock

Otherwise a thread can replace the shared pointer hold by the
GnuTLSIOCtx while another thread is accessing it. The usage count
is not incremented since no copy is made, so the content might get
deleted while a thread is still accessing it, leading to
use-after-free and possibly a crash.

5 years agoMerge pull request #7242 from rgacogne/rec-control-send-timeout
Remi Gacogne [Mon, 3 Dec 2018 14:39:24 +0000 (15:39 +0100)]
Merge pull request #7242 from rgacogne/rec-control-send-timeout

rec: Use the timeout passed to rec_control for sending too

5 years agoMerge pull request #7250 from grinapo/master
Remi Gacogne [Mon, 3 Dec 2018 11:41:35 +0000 (12:41 +0100)]
Merge pull request #7250 from grinapo/master

Fixed typos around DNS64 lua docs

5 years agoApply suggestions from code review
Remi Gacogne [Mon, 3 Dec 2018 10:39:57 +0000 (11:39 +0100)]
Apply suggestions from code review

fix path

Co-Authored-By: grinapo <grinapo@gmail.com>
5 years agoFixed typos around DNS64 lua docs
Peter Gervai [Sat, 1 Dec 2018 21:21:19 +0000 (22:21 +0100)]
Fixed typos around DNS64 lua docs

5 years agotry really hard to use gnu tar
Peter van Dijk [Fri, 30 Nov 2018 19:57:08 +0000 (20:57 +0100)]
try really hard to use gnu tar