]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
19 months agodnsdist: Fix alt-svc typo in the documentation example 13648/head
Remi Gacogne [Mon, 18 Dec 2023 11:36:48 +0000 (12:36 +0100)] 
dnsdist: Fix alt-svc typo in the documentation example

19 months agodnsdist: Document how to advertise HTTP/3 support over HTTP/2
Remi Gacogne [Mon, 18 Dec 2023 10:59:19 +0000 (11:59 +0100)] 
dnsdist: Document how to advertise HTTP/3 support over HTTP/2

19 months agodnsdist: Document `showDOH3Frontends`
Remi Gacogne [Mon, 18 Dec 2023 10:58:42 +0000 (11:58 +0100)] 
dnsdist: Document `showDOH3Frontends`

19 months agoMerge pull request #13552 from mind04/lmdb-timeout
Peter van Dijk [Thu, 14 Dec 2023 12:00:45 +0000 (13:00 +0100)] 
Merge pull request #13552 from mind04/lmdb-timeout

auth: extend the systemd startup timeout during lmdb schema migrations

19 months agoMerge pull request #13619 from nvaatstra/auth-supervisor
Peter van Dijk [Thu, 14 Dec 2023 11:53:58 +0000 (12:53 +0100)] 
Merge pull request #13619 from nvaatstra/auth-supervisor

Add supervisor to Auth container image

19 months agoMerge pull request #13622 from rgacogne/ddist-fix-doc-versionadded-removerange
Remi Gacogne [Thu, 14 Dec 2023 10:51:59 +0000 (11:51 +0100)] 
Merge pull request #13622 from rgacogne/ddist-fix-doc-versionadded-removerange

dnsdist: Fix `DynBlockRulesGroup:removeRange`'s version in the docs

19 months agoone sentence per line 13619/head
Peter van Dijk [Thu, 14 Dec 2023 10:32:18 +0000 (11:32 +0100)] 
one sentence per line

19 months agodnsdist: Fix `DynBlockRulesGroup:removeRange`'s version in the docs 13622/head
Remi Gacogne [Thu, 14 Dec 2023 10:10:16 +0000 (11:10 +0100)] 
dnsdist: Fix `DynBlockRulesGroup:removeRange`'s version in the docs

19 months agoMerge pull request #13612 from omoerbeek/rec-13588-followup
Remi Gacogne [Thu, 14 Dec 2023 09:53:04 +0000 (10:53 +0100)] 
Merge pull request #13612 from omoerbeek/rec-13588-followup

rec: Always set the two new vars in the Makefile, followup to 13588

19 months agoMerge pull request #13595 from rgacogne/ddist-190-a4
Remi Gacogne [Thu, 14 Dec 2023 09:51:36 +0000 (10:51 +0100)] 
Merge pull request #13595 from rgacogne/ddist-190-a4

dnsdist: ChangeLog and secpoll update for 1.9.0-alpha4

19 months agoMerge pull request #13620 from PowerDNS/dependabot/github_actions/github/codeql-action-3 dnsdist-1.9.0-alpha4
Remi Gacogne [Thu, 14 Dec 2023 08:36:43 +0000 (09:36 +0100)] 
Merge pull request #13620 from PowerDNS/dependabot/github_actions/github/codeql-action-3

build(deps): bump github/codeql-action from 2 to 3

19 months agoMerge pull request #13618 from fredmorcos/dnsresourcerecord-cleanup
Remi Gacogne [Thu, 14 Dec 2023 08:35:42 +0000 (09:35 +0100)] 
Merge pull request #13618 from fredmorcos/dnsresourcerecord-cleanup

Small cleanup of `DNSResourceRecord`

19 months agoMerge pull request #13614 from fredmorcos/fix-type-qual-warning
Remi Gacogne [Thu, 14 Dec 2023 08:32:55 +0000 (09:32 +0100)] 
Merge pull request #13614 from fredmorcos/fix-type-qual-warning

Fix type qualifier warning

19 months agoMerge pull request #13610 from chbruyand/dnsdist-fix-13609
Remi Gacogne [Thu, 14 Dec 2023 08:29:44 +0000 (09:29 +0100)] 
Merge pull request #13610 from chbruyand/dnsdist-fix-13609

dnsdist: display if DNS over HTTP/3 is enabled or not in the configure report

19 months agobuild(deps): bump github/codeql-action from 2 to 3 13620/head
dependabot[bot] [Wed, 13 Dec 2023 15:51:40 +0000 (15:51 +0000)] 
build(deps): bump github/codeql-action from 2 to 3

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
19 months agoCleanup DNSResourceRecord 13618/head
Fred Morcos [Wed, 13 Dec 2023 13:56:53 +0000 (14:56 +0100)] 
Cleanup DNSResourceRecord

19 months agoMinor docs change regarding supervisord in Kubernetes
Nico Vaatstra [Wed, 13 Dec 2023 14:12:36 +0000 (15:12 +0100)] 
Minor docs change regarding supervisord in Kubernetes

19 months agoFormat DNSResourceRecord
Fred Morcos [Wed, 13 Dec 2023 13:53:53 +0000 (14:53 +0100)] 
Format DNSResourceRecord

19 months agoCleanup dns.hh
Fred Morcos [Wed, 13 Dec 2023 13:52:28 +0000 (14:52 +0100)] 
Cleanup dns.hh

19 months agoSupervisor in Auth container image
Nico Vaatstra [Wed, 13 Dec 2023 14:01:10 +0000 (15:01 +0100)] 
Supervisor in Auth container image

19 months agoFix type qualifier warning 13614/head
Fred Morcos [Wed, 13 Dec 2023 12:31:47 +0000 (13:31 +0100)] 
Fix type qualifier warning

19 months agorec: Always set the two new vars in the Makefile, follow up to 13588 13612/head
Otto Moerbeek [Wed, 13 Dec 2023 11:03:54 +0000 (12:03 +0100)] 
rec: Always set the two new vars in the Makefile, follow up to 13588

Fixes #13611

19 months agodnsdist: display if DNS over HTTP/3 is enabled or not in the configure report 13610/head
Charles-Henri Bruyand [Wed, 13 Dec 2023 08:27:34 +0000 (09:27 +0100)] 
dnsdist: display if DNS over HTTP/3 is enabled or not in the configure report

19 months agoMerge pull request #13564 from rgacogne/ddist-payload-size-rule
Remi Gacogne [Tue, 12 Dec 2023 16:02:51 +0000 (17:02 +0100)] 
Merge pull request #13564 from rgacogne/ddist-payload-size-rule

dnsdist: Add `PayloadSizeRule` and `TCResponseAction`

19 months agoMerge pull request #13594 from rgacogne/ddist-http1
Remi Gacogne [Tue, 12 Dec 2023 15:52:08 +0000 (16:52 +0100)] 
Merge pull request #13594 from rgacogne/ddist-http1

dnsdist: Send a HTTP 400 response to HTTP/1.1 clients

19 months agodnsdist: Add 13564, 13592 and 13594 to the ChangeLog 13595/head
Remi Gacogne [Tue, 12 Dec 2023 15:18:09 +0000 (16:18 +0100)] 
dnsdist: Add 13564, 13592 and 13594 to the ChangeLog

19 months agodnsdist: Clarify that `TCResponseAction` removes all records 13564/head
Remi Gacogne [Tue, 12 Dec 2023 15:05:41 +0000 (16:05 +0100)] 
dnsdist: Clarify that `TCResponseAction` removes all records

19 months agoMerge pull request #13593 from rgacogne/ddist-regression-tests-ffi-dnsheader
Remi Gacogne [Tue, 12 Dec 2023 15:00:44 +0000 (16:00 +0100)] 
Merge pull request #13593 from rgacogne/ddist-regression-tests-ffi-dnsheader

dnsdist: Add regression tests for DNS header set/get via Lua FFI

19 months agoMerge pull request #13592 from rgacogne/qname-suffix-rule
Remi Gacogne [Tue, 12 Dec 2023 14:59:19 +0000 (15:59 +0100)] 
Merge pull request #13592 from rgacogne/qname-suffix-rule

dnsdist: Add `QNameSuffixRule`

19 months agotcpiohandler: Added a comment explaining the HTTP/1.1 addition to ALPN 13594/head
Remi Gacogne [Tue, 12 Dec 2023 14:21:54 +0000 (15:21 +0100)] 
tcpiohandler: Added a comment explaining the HTTP/1.1 addition to ALPN

19 months agodnsdist: Uh, phrasing!
Remi Gacogne [Tue, 12 Dec 2023 14:04:21 +0000 (15:04 +0100)] 
dnsdist: Uh, phrasing!

19 months agodnsdist: Clarify the Lua FFI DNS header set/get regression tests 13593/head
Remi Gacogne [Tue, 12 Dec 2023 13:54:07 +0000 (14:54 +0100)] 
dnsdist: Clarify the Lua FFI DNS header set/get regression tests

19 months agodnsdist: Fix a typo in the documentation 13592/head
Remi Gacogne [Tue, 12 Dec 2023 13:50:22 +0000 (14:50 +0100)] 
dnsdist: Fix a typo in the documentation

19 months agodnsdist: Fix documentation issues reported by Habbie
Remi Gacogne [Tue, 12 Dec 2023 13:48:11 +0000 (14:48 +0100)] 
dnsdist: Fix documentation issues reported by Habbie

19 months agodnsdist: Fix formatting issues in the documentation
Remi Gacogne [Mon, 11 Dec 2023 15:15:23 +0000 (16:15 +0100)] 
dnsdist: Fix formatting issues in the documentation

19 months agodnsdist: Document that `makeRule` and friends are deprecated in the upgrade guide
Remi Gacogne [Mon, 11 Dec 2023 15:14:44 +0000 (16:14 +0100)] 
dnsdist: Document that `makeRule` and friends are deprecated in the upgrade guide

19 months agodnsdist: ChangeLog and secpoll update for 1.9.0-alpha4
Remi Gacogne [Mon, 20 Nov 2023 13:37:15 +0000 (14:37 +0100)] 
dnsdist: ChangeLog and secpoll update for 1.9.0-alpha4

19 months agodnsdist: Send a HTTP 400 response to HTTP/1.1 clients
Remi Gacogne [Thu, 2 Nov 2023 09:30:19 +0000 (10:30 +0100)] 
dnsdist: Send a HTTP 400 response to HTTP/1.1 clients

Explaining that DNSdist with nghttp2 only supports DNS over HTTP2.

19 months agoMerge pull request #13565 from rgacogne/ddist-more-lua-helpers
Remi Gacogne [Mon, 11 Dec 2023 13:43:13 +0000 (14:43 +0100)] 
Merge pull request #13565 from rgacogne/ddist-more-lua-helpers

dnsdist: Add Lua FFI bindings: hashing arbitrary data and knowing if the query was received over IPv6

19 months agodnsdist: Add regression tests for DNS header set/get via Lua FFI
Remi Gacogne [Mon, 11 Dec 2023 11:52:05 +0000 (12:52 +0100)] 
dnsdist: Add regression tests for DNS header set/get via Lua FFI

19 months agoMerge pull request #13560 from rgacogne/ddist-spoof-raw-any
Remi Gacogne [Mon, 11 Dec 2023 09:58:49 +0000 (10:58 +0100)] 
Merge pull request #13560 from rgacogne/ddist-spoof-raw-any

dnsdist: Spoof a raw response for ANY queries

19 months agodnsdist: Add `QNameSuffixRule`
Remi Gacogne [Mon, 11 Dec 2023 09:55:30 +0000 (10:55 +0100)] 
dnsdist: Add `QNameSuffixRule`

An easier to type alias to `SuffixMatchNodeRule`, as suggested
by HÃ¥kan Lindqvist.

19 months agoMerge pull request #13492 from rgacogne/ddist-dbrg-cache-miss-ratio
Remi Gacogne [Mon, 11 Dec 2023 09:51:07 +0000 (10:51 +0100)] 
Merge pull request #13492 from rgacogne/ddist-dbrg-cache-miss-ratio

dnsdist: Add a cache-miss ratio dynamic block rule

19 months agoMerge pull request #13588 from omoerbeek/rec-dir-defaults
Otto Moerbeek [Mon, 11 Dec 2023 08:56:21 +0000 (09:56 +0100)] 
Merge pull request #13588 from omoerbeek/rec-dir-defaults

Rec: correct defaults of various dirs

19 months agodnsdist: No need to multiply 1.0 in cache-miss ratio dynblocks 13492/head
Remi Gacogne [Fri, 8 Dec 2023 16:19:12 +0000 (17:19 +0100)] 
dnsdist: No need to multiply 1.0 in cache-miss ratio dynblocks

As suggested by Charles-Henri, thanks!

19 months agodnsdist: Yet more delinting
Remi Gacogne [Mon, 20 Nov 2023 19:16:34 +0000 (20:16 +0100)] 
dnsdist: Yet more delinting

19 months agodnsdist: Format dnsdist-dynblocks.hh
Remi Gacogne [Mon, 20 Nov 2023 16:01:09 +0000 (17:01 +0100)] 
dnsdist: Format dnsdist-dynblocks.hh

19 months agodnsdist: More delinting
Remi Gacogne [Fri, 17 Nov 2023 08:33:54 +0000 (09:33 +0100)] 
dnsdist: More delinting

19 months agodnsdist: Require a minimum cache-hit ratio in `DynBlockRulesGroup:setCacheMissRatio()`
Remi Gacogne [Thu, 16 Nov 2023 09:53:42 +0000 (10:53 +0100)] 
dnsdist: Require a minimum cache-hit ratio in `DynBlockRulesGroup:setCacheMissRatio()`

19 months agodnsdist: Delint test-dnsdistdynblocks_hh.cc
Remi Gacogne [Thu, 16 Nov 2023 09:53:20 +0000 (10:53 +0100)] 
dnsdist: Delint test-dnsdistdynblocks_hh.cc

19 months agodnsdist: Add a cache-miss ratio dynamic block rule
Remi Gacogne [Tue, 14 Nov 2023 15:42:14 +0000 (16:42 +0100)] 
dnsdist: Add a cache-miss ratio dynamic block rule

This PR adds the `DynBlockRulesGroup:setCacheMissRatio()` method
which can be used to throttle clients exceeding a ratio of cache misses
for a minimum number of queries over a period of time.

19 months agoBeter default value (saying "it depends") in generated docs for settings 13588/head
Otto Moerbeek [Mon, 11 Dec 2023 08:07:00 +0000 (09:07 +0100)] 
Beter default value (saying "it depends") in generated docs for settings
that are determined by distribution packaging.

19 months agoMerge pull request #13591 from rgacogne/ddist-unbreak
Otto Moerbeek [Mon, 11 Dec 2023 08:11:05 +0000 (09:11 +0100)] 
Merge pull request #13591 from rgacogne/ddist-unbreak

dnsdist: Fix compilation issue

19 months agoMerge pull request #13423 from phonedph1/patch-3
Otto Moerbeek [Mon, 11 Dec 2023 07:14:18 +0000 (08:14 +0100)] 
Merge pull request #13423 from phonedph1/patch-3

rec: Update performance.rst

19 months agodnsdist: Fix compilation issue 13591/head
Remi Gacogne [Fri, 8 Dec 2023 17:01:06 +0000 (18:01 +0100)] 
dnsdist: Fix compilation issue

Introduced by a conflict between #12922 and #13556.

19 months agoMerge pull request #13517 from rgacogne/ddist-proxy-protocol-per-bind
Remi Gacogne [Fri, 8 Dec 2023 16:14:24 +0000 (17:14 +0100)] 
Merge pull request #13517 from rgacogne/ddist-proxy-protocol-per-bind

dnsdist: Allow enabling incoming PROXY protocol on a per-bind basis

19 months agodnsdist: Apply Otto's suggestion for the qtypeForAny parameter 13560/head
Remi Gacogne [Fri, 8 Dec 2023 15:59:30 +0000 (16:59 +0100)] 
dnsdist: Apply Otto's suggestion for the qtypeForAny parameter

19 months agoMerge pull request #13556 from chbruyand/dnsdist-doh3
Remi Gacogne [Fri, 8 Dec 2023 15:05:02 +0000 (16:05 +0100)] 
Merge pull request #13556 from chbruyand/dnsdist-doh3

dnsdist: add support for incoming DNS over HTTP/3

19 months agoMerge pull request #13583 from rgacogne/ddist-fix-race-async-test
Remi Gacogne [Fri, 8 Dec 2023 15:01:06 +0000 (16:01 +0100)] 
Merge pull request #13583 from rgacogne/ddist-fix-race-async-test

dnsdist: Fix a race in the async regression tests

19 months agoMerge pull request #13584 from rgacogne/ddist-network-listener-data
Remi Gacogne [Fri, 8 Dec 2023 15:00:48 +0000 (16:00 +0100)] 
Merge pull request #13584 from rgacogne/ddist-network-listener-data

dnsdist: Fix a small race in the NetworkListener

19 months agodnsdist: Rename 'allowProxyProtocol' to 'enableProxyProtocol' 13517/head
Remi Gacogne [Thu, 7 Dec 2023 09:33:36 +0000 (10:33 +0100)] 
dnsdist: Rename 'allowProxyProtocol' to 'enableProxyProtocol'

19 months agodnsdist: Delint dnsdist-tcp.cc
Remi Gacogne [Fri, 24 Nov 2023 08:27:39 +0000 (09:27 +0100)] 
dnsdist: Delint dnsdist-tcp.cc

19 months agodnsdist: Fix a few clang-tidy warnings
Remi Gacogne [Mon, 20 Nov 2023 16:23:43 +0000 (17:23 +0100)] 
dnsdist: Fix a few clang-tidy warnings

19 months agodnsdist: Allow enabling incoming PROXY protocol on a per-bind basis
Remi Gacogne [Mon, 20 Nov 2023 15:21:21 +0000 (16:21 +0100)] 
dnsdist: Allow enabling incoming PROXY protocol on a per-bind basis

The per-bind option defaults to `true` as to not break existing
configuration, but setting `allowProxyProtocol=false` on a
`add*Local()` directive disables proxy-protocol handling for this
specific bind.

19 months agoUse correct compile time values for the NOD and UDR dirs
Otto Moerbeek [Fri, 8 Dec 2023 08:38:24 +0000 (09:38 +0100)] 
Use correct compile time values for the NOD and UDR dirs

19 months agoRespect RUNTIME_DIRECTORY as a default for socket-dir
Otto Moerbeek [Fri, 8 Dec 2023 08:37:08 +0000 (09:37 +0100)] 
Respect RUNTIME_DIRECTORY as a default for socket-dir

This was lost with the conversion to the new settings.

19 months agodnsdist: More delinting of the DoH3 code 13556/head
Remi Gacogne [Thu, 7 Dec 2023 10:58:06 +0000 (11:58 +0100)] 
dnsdist: More delinting of the DoH3 code

19 months agodnsdist: Split the DoH3 event handling loop off the main one
Remi Gacogne [Tue, 5 Dec 2023 16:03:30 +0000 (17:03 +0100)] 
dnsdist: Split the DoH3 event handling loop off the main one

19 months agodnsdist: Add showDOH3Frontends()
Remi Gacogne [Tue, 5 Dec 2023 16:02:49 +0000 (17:02 +0100)] 
dnsdist: Add showDOH3Frontends()

19 months agodnsdist: Fix clang-tidy warnings
Remi Gacogne [Tue, 5 Dec 2023 14:50:52 +0000 (15:50 +0100)] 
dnsdist: Fix clang-tidy warnings

19 months agodnsdist: doh3 clean some var names
Charles-Henri Bruyand [Tue, 5 Dec 2023 10:54:11 +0000 (11:54 +0100)] 
dnsdist: doh3 clean some var names

19 months agodnsdist: doh3 add support for post queries
Charles-Henri Bruyand [Mon, 4 Dec 2023 14:58:03 +0000 (15:58 +0100)] 
dnsdist: doh3 add support for post queries

19 months agodnsdist: doh3 fix a few review points
Charles-Henri Bruyand [Mon, 4 Dec 2023 13:04:31 +0000 (14:04 +0100)] 
dnsdist: doh3 fix a few review points

19 months agodnsdist: doh3, appease the CI folks
Charles-Henri Bruyand [Mon, 4 Dec 2023 08:58:18 +0000 (09:58 +0100)] 
dnsdist: doh3, appease the CI folks

19 months agodnsdist: add some words about doh3 in documentation
Charles-Henri Bruyand [Mon, 4 Dec 2023 08:15:35 +0000 (09:15 +0100)] 
dnsdist: add some words about doh3 in documentation

19 months agodnsdist: refactor some common code between doq/doh3
Charles-Henri Bruyand [Fri, 24 Nov 2023 16:59:55 +0000 (17:59 +0100)] 
dnsdist: refactor some common code between doq/doh3

19 months agodnsdist: doh3 clarify fin usage
Charles-Henri Bruyand [Thu, 23 Nov 2023 13:43:29 +0000 (14:43 +0100)] 
dnsdist: doh3 clarify fin usage

19 months agodnsdist: Handle HTTP/3 error responses
Remi Gacogne [Thu, 23 Nov 2023 13:36:48 +0000 (14:36 +0100)] 
dnsdist: Handle HTTP/3 error responses

19 months agodnsdist: Refactor QUIC tests so that they can be used for DoQ and DoH3
Remi Gacogne [Thu, 23 Nov 2023 13:35:56 +0000 (14:35 +0100)] 
dnsdist: Refactor QUIC tests so that they can be used for DoQ and DoH3

19 months agodnsdist: enable doh3 in our CI
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:17:35 +0000 (11:17 +0100)] 
dnsdist: enable doh3 in our CI

19 months agodnsdist: doh3, fix formating and clang-tidy warnings
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:13:00 +0000 (11:13 +0100)] 
dnsdist: doh3, fix formating and clang-tidy warnings

19 months agodnsdist: add basic DoHTTP/3 test
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:03:16 +0000 (11:03 +0100)] 
dnsdist: add basic DoHTTP/3 test

19 months agodnsdist: add beta support for incoming DNS over HTTP/3
Charles-Henri Bruyand [Tue, 21 Nov 2023 22:49:35 +0000 (23:49 +0100)] 
dnsdist: add beta support for incoming DNS over HTTP/3

19 months agodnsdist: add doh3 protocol
Charles-Henri Bruyand [Tue, 21 Nov 2023 22:42:13 +0000 (23:42 +0100)] 
dnsdist: add doh3 protocol

19 months agodnsdist: Fix a clang-tidy warning in the rules unit tests
Remi Gacogne [Thu, 7 Dec 2023 08:47:54 +0000 (09:47 +0100)] 
dnsdist: Fix a clang-tidy warning in the rules unit tests

19 months agodnsdist: Fix a clang-tidy warning
Remi Gacogne [Tue, 5 Dec 2023 14:19:32 +0000 (15:19 +0100)] 
dnsdist: Fix a clang-tidy warning

19 months agodnsdist: Add unit tests for PayloadSizeRule
Remi Gacogne [Tue, 5 Dec 2023 13:59:53 +0000 (14:59 +0100)] 
dnsdist: Add unit tests for PayloadSizeRule

19 months agodnsdist: Implement DNSResponseAction.Truncate and TCResponseAction()
Remi Gacogne [Mon, 7 Nov 2022 16:47:16 +0000 (17:47 +0100)] 
dnsdist: Implement DNSResponseAction.Truncate and TCResponseAction()

To be able to truncate already existing answers.

19 months agodnsdist: Add `PayloadSizeRule`
Remi Gacogne [Thu, 30 Nov 2023 16:09:20 +0000 (17:09 +0100)] 
dnsdist: Add `PayloadSizeRule`

Adding the ability to match on the size of the DNS payload.

19 months agodnsdist: Fix a race in the async regression tests 13583/head
Remi Gacogne [Thu, 7 Dec 2023 14:05:43 +0000 (15:05 +0100)] 
dnsdist: Fix a race in the async regression tests

We need to make sure the listener is alive during the duration of
the test, and not destroyed by the garbage collector.

19 months agodnsdist: Delint dnsdist-lua-network.cc 13584/head
Remi Gacogne [Thu, 7 Dec 2023 15:54:37 +0000 (16:54 +0100)] 
dnsdist: Delint dnsdist-lua-network.cc

19 months agodnsdist: Fix a small race in the NetworkListener
Remi Gacogne [Thu, 7 Dec 2023 14:08:37 +0000 (15:08 +0100)] 
dnsdist: Fix a small race in the NetworkListener

The main thread needs to be able to access the data even if the
NetworkListener object has been destroyed first, which usually only
happens when DNSdist is exiting, but could also happen earlier if
the Lua handle is garbage collected.

19 months agodnsdist: Fix a clang-tidy warning 13565/head
Remi Gacogne [Thu, 7 Dec 2023 08:38:05 +0000 (09:38 +0100)] 
dnsdist: Fix a clang-tidy warning

19 months agodnsdist: Add a helper to hash arbitrary data from Lua FFI
Remi Gacogne [Mon, 7 Nov 2022 16:54:52 +0000 (17:54 +0100)] 
dnsdist: Add a helper to hash arbitrary data from Lua FFI

19 months agodnsdist: Add a Lua FFI way to know if the query was received over v6
Remi Gacogne [Mon, 7 Nov 2022 16:54:10 +0000 (17:54 +0100)] 
dnsdist: Add a Lua FFI way to know if the query was received over v6

19 months agoMerge pull request #13587 from rgacogne/rec-dangling-ref-udp-callback
Otto Moerbeek [Thu, 7 Dec 2023 16:24:36 +0000 (17:24 +0100)] 
Merge pull request #13587 from rgacogne/rec-dangling-ref-udp-callback

rec: Fix a dangling reference in Lua's UDP Query Response callback

19 months agorec: Fix a dangling reference in Lua's UDP Query Response callback 13587/head
Remi Gacogne [Thu, 7 Dec 2023 15:37:24 +0000 (16:37 +0100)] 
rec: Fix a dangling reference in Lua's UDP Query Response callback

Introduced in 50bd111e3c78e2cc8c2aa916a1f9fc22699f1f60

19 months agoMerge pull request #13529 from Habbie/mssql-credentials
Remi Gacogne [Thu, 7 Dec 2023 10:21:53 +0000 (11:21 +0100)] 
Merge pull request #13529 from Habbie/mssql-credentials

auth CI: clarify that the mssql password is not a secret

19 months agoMerge pull request #13521 from omoerbeek/coverity20231120
Otto Moerbeek [Wed, 6 Dec 2023 10:17:54 +0000 (11:17 +0100)] 
Merge pull request #13521 from omoerbeek/coverity20231120

rec: set of coverity fixes 20231120

19 months agoRemove redundant coverity annotation 13521/head
Otto Moerbeek [Wed, 6 Dec 2023 10:15:53 +0000 (11:15 +0100)] 
Remove redundant coverity annotation