]> granicus.if.org Git - pdns/log
pdns
5 years agodnsdist: Add regression tests for the LMDB KVS feature
Remi Gacogne [Wed, 24 Jul 2019 10:24:20 +0000 (12:24 +0200)]
dnsdist: Add regression tests for the LMDB KVS feature

5 years agodnsdist: Add KVS lookup, lookupSuffix and reload bindings to Lua
Remi Gacogne [Wed, 17 Jul 2019 16:08:49 +0000 (18:08 +0200)]
dnsdist: Add KVS lookup, lookupSuffix and reload bindings to Lua

5 years agodnsdist: Add support for periodically reloading the CDB KVS
Remi Gacogne [Wed, 17 Jul 2019 14:19:59 +0000 (16:19 +0200)]
dnsdist: Add support for periodically reloading the CDB KVS

5 years agodnsdist: Add more KVS unit tests
Remi Gacogne [Wed, 17 Jul 2019 12:51:26 +0000 (14:51 +0200)]
dnsdist: Add more KVS unit tests

5 years agodnsdist: Proper creation of the LMDB and CDB test databases
Remi Gacogne [Tue, 16 Jul 2019 15:03:05 +0000 (17:03 +0200)]
dnsdist: Proper creation of the LMDB and CDB test databases

5 years agodnsdist: Add KVS suffix matching
Remi Gacogne [Fri, 12 Jul 2019 15:38:10 +0000 (17:38 +0200)]
dnsdist: Add KVS suffix matching

5 years agodnsdist: Initial implementation of a CDB-based Key Value Store
Remi Gacogne [Fri, 12 Jul 2019 08:18:24 +0000 (10:18 +0200)]
dnsdist: Initial implementation of a CDB-based Key Value Store

5 years agoUpdate OBJECTFILES
Remi Gacogne [Tue, 23 Jul 2019 11:44:43 +0000 (13:44 +0200)]
Update OBJECTFILES

5 years agoMove cdb.{cc ,hh} to the pdns directory
Remi Gacogne [Thu, 11 Jul 2019 16:58:22 +0000 (18:58 +0200)]
Move cdb.{cc ,hh} to the pdns directory

5 years agoClean up the CDB code to make it usable from dnsdist
Remi Gacogne [Wed, 10 Jul 2019 14:14:01 +0000 (16:14 +0200)]
Clean up the CDB code to make it usable from dnsdist

5 years agodnsdist: Add a KeyValueStoreLookup action based on LMDB
Remi Gacogne [Thu, 4 Jul 2019 16:12:13 +0000 (18:12 +0200)]
dnsdist: Add a KeyValueStoreLookup action based on LMDB

5 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

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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

5 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()

5 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()

5 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

5 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()

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

5 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()

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

5 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()

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

5 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

5 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

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

5 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()

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

5 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

5 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

5 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()

5 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

5 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

5 years agoauth: changelogs and secpoll for 4.0.9, 4.1.11
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

5 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

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

5 years agoRestore the Lua binding for DNSName::wirelength()
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.

5 years agorec: Document that the special-memory-usage stat is excluded by default
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

5 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

5 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

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

5 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

5 years agoYAML backend
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.

5 years agodnsdist-console: flush cout after printing g_outputBuffer
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

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

5 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

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

5 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

5 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

5 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

5 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

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

5 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

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

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

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

5 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

5 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

5 years agoUpdate URLs to use https scheme
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.

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

5 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

5 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

5 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

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

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

5 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

5 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

5 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/

5 years agoavoid docutils 0.15: https://sourceforge.net/p/docutils/bugs/365/
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/

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

5 years agoUpdate pdns/dnsdistdist/docs/rules-actions.rst
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>
5 years agoUpdate rules-actions.rst
phonedph1 [Sun, 21 Jul 2019 00:27:50 +0000 (18:27 -0600)]
Update rules-actions.rst

s/cname/value/

5 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

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

Per isomer ;)

5 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)

5 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

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

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

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

5 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

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

5 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"

5 years agoRevert "enable a bunch of extra features during LGTM builds"
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.

5 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

5 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 …

5 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

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

5 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.

5 years agodnsdist: Drop the response if the IDState has been reused under our feet
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