]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agodocs: Pin jinja2 to < 3.1.0 11449/head
Remi Gacogne [Fri, 25 Mar 2022 08:45:55 +0000 (09:45 +0100)] 
docs: Pin jinja2 to < 3.1.0

Jinja2 3.1.0 removed deprecated code that is still used by sphinx
1.8.x, and it looks like our custom sphinx extensions are not working
with more recent versions of sphinx..

See:
- https://github.com/pallets/jinja/issues/1631
- https://github.com/readthedocs/readthedocs.org/issues/9037

and

- https://github.com/PowerDNS/pdns/pull/7712

The exact error is:
```
Extension error:
Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py))
```

3 years agoMerge pull request #11436 from rgacogne/ddist-unbreak-optional
Remi Gacogne [Mon, 21 Mar 2022 09:31:53 +0000 (10:31 +0100)] 
Merge pull request #11436 from rgacogne/ddist-unbreak-optional

dnsdist: Fix compilation by adding a missing <optional> include in misc.cc

3 years agodnsdist: Fix compilation by adding a missing <optional> include in misc.cc 11436/head
Remi Gacogne [Mon, 21 Mar 2022 08:52:19 +0000 (09:52 +0100)] 
dnsdist: Fix compilation by adding a missing <optional> include in misc.cc

Otherwise g++ 11.2.0 complains here:
```
misc.cc: In function ‘int makeIPv6sockaddr(const string&, sockaddr_in6*)’:
misc.cc:711:8: error: ‘optional’ is not a member of ‘std’
  711 |   std::optional<uint16_t> port = std::nullopt;
      |        ^~~~~~~~
misc.cc:61:1: note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to ‘#include <optional>’?
```

3 years agoMerge pull request #11433 from omoerbeek/dnsdist-include-um
Otto Moerbeek [Fri, 18 Mar 2022 15:41:22 +0000 (16:41 +0100)] 
Merge pull request #11433 from omoerbeek/dnsdist-include-um

dnsdist: fix build on MacOS and OpenBSD: include <unordered_map>

3 years agoinclude <unordered_map> 11433/head
Otto Moerbeek [Fri, 18 Mar 2022 14:47:39 +0000 (15:47 +0100)] 
include <unordered_map>

3 years agoMerge pull request #11432 from fredmorcos/11429-fix-pem-import-export-on-old-ssl
Fred Morcos [Fri, 18 Mar 2022 14:33:01 +0000 (15:33 +0100)] 
Merge pull request #11432 from fredmorcos/11429-fix-pem-import-export-on-old-ssl

Enable named curves on ECDSA key generation and import from ISC

3 years agoMerge pull request #11430 from fredmorcos/get-msg-from-errno-macos-fix
Fred Morcos [Fri, 18 Mar 2022 14:05:59 +0000 (15:05 +0100)] 
Merge pull request #11430 from fredmorcos/get-msg-from-errno-macos-fix

Make getMessageFromErrno work on broken MacOS strerror_r

3 years agoEnable named curves on ECDSA key generation and import from ISC 11432/head
Fred Morcos [Fri, 18 Mar 2022 12:00:17 +0000 (13:00 +0100)] 
Enable named curves on ECDSA key generation and import from ISC

Fixes #11429

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agostrerror_r on MacOS returns int despite _GNU_SOURCE being defined 11430/head
Fred Morcos [Fri, 18 Mar 2022 11:47:06 +0000 (12:47 +0100)] 
strerror_r on MacOS returns int despite _GNU_SOURCE being defined

3 years agoMerge pull request #11423 from Habbie/auth-rfc-typo
Peter van Dijk [Fri, 18 Mar 2022 07:34:05 +0000 (08:34 +0100)] 
Merge pull request #11423 from Habbie/auth-rfc-typo

auth docs: fix typo in RFC number

3 years agoMerge pull request #11414 from fredmorcos/11325-ecdsa-pem
Fred Morcos [Thu, 17 Mar 2022 13:39:24 +0000 (14:39 +0100)] 
Merge pull request #11414 from fredmorcos/11325-ecdsa-pem

Import and export of ECDSA keys from/to PEM

3 years agoMerge pull request #11410 from rgacogne/ddist-lua-types
Remi Gacogne [Thu, 17 Mar 2022 13:15:23 +0000 (14:15 +0100)] 
Merge pull request #11410 from rgacogne/ddist-lua-types

dnsdist: Define types for Lua arrays and associative arrays

3 years agoMerge pull request #11425 from fredmorcos/add-fred-to-changelog-scripts
Fred Morcos [Thu, 17 Mar 2022 13:06:10 +0000 (14:06 +0100)] 
Merge pull request #11425 from fredmorcos/add-fred-to-changelog-scripts

Add `fredmorcos` to changelog scripts

3 years agoAdd my username to changelog scripts 11425/head
Fred Morcos [Thu, 17 Mar 2022 11:11:14 +0000 (12:11 +0100)] 
Add my username to changelog scripts

3 years agoCleanup makeIPv6sockaddr 11414/head
Fred Morcos [Wed, 16 Mar 2022 13:05:35 +0000 (14:05 +0100)] 
Cleanup makeIPv6sockaddr

3 years agoFormatting makeIPv6sockaddr
Fred Morcos [Wed, 16 Mar 2022 12:55:16 +0000 (13:55 +0100)] 
Formatting makeIPv6sockaddr

3 years agoCleanup: uint16_t port value cannot be larger than 65535
Fred Morcos [Wed, 16 Mar 2022 11:52:46 +0000 (12:52 +0100)] 
Cleanup: uint16_t port value cannot be larger than 65535

3 years agoDisable the use-trailing-return-type diagnostic from clang-tidy
Fred Morcos [Tue, 15 Mar 2022 12:53:27 +0000 (13:53 +0100)] 
Disable the use-trailing-return-type diagnostic from clang-tidy

3 years agoAdd import/export-zone-key-pem to pdnsutil bash completion
Fred Morcos [Tue, 15 Mar 2022 09:33:14 +0000 (10:33 +0100)] 
Add import/export-zone-key-pem to pdnsutil bash completion

3 years agoUpdate pdnsutil command-line help
Fred Morcos [Tue, 15 Mar 2022 09:29:22 +0000 (10:29 +0100)] 
Update pdnsutil command-line help

closes: #11321

3 years agoUser documentation of import-zone-key-pem and export-zone-key-pem
Fred Morcos [Tue, 15 Mar 2022 09:27:27 +0000 (10:27 +0100)] 
User documentation of import-zone-key-pem and export-zone-key-pem

3 years agoUser documentation: Typo
Fred Morcos [Tue, 15 Mar 2022 09:27:09 +0000 (10:27 +0100)] 
User documentation: Typo

3 years agoSupport the export of ECDSA keys to PEM
Fred Morcos [Mon, 14 Mar 2022 10:26:43 +0000 (11:26 +0100)] 
Support the export of ECDSA keys to PEM

Part of #11325

3 years agoSupport the import of ECDSA keys from PEM files
Fred Morcos [Sun, 27 Feb 2022 19:23:29 +0000 (20:23 +0100)] 
Support the import of ECDSA keys from PEM files

- Add support to import ECDSA keys from PEM files.
- Adds a test for ECDSA key import from PEM.
- Instantiate key engine without trial-and-error algorithm search.

Part of #11325

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoAdd a helper to get errno message in a reasonable way
Fred Morcos [Wed, 9 Mar 2022 09:16:52 +0000 (10:16 +0100)] 
Add a helper to get errno message in a reasonable way

3 years agoCleanup
Fred Morcos [Mon, 21 Feb 2022 09:44:21 +0000 (10:44 +0100)] 
Cleanup

3 years agoFormatting
Fred Morcos [Mon, 21 Feb 2022 09:39:18 +0000 (10:39 +0100)] 
Formatting

3 years agoWhitespace
Fred Morcos [Wed, 16 Feb 2022 08:43:48 +0000 (09:43 +0100)] 
Whitespace

3 years agodnsdist: Define types for Lua arrays and associative arrays 11410/head
Remi Gacogne [Thu, 17 Mar 2022 09:24:25 +0000 (10:24 +0100)] 
dnsdist: Define types for Lua arrays and associative arrays

That PR defines types for the mapping of Lua arrays and associatives
arrays to C++, improving readability and consistency.

3 years agoauth docs: fix typo in RFC number 11423/head
Peter van Dijk [Thu, 17 Mar 2022 07:01:56 +0000 (08:01 +0100)] 
auth docs: fix typo in RFC number

3 years agoMerge pull request #11421 from Habbie/docs-algoroll
Peter van Dijk [Wed, 16 Mar 2022 18:36:56 +0000 (19:36 +0100)] 
Merge pull request #11421 from Habbie/docs-algoroll

auth docs: add algorithm rolling guide

3 years agoauth docs: add algorithm rolling guide 11421/head
Peter van Dijk [Wed, 16 Mar 2022 11:36:06 +0000 (12:36 +0100)] 
auth docs: add algorithm rolling guide

3 years agoMerge pull request #11382 from omoerbeek/rec-forward-docs
Otto Moerbeek [Tue, 15 Mar 2022 13:13:40 +0000 (14:13 +0100)] 
Merge pull request #11382 from omoerbeek/rec-forward-docs

rec: Document forward-zones behavior better wrt delegations.

3 years agoMerge pull request #11401 from fredmorcos/checked-str-int-conversions
Fred Morcos [Tue, 15 Mar 2022 09:53:11 +0000 (10:53 +0100)] 
Merge pull request #11401 from fredmorcos/checked-str-int-conversions

Checked conversion from string to signed/unsigned integer

3 years agoPort values should always be uint16_t 11401/head
Fred Morcos [Tue, 15 Mar 2022 08:54:45 +0000 (09:54 +0100)] 
Port values should always be uint16_t

3 years agoIntegral value of an algorithm should always be unsigned
Fred Morcos [Tue, 15 Mar 2022 08:53:34 +0000 (09:53 +0100)] 
Integral value of an algorithm should always be unsigned

3 years agoMove most of pdns_stou to Pdns::stoi and Pdns::stou
Fred Morcos [Mon, 7 Mar 2022 08:07:23 +0000 (09:07 +0100)] 
Move most of pdns_stou to Pdns::stoi and Pdns::stou

This also creates the Pdns namespace and renames pdns_stou to Pdns::stou and separates
signed from unsigned conversion (Pdns::stoi and Pdns::stou) which are now implemented in
terms of Pdns::checked_conv and return a generic integer.

3 years agoFix printf format string
Fred Morcos [Mon, 7 Mar 2022 08:44:42 +0000 (09:44 +0100)] 
Fix printf format string

3 years agoFormatting
Fred Morcos [Fri, 4 Mar 2022 11:18:43 +0000 (12:18 +0100)] 
Formatting

3 years agoWhitespace
Fred Morcos [Fri, 4 Mar 2022 11:18:29 +0000 (12:18 +0100)] 
Whitespace

3 years agoFix dist doc warning
Fred Morcos [Mon, 7 Mar 2022 09:00:40 +0000 (10:00 +0100)] 
Fix dist doc warning

3 years agoEnable code documentation for all items
Fred Morcos [Tue, 8 Mar 2022 11:37:56 +0000 (12:37 +0100)] 
Enable code documentation for all items

3 years agoGitIgnore codedocs/html directory
Fred Morcos [Tue, 8 Mar 2022 11:36:51 +0000 (12:36 +0100)] 
GitIgnore codedocs/html directory

3 years agoGitIgnore clangd cache dir under recorsor and dist
Fred Morcos [Mon, 7 Mar 2022 08:49:37 +0000 (09:49 +0100)] 
GitIgnore clangd cache dir under recorsor and dist

3 years agoMerge pull request #11405 from omoerbeek/rec-perm-vs-timeout
Otto Moerbeek [Mon, 14 Mar 2022 20:53:36 +0000 (21:53 +0100)] 
Merge pull request #11405 from omoerbeek/rec-perm-vs-timeout

rec: Distinguish between unreachable and timeout for throttling

3 years agoMerge pull request #11397 from omoerbeek/rec-clean-tcp
Otto Moerbeek [Mon, 14 Mar 2022 20:38:07 +0000 (21:38 +0100)] 
Merge pull request #11397 from omoerbeek/rec-clean-tcp

rec: Wrong task was used to clean outgoing TCP

3 years agoMerge pull request #11376 from omoerbeek/rec-refresh-qm-ns-interaction
Otto Moerbeek [Mon, 14 Mar 2022 20:37:44 +0000 (21:37 +0100)] 
Merge pull request #11376 from omoerbeek/rec-refresh-qm-ns-interaction

rec: Be more careful using refresh mode only for the record asked.

3 years agotypo 11382/head
Otto Moerbeek [Mon, 14 Mar 2022 20:35:19 +0000 (21:35 +0100)] 
typo

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoMerge pull request #11377 from fredmorcos/documentation-devenv
Fred Morcos [Mon, 14 Mar 2022 15:06:37 +0000 (16:06 +0100)] 
Merge pull request #11377 from fredmorcos/documentation-devenv

Documentation for a PowerDNS development environment based on a language server

3 years agoAdd instructions to use `compiledb`. 11377/head
Otto Moerbeek [Fri, 4 Mar 2022 08:03:00 +0000 (09:03 +0100)] 
Add instructions to use `compiledb`.

3 years agoDocumentation: Add section about minimal Emacs devenv with Eglot
Fred Morcos [Wed, 2 Mar 2022 12:57:49 +0000 (13:57 +0100)] 
Documentation: Add section about minimal Emacs devenv with Eglot

3 years agoDocumentation: Add section on debugging
Fred Morcos [Sun, 27 Feb 2022 03:43:29 +0000 (04:43 +0100)] 
Documentation: Add section on debugging

3 years agoDocumentation: Add document about devenv with a language server
Fred Morcos [Sat, 26 Feb 2022 14:49:54 +0000 (15:49 +0100)] 
Documentation: Add document about devenv with a language server

Also adds documentation on setting up Emacs to work with `clangd` and
`clang-tidy` using `lsp-mode`.

3 years agoDocumentation: Add section on code checkers and `clang-tidy`
Fred Morcos [Sat, 26 Feb 2022 14:49:41 +0000 (15:49 +0100)] 
Documentation: Add section on code checkers and `clang-tidy`

3 years agoMerge pull request #11415 from Habbie/dnsdist-newserver-default-port
Peter van Dijk [Mon, 14 Mar 2022 14:01:00 +0000 (15:01 +0100)] 
Merge pull request #11415 from Habbie/dnsdist-newserver-default-port

dnsdist: more useful default ports for DoT/DoH backends

3 years agoDocumentation: Small cleanup of the `clang-format` section
Fred Morcos [Sat, 26 Feb 2022 14:49:17 +0000 (15:49 +0100)] 
Documentation: Small cleanup of the `clang-format` section

3 years agodnsdist: more useful default ports for DoT/DoH backends 11415/head
Peter van Dijk [Mon, 14 Mar 2022 13:00:25 +0000 (14:00 +0100)] 
dnsdist: more useful default ports for DoT/DoH backends

3 years agoMerge pull request #11411 from tykling/patch-1
Peter van Dijk [Sun, 13 Mar 2022 15:47:00 +0000 (16:47 +0100)] 
Merge pull request #11411 from tykling/patch-1

Fix small typo in docs/domainmetadata.rst, s/recording/record/

3 years agotweak wording some more 11411/head
Peter van Dijk [Sun, 13 Mar 2022 15:46:45 +0000 (16:46 +0100)] 
tweak wording some more

3 years agoFix small typo, s/recording/record/
Thomas Steen Rasmussen [Sun, 13 Mar 2022 06:53:43 +0000 (07:53 +0100)] 
Fix small typo, s/recording/record/

While recordings are also fun I think the intended word here is "record" :)

3 years agoMerge pull request #11389 from Habbie/auth-api-fetch-rrset
Peter van Dijk [Fri, 11 Mar 2022 15:50:52 +0000 (16:50 +0100)] 
Merge pull request #11389 from Habbie/auth-api-fetch-rrset

auth API: fetch individual rrsets

3 years agoDistinguish between unreachable and timeout for throttling 11405/head
Otto Moerbeek [Fri, 11 Mar 2022 14:24:22 +0000 (15:24 +0100)] 
Distinguish between unreachable and timeout for throttling

Git history shows this was converted wrongly when hardcoded values were replaced by enum values

3 years agoReinstate refresh mode for {C,D}NAME cache lookups 11376/head
Otto Moerbeek [Fri, 11 Mar 2022 13:15:50 +0000 (14:15 +0100)] 
Reinstate refresh mode for {C,D}NAME cache lookups

3 years agoMerge pull request #11372 from aerique/feature/add-rec-47-to-repo-script
Otto Moerbeek [Fri, 11 Mar 2022 12:19:06 +0000 (13:19 +0100)] 
Merge pull request #11372 from aerique/feature/add-rec-47-to-repo-script

Add rec-47 to repo test script.

3 years agoMerge pull request #11398 from omoerbeek/deprecate-xpf
Otto Moerbeek [Fri, 11 Mar 2022 11:30:08 +0000 (12:30 +0100)] 
Merge pull request #11398 from omoerbeek/deprecate-xpf

Document that XPF is deprecated and wil be removed

3 years agoMerge pull request #11314 from mind04/auth-stats
Peter van Dijk [Fri, 11 Mar 2022 10:26:30 +0000 (11:26 +0100)] 
Merge pull request #11314 from mind04/auth-stats

auth: fix proxy protocol query statistics

3 years agoMerge pull request #11403 from jacobbunk/fix-typo-in-query-description
Peter van Dijk [Fri, 11 Mar 2022 09:55:08 +0000 (10:55 +0100)] 
Merge pull request #11403 from jacobbunk/fix-typo-in-query-description

Fix query description to say "first" when searching for first ordername.

3 years agoauth /zones/example.com.?rrset_name=www.example.com.&rrset_type=A 11389/head
Peter van Dijk [Thu, 3 Mar 2022 10:42:58 +0000 (11:42 +0100)] 
auth /zones/example.com.?rrset_name=www.example.com.&rrset_type=A

3 years agows-auth: small refactor to pass full req to fillZone
Peter van Dijk [Thu, 3 Mar 2022 10:18:56 +0000 (11:18 +0100)] 
ws-auth: small refactor to pass full req to fillZone

3 years agoMerge pull request #11388 from Habbie/dnsdist-log-timestamps
Peter van Dijk [Thu, 10 Mar 2022 16:52:35 +0000 (17:52 +0100)] 
Merge pull request #11388 from Habbie/dnsdist-log-timestamps

dnsdist: add --log-timestamps flag

3 years agoauth, rec, dnsdist: check strftime return value for logging timestamps 11388/head
Peter van Dijk [Thu, 10 Mar 2022 16:35:59 +0000 (17:35 +0100)] 
auth, rec, dnsdist: check strftime return value for logging timestamps

3 years agodnsdist: add --log-timestamps flag
Peter van Dijk [Thu, 3 Mar 2022 14:04:11 +0000 (15:04 +0100)] 
dnsdist: add --log-timestamps flag

3 years agoFix query description to say "first" when searching for first ordername. 11403/head
Jacob Bunk Nielsen [Wed, 9 Mar 2022 14:15:40 +0000 (15:15 +0100)] 
Fix query description to say "first" when searching for first ordername.

3 years agoMerge pull request #11375 from rgacogne/ddist-check-interval-timeouts
Remi Gacogne [Wed, 9 Mar 2022 09:27:55 +0000 (10:27 +0100)] 
Merge pull request #11375 from rgacogne/ddist-check-interval-timeouts

dnsdist: The check interval applies to health-check, not timeouts

3 years agoMerge pull request #11374 from rgacogne/ddist-release-udp-state
Remi Gacogne [Wed, 9 Mar 2022 09:27:16 +0000 (10:27 +0100)] 
Merge pull request #11374 from rgacogne/ddist-release-udp-state

dnsdist: Properly release UDP states when using random IDs

3 years agoMerge pull request #11395 from Habbie/launch-wait
Peter van Dijk [Tue, 8 Mar 2022 15:43:38 +0000 (16:43 +0100)] 
Merge pull request #11395 from Habbie/launch-wait

auth deb test: upstream more lenient startup wait

3 years agoDocument that XPF is deprecated and wil be removed. 11398/head
Otto Moerbeek [Mon, 7 Mar 2022 15:39:21 +0000 (16:39 +0100)] 
Document that XPF is deprecated and wil be removed.

3 years agoWrong task was used 11397/head
Otto Moerbeek [Mon, 7 Mar 2022 14:10:51 +0000 (15:10 +0100)] 
Wrong task was used

3 years agoauth deb test: upstream more lenient startup wait 11395/head
Peter van Dijk [Mon, 7 Mar 2022 08:09:51 +0000 (09:09 +0100)] 
auth deb test: upstream more lenient startup wait

3 years agoMerge pull request #11385 from stirnim/patch-1
Peter van Dijk [Thu, 3 Mar 2022 12:06:33 +0000 (13:06 +0100)] 
Merge pull request #11385 from stirnim/patch-1

fix doc of SVCParams alpn description

3 years agofix doc of SVCParams alpn description 11385/head
Daniel Stirnimann [Wed, 2 Mar 2022 12:51:43 +0000 (13:51 +0100)] 
fix doc of SVCParams alpn description

"doh" is not a valid alpn value. it's likely a typo and is meant to say "dot"

3 years agoDocument forward-zones behavior better wrt delegations.
Otto Moerbeek [Tue, 1 Mar 2022 15:23:32 +0000 (16:23 +0100)] 
Document forward-zones behavior better wrt delegations.

3 years agoMerge pull request #11365 from omoerbeek/rec-find-not-boolean
Otto Moerbeek [Tue, 1 Mar 2022 08:29:23 +0000 (09:29 +0100)] 
Merge pull request #11365 from omoerbeek/rec-find-not-boolean

rec: string::find(char) returns a size_type, not a boolean; coverity CID 1475294

3 years agoMerge pull request #11379 from Habbie/manual-package-builds
Peter van Dijk [Mon, 28 Feb 2022 15:44:58 +0000 (16:44 +0100)] 
Merge pull request #11379 from Habbie/manual-package-builds

GH actions: add manual dispatch for package building

3 years agoGH actions: add manual dispatch for package building 11379/head
Peter van Dijk [Mon, 28 Feb 2022 14:19:14 +0000 (15:19 +0100)] 
GH actions: add manual dispatch for package building

3 years agoBe more careful using refresh mode only for the record asked.
Otto Moerbeek [Mon, 28 Feb 2022 13:27:30 +0000 (14:27 +0100)] 
Be more careful using refresh mode only for the record asked.
Otherwise we get bad interaction with QM, as newly discovered
delegation points are stored in the cache, but not seen the QM
algorithm. Might/should fix #11371.

3 years agodnsdist: The check interval applies to health-check, not timeouts 11375/head
Remi Gacogne [Mon, 28 Feb 2022 12:21:53 +0000 (13:21 +0100)] 
dnsdist: The check interval applies to health-check, not timeouts

3 years agodnsdist: Properly release UDP states when using random IDs 11374/head
Remi Gacogne [Mon, 28 Feb 2022 12:20:40 +0000 (13:20 +0100)] 
dnsdist: Properly release UDP states when using random IDs

3 years agoAdd rec-47 to repo test script. 11372/head
Erik Winkels [Mon, 28 Feb 2022 09:35:28 +0000 (10:35 +0100)] 
Add rec-47 to repo test script.

3 years agoMerge pull request #11355 from omoerbeek/rec-prep-4.7.0-alpha1
Otto Moerbeek [Mon, 28 Feb 2022 09:33:19 +0000 (10:33 +0100)] 
Merge pull request #11355 from omoerbeek/rec-prep-4.7.0-alpha1

rec: Prep for rec-4.7.0-alpha1

3 years agoDocumentation: Formatting
Fred Morcos [Fri, 25 Feb 2022 12:48:18 +0000 (13:48 +0100)] 
Documentation: Formatting

3 years agoGitIgnore .gdb_history
Fred Morcos [Sun, 27 Feb 2022 03:49:15 +0000 (04:49 +0100)] 
GitIgnore .gdb_history

3 years agoMerge pull request #11364 from omoerbeek/rec-dnsheader-align
Otto Moerbeek [Fri, 25 Feb 2022 13:42:48 +0000 (14:42 +0100)] 
Merge pull request #11364 from omoerbeek/rec-dnsheader-align

rec: Introduce dnsheader_aligned: a helper class to access dnsheader data

3 years agostring::find(char) returns a size_type, not a bool; coverity CID 1475294 11365/head
Otto Moerbeek [Fri, 25 Feb 2022 13:16:47 +0000 (14:16 +0100)] 
string::find(char) returns a size_type, not a bool; coverity CID 1475294

3 years agoApply suggestions from code review 11355/head
Otto Moerbeek [Fri, 25 Feb 2022 10:56:07 +0000 (11:56 +0100)] 
Apply suggestions from code review

Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years agoMerge pull request #11353 from rgacogne/ddist-doc-fixes
Remi Gacogne [Fri, 25 Feb 2022 09:07:57 +0000 (10:07 +0100)] 
Merge pull request #11353 from rgacogne/ddist-doc-fixes

dnsdist: Fix typos in the documentation

3 years agoPrep for rec-4.7.0-alpha1
Otto Moerbeek [Wed, 23 Feb 2022 10:22:10 +0000 (11:22 +0100)] 
Prep for rec-4.7.0-alpha1

3 years agoMerge pull request #11351 from PowerDNS/mention-C++17-support-instead-of-c++11 rec-4.7.0-alpha1
Otto Moerbeek [Thu, 24 Feb 2022 19:34:02 +0000 (20:34 +0100)] 
Merge pull request #11351 from PowerDNS/mention-C++17-support-instead-of-c++11

Update README.md for c++17 support

3 years agoFix FreeBSD part 11351/head
Otto Moerbeek [Thu, 24 Feb 2022 19:29:40 +0000 (20:29 +0100)] 
Fix FreeBSD part

3 years agoIntroduce dnsheader_aligned: a help class to access dnsheaders data 11364/head
Otto Moerbeek [Thu, 24 Feb 2022 19:18:13 +0000 (20:18 +0100)] 
Introduce dnsheader_aligned: a help class to access dnsheaders data
in a potentially unaligned buffer