Commit Graph

34 Commits

Author SHA1 Message Date
Petr Menšík
0b27904541 Add sysusers named user creation (rhbz#2105415)
Drop original user creating in favor of sysusers file definition.

(cherry picked from commit 071ec07d27989a8d548834292fa46ca2312b4862)
(cherry picked from commit efb20ad8e740aafb410c0609fe94551135f2054b)

Resolves: RHEL-132054
(cherry picked from commit 4f18fb958fc3108bdca4c8192f7872db02c49673)
2025-12-17 15:05:13 +01:00
Petr Menšík
daeb550803 Add missing bind-chroot subdirectories
Fix also changelog date ordering.

Resolves: RHEL-132054
2025-12-12 21:51:01 +01:00
Petr Menšík
3ddca50846 Create /var/named directories for bind-chroot
Fixes bind-chroot in Image Mode.

Resolves: RHEL-132054
2025-12-12 18:14:53 +01:00
Petr Menšík
2657a462a4 Copy named.* into /usr/share/named
Imagemode might have separate /var partition not properly initialized by
package installation. Add creation of compat files into tmpfiles.d
definition.

Make copies of those files from /var/named to /usr/shared/named, so we
even have some place to symlink them from. Originally it had only copy
in sample documentation, which may not be installed.

These source file should be read-only from named and not modified
anyway. Copy them to /usr/share/named as read-only, always present
sources. Make symlinks in /var/named to point to them only when files
are missing.

To maximize backward compatibility, make copies and avoid replacing
those files with symlinks.

Resolves: RHEL-122168
2025-11-11 16:54:08 +01:00
Petr Menšík
85e46e131a Fix unreliable dispatch unit test
Resolves: RHEL-126470
2025-11-10 19:01:00 +01:00
Petr Menšík
81b8e58565 Add test case into dnssec system test for new regression
https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/11195

Resolves: RHEL-123329
2025-11-10 19:00:54 +01:00
Petr Menšík
24fc81e1c8 Fix regression in upstream CVE-2025-8677 fix
https://gitlab.isc.org/isc-projects/bind9/-/issues/5570
https://gitlab.isc.org/isc-projects/bind9/-/issues/5622

Resolves: RHEL-123329
2025-11-10 19:00:46 +01:00
Petr Menšík
c5512bd8f1 Prevent cache poisoning due to weak PRNG (CVE-2025-40780)
https://kb.isc.org/docs/cve-2025-40780

Unmodified upstrem patch

Resolves: RHEL-123329
2025-11-10 19:00:10 +01:00
Petr Menšík
03804737c1 Address various spoofing attacks (CVE-2025-40778)
https://kb.isc.org/docs/cve-2025-40778

Resolves: RHEL-123329
2025-11-10 18:59:58 +01:00
Petr Menšík
cbe3a493d7 Prevent malformed DNSKEY to overload CPU (CVE-2025-8677)
Unmodified upstream patches.

https://kb.isc.org/docs/cve-2025-8677

Resolves:  RHEL-123329
2025-11-10 18:59:31 +01:00
Petr Menšík
d76c467fa2 logrotate: skip if empty and remove old variants
Many variants are never built anymore. Clean actions to just those still
shipped. But do not trigger named reload when named.run file is empty.
That is common on freeipa installation, where configuration changes
logging to put it elsewhere. named reload is disruptive because how
bind-dyndb-ldap behaves during reloads. Avoid unnecessary reloads with
visible service disruption.

Keep named-pkcs11 reload variant.

Resolves: RHEL-113968
2025-09-12 15:52:16 +02:00
Petr Mensik
94baf80eaa Add extra protections to places needing absolute names
Insert just potential protection in case Patch32 does not cover all
possible cases.

Resolves: RHEL-96648
2025-08-13 17:23:36 +02:00
Petr Mensik
8d563fc828 Prevent name.c:670: REQUIRE((name1->attributes & 0x00000001) == (name2->attributes & 0x00000001)) failed
resume_qmin did not handle special case of recursing query hit
unexpected DNS_R_CNAME result. Change result to SERVFAIL in case
of a zone loaded after the recursion started. That prevents crashing
later in query_setorder, where there is uninitialized foundname compared
with absolute order names.

https://gitlab.isc.org/isc-projects/bind9/-/issues/5357
Resolves: RHEL-96648
2025-06-12 14:55:51 +02:00
Petr Menšík
1c6949770d [9.18] [CVE-2024-12705] sec: usr: DNS-over-HTTP(s) flooding fixes
Fix DNS-over-HTTP(S) implementation issues that arise under heavy
query load. Optimize resource usage for :iscman:`named` instances
that accept queries over DNS-over-HTTP(S).

Previously, :iscman:`named` would process all incoming HTTP/2 data
at once, which could overwhelm the server, especially when dealing
with clients that send requests but don't wait for responses. That
has been fixed. Now, :iscman:`named` handles HTTP/2 data in smaller
chunks and throttles reading until the remote side reads the
response data. It also throttles clients that send too many requests
at once.

Additionally, :iscman:`named` now carefully processes data sent by
some clients, which can be considered "flooding." It logs these
clients and drops connections from them.
:gl:`#4795`

In some cases, :iscman:`named` could leave DNS-over-HTTP(S)
connections in the `CLOSE_WAIT` state indefinitely. That also has
been fixed. ISC would like to thank JF Billaud for thoroughly
investigating the issue and verifying the fix.
:gl:`#5083`

Vulnerability: CVE-2024-12705
Resolves: RHEL-76868
2025-03-13 16:29:50 +01:00
Petr Menšík
642b920266 [9.18] [CVE-2024-11187] sec: usr: Limit the additional processing for large RDATA sets
When answering queries, don't add data to the additional section if the answer has more
than 13 names in the RDATA. This limits the number of lookups into the database(s) during
a single client query, reducing query processing load.

Vulnerability: CVE-2024-11187
Resolves: RHEL-76889
2025-03-13 16:29:50 +01:00
Petr Menšík
433bab66ec Fix PIE patching from Fedora
Seems broken since last rebase build.

Related: RHEL-76331
2025-01-31 19:12:43 +01:00
Petr Menšík
a7a280de1f Backport also some tests into upstream testsuite
nsupdate new parameters needs some testing too.

Resolves: RHEL-76331
2025-01-31 19:12:43 +01:00
Petr Menšík
5adfd22bd5 Update nsupdate manual with new TLS parameters
Resolves: RHEL-76331
2025-01-31 19:12:34 +01:00
Petr Menšík
7065a4d280 Backport TLS functionality into nsupdate
Resolves: RHEL-76331
2025-01-31 19:12:07 +01:00
Petr Sklenar
20d3dd3f31 Update plans.fmf 2024-08-26 14:27:06 +00:00
Petr Sklenar
c0f9aed60a Update plans.fmf 2024-08-26 14:02:54 +00:00
Petr Menšík
9624174731 Update to 9.18.29
- Tighten max-recursion-queries and add max-query-restarts configuration statement.
- Raise the log level of priming failures.
- Bug fixes

https://downloads.isc.org/isc/bind9/9.18.29/doc/arm/html/notes.html#notes-for-bind-9-18-29

Resolves: RHEL-53015
2024-08-21 21:05:27 +02:00
Petr Menšík
f99cb1dfd6 Rebase to 9.18.28
https://downloads.isc.org/isc/bind9/9.18.27/doc/arm/html/notes.html#notes-for-bind-9-18-27

Fixes vulnerabilities: CVE-2023-4408 CVE-2023-50387 CVE-2023-50868 CVE-2023-5517 CVE-2023-5679

Resolves: RHEL-53015
2024-08-06 14:13:45 +02:00
Petr Menšík
2226a2052d Try to return context: back to plan
component is used in tests/bind tests to choose correct requirements for
otherwise shared tests. Try to put context propagated from original
package to those tests.

Do not use public repo import, but (re)define it manually to keep
context propagated.
2024-06-20 15:55:43 +02:00
psklenar@redhat.com
3de841dcbd c10s: fmf plans and gatying for RHEL CI
(cherry picked from commit 5b9483bf9549def17eab8c79c5c5b807e80a72bd)
2024-06-20 13:54:22 +02:00
Petr Menšík
21bc9027a3 Remove separate license subpackage
Move license to libs subpackage, it is required for everything except
documentation. Include license file in docs and bind-libs, avoid extra
package just for single file.

Resolves: RHEL-14898
2024-06-19 20:49:11 +02:00
Petr Menšík
298856fa52 Conflict explicitly with more bind subpackages
List conflicts for each package explicitly, if it should conflict.

Resolves: RHEL-14898
2024-06-19 20:48:40 +02:00
Petr Menšík
4fe5ea3a33 Disable building of DLZ modules
They are not wanted or needed for RHEL.

Resolves: RHEL-14898
2024-06-19 20:47:32 +02:00
Petr Menšík
fa83136e41 Update to 9.18.27
New Features

- A new option signatures-jitter has been added to dnssec-policy to allow
  signature expirations to be spread out over a period of time. [GL #4554]

Feature Changes

- DNSSEC signatures that are not valid because the current time falls
  outside the signature inception and expiration dates are skipped
  instead of causing an immediate validation failure. [GL #4586]

https://downloads.isc.org/isc/bind9/9.18.27/doc/arm/html/notes.html#notes-for-bind-9-18-27
2024-06-10 16:11:22 +02:00
Petr Menšík
4f3c7b8244 Move spec file 2024-06-10 15:45:01 +02:00
Petr Menšík
8d04bbda9e Rename component to bind9.18 2024-06-10 15:45:01 +02:00
Petr Menšík
9cdb7b34fe Update to 9.18.26 (rhbz#2270476)
New Features

- The statistics channel now includes counters that indicate the number of currently connected TCP IPv4/IPv6 clients. [GL #4425]
- Added RESOLVER.ARPA to the built in empty zones. [GL #4580]

And bug fixes

https://downloads.isc.org/isc/bind9/9.18.26/doc/arm/html/notes.html#notes-for-bind-9-18-26
2024-06-10 15:45:01 +02:00
Petr Menšík
ec071137db Fedora bind import
Import commit 91d60335005d38c4fa34b1cc3c835a0ec15983ed
2024-06-10 15:42:57 +02:00
Release Configuration Management
47e32c28b7 New branch setup 2024-05-31 05:48:48 -04:00