]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agomark LMDB backend experimental 8127/head
Peter van Dijk [Thu, 8 Aug 2019 20:23:31 +0000 (22:23 +0200)] 
mark LMDB backend experimental

4 years agoauth backend docs: remove autoserial column
Peter van Dijk [Thu, 8 Aug 2019 20:20:28 +0000 (22:20 +0200)] 
auth backend docs: remove autoserial column

4 years agochangelog and secpoll for auth 4.2.0-rc3
Peter van Dijk [Thu, 25 Jul 2019 14:21:55 +0000 (16:21 +0200)] 
changelog and secpoll for auth 4.2.0-rc3

4 years agoMerge pull request #8170 from Habbie/auth-4.1.12-release
aerique [Thu, 8 Aug 2019 12:17:29 +0000 (14:17 +0200)] 
Merge pull request #8170 from Habbie/auth-4.1.12-release

auth 4.1.13: changelog and secpoll

4 years agoauth 4.1.13: changelog and secpoll 8170/head
Peter van Dijk [Wed, 7 Aug 2019 11:08:56 +0000 (13:08 +0200)] 
auth 4.1.13: changelog and secpoll

4 years agoMerge pull request #8153 from rgacogne/ddist-doh-http-more
Remi Gacogne [Wed, 7 Aug 2019 08:59:27 +0000 (10:59 +0200)] 
Merge pull request #8153 from rgacogne/ddist-doh-http-more

dnsdist: Add Lua bindings, rules and action for DoH

4 years agodnsdist: Clean up of the DNSQuestion::setHTTPResponse() binding 8153/head
Remi Gacogne [Wed, 7 Aug 2019 07:31:03 +0000 (09:31 +0200)] 
dnsdist: Clean up of the DNSQuestion::setHTTPResponse() binding

4 years agoMerge pull request #8154 from rgacogne/dnsdist-outstanding-reset
Remi Gacogne [Wed, 7 Aug 2019 07:21:50 +0000 (09:21 +0200)] 
Merge pull request #8154 from rgacogne/dnsdist-outstanding-reset

dnsdist: Use a counter to mark IDState usage instead of the FD

4 years agoMerge pull request #8164 from Habbie/increase-serial-ordername
Peter van Dijk [Tue, 6 Aug 2019 15:01:15 +0000 (17:01 +0200)] 
Merge pull request #8164 from Habbie/increase-serial-ordername

pdnsutil increase-serial: set right ordername

4 years agopdnsutil increase-serial: set right ordername 8164/head
Peter van Dijk [Tue, 6 Aug 2019 09:12:05 +0000 (11:12 +0200)] 
pdnsutil increase-serial: set right ordername

4 years agoMerge pull request #8129 from Habbie/lmdb-schemaversion
Peter van Dijk [Tue, 6 Aug 2019 10:01:32 +0000 (12:01 +0200)] 
Merge pull request #8129 from Habbie/lmdb-schemaversion

auth lmdb: add schema versioning

4 years agoMerge pull request #8110 from zeha/urls-https
Peter van Dijk [Tue, 6 Aug 2019 09:17:01 +0000 (11:17 +0200)] 
Merge pull request #8110 from zeha/urls-https

Update URLs to use https scheme

4 years agodnsdist: Plug the new 'redirect-responses' metric in
Remi Gacogne [Mon, 5 Aug 2019 10:10:05 +0000 (12:10 +0200)] 
dnsdist: Plug the new 'redirect-responses' metric in

4 years agodnsdist: Handle all custom HTTP codes
Remi Gacogne [Mon, 5 Aug 2019 09:47:57 +0000 (11:47 +0200)] 
dnsdist: Handle all custom HTTP codes

4 years agodnsdist: Document that DNQuestion::setHTTPResponse() is not enough
Remi Gacogne [Fri, 2 Aug 2019 16:08:58 +0000 (18:08 +0200)] 
dnsdist: Document that DNQuestion::setHTTPResponse() is not enough

4 years agodnsdist: Add regression tests for DoH HTTP bindings and actions
Remi Gacogne [Fri, 2 Aug 2019 16:01:49 +0000 (18:01 +0200)] 
dnsdist: Add regression tests for DoH HTTP bindings and actions

4 years agodnsdist: Add Lua bindings to access the HTTP path and headers
Remi Gacogne [Fri, 2 Aug 2019 09:35:19 +0000 (11:35 +0200)] 
dnsdist: Add Lua bindings to access the HTTP path and headers

4 years agodnsdist: Add HTTPStatusAction to return a specific HTTP response
Remi Gacogne [Thu, 1 Aug 2019 16:03:34 +0000 (18:03 +0200)] 
dnsdist: Add HTTPStatusAction to return a specific HTTP response

4 years agodnsdist: Add HTTPPathRegexRule
Remi Gacogne [Thu, 1 Aug 2019 14:36:54 +0000 (16:36 +0200)] 
dnsdist: Add HTTPPathRegexRule

4 years agoMerge pull request #8117 from rgacogne/dnsdist-continue-action
Remi Gacogne [Mon, 5 Aug 2019 15:05:42 +0000 (17:05 +0200)] 
Merge pull request #8117 from rgacogne/dnsdist-continue-action

dnsdist: Implement ContinueAction()

4 years agoMerge pull request #8158 from rgacogne/dnsdist-is-edns-option-in-signedness
Remi Gacogne [Mon, 5 Aug 2019 15:03:24 +0000 (17:03 +0200)] 
Merge pull request #8158 from rgacogne/dnsdist-is-edns-option-in-signedness

dnsdist: Fix signedness issue in isEDNSOptionInOpt()

4 years agoMerge pull request #8140 from rgacogne/rec-doc-special-memory-usage-excluded
Remi Gacogne [Mon, 5 Aug 2019 08:22:42 +0000 (10:22 +0200)] 
Merge pull request #8140 from rgacogne/rec-doc-special-memory-usage-excluded

rec: Document that the special-memory-usage stat is excluded by default

4 years agoMerge pull request #8142 from rgacogne/rec-dnsname-wirelength
Remi Gacogne [Mon, 5 Aug 2019 08:22:11 +0000 (10:22 +0200)] 
Merge pull request #8142 from rgacogne/rec-dnsname-wirelength

Restore the Lua binding for DNSName::wirelength()

4 years agodnsdist: Add a unit test for large EDNS option codes 8158/head
Remi Gacogne [Mon, 5 Aug 2019 07:48:39 +0000 (09:48 +0200)] 
dnsdist: Add a unit test for large EDNS option codes

4 years agodnsdist: Fix signedness issue in isEDNSOptionInOpt()
Remi Gacogne [Sat, 3 Aug 2019 22:13:47 +0000 (00:13 +0200)] 
dnsdist: Fix signedness issue in isEDNSOptionInOpt()

4 years agodnsdist: Add constants and helper functions to the IDState 8154/head
Remi Gacogne [Fri, 2 Aug 2019 16:44:15 +0000 (18:44 +0200)] 
dnsdist: Add constants and helper functions to the IDState

4 years agoMerge pull request #8152 from Habbie/rec-maintenance-version
Peter van Dijk [Thu, 1 Aug 2019 14:42:02 +0000 (16:42 +0200)] 
Merge pull request #8152 from Habbie/rec-maintenance-version

rec docs: fix versionadded for maintenance()

4 years agorec docs: fix versionadded for maintenance() 8152/head
Peter van Dijk [Thu, 1 Aug 2019 14:39:18 +0000 (16:39 +0200)] 
rec docs: fix versionadded for maintenance()

4 years agoMerge pull request #8148 from rgacogne/7900/melissavoegeli/dnsdist_custom_http_respon...
Remi Gacogne [Thu, 1 Aug 2019 07:36:18 +0000 (09:36 +0200)] 
Merge pull request #8148 from rgacogne/7900/melissavoegeli/dnsdist_custom_http_response_headers

dnsdist: Add support for custom DoH headers

4 years agoMerge pull request #8149 from Habbie/select-bad-poll-good
Remi Gacogne [Thu, 1 Aug 2019 07:34:09 +0000 (09:34 +0200)] 
Merge pull request #8149 from Habbie/select-bad-poll-good

auth: stop using select() in places where FDs can be >1023

4 years agoremotebackend pipeconnector: stop using select() 8149/head
Peter van Dijk [Wed, 31 Jul 2019 14:57:03 +0000 (16:57 +0200)] 
remotebackend pipeconnector: stop using select()

4 years agopipebackend coprocess: stop using select()
Peter van Dijk [Wed, 31 Jul 2019 13:59:54 +0000 (15:59 +0200)] 
pipebackend coprocess: stop using select()

4 years agodnsdist: Fix headers handling in the DoH regression tests 8148/head
Remi Gacogne [Wed, 31 Jul 2019 09:45:21 +0000 (11:45 +0200)] 
dnsdist: Fix headers handling in the DoH regression tests

4 years agodnsdist: Add support for custom DoH headers
Cmdr Riker [Sun, 16 Jun 2019 20:21:30 +0000 (15:21 -0500)] 
dnsdist: Add support for custom DoH headers

4 years agoupdate docs for upcoming custom response header changes for dnsdist
Cmdr Riker [Sun, 16 Jun 2019 17:47:50 +0000 (12:47 -0500)] 
update docs for upcoming custom response header changes for dnsdist

4 years agodnsdist: Always use DNSName::toLogString() instead of ::toString()
Remi Gacogne [Tue, 30 Jul 2019 17:44:33 +0000 (19:44 +0200)] 
dnsdist: Always use DNSName::toLogString() instead of ::toString()

4 years agodnsdist: Use a counter to mark IDState usage instead of the FD
Remi Gacogne [Tue, 30 Jul 2019 17:43:34 +0000 (19:43 +0200)] 
dnsdist: Use a counter to mark IDState usage instead of the FD

4 years agoMerge pull request #8146 from Habbie/pg32bit-changelog-4.0-4.1
Peter van Dijk [Tue, 30 Jul 2019 14:51:26 +0000 (16:51 +0200)] 
Merge pull request #8146 from Habbie/pg32bit-changelog-4.0-4.1

auth: changelogs and secpoll for 4.0.9, 4.1.11

4 years agoauth: changelogs and secpoll for 4.0.9, 4.1.11 8146/head
Peter van Dijk [Tue, 30 Jul 2019 14:28:26 +0000 (16:28 +0200)] 
auth: changelogs and secpoll for 4.0.9, 4.1.11

4 years agoMerge pull request #8143 from Habbie/advisory-2019-06
Peter van Dijk [Tue, 30 Jul 2019 11:49:46 +0000 (13:49 +0200)] 
Merge pull request #8143 from Habbie/advisory-2019-06

advisory 2019-06

4 years agoadvisory 2019-06 8143/head
Peter van Dijk [Tue, 30 Jul 2019 11:48:44 +0000 (13:48 +0200)] 
advisory 2019-06

4 years agoRestore the Lua binding for DNSName::wirelength() 8142/head
Remi Gacogne [Tue, 30 Jul 2019 06:38:42 +0000 (08:38 +0200)] 
Restore the Lua binding for DNSName::wirelength()

c052aac71b2ff336ca59421a5bee30564ce9562a renamed it to DNSName::wireLength()
while documenting the DNSName bindings in the auth, unfortunately
breaking compatibility in the recursor.

4 years agorec: Document that the special-memory-usage stat is excluded by default 8140/head
Remi Gacogne [Mon, 29 Jul 2019 15:59:37 +0000 (17:59 +0200)] 
rec: Document that the special-memory-usage stat is excluded by default

4 years agoMerge pull request #8131 from dwfreed/dnsdist-flush-cout
Remi Gacogne [Mon, 29 Jul 2019 08:08:39 +0000 (10:08 +0200)] 
Merge pull request #8131 from dwfreed/dnsdist-flush-cout

dnsdist-console: flush cout after printing g_outputBuffer

4 years agoMerge pull request #8135 from zeha/ipcrypt-license
Peter van Dijk [Mon, 29 Jul 2019 07:20:13 +0000 (09:20 +0200)] 
Merge pull request #8135 from zeha/ipcrypt-license

ext/ipcrypt: Ship LICENSE in tarballs

4 years agoext/ipcrypt: Ship LICENSE in tarballs 8135/head
Chris Hofstaedtler [Sun, 28 Jul 2019 20:38:41 +0000 (22:38 +0200)] 
ext/ipcrypt: Ship LICENSE in tarballs

4 years agoMerge pull request #8132 from jpmens/patch-12
Peter van Dijk [Sat, 27 Jul 2019 21:36:54 +0000 (23:36 +0200)] 
Merge pull request #8132 from jpmens/patch-12

YAML backend

4 years agoYAML backend 8132/head
JP Mens [Sat, 27 Jul 2019 18:37:41 +0000 (20:37 +0200)] 
YAML backend

it appears this is called, or at least a.k.a., the YAML backend, so let's say that.
Also fixes some typos and formatting I noticed This page could use a lot of extra comprehension love, IMO.

4 years agodnsdist-console: flush cout after printing g_outputBuffer 8131/head
Doug Freed [Sat, 27 Jul 2019 05:43:37 +0000 (05:43 +0000)] 
dnsdist-console: flush cout after printing g_outputBuffer

cout may not be a tty, in which case it is block buffered by stdlib, so
flush it after printing g_outputBuffer.

Fixes #8130

4 years agoauth lmdb: add schema versioning 8129/head
Peter van Dijk [Fri, 26 Jul 2019 17:10:49 +0000 (19:10 +0200)] 
auth lmdb: add schema versioning

4 years agoMerge pull request #8097 from Habbie/notifiedserial-bigint
Peter van Dijk [Thu, 25 Jul 2019 15:50:08 +0000 (17:50 +0200)] 
Merge pull request #8097 from Habbie/notifiedserial-bigint

auth: use BIGINT for notified_serial in pg schema

4 years agomake test-schema exit(1) on failure; catch setNotified exception 8097/head
Peter van Dijk [Thu, 18 Jul 2019 18:36:10 +0000 (20:36 +0200)] 
make test-schema exit(1) on failure; catch setNotified exception

4 years agoadd notified_serial range test to pdnsutil test-schema
Peter van Dijk [Thu, 18 Jul 2019 15:35:35 +0000 (17:35 +0200)] 
add notified_serial range test to pdnsutil test-schema

4 years agodocument gsql change_date removal and pgsql type change
Peter van Dijk [Wed, 17 Jul 2019 20:07:00 +0000 (22:07 +0200)] 
document gsql change_date removal and pgsql type change

4 years agouse BIGINT for notified_serial in pg schema; fixes #6815
Peter van Dijk [Wed, 17 Jul 2019 19:06:01 +0000 (21:06 +0200)] 
use BIGINT for notified_serial in pg schema; fixes #6815

4 years agoMerge pull request #8125 from Habbie/tcp-stat
Peter van Dijk [Thu, 25 Jul 2019 08:36:48 +0000 (10:36 +0200)] 
Merge pull request #8125 from Habbie/tcp-stat

auth: add metric for open TCP connections

4 years agoauth: add metric for open TCP connections 8125/head
Peter van Dijk [Wed, 24 Jul 2019 16:48:33 +0000 (18:48 +0200)] 
auth: add metric for open TCP connections

4 years agoMerge pull request #8120 from zeha/opencsw
Peter van Dijk [Wed, 24 Jul 2019 08:15:30 +0000 (10:15 +0200)] 
Merge pull request #8120 from zeha/opencsw

README: remove OpenCSW advice

4 years agoREADME: remove OpenCSW advice 8120/head
Chris Hofstaedtler [Wed, 24 Jul 2019 08:08:42 +0000 (10:08 +0200)] 
README: remove OpenCSW advice

4 years agodnsdist: Document that ContinueAction() will be added in 1.4.0 8117/head
Remi Gacogne [Tue, 23 Jul 2019 12:21:57 +0000 (14:21 +0200)] 
dnsdist: Document that ContinueAction() will be added in 1.4.0

4 years agodnsdist: Implement ContinueAction()
Remi Gacogne [Tue, 23 Jul 2019 09:11:53 +0000 (11:11 +0200)] 
dnsdist: Implement ContinueAction()

4 years agoMerge pull request #8113 from rgacogne/ddist-tcp-outstanding
Remi Gacogne [Tue, 23 Jul 2019 08:21:23 +0000 (10:21 +0200)] 
Merge pull request #8113 from rgacogne/ddist-tcp-outstanding

dnsdist: Double-check we only increment the outstanding counter once

4 years agoMerge pull request #8116 from rgacogne/dnsdist-fix-regression-tests-py2
Remi Gacogne [Mon, 22 Jul 2019 19:55:09 +0000 (21:55 +0200)] 
Merge pull request #8116 from rgacogne/dnsdist-fix-regression-tests-py2

dnsdist: Fix a UnicodeDecodeError with py2 in the regression tests

4 years agoUpdate URLs to use https scheme 8110/head
Chris Hofstaedtler [Sun, 21 Jul 2019 20:00:30 +0000 (22:00 +0200)] 
Update URLs to use https scheme

For www.powerdns.com, blog.powerdns.com, dnsdist.org, and debian.org.

Excluded: most pre-4.0 changelog items.

4 years agodnsdist: Fix a UnicodeDecodeError with py2 in the regression tests 8116/head
Remi Gacogne [Mon, 22 Jul 2019 13:13:33 +0000 (15:13 +0200)] 
dnsdist: Fix a UnicodeDecodeError with py2 in the regression tests

4 years agoMerge pull request #8112 from rgacogne/dnsdist-doh-dangling-send-error
Remi Gacogne [Mon, 22 Jul 2019 12:39:48 +0000 (14:39 +0200)] 
Merge pull request #8112 from rgacogne/dnsdist-doh-dangling-send-error

dnsdist: Prevent a dangling DOHUnit pointer when send() failed

4 years agoMerge pull request #8081 from pieterlexis/configure-fail-on-no-systemctl
Pieter Lexis [Mon, 22 Jul 2019 12:06:21 +0000 (14:06 +0200)] 
Merge pull request #8081 from pieterlexis/configure-fail-on-no-systemctl

m4/systemd.m4: Fail when systemctl is not available

4 years agoMerge pull request #7951 from pieterlexis/update-boost-m4
Pieter Lexis [Mon, 22 Jul 2019 12:05:28 +0000 (14:05 +0200)] 
Merge pull request #7951 from pieterlexis/update-boost-m4

Update boost.m4

4 years agodnsdist: Prevent a dangling DOHUnit pointer when send() failed 8112/head
Remi Gacogne [Mon, 22 Jul 2019 08:38:51 +0000 (10:38 +0200)] 
dnsdist: Prevent a dangling DOHUnit pointer when send() failed

4 years agodnsdist: Double-check we only increment the outstanding counter once 8113/head
Remi Gacogne [Mon, 22 Jul 2019 08:36:57 +0000 (10:36 +0200)] 
dnsdist: Double-check we only increment the outstanding counter once

4 years agoMerge pull request #8107 from phonedph1/patch-9
Remi Gacogne [Mon, 22 Jul 2019 07:24:15 +0000 (09:24 +0200)] 
Merge pull request #8107 from phonedph1/patch-9

Update rules-actions.rst

4 years agoMerge pull request #8109 from zeha/spelling
Remi Gacogne [Mon, 22 Jul 2019 07:22:47 +0000 (09:22 +0200)] 
Merge pull request #8109 from zeha/spelling

Fix some spelling errors found by lintian

4 years agoMerge pull request #8111 from Habbie/docutils-no-0.15
Peter van Dijk [Sun, 21 Jul 2019 21:59:19 +0000 (23:59 +0200)] 
Merge pull request #8111 from Habbie/docutils-no-0.15

avoid docutils 0.15: https://sourceforge.net/p/docutils/bugs/365/

4 years agoavoid docutils 0.15: https://sourceforge.net/p/docutils/bugs/365/ 8111/head
Peter van Dijk [Sun, 21 Jul 2019 20:48:02 +0000 (22:48 +0200)] 
avoid docutils 0.15: https://sourceforge.net/p/docutils/bugs/365/

4 years agoFix some spelling errors found by lintian 8109/head
Chris Hofstaedtler [Sun, 21 Jul 2019 15:14:21 +0000 (17:14 +0200)] 
Fix some spelling errors found by lintian

4 years agoUpdate pdns/dnsdistdist/docs/rules-actions.rst 8107/head
phonedph1 [Sun, 21 Jul 2019 13:49:04 +0000 (07:49 -0600)] 
Update pdns/dnsdistdist/docs/rules-actions.rst

Co-Authored-By: Matt Nordhoff <mnordhoff@mattnordhoff.com>
4 years agoUpdate rules-actions.rst
phonedph1 [Sun, 21 Jul 2019 00:27:50 +0000 (18:27 -0600)] 
Update rules-actions.rst

s/cname/value/

4 years agoMerge pull request #8105 from phonedph1/patch-8
Peter van Dijk [Sat, 20 Jul 2019 00:20:29 +0000 (02:20 +0200)] 
Merge pull request #8105 from phonedph1/patch-8

Update dnsdist-web.cc

4 years agoUpdate dnsdist-web.cc 8105/head
phonedph1 [Fri, 19 Jul 2019 23:38:46 +0000 (17:38 -0600)] 
Update dnsdist-web.cc

Per isomer ;)

4 years agoMerge pull request #7872 from Habbie/auth-lua-reuse-docs
Peter van Dijk [Fri, 19 Jul 2019 22:09:19 +0000 (00:09 +0200)] 
Merge pull request #7872 from Habbie/auth-lua-reuse-docs

LUA record documentation (version number, shared model)

4 years agoMerge pull request #8093 from Habbie/nproxy-whatis
Peter van Dijk [Thu, 18 Jul 2019 10:31:27 +0000 (12:31 +0200)] 
Merge pull request #8093 from Habbie/nproxy-whatis

add whatis description to nproxy man page

4 years agoclarify that states are per-thread 7872/head
Peter van Dijk [Wed, 17 Jul 2019 17:20:29 +0000 (19:20 +0200)] 
clarify that states are per-thread

4 years agoadd whatis description to nproxy man page 8093/head
Peter van Dijk [Wed, 17 Jul 2019 16:59:13 +0000 (18:59 +0200)] 
add whatis description to nproxy man page

4 years agoUse the boost.m4 boost::context detection 7951/head
Pieter Lexis [Wed, 17 Jul 2019 15:03:15 +0000 (17:03 +0200)] 
Use the boost.m4 boost::context detection

4 years agoUpdate boost.m4 to serial 30
Pieter Lexis [Wed, 17 Jul 2019 14:50:46 +0000 (16:50 +0200)] 
Update boost.m4 to serial 30

4 years agoEnable systemd in coverity builds 8081/head
Pieter Lexis [Wed, 17 Jul 2019 14:45:30 +0000 (16:45 +0200)] 
Enable systemd in coverity builds

4 years agoMerge pull request #8090 from Habbie/lgtm-fewer-features
Peter van Dijk [Wed, 17 Jul 2019 12:56:51 +0000 (14:56 +0200)] 
Merge pull request #8090 from Habbie/lgtm-fewer-features

Revert "enable a bunch of extra features during LGTM builds"

4 years agoRevert "enable a bunch of extra features during LGTM builds" 8090/head
Peter van Dijk [Wed, 17 Jul 2019 12:53:30 +0000 (14:53 +0200)] 
Revert "enable a bunch of extra features during LGTM builds"

This reverts commit 8763cf1ca8ba2c7266521272fedc2b130af71f75.

4 years agoMerge pull request #7927 from rgacogne/dnsdist-doh-timeout
Remi Gacogne [Wed, 17 Jul 2019 12:02:11 +0000 (14:02 +0200)] 
Merge pull request #7927 from rgacogne/dnsdist-doh-timeout

dnsdist: Proper HTTP response for timeouts over DoH

4 years agoMerge pull request #8089 from omoerbeek/fix_rfc1982_less_than
Otto Moerbeek [Wed, 17 Jul 2019 12:01:50 +0000 (14:01 +0200)] 
Merge pull request #8089 from omoerbeek/fix_rfc1982_less_than

Fix the rfc1982LessThan template, it only works properly if the cast …

4 years agoMerge pull request #8088 from rgacogne/dnsdist-fix-unbound-wire-regression
Remi Gacogne [Wed, 17 Jul 2019 08:57:48 +0000 (10:57 +0200)] 
Merge pull request #8088 from rgacogne/dnsdist-fix-unbound-wire-regression

dnsdist: Fix local variable 'wire' referenced before assignment

4 years agoAdd static assert to ensure T is unsigned. 8089/head
Otto Moerbeek [Wed, 17 Jul 2019 08:57:44 +0000 (10:57 +0200)] 
Add static assert to ensure T is unsigned.

4 years agoFix the rfc1982LessThan template, it only works properly if the cast is done to a...
Otto Moerbeek [Wed, 17 Jul 2019 08:37:19 +0000 (10:37 +0200)] 
Fix the rfc1982LessThan template, it only works properly if the cast is done to a same-sized type.

If we use it for uint8_t or uint64_t it breaks currenty.  Add unit tests while there.

4 years agodnsdist: Drop the response if the IDState has been reused under our feet 7927/head
Remi Gacogne [Wed, 17 Jul 2019 08:24:55 +0000 (10:24 +0200)] 
dnsdist: Drop the response if the IDState has been reused under our feet

4 years agodnsdist: Fix the DoH (https) response information in verbose mode
Remi Gacogne [Wed, 17 Jul 2019 08:24:10 +0000 (10:24 +0200)] 
dnsdist: Fix the DoH (https) response information in verbose mode

4 years agoMerge pull request #8087 from rgacogne/mplexer-test-debug
Remi Gacogne [Wed, 17 Jul 2019 07:58:33 +0000 (09:58 +0200)] 
Merge pull request #8087 from rgacogne/mplexer-test-debug

Don't fail the test right away if we don't have the right number of FDs ready

4 years agodnsdist: Fix local variable 'wire' referenced before assignment 8088/head
Remi Gacogne [Wed, 17 Jul 2019 07:57:14 +0000 (09:57 +0200)] 
dnsdist: Fix local variable 'wire' referenced before assignment

4 years agoMerge pull request #8071 from cmouse/tsig-key
Peter van Dijk [Tue, 16 Jul 2019 15:04:48 +0000 (17:04 +0200)] 
Merge pull request #8071 from cmouse/tsig-key

packethandler: Compare TSIG key name using DNSName

4 years agodnsdist: Add comments about the use of IDStates and origFD
Remi Gacogne [Tue, 16 Jul 2019 13:37:25 +0000 (15:37 +0200)] 
dnsdist: Add comments about the use of IDStates and origFD

4 years agoDon't fail the test right away if we don't have the right number of FDs ready 8087/head
Remi Gacogne [Tue, 16 Jul 2019 12:05:12 +0000 (14:05 +0200)] 
Don't fail the test right away if we don't have the right number of FDs ready

This way we can at least check that the callbacks are called later.
Also, since it looks like the read pipe is always reported as ready,
let's try to write first to see if it blocks.