]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
4 years agoRender list of blocks accepting a given statement
Petr Špaček [Fri, 24 Jun 2022 08:03:48 +0000 (10:03 +0200)] 
Render list of blocks accepting a given statement

4 years agoDetect unsupported statement:: directives with multiple names
Petr Špaček [Fri, 24 Jun 2022 08:00:59 +0000 (10:00 +0200)] 
Detect unsupported statement:: directives with multiple names

4 years agoWarn about statements not found in the grammar
Petr Špaček [Thu, 12 May 2022 17:33:20 +0000 (19:33 +0200)] 
Warn about statements not found in the grammar

4 years agoWarn about statements in grammar not described in docs
Petr Špaček [Thu, 12 May 2022 17:16:52 +0000 (19:16 +0200)] 
Warn about statements in grammar not described in docs

Skip over obsolete options.

4 years agoGive Sphinx configuration domains access to grammar
Petr Špaček [Wed, 11 May 2022 08:38:05 +0000 (10:38 +0200)] 
Give Sphinx configuration domains access to grammar

4 years agoAdd helper to unify options and zone block grammars
Petr Špaček [Wed, 11 May 2022 07:20:51 +0000 (09:20 +0200)] 
Add helper to unify options and zone block grammars

A helper is needed to combine cfg_test output for generic options and
all the type-dependent zone block variants.

4 years agoAdd pretty printer for JSON grammar
Petr Špaček [Mon, 9 May 2022 16:25:18 +0000 (18:25 +0200)] 
Add pretty printer for JSON grammar

It produces the same format as cfg_test --grammar. The advantage is that
it allows to print any node in configuration the tree, not just whole
blocks.

4 years agoAdd utility to search for context-dependent configuration statements
Petr Špaček [Mon, 9 May 2022 16:04:40 +0000 (18:04 +0200)] 
Add utility to search for context-dependent configuration statements

The utility detects statements which use the same name (e.g.
max-zone-ttl) but use different grammar in different contexts. These
typically need special case in docs.

4 years agoAdd a new library to parse grammar format produced by cfg_test
Petr Špaček [Tue, 3 May 2022 07:09:16 +0000 (09:09 +0200)] 
Add a new library to parse grammar format produced by cfg_test

It transforms named.conf/rndc.conf grammar from text format into Python
dictionary. This allows granular access to grammar elements.

Beware: It heavity depens on cfg_test output format!

4 years agoAdd rndc.conf grammar into doc/misc
Petr Špaček [Wed, 11 May 2022 07:20:51 +0000 (09:20 +0200)] 
Add rndc.conf grammar into doc/misc

It uses the same mechanism as all other grammars, but the file is named
differently to distinguish it from named.conf grammars.

4 years agoUn-format grammar files in doc/misc
Petr Špaček [Wed, 11 May 2022 07:20:51 +0000 (09:20 +0200)] 
Un-format grammar files in doc/misc

The next commit is going to add parser for ISC configuration format.
To simplify the parser the grammar files in doc/misc are no longer
line-wrapped as handling it would make the grammar parser unnecessairly
complicated.

This affects visible output in the ARM, but in the end we are going to
replace the auto-generated .rst files with grammar pretty printed, so
formatting of these files does not matter in practical terms.

4 years agoAdd missing comment markers to doc/misc/ grammar files
Petr Špaček [Wed, 11 May 2022 06:03:40 +0000 (08:03 +0200)] 
Add missing comment markers to doc/misc/ grammar files

These files can be consumed by scripts, so obviously missing comment
markers wreak havoc.

4 years agoMerge branch 'sgoldlust/arm-tag-query-transfer' into 'main'
Petr Špaček [Thu, 30 Jun 2022 16:11:30 +0000 (16:11 +0000)] 
Merge branch 'sgoldlust/arm-tag-query-transfer' into 'main'

Add tags and short descriptions for query and transfer statements

See merge request isc-projects/bind9!6502

4 years agoAccept rst syntax in .. statement:: short: text
Petr Špaček [Mon, 27 Jun 2022 15:03:47 +0000 (17:03 +0200)] 
Accept rst syntax in .. statement:: short: text

Nested rst syntax is now parsed and rendered. E.g.:

.. namedconf:statement:: example
   :short: Use ``this`` **cool** syntax!

4 years agoDisambiguate address_match_list link anchor
Petr Špaček [Wed, 29 Jun 2022 08:49:43 +0000 (10:49 +0200)] 
Disambiguate address_match_list link anchor

Let's keep just the :term: produced by grammar glossary.

4 years agoAdd the :tags: and :short: descriptions for the category "transfer"
Suzanne Goldlust [Fri, 24 Jun 2022 20:00:58 +0000 (20:00 +0000)] 
Add the :tags: and :short: descriptions for the category "transfer"

4 years agoAdd the :tags: and :short: descriptions for the category "query"
Suzanne Goldlust [Fri, 24 Jun 2022 17:04:20 +0000 (17:04 +0000)] 
Add the :tags: and :short: descriptions for the category "query"

4 years agoResurrect DNS NOTIFY chapter in the ARM
Petr Špaček [Tue, 28 Jun 2022 15:23:19 +0000 (17:23 +0200)] 
Resurrect DNS NOTIFY chapter in the ARM

It was accidentally removed in the heat of
25eb91d23c5a2056f36902c90dfe8ca69f6a9400.

4 years agoMerge branch '2147-obsolete-the-glue-cache-option' into 'main'
Michał Kępień [Thu, 30 Jun 2022 13:27:54 +0000 (13:27 +0000)] 
Merge branch '2147-obsolete-the-glue-cache-option' into 'main'

Obsolete the "glue-cache" option

Closes #2147

See merge request isc-projects/bind9!6500

4 years agoAdd CHANGES entry and release note for GL #2147
Michał Kępień [Thu, 30 Jun 2022 13:24:08 +0000 (15:24 +0200)] 
Add CHANGES entry and release note for GL #2147

4 years agoObsolete the "glue-cache" option
Michał Kępień [Thu, 30 Jun 2022 13:24:08 +0000 (15:24 +0200)] 
Obsolete the "glue-cache" option

The "glue-cache" option was marked as deprecated by commit
5ae33351f286feb25a965bf3c9e6b122ab495342 (first released in BIND 9.17.6,
back in October 2020), so now obsolete that option, removing all code
and documentation related to it.

Note: this causes the glue cache feature to be permanently enabled, not
disabled.

4 years agoMerge branch '2371-add-stress-testing-with-rpz' into 'main'
Michal Nowak [Tue, 28 Jun 2022 18:36:30 +0000 (18:36 +0000)] 
Merge branch '2371-add-stress-testing-with-rpz' into 'main'

Run the "stress" test in RPZ mode in GitLab CI

Closes #2371

See merge request isc-projects/bind9!4526

4 years agoAdd stress testing with RPZ
Michal Nowak [Tue, 5 Jan 2021 10:53:18 +0000 (11:53 +0100)] 
Add stress testing with RPZ

4 years agoMerge branch '3408-drop-debian-9-stretch' into 'main'
Petr Špaček [Tue, 28 Jun 2022 15:56:06 +0000 (15:56 +0000)] 
Merge branch '3408-drop-debian-9-stretch' into 'main'

Drop support for Debian 9 (Stretch)

See merge request isc-projects/bind9!6486

4 years agoDeclare Debian 9 (Stretch) community-maintained
Petr Špaček [Thu, 23 Jun 2022 16:17:49 +0000 (18:17 +0200)] 
Declare Debian 9 (Stretch) community-maintained

4 years agoDrop Debian 9 (Stretch) from CI
Petr Špaček [Thu, 23 Jun 2022 16:16:28 +0000 (18:16 +0200)] 
Drop Debian 9 (Stretch) from CI

4 years agoMerge branch '3415-update-http-listeners-on-reconfig' into 'main'
Artem Boldariev [Tue, 28 Jun 2022 13:10:20 +0000 (13:10 +0000)] 
Merge branch '3415-update-http-listeners-on-reconfig' into 'main'

Update HTTP listeners settings on reconfiguration

Closes #3415

See merge request isc-projects/bind9!6482

4 years agodoth test: extend with HTTP endpoints reconfiguration check
Artem Boldariev [Mon, 27 Jun 2022 13:23:26 +0000 (16:23 +0300)] 
doth test: extend with HTTP endpoints reconfiguration check

This commit add a check which verifies that HTTP endpoints are being
picked up properly by the BIND instance on a reconfiguration.

4 years agoUpdate CHANGES [GL #3415]
Artem Boldariev [Wed, 22 Jun 2022 18:38:15 +0000 (21:38 +0300)] 
Update CHANGES [GL #3415]

Mention that the settings are now applied properly on reconfiguration.

4 years agoUpdate the set of HTTP endpoints on reconfiguration
Artem Boldariev [Wed, 22 Jun 2022 16:31:18 +0000 (19:31 +0300)] 
Update the set of HTTP endpoints on reconfiguration

This commit ensures that on reconfiguration the set of HTTP
endpoints (=paths) is being updated within HTTP listeners.

4 years agoUpdate max concurrent streams limit in HTTP listeners on reconfig
Artem Boldariev [Wed, 22 Jun 2022 13:45:28 +0000 (16:45 +0300)] 
Update max concurrent streams limit in HTTP listeners on reconfig

This commit ensures that HTTP listeners concurrent streams limit gets
updated properly on reconfiguration.

4 years agoUpdate HTTP listeners quotas on reconfiguration
Artem Boldariev [Wed, 22 Jun 2022 12:28:57 +0000 (15:28 +0300)] 
Update HTTP listeners quotas on reconfiguration

This commit ensures that on reconfiguration a proper value for HTTP
connections limit is picked up.

The commit also refactors how listeners settings are updated so that
there is less code duplication.

4 years agoStore HTTP quota size inside a listenlist instead of the quota
Artem Boldariev [Wed, 22 Jun 2022 11:52:58 +0000 (14:52 +0300)] 
Store HTTP quota size inside a listenlist instead of the quota

This way only quota size is passed to the interface/listener
management code instead of a quota object. Thus, we can implement
updating the quota object size instead of recreating the object.

4 years agoMerge branch 'matthijs-dnssec-policy-defaults-in-config-dot-c' into 'main'
Matthijs Mekking [Tue, 28 Jun 2022 12:35:46 +0000 (12:35 +0000)] 
Merge branch 'matthijs-dnssec-policy-defaults-in-config-dot-c' into 'main'

Move built-in dnssec-policies into defaultconf

See merge request isc-projects/bind9!6467

4 years agoAdd isccfg duration utility functions
Matthijs Mekking [Mon, 27 Jun 2022 14:31:43 +0000 (16:31 +0200)] 
Add isccfg duration utility functions

Add function isccfg_duration_toseconds and isccfg_parse_duration to get
rid of code duplication.

4 years agoFix a bug in the duration_fromtext function
Matthijs Mekking [Fri, 24 Jun 2022 07:58:40 +0000 (09:58 +0200)] 
Fix a bug in the duration_fromtext function

The function actually did not enforce that the duration string starts
with a P (or p), just that there is a P (or p) in the string.

4 years agoAlso inherit from "default" for "insecure" policy
Matthijs Mekking [Fri, 24 Jun 2022 07:22:38 +0000 (09:22 +0200)] 
Also inherit from "default" for "insecure" policy

Remove the duplication from the defaultconf and inherit the values
not set in the "insecure" policy from the "default" policy. Therefore,
we must insist that the first read built-in policy is the default one.

4 years agoAdd change entry for dnssec-policy in defaultconf
Matthijs Mekking [Tue, 21 Jun 2022 12:46:44 +0000 (14:46 +0200)] 
Add change entry for dnssec-policy in defaultconf

4 years agoNit changes in keymgr and kasp
Matthijs Mekking [Tue, 21 Jun 2022 10:45:54 +0000 (12:45 +0200)] 
Nit changes in keymgr and kasp

Use the ISC_MAX define instead of "x = a > b ? a : b" paradigm.

Remove an unneeded include.

4 years agoWhen loading dnssec-policies, inherit from default
Matthijs Mekking [Tue, 21 Jun 2022 10:40:12 +0000 (12:40 +0200)] 
When loading dnssec-policies, inherit from default

Most of the settings (durations) are already inheriting from the default
because they use the constants from lib/dns/kasp.h. We need them as
constants so we can use them in named-checkconf to verify the policy
parameters.

The NSEC(3) parameters and keys should come from the actual default
policy. Change the call to cfg_kasp_fromconfig() to include the default
kasp. We also no longer need to corner case where config is NULL we load
the built-in policy: the built-in policies are now loaded when config is
set to named_g_config.

Finally, add a debug log (it is useful to see which policies are being
loaded).

4 years agoStore built-in dnssec-policies in defaultconf
Matthijs Mekking [Tue, 21 Jun 2022 10:31:05 +0000 (12:31 +0200)] 
Store built-in dnssec-policies in defaultconf

Update the defaultconf with the built-in policies. These will now be
printed with "named -C".

Change the defines in kasp.h to be strings, so they can be concatenated
in the defaultconf. This means when creating a kasp structure, we no
longer initialize the defaults (this is fine because only kaspconf.c
uses dns_kasp_create() and it inherits from the default policy).

In kaspconf.c, the default values now need to be parsed from string.

Introduce some variables so we don't need to do get_duration multiple
times on the same configuration option.

Finally, clang-format-14 decided to do some random formatting changes.

4 years agoMove duration structure to libisccfg/duration
Matthijs Mekking [Tue, 21 Jun 2022 10:22:36 +0000 (12:22 +0200)] 
Move duration structure to libisccfg/duration

Having the duration structure and parsing code here, it becomes
more accessible to be used in other places.

4 years agoMerge branch '3216-run-sslyze-in-gitlab-ci' into 'main'
Michał Kępień [Mon, 27 Jun 2022 21:08:40 +0000 (21:08 +0000)] 
Merge branch '3216-run-sslyze-in-gitlab-ci' into 'main'

[CVE-2022-1183] Run sslyze in GitLab CI

Closes #3216

See merge request isc-projects/bind9!6365

4 years agoAlso test DNS-over-TLS code using sslyze
Michał Kępień [Mon, 27 Jun 2022 20:50:00 +0000 (22:50 +0200)] 
Also test DNS-over-TLS code using sslyze

Since sslyze can test any TLS-enabled server, also use it for exercising
DNS-over-TLS code rather than just DNS-over-HTTPS code.

4 years agoAdd regression test for CVE-2022-1183
Michał Kępień [Mon, 27 Jun 2022 20:50:00 +0000 (22:50 +0200)] 
Add regression test for CVE-2022-1183

If sslyze is available in PATH, run it in a loop as part of the "doth"
system test.

4 years agoMerge branch '3422-dnssec-policy-clarifications' into 'main'
Matthijs Mekking [Mon, 27 Jun 2022 09:03:54 +0000 (09:03 +0000)] 
Merge branch '3422-dnssec-policy-clarifications' into 'main'

Add some clarifications wrt dynamic zones

Closes #3422

See merge request isc-projects/bind9!6487

4 years agoAdd some clarifications wrt dynamic zones
Matthijs Mekking [Fri, 24 Jun 2022 14:36:23 +0000 (16:36 +0200)] 
Add some clarifications wrt dynamic zones

These were suggested by GitLab user @elmaimbo.

4 years agoMerge branch '3169-named-conf-intro-and-links' into 'main'
Petr Špaček [Fri, 24 Jun 2022 14:38:46 +0000 (14:38 +0000)] 
Merge branch '3169-named-conf-intro-and-links' into 'main'

Reworked named.conf introduction and link anchors

See merge request isc-projects/bind9!6459

4 years agoAdded explanations or Argument, Value, and Directive to the ARM
Ron Aitchison [Thu, 23 Jun 2022 16:25:41 +0000 (16:25 +0000)] 
Added explanations or Argument, Value, and Directive to the ARM

4 years agoAdd link to glob definition for include directive
Petr Špaček [Thu, 23 Jun 2022 11:38:58 +0000 (13:38 +0200)] 
Add link to glob definition for include directive

4 years agoMinor text nitpicking around dnssec-policy grammar reference
Suzanne Goldlust [Thu, 23 Jun 2022 11:08:49 +0000 (13:08 +0200)] 
Minor text nitpicking around dnssec-policy grammar reference

4 years agoRemove ambiguous link anchors for logging { file } statement
Petr Špaček [Fri, 17 Jun 2022 12:42:32 +0000 (14:42 +0200)] 
Remove ambiguous link anchors for logging { file } statement

Unfortunatelly logging and zone blocks use file statements with
different semantics but the same name.

There is no sane way to disambiguate them in text, so let's remove the
link anchor from logging so we can link to the file statement in zone.

My assumption is that linking to logging { file } is very unlikely
because logging is self-contained in one block but zone config is all
over the place.

4 years agoRemove ambiguous link anchors for keys statement
Petr Špaček [Fri, 17 Jun 2022 12:33:26 +0000 (14:33 +0200)] 
Remove ambiguous link anchors for keys statement

Unfortunatelly dnssec-policy and servers blocks use keys statements with
a totally different grammar and semantics but the same name.
There is no sane way to disambiguate them in text, so let's remove the
link anchors to prevent errorneous linking.

4 years agoChange statement->argument terminology for control channel
Petr Špaček [Fri, 17 Jun 2022 12:27:16 +0000 (14:27 +0200)] 
Change statement->argument terminology for control channel

control { inet ... allow keys read-only }; are not actual statements
but in fact arguments of a statement. Remove .. namedconf:statement::
syntax to avoid collisions with other statements of the same name.

4 years agoDeduplicate dnssec-policy definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 11:24:37 +0000 (13:24 +0200)] 
Deduplicate dnssec-policy definition in the ARM

4 years agoDeduplicate null definition in the ARM logging section
Petr Špaček [Fri, 17 Jun 2022 10:59:16 +0000 (12:59 +0200)] 
Deduplicate null definition in the ARM logging section

4 years agoDeduplicate {use,avoid}-v{4,6}-udp-ports definitions in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:31:34 +0000 (11:31 +0200)] 
Deduplicate {use,avoid}-v{4,6}-udp-ports definitions in the ARM

Statements affected:
use-v4-udp-ports
use-v6-udp-ports
avoid-v4-udp-ports
avoid-v6-udp-ports

4 years agoDeduplicate request-expire definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:13:52 +0000 (11:13 +0200)] 
Deduplicate request-expire definition in the ARM

4 years agoDeduplicate provide-ixfr definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:10:34 +0000 (11:10 +0200)] 
Deduplicate provide-ixfr definition in the ARM

4 years agoDeduplicate request-ixfr definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:07:38 +0000 (11:07 +0200)] 
Deduplicate request-ixfr definition in the ARM

Let's be consistent and put all definitions in the options block.

4 years agoDeduplicate notify-source, notify-source-v6 definitions in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:00:21 +0000 (11:00 +0200)] 
Deduplicate notify-source, notify-source-v6 definitions in the ARM

4 years agoDeduplicate request-nsid definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:57:41 +0000 (10:57 +0200)] 
Deduplicate request-nsid definition in the ARM

4 years agoDeduplicate query-source, query-source-v6 definitions in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:54:19 +0000 (10:54 +0200)] 
Deduplicate query-source, query-source-v6 definitions in the ARM

4 years agoDeduplicate transfer-source, transfer-source-v6 definitions in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:21:59 +0000 (10:21 +0200)] 
Deduplicate transfer-source, transfer-source-v6 definitions in the ARM

4 years agoDeduplicate transfer-format definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:18:27 +0000 (10:18 +0200)] 
Deduplicate transfer-format definition in the ARM

4 years agoDeduplicate send-cookie definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:14:49 +0000 (10:14 +0200)] 
Deduplicate send-cookie definition in the ARM

4 years agoDeduplicate max-udp-size definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:09:01 +0000 (10:09 +0200)] 
Deduplicate max-udp-size definition in the ARM

4 years agoDeduplicate edns-udp-size definition in the ARM
Petr Špaček [Thu, 16 Jun 2022 15:03:53 +0000 (17:03 +0200)] 
Deduplicate edns-udp-size definition in the ARM

4 years agoDeduplicate max-zone-ttl definition in the ARM
Petr Špaček [Thu, 16 Jun 2022 14:54:12 +0000 (16:54 +0200)] 
Deduplicate max-zone-ttl definition in the ARM

This is confusing as hell, but we cannot fix that in the manual itself.
At least now the user is made aware of two distinct defaults.

4 years agoDeduplicate allow-update definition in the ARM
Petr Špaček [Thu, 16 Jun 2022 14:45:09 +0000 (16:45 +0200)] 
Deduplicate allow-update definition in the ARM

4 years agoReference new named.conf description instead of man page
Ron Aitchison [Wed, 15 Jun 2022 12:06:37 +0000 (14:06 +0200)] 
Reference new named.conf description instead of man page

4 years agoRemove line numbering from config file examples
Ron Aitchison [Wed, 15 Jun 2022 12:04:33 +0000 (14:04 +0200)] 
Remove line numbering from config file examples

4 years agoChanged all references from clause to block
Ron Aitchison [Fri, 10 Jun 2022 14:49:01 +0000 (14:49 +0000)] 
Changed all references from clause to block

4 years agoRestructure introduction to named.conf in the ARM
Ron Aitchison [Fri, 17 Jun 2022 13:33:46 +0000 (15:33 +0200)] 
Restructure introduction to named.conf in the ARM

4 years agoAdd link anchors to statements and blocks in the ARM
Petr Špaček [Wed, 11 May 2022 13:45:57 +0000 (15:45 +0200)] 
Add link anchors to statements and blocks in the ARM

All statements now use .. namedconf:statement:: or
.. rndcconf:statement:: syntax provided by our Sphinx extension.

This has several consequences:
- It changes how statement headings are rendered
- Statements are indexed and show up as separate items in doc
  search results (in the HTML version)
- Statements can be linked to using either :any:`statement` or
  :namedconf:ref:`statement` syntax (not used in this commit)
- Statements can be categorized and printed using ..
  namedconf:statatementlist:: syntax (not used in this commit)

4 years agoMerge branch '3420-rrsetorder-update-status' into 'main'
Mark Andrews [Thu, 23 Jun 2022 07:24:53 +0000 (07:24 +0000)] 
Merge branch '3420-rrsetorder-update-status' into 'main'

rrsetorder: add missing update of status

Closes #3420

See merge request isc-projects/bind9!6466

4 years agoReplace expr's with $((expression)) shell constucts
Mark Andrews [Tue, 21 Jun 2022 02:42:21 +0000 (12:42 +1000)] 
Replace expr's with $((expression)) shell constucts

Also make indenting consistent.

4 years agoAdd missing update of status variable in rrsetorder system test
Mark Andrews [Thu, 23 Jun 2022 06:55:59 +0000 (16:55 +1000)] 
Add missing update of status variable in rrsetorder system test

4 years agoMerge branch '3143-add-a-note-to-the-arm-on-dnstap-and-resolver-traffic' into 'main'
Michał Kępień [Wed, 22 Jun 2022 13:11:51 +0000 (13:11 +0000)] 
Merge branch '3143-add-a-note-to-the-arm-on-dnstap-and-resolver-traffic' into 'main'

Add a note to the ARM on dnstap & resolver traffic

Closes #3143

See merge request isc-projects/bind9!6472

4 years agoCheck IPs in a dnstap capture of resolver traffic
Michał Kępień [Wed, 22 Jun 2022 13:09:43 +0000 (15:09 +0200)] 
Check IPs in a dnstap capture of resolver traffic

Add a system test that checks whether IP addresses are present in a
dnstap capture of resolver traffic if "query-source" is explicitly set.

4 years agoAdd a note to the ARM on dnstap & resolver traffic
Michał Kępień [Wed, 22 Jun 2022 13:09:43 +0000 (15:09 +0200)] 
Add a note to the ARM on dnstap & resolver traffic

Warn users that server-side IP addresses are not stored in dnstap
captures of resolver traffic unless "query-source(-v6)" is explicitly
set, explaining why it is so.

4 years agoMerge branch 'mnowak/add-system_gcc_bullseye_unstable_amd64-ci-job' into 'main'
Michal Nowak [Wed, 22 Jun 2022 12:49:07 +0000 (12:49 +0000)] 
Merge branch 'mnowak/add-system_gcc_bullseye_unstable_amd64-ci-job' into 'main'

Add system:gcc:bullseye:unstable:amd64 CI job

See merge request isc-projects/bind9!6461

4 years agoPut default-triggering-rules anchor in alphabetical order
Michal Nowak [Wed, 22 Jun 2022 08:49:04 +0000 (10:49 +0200)] 
Put default-triggering-rules anchor in alphabetical order

4 years agoRename schedules_tags_web_triggering_rules anchor
Michal Nowak [Mon, 20 Jun 2022 10:27:26 +0000 (12:27 +0200)] 
Rename schedules_tags_web_triggering_rules anchor

The schedules_tags_web_triggering_rules anchor name should match it's
content, hence api_schedules_tags_triggers_web_triggering_rules anchor
name.

4 years agoExtract API, schedules, triggers, and web triggering rules
Michal Nowak [Mon, 20 Jun 2022 10:22:09 +0000 (12:22 +0200)] 
Extract API, schedules, triggers, and web triggering rules

4 years agoAdd system:gcc:bullseye:unstable:amd64 CI job
Michal Nowak [Mon, 20 Jun 2022 10:17:07 +0000 (12:17 +0200)] 
Add system:gcc:bullseye:unstable:amd64 CI job

Without this CI job long pytest jobs are not being run in the CI.

4 years agoMerge branch '3309-fix-destination-port-extraction-for-client-queries' into 'main'
Michał Kępień [Wed, 22 Jun 2022 11:46:25 +0000 (11:46 +0000)] 
Merge branch '3309-fix-destination-port-extraction-for-client-queries' into 'main'

Fix destination port extraction for client queries

Closes #3309

See merge request isc-projects/bind9!6191

4 years agoAdd CHANGES entry for GL #3309
Michał Kępień [Wed, 22 Jun 2022 11:45:46 +0000 (13:45 +0200)] 
Add CHANGES entry for GL #3309

4 years agoCheck that the UDP destination port is logged via dnstap
Mark Andrews [Wed, 22 Jun 2022 11:45:46 +0000 (13:45 +0200)] 
Check that the UDP destination port is logged via dnstap

4 years agoFix destination port extraction for client queries
Michał Kępień [Wed, 22 Jun 2022 11:45:46 +0000 (13:45 +0200)] 
Fix destination port extraction for client queries

The current logic for determining the address of the socket to which a
client sent its query is:

 1. Get the address:port tuple from the netmgr handle using
    isc_nmhandle_localaddr().

 2. Convert the address:port tuple from step 1 into an isc_netaddr_t
    using isc_netaddr_fromsockaddr().

 3. Convert the address from step 2 back into a socket address with the
    port set to 0 using isc_sockaddr_fromnetaddr().

Note that the port number (readily available in the netmgr handle) is
needlessly lost in the process, preventing it from being recorded in
dnstap captures of client traffic produced by named.

Fix by first storing the address:port tuple returned by
isc_nmhandle_localaddr() in client->destsockaddr and then creating an
isc_netaddr_t from that structure.  This allows the port number to be
retained in client->destsockaddr, which is what subsequently gets passed
to dns_dt_send().

4 years agoMerge branch '3320-rewrite-arm-dnssec-chapter' into 'main'
Michał Kępień [Wed, 22 Jun 2022 11:44:11 +0000 (11:44 +0000)] 
Merge branch '3320-rewrite-arm-dnssec-chapter' into 'main'

Rewrite DNSSEC ARM Chapter

Closes #3320

See merge request isc-projects/bind9!6296

4 years agoMention zone storage in the DNSSEC chapter
Petr Špaček [Tue, 21 Jun 2022 13:08:17 +0000 (15:08 +0200)] 
Mention zone storage in the DNSSEC chapter

Let's not duplicate texts, link to description elsewhere instead.

4 years agoMinor grammar improvements in the Signing chapter of the DNSSEC Guide
Suzanne Goldlust [Fri, 17 Jun 2022 15:06:23 +0000 (15:06 +0000)] 
Minor grammar improvements in the Signing chapter of the DNSSEC Guide

4 years agoAdd a section about key rollover
Matthijs Mekking [Thu, 16 Jun 2022 13:46:32 +0000 (15:46 +0200)] 
Add a section about key rollover

Describe how to do key rollovers with dnssec-policy. Update the
revert to unsigned recipe in the DNSSEC guide.

4 years agoDeduplicate Manual Signing between DNSSEC chapter and DNSSEC Guide
Petr Špaček [Thu, 16 Jun 2022 12:03:45 +0000 (14:03 +0200)] 
Deduplicate Manual Signing between DNSSEC chapter and DNSSEC Guide

The two procedures were essentially the same, but each instance was
missing some details from the other. They are now combined into one text
in the DNSSEC Guide and linked from DNSSEC chapter.

4 years agoDeduplicate key filename description in the DNSSEC Guide
Petr Špaček [Thu, 16 Jun 2022 11:48:55 +0000 (13:48 +0200)] 
Deduplicate key filename description in the DNSSEC Guide

Third time ...

4 years agoUse ECDSAP256SHA256 in DNSSEC signing examples
Petr Špaček [Thu, 16 Jun 2022 11:43:19 +0000 (13:43 +0200)] 
Use ECDSAP256SHA256 in DNSSEC signing examples

4 years agoUse code-block directive for complete command lines
Petr Špaček [Thu, 16 Jun 2022 11:13:03 +0000 (13:13 +0200)] 
Use code-block directive for complete command lines

Minor rendering nit, not really important.

4 years agoDeduplicate key filename description in the DNSSEC chapter
Petr Špaček [Thu, 16 Jun 2022 11:06:11 +0000 (13:06 +0200)] 
Deduplicate key filename description in the DNSSEC chapter

4 years agoMove Private Type Records in DNSSEC chapter to higher level
Petr Špaček [Thu, 16 Jun 2022 10:56:04 +0000 (12:56 +0200)] 
Move Private Type Records in DNSSEC chapter to higher level

Private Type Records are not specific to manually signing, so it is
better to move it to the end of the "Zone Signing" section shared by all
three methods.