Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade v9.19.17 #5

Merged
merged 5,802 commits into from
Oct 18, 2023
Merged

Upgrade v9.19.17 #5

merged 5,802 commits into from
Oct 18, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 16, 2023

  1. Merge branch '4228-fix-heap-use-after-free-in-dns_dispatch_createtcp'…

    … into 'main'
    
    Attach to the dns_dispatchmgr in the dns_view object
    
    Closes #4228
    
    See merge request isc-projects/bind9!8203
    oerdnj committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    2c51e93 View commit details
    Browse the repository at this point in the history
  2. Clean leftover files in autosign and masterformat

    The following files were reported in CI by the legacy system test runner
    and prevented job to pass. They should be removed.
    
        $ if git rev-parse > /dev/null 2>&1; then ( ! grep "^I:.*:file.*not removed$" *.log ); fi
        autosign.log:I:autosign:file autosign/ns3/kskonly.example.db.jbk not removed
        autosign.log:I:autosign:file autosign/ns3/optout.example.db.jbk not removed
        autosign.log:I:autosign:file autosign/ns3/reconf.example.db.jbk not removed
        masterformat.log:I:masterformat:file masterformat/ns1/signed.db.raw.jbk not removed
        masterformat.log:I:masterformat:file masterformat/ns1/signed.db.raw.signed not removed
        masterformat.log:I:masterformat:file masterformat/ns1/signed.db.raw.signed.jnl not removed
    
    Don't print an error when the ns*/inactive directory is not
    present:
    
        rmdir: ns*/inactive: No such file or directory
    
    Remove nsupdate.out.test file instead of nsupdate.out, as the latter
    does not exist.
    Mno-hime committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    8a0da13 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'mnowak/clean-leftover-files' into 'main'

    Clean leftover files in autosign and masterformat
    
    See merge request isc-projects/bind9!8167
    Mno-hime committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    b88f914 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Merge tag 'v9.19.16'

    kempniu committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e27a33e View commit details
    Browse the repository at this point in the history
  2. Add custom flaky decorator to handle unstable tests

    If the flaky plugin for pytest is available, use its decorator to
    support re-running unstable tests. In case the package is missing,
    execute the test as usual without attempts to re-run it in case of
    failure.
    
    This is mostly intended to increase the test stability in CI. Using a
    custom decorator enables us to keep the flaky package as an optional
    dependency.
    nicki-krizek authored and Mno-hime committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    5b703de View commit details
    Browse the repository at this point in the history
  3. Mark test_send_timeout as flaky

    In some cases, BIND is not fast enough to fill the send buffer and
    manages to answer all queries, contrary to what the test expects.
    Repeat the check up to 3 times to limit this test instability.
    Mno-hime committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    681b23c View commit details
    Browse the repository at this point in the history
  4. Merge branch '4139-test_send_timeout-check-can-be-unstable' into 'main'

    Make the test_send_timeout check more stable
    
    Closes #4139
    
    See merge request isc-projects/bind9!8168
    Mno-hime committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    4970d0c View commit details
    Browse the repository at this point in the history
  5. Revert "Exclude dupsigs and keymgr2kasp from cross-version-config-tests"

    This reverts commit 4eac32f.
    
    With the v9.19.16 release tag merged, the "cross-version-config-tests"
    GitLab CI job will no longer fail due to the two relevant system tests
    being absent from the development branch.  This makes the pytest
    filtering expression added to work around that issue unnecessary, so
    remove it.
    kempniu committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    96e4139 View commit details
    Browse the repository at this point in the history
  6. Update release checklist

    Update the release checklist with links to recently implemented tools
    for automating certain tasks.
    kempniu committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    45bf612 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'michal/post-release-tweaks' into 'main'

    Post-release tweaks (cross-version testing cleanup, release checklist tweaks)
    
    See merge request isc-projects/bind9!8210
    kempniu committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    159c880 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Parse statschannel Content-Length: more carefully

    A negative or excessively large Content-Length could cause a crash
    by making `INSIST(httpd->consume != 0)` fail.
    fanf2 authored and oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    26e10e8 View commit details
    Browse the repository at this point in the history
  2. Add CHANGES entry for [GL #4125]

    fanf2 authored and oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    1ba538f View commit details
    Browse the repository at this point in the history
  3. Merge branch '4125-statschannel-content-length-overflow' into 'main'

    Parse statschannel Content-Length: more carefully
    
    Closes #4125
    
    See merge request isc-projects/bind9!8018
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    f965726 View commit details
    Browse the repository at this point in the history
  4. ci: use pytest system test runner on OpenBSD

    A supported pytest version finally made it to OpenBSD repositories,
    allowing us to run system tests with the pytest runner.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    8846877 View commit details
    Browse the repository at this point in the history
  5. ci: run out-of-tree system tests with pytest runner

    Out-of-tree builds are built in a directory that is different from
    source directory. The build directory doesn't contain the non-compiled
    test files from bin/tests/system which are the test cases required by
    the pytest runner.
    
    In order to run the system tests for out-of-tree build, copy over the
    contents (tests) of bin/tests/system/ from the source directory into the
    build directory. Then, it is possible to invoke the pytest runner inside
    the build directory.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    d49d9ec View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bc66bf1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b1a9d1f View commit details
    Browse the repository at this point in the history
  8. Merge branch '4246-remove-legacy-test-runner-from-ci' into 'main'

    Use pytest runner for out-of-tree and OpenBSD system tests in CI
    
    Closes #4246
    
    See merge request isc-projects/bind9!8193
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    f52dd73 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    58a8de5 View commit details
    Browse the repository at this point in the history
  10. Merge branch '4125-release-notes' into 'main'

    Add release note for [GL #4125]
    
    Closes #4125
    
    See merge request isc-projects/bind9!8216
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    838dc9b View commit details
    Browse the repository at this point in the history
  11. Create symlinks to test artifacts for pytest runner

    While temporary directories are useful for test execution to keep
    everything clean, they are difficult to work with manually. Create a
    symlink for each test artifact directory with a stable and predictable
    path. The symlink always either points to the latest artifacts, or is
    missing in case the last run succeeded.
    
    Ensure these symlinked directories aren't detected as test suites by the
    pytest runner.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    e1ca5c8 View commit details
    Browse the repository at this point in the history
  12. Improve tempdir logging for pytest runner

    At the end of the test, display the symlink path to the artifact
    directory in case it's preserved. Log the full tempdir name in debug
    log.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    f91d0b1 View commit details
    Browse the repository at this point in the history
  13. Silence pylint's refactoring suggestions for system_test_dir()

    While it'd be fairly easy to split the function up into smaller ones,
    the readability wouldn't be improved in this case. Silence the
    suggestions instead.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    83ddca7 View commit details
    Browse the repository at this point in the history
  14. Add clean-local target to clean pytest runner artifacts

    The command finds all directories in bin/tests/system which contain an
    underscore. Underscore indicates either a temporary directory (_tmp_), a
    symlink to test artifacts (TESTNAME_MODULENAME), or a python-related
    cache. Using underscore for a system test name is invalid and a hyphen
    must be used instead.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    d66ff81 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    355dc73 View commit details
    Browse the repository at this point in the history
  16. Merge branch '4252-pytest-symlink-to-test-artifacts' into 'main'

    Create symlinks to test artifacts for pytest runner
    
    Closes #4252
    
    See merge request isc-projects/bind9!8194
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    1a958b7 View commit details
    Browse the repository at this point in the history
  17. Limit the number of inactive handles kept for reuse

    Instead of growing and never shrinking the list of the inactive
    handles (to be reused mostly on the UDP connections), limit the number
    of maximum number of inactive handles kept to 64.  Instead of caching
    the inactive handles for all listening sockets, enable the caching on on
    UDP listening sockets.  For TCP, the handles were cached for each
    accepted socket thus reusing the handles only for long-standing TCP
    connections, but not reusing the handles across different TCP streams.
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    f36e118 View commit details
    Browse the repository at this point in the history
  18. Limit the memory pool for the uvreqs

    Set the number of maximum free items for the uvreq memory pool to 64.
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    0c9cf8f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    db7c501 View commit details
    Browse the repository at this point in the history
  20. Merge branch '4265-remove-caching-of-netmgr-sockets-and-uvreqs' into …

    …'main'
    
    Limit the number of inactive handles and uvreqs kept for reuse
    
    Closes #4265
    
    See merge request isc-projects/bind9!8206
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    a5884c2 View commit details
    Browse the repository at this point in the history
  21. Make Debian 12 "bookworm" the base image

    Just replace "bullseye" with "bookworm" and reintroduce Debian 11
    "bullseye" later.
    Mno-hime committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    2d18c57 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    5e1120d View commit details
    Browse the repository at this point in the history
  23. Drop unneeded -Wno-compound-token-split-by-macro option

    Debian 12 has Perl 5.36 and the option is no longer needed.
    Mno-hime committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    a330ab2 View commit details
    Browse the repository at this point in the history
  24. Disable mandoc stylistic warning

    We are not concerned by the "input text line longer than 80 bytes"
    stylistic warning.
    Mno-hime committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    7929168 View commit details
    Browse the repository at this point in the history
  25. Drop PKCS11 testing from "sid", restore it on "clang:bookworm"

    The gcc:sid:amd64 job was used to test PKCS11 via the OpenSSL engine API
    but is now designated for future PKCS11 testing via the provider API.
    
    The ability to use PKCS11 via engine API in clang:bookworm:amd64 has
    been restored using only deprecated APIs in OpenSSL 3.
    Mno-hime committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    cfb06da View commit details
    Browse the repository at this point in the history
  26. Drop unnecessary gcovr workarounds

    Many problems of the Debian 11 gcovr version were fixed in the Debian 12
    one. Replace workarounds we accumulated over the years with two new,
    simple ones.
    Mno-hime committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    55f5aa0 View commit details
    Browse the repository at this point in the history
  27. Move clang:bullseye PKCS11 testing to gcc:bullseye

    Move clang:bullseye:amd64 PKCS11 testing to the gcc:bullseye:amd64 job
    to evenly represent compilers in PKCS11 testing.
    Mno-hime committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    077d824 View commit details
    Browse the repository at this point in the history
  28. Merge branch '3893-make-debian-12-bookworm-base-image' into 'main'

    Make Debian 12 "bookworm" the base image
    
    See merge request isc-projects/bind9!8075
    Mno-hime committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    1e16d41 View commit details
    Browse the repository at this point in the history
  29. Add support for User Statically Defined Tracing (USDT) probes

    This adds support for User Statically Defined Tracing (USDT).  On
    Linux, this uses the header from SystemTap and dtrace utility, but the
    support is universal as long as dtrace is available.
    
    Also add the required infrastructure to add probes to libisc, libdns and
    libns libraries, where most of the probes will be.
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    784d055 View commit details
    Browse the repository at this point in the history
  30. Add tracing probes to the custom isc_rwlock implementation

    Add tracing probes to ISC own isc_rwlock implementation to allow
    fine-grained tracing.  The pthread rwlock already has probes inside
    glibc, and it's difficult to add probes to headers included from the
    other libraries.
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    dcd6021 View commit details
    Browse the repository at this point in the history
  31. Add tracing probes to the isc_job unit

    Add tracing probes to isc_job unit:
    
     * libisc:job_cb_before - before the job callback is called
     * libisc:job_cb_after - after the job callback is called
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    2484a37 View commit details
    Browse the repository at this point in the history
  32. Add tracing probes to the dns_xfrin unit

    Add tracing probes to incoming transfers, so we can accurately measure
    the individual events when sending, receiving and parsing the incoming
    transfers.
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    96ccba5 View commit details
    Browse the repository at this point in the history
  33. Add a probe when the response rate limiting drops or slips query

    Add a trace point that would report when a query gets dropped or slipped
    by rate limits. It reports the client IP, the zone, and the RRL result
    code.
    
    Co-authored-by: Paul Frieden <[email protected]>
    oerdnj and Paul Frieden committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    d332f07 View commit details
    Browse the repository at this point in the history
  34. Add zone name to the LIBDNS_XFRIN probes

    We already print the formatted zone name via the xfrin_log() function,
    generate the text once and store it in xfr->info static buffer.  Then we
    can reuse the string to pass it to the LIBDNS_XFRIN probes.
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    9b85876 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    52cabc6 View commit details
    Browse the repository at this point in the history
  36. Merge branch '4041-add-userspace-tracing' into 'main'

    Add support for userspace tracing via USDT
    
    Closes #4041
    
    See merge request isc-projects/bind9!7872
    oerdnj committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    664d7c6 View commit details
    Browse the repository at this point in the history
  37. Compile system test binaries during make

    Using check_PROGRAMS would postpone compiling the binaries needed by
    system tests until `make check` would be called. Since it's preferable
    to invoke pytest directly to run the system test suite, compile these
    binaries without installing them during `make all` instead by using
    noinst_PROGRAMS.
    
    This removes the need to use TESTS= make -e check hack invoked from
    pytest to work around this issue.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    21980b4 View commit details
    Browse the repository at this point in the history
  38. Resolve scan-build issue in dummylib.c

    Value stored to 'rdatap' is never read. Remove the line which has no
    effect.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    145bec5 View commit details
    Browse the repository at this point in the history
  39. ci: Disable dnsrps for respdiff jobs compiled with ASAN/TSAN

    The dnsrps build assumes that dlopen is available from libc. This
    assumption isn't met when attempting to build with address or thread
    sanitizer on debian (bullseye, bookworm). Disable dnsrps build to avoid
    the issue, since it's not needed anyway for our respdiff tests.
    
    See commit b396f55 for more info about
    the dnsrps build.
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    0422415 View commit details
    Browse the repository at this point in the history
  40. Merge branch '4249-compile-test-files-during-make' into 'main'

    Compile system test binaries during make
    
    Closes #4249
    
    See merge request isc-projects/bind9!8189
    nicki-krizek committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    344f0bb View commit details
    Browse the repository at this point in the history
  41. prevent query_coveringnsec() from running twice

    when synthesizing a new CNAME, we now check whether the target
    matches the query already being processed. if so, we do not
    restart the query; this prevents a waste of resources.
    each committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    0ae8b2e View commit details
    Browse the repository at this point in the history
  42. CHANGES for [GL #3835]

    each committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    ba1f756 View commit details
    Browse the repository at this point in the history
  43. Merge branch '3835-cname-wildcard-loop-followup' into 'main'

    prevent query_coveringnsec() from running twice
    
    See merge request isc-projects/bind9!8214
    each committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    b4a3b13 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Don't generate the probes.lo on macOS

    The DTrace on macOS only needs header file and the dtrace command
    doesn't have the -G option.  Skip generating the object file on macOS,
    so the build doesn't fail.
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    d13ea59 View commit details
    Browse the repository at this point in the history
  2. Regenerate the DTrace generated files on configure change

    The DTrace generated files were missing dependency on the Makefile, so
    they didn't get regenerated when ./configure was re-run.  This would
    create problem especially between ./configure --enable-tracing vs
    ./configure --disable-tracing invocations.
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    3b6db95 View commit details
    Browse the repository at this point in the history
  3. Merge branch '4275-DTrace-on-macOS-only-needs-header' into 'main'

    Don't generate the probes.lo on macOS
    
    Closes #4275
    
    See merge request isc-projects/bind9!8234
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    6c4af7c View commit details
    Browse the repository at this point in the history
  4. Don't do DoT SOA requests for default servers

    Default servers usually don't have DoT set up. Only do SOA queries if
    the server is specified.
    matje committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    6502240 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4249ebd View commit details
    Browse the repository at this point in the history
  6. Merge branch '1181-nsupdate-tcp-soa-requests-main' into 'main'

    Don't do TCP SOA requests for default servers
    
    Closes #1181
    
    See merge request isc-projects/bind9!8192
    matje committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    39490ec View commit details
    Browse the repository at this point in the history
  7. Disable tracing in the FIPS enabled builds

    The dtrace command fails with segmentation fault in the FIPS-enabled
    builds, thus we need to disable the tracing in the CI for the FIPS
    jobs.
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    a806082 View commit details
    Browse the repository at this point in the history
  8. Merge branch '4271-disable-DTrace-in-FIPS-jobs' into 'main'

    Disable tracing in the FIPS enabled builds
    
    Closes #4271
    
    See merge request isc-projects/bind9!8235
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    a080196 View commit details
    Browse the repository at this point in the history
  9. Skip checkds test on Python<3.7

    checkds test requires the capture_output argument for subprocess.run()
    which was added in Python 3.7.
    nicki-krizek committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    0361233 View commit details
    Browse the repository at this point in the history
  10. Clean up pytest .gitignore file

    The _last_test_run entry was accidentally added in !8194. It came from a
    work-in-progress version of the MR and was left there during a rebase.
    nicki-krizek committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    1b3db25 View commit details
    Browse the repository at this point in the history
  11. ci: fix after_script for out-of-tree tests

    The commands in after_script run in a new shell, separate from
    before_script and script commands. Since the pytest.log.txt is for out
    of tree tests is present in the build directory, switch to it (if set)
    before running any postprocessing commands.
    nicki-krizek committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    86043b0 View commit details
    Browse the repository at this point in the history
  12. Disable loadtime check in statschannel test

    It is better to disable the specific check that causes the test to fail
    rather than mark the entire test as xfail, which can mask other issues
    which the test is capable of detecting.
    nicki-krizek committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    7522583 View commit details
    Browse the repository at this point in the history
  13. Allow re-runs of qmin system test

    The qmin test is inherently unstable. It fails quite often with failure
    modes described in GL #904. Allow the pytest runner to re-run the test
    up to 3 times to only detect a more persistent and reproducible failures
    rather than random noise caused by the nature of the test.
    nicki-krizek committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    be2123a View commit details
    Browse the repository at this point in the history
  14. Allow re-runs of reclimit system test

    The reclimit system test has been unstable and producing false positive
    results for years (GL #1587). Allow the test to be re-run (once) to
    reduce the noise it causes.
    nicki-krizek committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    8c5833f View commit details
    Browse the repository at this point in the history
  15. Allow re-runs of rrl system test

    The rrl system test has been unstable and producing false positive
    results for years (GL #172). Allow the test to be re-run (once) to
    reduce the noise it causes.
    nicki-krizek committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    40289d5 View commit details
    Browse the repository at this point in the history
  16. Merge branch '3001-pytest-nitpicks' into 'main'

    system tests stability tweaks and cleanup
    
    Closes #3001
    
    See merge request isc-projects/bind9!8239
    nicki-krizek committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    911dd7f View commit details
    Browse the repository at this point in the history
  17. Remove some unnecessary token pasting macrology

    There used to be an extra layer of indirection in the memory functions
    for certain dynamic linking scenarios. This involved variant spellings
    like isc__mem and isc___mem. The isc___mem variants were removed in
    commit 7de8469 so the token pasting is no longer needed and
    only serves to obfuscate.
    fanf2 authored and oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    52fcc9f View commit details
    Browse the repository at this point in the history
  18. Get rid of unnecessary macros in the system test dyndb driver

    CHECKED_MEM_GET and ZERO_PTR are built-in features of isc_mem.
    fanf2 authored and oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    1d34109 View commit details
    Browse the repository at this point in the history
  19. Fix the style of an array de-allocation in dnssec-cds

    Mention the element size explicitly, so that `matching_sigs()`,
    `signed_loose()`, and `signed_strict()` use the same calculation.
    fanf2 authored and oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    6271f3c View commit details
    Browse the repository at this point in the history
  20. Merge branch 'ondrej-cleanup-mem-macros' into 'main'

    Remove some unnecessary token pasting macrology
    
    See merge request isc-projects/bind9!8236
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    01c758e View commit details
    Browse the repository at this point in the history
  21. Refactor cleanup code in the qp-trie for the forwarders table

    Instead of duplicating the destroy_forwarders() code in the cleanup
    sections, just call dns_forwarders_detach() every time - in case of
    failure, the forwarders aren't going to be attached, and forwarders
    object will be destroyed right away.
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    2e3eae6 View commit details
    Browse the repository at this point in the history
  22. Merge branch 'ondrej-cleanup-qp-in-forwarders' into 'main'

    Refactor cleanup code in the qp-trie for the forwarders table
    
    See merge request isc-projects/bind9!8212
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    dda0212 View commit details
    Browse the repository at this point in the history
  23. Split the CPU architectures into more categories

    Move i386 and other less common or ancient CPU architectures to
    Community-Maintened category.  Move armhf and arm64 to the Best-Effort
    category as we do test them as part of development work (new MacBooks
    are all arm64), we don't really do full set of tests in the CI.
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    db94c75 View commit details
    Browse the repository at this point in the history
  24. Merge branch 'ondrej/remove-i386-as-fully-supported-platform' into 'm…

    …ain'
    
    Move i386 and armhf to the Best-Effort category
    
    See merge request isc-projects/bind9!8223
    oerdnj committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    6b1ed14 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Add a a tcp system test case

    The new test sends a 64 KiB message over TCP to named, and expects
    it to handle it correctly.
    Aram Sargsyan committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    4d723c7 View commit details
    Browse the repository at this point in the history
  2. Handle cases when buf_size is zero

    The isc_dnsstream_assembler_incoming() inline function expects that
    when 'buf_size' is zero, then 'buf' must be NULL. The expectation is
    not correct, because those values come from the libuv read callback,
    and its documentation notes[1] that 'nread' ('buf_size' here) might
    be 0, which does not indicate an error or EOF, but is equivalent to
    EAGAIN or EWOULDBLOCK under read(2).
    
    Change the isc_dnsstream_assembler_incoming() inline function to
    remove the invalid expectation.
    
    [1] https://docs.libuv.org/en/v1.x/stream.html#c.uv_read_cb
    Aram Sargsyan committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    9a27137 View commit details
    Browse the repository at this point in the history
  3. Fix a condition in isc_dnsstream_assembler_incoming()

    Before calling isc_buffer_putmem(), there is a condition to check
    that 'buf_size' is greater than 0. At this point 'buf_size' is
    guaranteed to be greater than zero, so either the condition is
    redundant, or 'unprocessed_size' should be checked instead, which
    seems more logical, because calling isc_buffer_putmem() with
    'unprocessed_size' being zero is not useful, although harmless.
    Aram Sargsyan committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a33dc92 View commit details
    Browse the repository at this point in the history
  4. Merge branch '4273-streamdns-eagain' into 'main'

    Resolve "crash while receiving 64 kiB message over TCP"
    
    Closes #4273
    
    See merge request isc-projects/bind9!8231
    Arаm Sаrgsyаn committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    edd9925 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Rework opensslecdsa_link to handle legacy key objects w/ openssl3

    Due to bug in openssl3, the pkcs11-engine is made the default
    provider if enabled. This causes key generation and load to
    return legacy objects.
    
    Openssl3 has limited glue and does not support the full set
    of new style parameter to be inqueried from legacy key objects
    
    Rewrite required functions to use first the new API (if available),
    but fallback to the old API (if available). For the methods that
    have proper OpenSSL compatiblity glue, ship only one version.
    fabled committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    628dd27 View commit details
    Browse the repository at this point in the history
  2. Enable keyfromlabel and enginepkcs11 systemtests with pkcs11-provider

    - Simplify configuration management by deducing SoftHSM module path
      from openssl config
    
    - Determine the engine flag (-E) value from openssl config
    
    - Drop unused/unneeded environment variables
    
    - Run pkcs11-provider tests on Debian "sid" ossl3 flavor
    fabled committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    7fbcf38 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Merge branch 'tt-improve-pkcs11-tests' into 'main'

    Enable keyfromlabel and enginepkcs11 systemtests for pkcs11-provider
    
    See merge request isc-projects/bind9!8170
    matje committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    c4bda5b View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Update sphinx_rtd_theme

    To resolve the version select and search issue on readthedocs.org,
    sphinx_rtd_theme>=1.2.1 is required.
    
    Related readthedocs/sphinx_rtd_theme#1452
    nicki-krizek committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    92143fa View commit details
    Browse the repository at this point in the history
  2. Merge branch 'tkrizek-update-sphinx-rtd-theme' into 'main'

    Update sphinx_rtd_theme
    
    See merge request isc-projects/bind9!8246
    nicki-krizek committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    7029f7d View commit details
    Browse the repository at this point in the history
  3. Check that removal of nonexistent PTR and SRV records work

    There was a bug in rr_exists that caused it to fail when the
    name didn't exist in the zone.
    marka63 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    2b7192c View commit details
    Browse the repository at this point in the history
  4. rr_exists should not error if the name does not exist

    rr_exists errored if the name did not exist in the zone.  This was
    not an issue prior to the addition of krb5-subdomain-self-rhs and
    ms-subdomain-self-rhs as the only name used was the zone name which
    always existed.
    marka63 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    b76a159 View commit details
    Browse the repository at this point in the history
  5. Add CHANGES for [GL #4280]

    marka63 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    bb3556b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2b4e109 View commit details
    Browse the repository at this point in the history
  7. Merge branch '4280-isc-support-22588-bind-now-returning-servfail-for-…

    …attempted-deletions-of-non-existent-ptr-srv' into 'main'
    
    Resolve "[ISC-support #22588] BIND now returning SERVFAIL for attempted deletions of non-existent PTR/SRV records"
    
    Closes #4280
    
    See merge request isc-projects/bind9!8247
    marka63 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    62fb970 View commit details
    Browse the repository at this point in the history
  8. Silence CID 464884 (REVERSE_INULL)

        *** CID 464884:  Null pointer dereferences  (REVERSE_INULL)
        /bin/tests/system/dyndb/driver/db.c: 644 in create_db()
        638
        639     	*dbp = (dns_db_t *)sampledb;
        640
        641     	return (ISC_R_SUCCESS);
        642
        643     cleanup:
           CID 464884:  Null pointer dereferences  (REVERSE_INULL)
           Null-checking "sampledb" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
        644     	if (sampledb != NULL) {
        645     		if (dns_name_dynamic(&sampledb->common.origin)) {
        646     			dns_name_free(&sampledb->common.origin, mctx);
        647     		}
        648
        649     		isc_mem_putanddetach(&sampledb->common.mctx, sampledb,
    marka63 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    60630fe View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Merge branch 'marka-cleanup-cid-464884' into 'main'

    Silence CID 464884 (REVERSE_INULL)
    
    See merge request isc-projects/bind9!8248
    marka63 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    b7c62b2 View commit details
    Browse the repository at this point in the history
  2. Use isc_loop_now() instead of uv_hrtime() for timestamps

    The resolution of the uv_hrtime() function is bigger than the
    intervals used in the timers, which can result in an unexpected
    difference between the start_time and stop_time variables.
    
    Use isc_loop_now(), which is based on uv_now() and has the same
    milliseconds resolution as the functions in the uv_timer_t API.
    
    Also fix a couple wrong numbers in the comments.
    Aram Sargsyan committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    852e820 View commit details
    Browse the repository at this point in the history
  3. Merge branch '4285-timer_test-timer_event-fix' into 'main'

    Resolve "timer_test unit test intermittently fails in CI"
    
    Closes #4285
    
    See merge request isc-projects/bind9!8253
    Arаm Sаrgsyаn committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    0cfe0a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Provide a mechanism to return the expire option value

    to the zone code so that it can be used to adjust the expire time.
    marka63 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    87912e4 View commit details
    Browse the repository at this point in the history
  2. Allow EDNS to be used when making requests in xfrin

    This allow for the EDNS options EXPIRE and NSID to be sent when
    when making requests.  The existing controls controlling whether
    EDNS is used and whether EXPIRE or NSID are sent are honoured.
    
    Adjust the expected byte counts in the xfer system test to reflect
    the EDNS overhead.  Adjust the dig call to match named's behavior
    (don't set +expire as we are talking to a secondary).
    marka63 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    690fd05 View commit details
    Browse the repository at this point in the history
  3. Handle EDNS induced FORMERR responses

    If we are talking to a non EDNS aware primary that returns FORMERR
    to EDNS requests retry the request without using EDNS.
    marka63 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    be21d31 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0b4200c View commit details
    Browse the repository at this point in the history
  5. Trim the effective expire time based on expire option

    and use that adjusted time to set the modification times.
    marka63 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    b04d941 View commit details
    Browse the repository at this point in the history
  6. Set the modification time of the zone file after dumping

    For secondary, mirror and redirect zones the expiry time is set
    from the zone file's modification time on restart.  As zone dumping
    take time, set the modification time of the zone file to the expire
    time less the expire interval.
    marka63 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    9e03b5f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cf03b1e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b05fce4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ac68200 View commit details
    Browse the repository at this point in the history
  10. Merge branch '4170-extend-expire-opt-support-into-xfrin-c' into 'main'

    Resolve "Extend EXPIRE opt support into xfrin.c"
    
    Closes #4170
    
    See merge request isc-projects/bind9!8064
    marka63 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    cd837f4 View commit details
    Browse the repository at this point in the history
  11. Add serve-stale test settings after flush

    Add a test case to ensure that after 'rndc flush', the serve-stale
    settings are not reset.
    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    0f593fd View commit details
    Browse the repository at this point in the history
  12. After cache flush, restore serve-stale settings

    When flushing the cache, we create a new cache database. The serve-stale
    settings need to be restored after doing this. We already did this
    for max-stale-ttl, but forgot to do this for stale-refresh-time.
    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    3ae721d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9523eb7 View commit details
    Browse the repository at this point in the history
  14. Merge branch '4278-rndc-flush-resets-stale-refresh-time-to-0' into 'm…

    …ain'
    
    Restore serve-stale settings after cache flush
    
    Closes #4278
    
    See merge request isc-projects/bind9!8244
    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    3f34b69 View commit details
    Browse the repository at this point in the history
  15. Reset the 'result' before using it again

    The 'result' variable should be reset to ISC_R_NOTFOUND again,
    because otherwise a log message could be logged about not being
    able to get the TLS configuration based on on the 'result' value
    from the previous calls to get the TSIG key.
    Aram Sargsyan committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6cab7fc View commit details
    Browse the repository at this point in the history
  16. Unobfuscate the code-flow logic in got_transfer_quota()

    This refactors the code flow in got_transfer_quota() to not use the
    CHECK() macro as it really obfuscates the code flow logic here.
    oerdnj authored and Arаm Sаrgsyаn committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    00cb151 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'aram/zone.c-got_transfer_quota-bugfix' into 'main'

    Reset the 'result' before using it again in zone.c:got_transfer_quota()
    
    See merge request isc-projects/bind9!8241
    Arаm Sаrgsyаn committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    3e5ccc3 View commit details
    Browse the repository at this point in the history
  18. Install Sphinx tools versions from BIND 9 repository

    The doc/arm/requirements.txt file is the single source of truth when it
    comes to Sphinx tools versions used to build documentation via
    util/release-tarball-comparison.sh.
    Mno-hime committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    520e97e View commit details
    Browse the repository at this point in the history
  19. Merge branch 'mnowak/unify-doc-tools-versions' into 'main'

    Install Sphinx tools versions from BIND 9 repository
    
    See merge request isc-projects/bind9!8251
    Mno-hime committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6f53d34 View commit details
    Browse the repository at this point in the history
  20. Update PKCS#11 section in the ARM

    Add instructions for pkcs11-provider and generalize common sections.
    fabled authored and matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    38df202 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'tt-arm-pkcs11-update' into 'main'

    Update PKCS#11 section in the ARM
    
    See merge request isc-projects/bind9!8258
    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    509b911 View commit details
    Browse the repository at this point in the history
  22. Fix keys reference link in ARM

    There's a statement that says: "Here is an example (for illustration
    purposes only) of some possible entries in a [keys] list:", and that
    links to the wrong "keys" statement (it links to the TSIG keys section).
    
    Remove the reference, as we are already in the right section.
    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    07c70ea View commit details
    Browse the repository at this point in the history
  23. Add a glossary definition for duration

    We don't yet explain the syntax of TTL-style suffixes or ISO 8601
    duration formats.
    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    cc122d2 View commit details
    Browse the repository at this point in the history
  24. Explain lifetime format

    Add the text "TTL-style unit suffixes or ISO 8601 duration formats",
    just like we do at other places that are duration option types.
    
    Also, in the dnssec-policy "keys" example, use a TTL-style unit too.
    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    b5a757c View commit details
    Browse the repository at this point in the history
  25. Add CHANGES entry for #4266

    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    fd3d58d View commit details
    Browse the repository at this point in the history
  26. Merge branch '4266-document-dnssec-policy-lifetime' into 'main'

    Clarify BIND 9 time formats
    
    Closes #4266
    
    See merge request isc-projects/bind9!8228
    matje committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    ac2b928 View commit details
    Browse the repository at this point in the history
  27. remove cfg_acl_fromconfig2()

    the extra option to limit ACL configuration to only one address family
    was no longer in use, and has been removed.
    each committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6909897 View commit details
    Browse the repository at this point in the history
  28. remove dns_name_fromstring2()

    we don't need two versions of dns_name_fromstring() any longer; we
    can just specify an origin value of dns_rootname for absolute names.
    each committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    a290ed5 View commit details
    Browse the repository at this point in the history
  29. remove dns_name_towire2()

    we don't need two versions of dns_name_towire(), we can just add NULL
    to the calls that don't need to specify a compression offset.
    each committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    62d7096 View commit details
    Browse the repository at this point in the history
  30. remove dns_name_totext2() and dns_name_toprincipal()

    we can pass option flags to dns_name_totext() to get the same
    results, and eliminate the extra function names.
    each committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    8bda38e View commit details
    Browse the repository at this point in the history
  31. Merge branch 'each-cleanup-function-names' into 'main'

    remove extra function names
    
    See merge request isc-projects/bind9!8204
    oerdnj committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    8ff4895 View commit details
    Browse the repository at this point in the history
  32. Checked array allocation arithmetic with isc_mem_get and friends

    Add new isc_mem_cget(), isc_mem_creget(), and isc_mem_cput() macros to
    complement the isc_mem_callocate() (which works like calloc()).
    
    The overflow checks are implemented as macros in the <isc/mem.h>, so
    that the compiler can see that the element size is constant: it should
    always be `sizeof(something)`.
    oerdnj committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6272482 View commit details
    Browse the repository at this point in the history
  33. A semantic patch to refactor isc_mem_cget and friends

    The aim is to match unsafe patterns of allocation size arithmetic
    and turn them into safe calls to the new `isc_mem_cget()`,
    `isc_mem_creget()`, and `isc_mem_cput()`.
    fanf2 authored and oerdnj committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    a742fde View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    89fcb6f View commit details
    Browse the repository at this point in the history
  35. Do extra manual isc_mem_cget() conversions

    Some of the cases weren't caught by the coccinelle and there were some
    places where cget+memmove() could get converted to simple creget().
    oerdnj committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    55c29b8 View commit details
    Browse the repository at this point in the history
  36. Remove ISC_MEM_ALIGN() memory flag

    The ISC_MEM_ALIGN() was not used anywhere (except mem.c itself), so just
    remove the unused flag.
    oerdnj committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    8ac679a View commit details
    Browse the repository at this point in the history
  37. Remove ISC_MEM_ZERO and isc_mem_*x() API

    Use the new isc_mem_c*() calloc-like API for allocations that are
    zeroed.
    
    In turn, this also fixes couple of incorrect usage of the ISC_MEM_ZERO
    for structures that need to be zeroed explicitly.
    
    There are few places where isc_mem_cput() is used on structures with a
    flexible member (or similar).
    oerdnj committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    d9048b3 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    166cb53 View commit details
    Browse the repository at this point in the history
  39. Merge branch 'ondrej-isc_mem_cget' into 'main'

    Checked array allocation arithmetic with isc_mem_get and friends
    
    See merge request isc-projects/bind9!8237
    oerdnj committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    4e1630e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Clear OpenSSL errors on d2i_ASN1_OBJECT failures

    When d2i_ASN1_OBJECT() fails an error is pushed onto the thread's
    error stack.  This is now cleared by calling ERR_clear_error().
    marka63 committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    5e09d95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eafcd41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8529be3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d8a9adc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    abd8c03 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    86b0436 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6df53cd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4ea9269 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2ba62ae View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2799733 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    247422c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    96db614 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4f790b6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    eaedba6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    936b73c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b442ae8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4c4ecbc View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    9e22882 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    299f519 View commit details
    Browse the repository at this point in the history
  20. Style fix

    marka63 committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    b6e1650 View commit details
    Browse the repository at this point in the history
  21. Detect uncleared libcrypto errors in rdata processing

    If libcrypto errors are not cleared slow memory leaks occur which
    are not detected at shutdown.
    marka63 committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    14727bb View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    6c3d4d7 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6a1a737 View commit details
    Browse the repository at this point in the history
  24. Merge branch '4159-openssl-error-queue-not-cleaned' into 'main'

    Resolve "OpenSSL error queue not cleaned"
    
    Closes #4159
    
    See merge request isc-projects/bind9!8233
    marka63 committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    5969a7c View commit details
    Browse the repository at this point in the history
  25. replace RBTs with hashmaps in dns_transport

    as dns_transport_find() is only concerned with finding an exact
    match on the specified name it doesn't need to use a tree data
    structure internally, we can replace the RBTs with hash tables.
    each committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    9067b63 View commit details
    Browse the repository at this point in the history
  26. add dns_nametree structure for policy match lookups

    this is a QP trie of boolean values to indicate whether a name is
    included in or excluded from some policy. this can be used for
    synth-from-dnssec, deny-answer-aliases, etc.
    each committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    56114aa View commit details
    Browse the repository at this point in the history
  27. use dns_nametree in place of RBTs

    replace the use of RBTs for deny-answer-aliases, the exclude
    lists for deny-answer-aliases and deny-answer-addresses, and
    dnssec-must-be-secure, with name trees.
    each committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    e83ac0c View commit details
    Browse the repository at this point in the history
  28. refactor disable_algorithm and disable_ds_digest to use one data stru…

    …cture
    
    the functions for disabling DNSSEC signing algorithms and DS digest
    algorithms in resolver.c had a lot of duplicated code.
    
    this commit adds functions to implement a "bitfield tree", which is
    (currently) an RBT in which the node data contains arbitrary-sized
    bitfields to indicate whether a value has been added at the given
    node or not. (it can be changed to a QP trie later.)
    
    it also replaces the functions dns_resolver_disable_algorithm(),
    dns_resolver_algorithm_supported(), dns_resolver_disable_ds_digest()
    and dns_resolver_ds_digest_supported() with simple wrappers that call
    the new functions.
    each committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    54fc024 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. add semantics to dns_nametree to support bitfields

    name trees can now hold either boolean values or bit fields. the
    type is selected when the name tree is created.
    
    the behavior of dns_nametree_add() differs slightly beteween the types:
    in a boolean tree adding an existing name will return ISC_R_EXISTS,
    but in a bitfield tree it simply sets the specified bit in the bitfield
    and returns ISC_R_SUCCESS.
    each authored and oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    9ed1dba View commit details
    Browse the repository at this point in the history
  2. use bitfield name trees for disable-algorithms and disable-ds-digests

    switch disable-algorithms and disable-ds-digests to use
    bitfield-type name trees, replacing the RBT-based bftree.
    each authored and oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    bc3fd1a View commit details
    Browse the repository at this point in the history
  3. add semantics to name trees to support counters

    name trees can now also hold trees of counters. each time a name
    dns_nametree_add() is called with a given name, the counter for that
    name is incremented; the name is not deleted until dns_nametree_delete()
    is called the same number of times.
    
    this is meant to be used for synth-from-dnssec, which is incremented for
    each key defined at a name, and decremented when a key is removed, the
    name must continue to exist until the number of keys has reached zero.
    each authored and oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    0ebaa26 View commit details
    Browse the repository at this point in the history
  4. add a 'foundname' argument to dns_nametree_covered()

    when checking whether a name is covered, the ancestor name that
    was found can be set into a name object passed in.
    each authored and oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    b1e4e2a View commit details
    Browse the repository at this point in the history
  5. use a count nametree for synthfromdnssec

    use the count semantics for dns_nametree to support view->sfd.
    each authored and oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    1a238a0 View commit details
    Browse the repository at this point in the history
  6. unconditionally create view and resolver nametrees

    instead of allowing a NULL nametree in dns_nametree_covered(),
    require nametree to exist, and ensure that the nametrees defined
    for view and resolver objects are always created.
    each authored and oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    1019c0c View commit details
    Browse the repository at this point in the history
  7. CHANGES for [GL !8213]

    each authored and oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    9c25a09 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'each-cleanup-rbt' into 'main'

    replace RBT usage throughout named
    
    See merge request isc-projects/bind9!8213
    oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    00a6268 View commit details
    Browse the repository at this point in the history
  9. Move security-related information to SECURITY.md

    To follow current best practices, create a short SECURITY.md file in the
    root of the repository that contains information about the project's
    security policy and guidelines for reporting potential security issues.
    Replace the relevant bits of text in other files with references to the
    new SECURITY.md file, so that the relevant information only needs to be
    maintained in one place.
    
    Replace all occurrences of the generic [email protected] email
    with a dedicated address for reporting BIND 9 security issues,
    [email protected].
    kempniu committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    ca9fed9 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'michal/reorganize-vulnerability-docs' into 'main'

    Move security-related information to SECURITY.md
    
    See merge request isc-projects/bind9!8257
    kempniu committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    eac0a4b View commit details
    Browse the repository at this point in the history
  11. Deprecate 'dnssec-must-be-secure' option

    The dnssec-must-be-secure feature was added in the early days of BIND 9
    and DNSSEC and it makes sense only as a debugging feature.
    
    Remove the feature to simplify the code.
    oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    9e0b348 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    898f0ee View commit details
    Browse the repository at this point in the history
  13. Merge branch '4263-deprecate-dnssec-must-be-secure-feature' into 'main'

    Deprecate 'dnssec-must-be-secure' option
    
    See merge request isc-projects/bind9!8267
    oerdnj committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    912d6a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Make it possible to create memory contexts backed by jemalloc arenas

    This commit extends the internal memory management middleware code in
    BIND so that memory contexts backed by dedicated jemalloc arenas can
    be created. A new function (isc_mem_create_arena()) is added for that.
    
    Moreover, it extends the existing code so that specialised memory
    contexts can be created easily, should we need that functionality for
    other future purposes. We have achieved that by passing the flags to
    the underlying jemalloc-related calls. See the above
    isc_mem_create_arena(), which can serve as an example of this.
    
    Having this opens up possibilities for creating memory contexts tuned
    for specific needs.
    arbv authored and oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    8550c52 View commit details
    Browse the repository at this point in the history
  2. Add ability to set per jemalloc arena dirty and muzzy decay values

    This commit adds couple of functions to change "dirty_decay_ms" and
    "muzzy_decay_ms" settings on arenas associated with memory contexts.
    arbv authored and oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    6e98b58 View commit details
    Browse the repository at this point in the history
  3. Allocate DNS send buffers using dedicated per-worker memory arenas

    This commit ensures that memory allocations related to DNS send
    buffers are routed through dedicated per-worker memory arenas in order
    to decrease memory usage on high load caused by TCP-based DNS
    transports.
    
    We do that by following jemalloc developers suggestions:
    
    jemalloc/jemalloc#2483 (comment)
    jemalloc/jemalloc#2483 (comment)
    arbv authored and oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    01cc7ed View commit details
    Browse the repository at this point in the history
  4. Add CHANGES and release note for [GL #4038]

    Mention that send buffer allocations/deallocations are now routed
    through dedicated memory arenas.
    arbv authored and oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    60d52a4 View commit details
    Browse the repository at this point in the history
  5. Merge branch '4038-specialised-arena-per-worker' into 'main'

    Make it possible to create memory contexts backed by jemalloc arenas
    
    Closes #4038
    
    See merge request isc-projects/bind9!8270
    oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    dd658c4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e70a937 View commit details
    Browse the repository at this point in the history
  7. Merge branch '4255-placeholder' into 'main'

    Add CHANGES placeholder for [GL #4255]
    
    See merge request isc-projects/bind9!8275
    Mno-hime committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    be33cfa View commit details
    Browse the repository at this point in the history
  8. Ignore jemalloc versions before 4.0.0

    We now depend on explicitly creating memory arenas and disabling tcache
    on those, and these features are not available with jemalloc < 4.
    Instead of working around these issues, make the jemalloc >= 4.0.0 hard
    requirement by looking for sdallocx() symbol that's only available from
    that version.
    
    The jemalloc < 4 was only used by RHEL 7 which is not supported since
    BIND 9.19+.
    oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    d862f4b View commit details
    Browse the repository at this point in the history
  9. Print the used jemalloc version in autoconf and named -V output

    The autoconf and named -V now prints used version of jemalloc.  This
    doesn't work with system supplied jemalloc, so in it prints `system`
    instead in the autoconf and nothing in named -V output.
    oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    2e99dce View commit details
    Browse the repository at this point in the history
  10. Synchronize used library versions reporting functions

    There are libraries which are reported in printversion(), but not
    reported in setup(). Synchronize the functions, so that the log
    file could have the same information as reported by the 'named -V'
    command execution.
    Aram Sargsyan authored and oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    2084986 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7423557 View commit details
    Browse the repository at this point in the history
  12. Merge branch '4296-ignore-jemalloc-versions-before-4.0.0' into 'main'

    Ignore jemalloc versions before 4.0.0
    
    Closes #4296
    
    See merge request isc-projects/bind9!8273
    oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    fb233b3 View commit details
    Browse the repository at this point in the history
  13. Disable command tracing in statschannel system test

    Command tracing was added recently via
    26e10e8 and makes the system test too
    verbose.
    Mno-hime authored and oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    f0c37d8 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'mnowak/statschannel-system-test-is-too-verbose' into 'm…

    …ain'
    
    Disable command tracing in statschannel system test
    
    See merge request isc-projects/bind9!8277
    oerdnj committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    5173849 View commit details
    Browse the repository at this point in the history
  15. Restore dns_validator_destroy and fetchctx_detach call order

    7a78a85 moved the destruction of the validator from near the start
    validated to the end.  This reversed the order of dns_validator_destroy
    and fetchctx_detach.  Restore the order so that val->name remains
    valid for the lifetime of the validator.
    marka63 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    cf63cb1 View commit details
    Browse the repository at this point in the history
  16. Add CHANGES for [GL #4214]

    marka63 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    1fed5c8 View commit details
    Browse the repository at this point in the history
  17. Merge branch '4214-uaf-in-validator-logging' into 'main'

    Resolve "UAF in validator logging"
    
    Closes #4214
    
    See merge request isc-projects/bind9!8269
    marka63 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    028154d View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    28adcf1 View commit details
    Browse the repository at this point in the history
  2. Merge branch '4292-uncleared-libcrypto-error-crypto-evp-evp_fetch-c-3…

    …73-inner_evp_generic_fetch' into 'main'
    
    Resolve "Uncleared libcrypto error: crypto/evp/evp_fetch.c:373 inner_evp_generic_fetch"
    
    Closes #4292
    
    See merge request isc-projects/bind9!8274
    marka63 committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    49f6bf8 View commit details
    Browse the repository at this point in the history
  3. Check dig's exist status

    marka63 committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    701ad35 View commit details
    Browse the repository at this point in the history
  4. Merge branch '4291-check-dig-exit-status' into 'main'

    Resolve "RNDC system test failed to run to completion"
    
    Closes #4291
    
    See merge request isc-projects/bind9!8264
    marka63 committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    fafa7f3 View commit details
    Browse the repository at this point in the history
  5. Adjust level of log messages when transferring in a zone

    This raises the log level of messages treated as FORMERR to NOTICE
    when transfering in a zone.  This also adds a missing log message
    for TYPE0 and meta types received during a zone transfer.
    marka63 committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    6c34147 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b867244 View commit details
    Browse the repository at this point in the history
  7. Merge branch '4290-raise-log-level-to-isc_log_error-on-formerr-in-xfr…

    …in-c' into 'main'
    
    Resolve "raise log level to ISC_LOG_NOTICE on FORMERR in xfrin.c"
    
    Closes #4290
    
    See merge request isc-projects/bind9!8262
    marka63 committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    b6e5960 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b4ec7c7 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Merge branch '4152-placeholder' into 'main'

    Add CHANGES placeholder for [GL #4152]
    
    See merge request isc-projects/bind9!8283
    Mno-hime committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    b237414 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8cba9b View commit details
    Browse the repository at this point in the history
  3. Merge branch '4242-placeholder' into 'main'

    Add CHANGES placeholder for [GL #4242]
    
    Closes #4242
    
    See merge request isc-projects/bind9!8284
    Mno-hime committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    6bda72d View commit details
    Browse the repository at this point in the history
  4. Limit isccc_cc_fromwire recursion depth

    Named and rndc do not need a lot of recursion so the depth is
    set to 10.
    marka63 authored and Mno-hime committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    820b0cc View commit details
    Browse the repository at this point in the history
  5. Add CHANGES note for [GL #4152]

    marka63 authored and Mno-hime committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    6af8d39 View commit details
    Browse the repository at this point in the history
  6. Add release note for [GL #4152]

    marka63 authored and Mno-hime committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    ecd77e6 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Merge branch '4152-confidential-limit-isccc_cc_fromwire-recursion-dep…

    …th' into 'security-main'
    
    [CVE-2023-3341] Limit isccc_cc_fromwire recursion depth
    
    See merge request isc-private/bind9!546
    Mno-hime committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    62697a1 View commit details
    Browse the repository at this point in the history
  2. Simplify Sphinx tools installation

    Pointing pip3 to the "requirements file" eliminates the necessity for
    removing comments.
    Mno-hime committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    93dc606 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da05434 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    01020d7 View commit details
    Browse the repository at this point in the history
  5. Reorder release notes

    Mno-hime committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    cec1e23 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'mnowak/prepare-documentation-for-bind-9.19.17' into 'se…

    …curity-main'
    
    Prepare documentation for BIND 9.19.17
    
    See merge request isc-private/bind9!577
    Mno-hime committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    f0a4a72 View commit details
    Browse the repository at this point in the history
  7. Add a CHANGES marker

    Mno-hime committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    9f780d8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    464cf8c View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Configuration menu
    Copy the full SHA
    42bea8c View commit details
    Browse the repository at this point in the history
  2. Fixed a typo in dst.h

    Martyrshot committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    8d78884 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81028bd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    859853a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe30fe9 View commit details
    Browse the repository at this point in the history
  6. Fixed a bunch of typos

    Martyrshot committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    c9660c8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    278a54e View commit details
    Browse the repository at this point in the history
  8. Fixed more typos!

    Martyrshot committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    6f453aa View commit details
    Browse the repository at this point in the history
  9. Fixed even more typos

    Martyrshot committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    4565365 View commit details
    Browse the repository at this point in the history
  10. Fixed another typo

    Martyrshot committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    83d18ea View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a097972 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    edb14aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0f7cca View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    a609a88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66e9f54 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d1f5e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0869ba3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ca71daa View commit details
    Browse the repository at this point in the history
  6. re-enabled dilithium2

    Martyrshot committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    9cc5480 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3d4d94a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e77ef4a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bf4bd26 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e0f591a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5943bb0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7839088 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    861100a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    94c124d View commit details
    Browse the repository at this point in the history
  15. Fixed falcon512 verify

    Martyrshot committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    e93607b View commit details
    Browse the repository at this point in the history
  16. Fixed some more formatting

    Martyrshot committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    937c0a4 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6be73f6 View commit details
    Browse the repository at this point in the history
  18. Re-enabled sphincs+

    Martyrshot committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    84c7d71 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    dde27a4 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    cbad064 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    be1f850 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0402bd6 View commit details
    Browse the repository at this point in the history
  23. Removed lockdown workflow

    Martyrshot committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    8702103 View commit details
    Browse the repository at this point in the history