]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agorename find to find_or_enter 11484/head
Otto Moerbeek [Mon, 4 Apr 2022 10:19:36 +0000 (12:19 +0200)] 
rename find to find_or_enter

3 years agoUse boost::mult-index for nsspeed table and make it shared.
Otto Moerbeek [Mon, 28 Mar 2022 11:29:25 +0000 (13:29 +0200)] 
Use boost::mult-index for nsspeed table and make it shared.

3 years agoMerge pull request #11444 from omoerbeek/rec-syncres-tables2
Otto Moerbeek [Wed, 30 Mar 2022 10:20:05 +0000 (12:20 +0200)] 
Merge pull request #11444 from omoerbeek/rec-syncres-tables2

rec: Use nice format for timestamp printing

3 years agoUse nice format for timestamp printing 11444/head
Otto Moerbeek [Wed, 23 Mar 2022 12:34:08 +0000 (13:34 +0100)] 
Use nice format for timestamp printing

3 years agoMerge pull request #11476 from omoerbeek/rec-std-function
Otto Moerbeek [Wed, 30 Mar 2022 08:47:23 +0000 (10:47 +0200)] 
Merge pull request #11476 from omoerbeek/rec-std-function

Switch from boost::function to std::function everywhere

3 years agoMerge pull request #11477 from omoerbeek/rec-docs-postresolve-ffi
Otto Moerbeek [Wed, 30 Mar 2022 08:34:04 +0000 (10:34 +0200)] 
Merge pull request #11477 from omoerbeek/rec-docs-postresolve-ffi

rec: postresolve_ffi docs

3 years agoMerge pull request #11471 from omoerbeek/rec-sd_notify
Otto Moerbeek [Wed, 30 Mar 2022 08:33:38 +0000 (10:33 +0200)] 
Merge pull request #11471 from omoerbeek/rec-sd_notify

rec: In the handler, call sd_notify just befere entering the main loop in RecursorThread

3 years agoMerge pull request #11482 from rgacogne/fix-static-warnings
Remi Gacogne [Wed, 30 Mar 2022 08:25:18 +0000 (10:25 +0200)] 
Merge pull request #11482 from rgacogne/fix-static-warnings

Fix a couple of static analysis warnings

3 years agoLuaWrapper: Prevent referencing a temporary object 11482/head
Remi Gacogne [Tue, 29 Mar 2022 16:09:28 +0000 (18:09 +0200)] 
LuaWrapper: Prevent referencing a temporary object

Reported by Coverity (CIDs 120403 and 145915)

3 years agoLMDB: Clarify that the base commit() method should be called in the dtor
Remi Gacogne [Tue, 29 Mar 2022 15:49:41 +0000 (17:49 +0200)] 
LMDB: Clarify that the base commit() method should be called in the dtor

CodeQL warns that there might some ambiguity about whether the base
or derived commit() method is called in derived classes:

https://github.com/PowerDNS/pdns/security/code-scanning/379

3 years agorec: postresolve_ffi docs 11477/head
Otto Moerbeek [Tue, 29 Mar 2022 10:00:21 +0000 (12:00 +0200)] 
rec: postresolve_ffi docs

Plus fix a formatting issue in policyEventFilter docs.

3 years agoInclude <functional> where needed 11476/head
Otto Moerbeek [Tue, 29 Mar 2022 07:37:33 +0000 (09:37 +0200)] 
Include <functional> where needed

3 years agoMove remaining boost:function to std::function
Otto Moerbeek [Mon, 28 Mar 2022 15:07:27 +0000 (17:07 +0200)] 
Move remaining boost:function to std::function

3 years agoMerge pull request #11295 from tokred/contrib-pdnsutil-zcompl
Peter van Dijk [Mon, 28 Mar 2022 15:58:59 +0000 (17:58 +0200)] 
Merge pull request #11295 from tokred/contrib-pdnsutil-zcompl

auth: zsh completion script for pdnsutil

3 years agoSwitch to std::fcuntion for broadcast functions. Fixes a mem leak report by scanbuild.
Otto Moerbeek [Mon, 28 Mar 2022 14:53:28 +0000 (16:53 +0200)] 
Switch to std::fcuntion for broadcast functions. Fixes a mem leak report by scanbuild.

3 years agoauth: zsh completion script for pdnsutil 11295/head
tokred [Sat, 5 Feb 2022 17:24:09 +0000 (18:24 +0100)] 
auth: zsh completion script for pdnsutil

3 years agoIn the handler, call sd_notify just befere entering the main loop in RecursorThread 11471/head
Otto Moerbeek [Mon, 28 Mar 2022 11:53:14 +0000 (13:53 +0200)] 
In the handler, call sd_notify just befere entering the main loop in RecursorThread

There still is a race, but this is better than calling sd_notify before the handler is created.

3 years agoMerge pull request #11437 from rgacogne/ddist-healthcheck-mplexer
Remi Gacogne [Mon, 28 Mar 2022 10:10:11 +0000 (12:10 +0200)] 
Merge pull request #11437 from rgacogne/ddist-healthcheck-mplexer

dnsdist: Only allocate the health-check mplexer when needed

3 years agoMerge pull request #11470 from omoerbeek/rec-scanbuild-fixes
Otto Moerbeek [Mon, 28 Mar 2022 10:08:58 +0000 (12:08 +0200)] 
Merge pull request #11470 from omoerbeek/rec-scanbuild-fixes

Rec: scanbuild fixes

3 years agoMerge pull request #11426 from mind04/pdns-fix-decaf-signer
Peter van Dijk [Mon, 28 Mar 2022 09:53:35 +0000 (11:53 +0200)] 
Merge pull request #11426 from mind04/pdns-fix-decaf-signer

decaf signer did not compile after #11414

3 years agoMerge pull request #11465 from omoerbeek/docs-2022-01-prs
Peter van Dijk [Mon, 28 Mar 2022 09:23:59 +0000 (11:23 +0200)] 
Merge pull request #11465 from omoerbeek/docs-2022-01-prs

Fill in PR#s for Security Advisory 2022-01

3 years agoMerge pull request #11445 from omoerbeek/rec-nod-log-too-long
Otto Moerbeek [Mon, 28 Mar 2022 09:21:44 +0000 (11:21 +0200)] 
Merge pull request #11445 from omoerbeek/rec-nod-log-too-long

rec: Only log "Unable to send NOD lookup" if log-comnon-errors is set

3 years agoComment on the two remaining scanbuild cases. At first sight these are both false... 11470/head
Otto Moerbeek [Mon, 28 Mar 2022 09:07:46 +0000 (11:07 +0200)] 
Comment on the two remaining scanbuild cases. At first sight these are both false positives.

3 years agoTeach scanbuild that two divisions are safe: one by adding an assert, one by using...
Otto Moerbeek [Mon, 28 Mar 2022 08:50:52 +0000 (10:50 +0200)] 
Teach scanbuild that two divisions are safe: one by adding an assert, one by using a *const* table

3 years agoAdd .cacche dir for pdns/pdns
Otto Moerbeek [Fri, 25 Mar 2022 14:41:48 +0000 (15:41 +0100)] 
Add .cacche dir for pdns/pdns

3 years agoScanbuid fixes
Otto Moerbeek [Fri, 25 Mar 2022 10:17:44 +0000 (11:17 +0100)] 
Scanbuid fixes

AFAIKS, a few false positives remain:

Unused code Dead assignment lwres.cc asyncresolve 444 1 View Report
Logic error Division by zero pdns_recursor.cc selectWorker 2423 49 View Report
Logic error Division by zero sillyrecords.cc precsize_aton 48 32 View Report
Memory error Memory leak recursordist/rec-main.cc wipeCaches 2716 18 View Report

3 years agoMerge pull request #11467 from Habbie/spelling-202203
Remi Gacogne [Mon, 28 Mar 2022 08:14:46 +0000 (10:14 +0200)] 
Merge pull request #11467 from Habbie/spelling-202203

spelling: add missed words

3 years agospelling: add missed words 11467/head
Peter van Dijk [Fri, 25 Mar 2022 13:16:19 +0000 (14:16 +0100)] 
spelling: add missed words

3 years agoMerge pull request #11447 from jsoref/linguist-dns-zones
Peter van Dijk [Sat, 26 Mar 2022 00:06:52 +0000 (01:06 +0100)] 
Merge pull request #11447 from jsoref/linguist-dns-zones

Add linguist-language tag for dns zones

3 years agoAdd linguist-language tag for dns zones 11447/head
Josh Soref [Fri, 25 Mar 2022 02:19:48 +0000 (22:19 -0400)] 
Add linguist-language tag for dns zones

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
3 years agoFill in PR#s for Security Advisory 2022-01 11465/head
Otto Moerbeek [Fri, 25 Mar 2022 14:13:26 +0000 (15:13 +0100)] 
Fill in PR#s for Security Advisory 2022-01

3 years agosecpoll: fix typos
Peter van Dijk [Fri, 25 Mar 2022 12:21:52 +0000 (13:21 +0100)] 
secpoll: fix typos

3 years agoMerge pull request #11452 from omoerbeek/prep-docs-2022-01
Peter van Dijk [Fri, 25 Mar 2022 12:00:45 +0000 (13:00 +0100)] 
Merge pull request #11452 from omoerbeek/prep-docs-2022-01

rec/auth: Prep for security release 2022-01 (low severity)

3 years agoMerge pull request #11450 from fredmorcos/checked-stoi-empty-str-fix
Fred Morcos [Fri, 25 Mar 2022 10:39:53 +0000 (11:39 +0100)] 
Merge pull request #11450 from fredmorcos/checked-stoi-empty-str-fix

`checked_stoi` fix: Don't leave `idx`/`pos` uninitialized when the input string is empty

3 years agoformat decafsigners.cc 11426/head
Kees Monshouwer [Fri, 25 Mar 2022 10:10:00 +0000 (11:10 +0100)] 
format decafsigners.cc

3 years agoDon't leave idx/pos uninitialized when input str is empty 11450/head
Fred Morcos [Fri, 25 Mar 2022 08:52:29 +0000 (09:52 +0100)] 
Don't leave idx/pos uninitialized when input str is empty

3 years agoMerge pull request #11449 from rgacogne/docs-pin-jinja2
Peter van Dijk [Fri, 25 Mar 2022 09:12:49 +0000 (10:12 +0100)] 
Merge pull request #11449 from rgacogne/docs-pin-jinja2

docs: Pin jinja2 to < 3.1.0

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 agoPrep for 2022-01 11452/head
Otto Moerbeek [Fri, 25 Mar 2022 08:04:19 +0000 (09:04 +0100)] 
Prep for 2022-01

3 years agoMerge pull request #11438 from fredmorcos/checked-conv-boundary-val-fix
Fred Morcos [Wed, 23 Mar 2022 14:02:16 +0000 (15:02 +0100)] 
Merge pull request #11438 from fredmorcos/checked-conv-boundary-val-fix

Checked int conversions: Avoid checks when boundary values are equal

3 years agoOnly log "Unable to send NOD lookup" if log-common-errors is set 11445/head
Otto Moerbeek [Wed, 23 Mar 2022 12:48:52 +0000 (13:48 +0100)] 
Only log "Unable to send NOD lookup" if log-common-errors is set

Fixes #11440.

3 years agoMerge pull request #11443 from omoerbeek/rec-syncres-tables1
Otto Moerbeek [Wed, 23 Mar 2022 12:08:52 +0000 (13:08 +0100)] 
Merge pull request #11443 from omoerbeek/rec-syncres-tables1

rec: Move implemenation of failed and non-resolving table to .cc file

3 years agoMerge pull request #11442 from omoerbeek/rec-docs-api-config-dir
Otto Moerbeek [Wed, 23 Mar 2022 12:08:40 +0000 (13:08 +0100)] 
Merge pull request #11442 from omoerbeek/rec-docs-api-config-dir

rec: Note that api-config-dir and include-dir should be the same for updates via REST to work

3 years agoChecked int conversions: Avoid checks when boundary values are equal 11438/head
Fred Morcos [Mon, 21 Mar 2022 13:52:55 +0000 (14:52 +0100)] 
Checked int conversions: Avoid checks when boundary values are equal

3 years agoMove implemenation of failed and non-resolving table to .cc file 11443/head
Otto Moerbeek [Wed, 23 Mar 2022 09:38:59 +0000 (10:38 +0100)] 
Move implemenation of failed and non-resolving table to .cc file

3 years agoNote that api-config-dir and include-dir should be the same for dynamic updates of... 11442/head
Otto Moerbeek [Wed, 23 Mar 2022 08:55:53 +0000 (09:55 +0100)] 
Note that api-config-dir and include-dir should be the same for dynamic updates of config to work.

Plus fix assorted typos. Fixes #11439

3 years agoMerge pull request #11308 from omoerbeek/rec-save-parent-ns
Otto Moerbeek [Mon, 21 Mar 2022 11:35:51 +0000 (12:35 +0100)] 
Merge pull request #11308 from omoerbeek/rec-save-parent-ns

rec: Remember parent NS set, to be able to fallback to it if needed

3 years agoMerge pull request #11396 from omoerbeek/rec-proxy-by-table
Otto Moerbeek [Mon, 21 Mar 2022 11:35:32 +0000 (12:35 +0100)] 
Merge pull request #11396 from omoerbeek/rec-proxy-by-table

Rec: proxy by table

3 years agoproxyMapping: a table based approach to let the recursor know the actual IP address... 11396/head
Otto Moerbeek [Tue, 1 Mar 2022 14:32:59 +0000 (15:32 +0100)] 
proxyMapping: a table based approach to let the recursor know the actual IP address it should use for ACLS etc

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: Only allocate the health-check mplexer when needed 11437/head
Remi Gacogne [Mon, 21 Mar 2022 09:27:30 +0000 (10:27 +0100)] 
dnsdist: Only allocate the health-check mplexer when needed

When health-checking is disabled, or when a check delay longer than one
second is used, there is no need to allocate a new multiplexer object
every second.

3 years agoApply suggestions from code review 11308/head
Otto Moerbeek [Fri, 18 Mar 2022 16:04:52 +0000 (17:04 +0100)] 
Apply suggestions from code review

Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years agoTest for saved parent set
Otto Moerbeek [Fri, 18 Mar 2022 13:58:19 +0000 (14:58 +0100)] 
Test for saved parent set

3 years agoDocs, and config switch (default off)
Otto Moerbeek [Fri, 18 Mar 2022 12:38:45 +0000 (13:38 +0100)] 
Docs, and config switch (default off)

3 years agoMoved SavedParentSet class to syncres.cc
Otto Moerbeek [Fri, 18 Mar 2022 12:16:17 +0000 (13:16 +0100)] 
Moved SavedParentSet class to syncres.cc

3 years agoThe nsset can change, so we have to be prepared for that
Otto Moerbeek [Tue, 15 Mar 2022 14:31:13 +0000 (15:31 +0100)] 
The nsset can change, so we have to be prepared for that

3 years agoProcess comment reviews
Otto Moerbeek [Tue, 15 Mar 2022 12:35:54 +0000 (13:35 +0100)] 
Process comment reviews

3 years agoMan page addition
Otto Moerbeek [Fri, 4 Mar 2022 14:12:47 +0000 (15:12 +0100)] 
Man page addition

3 years agoRemember parent NS set, to be able to fallback to it if needed
Otto [Tue, 19 Oct 2021 08:48:28 +0000 (10:48 +0200)] 
Remember parent NS set, to be able to fallback to it if needed

When a non-auth NS set is replaced by an auth one, remember the non-auth one if
it contains NS not in the auth set.

Use that NS set later as a fallback if resolving fails.

TODO: general validation of method, pruning the new table, tests, config switch?

Should fix #10594

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 agodecaf signer did not compile after #11414
Kees Monshouwer [Thu, 17 Mar 2022 14:48:52 +0000 (15:48 +0100)] 
decaf signer did not compile after #11414

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