Commit graph

863 commits

Author SHA1 Message Date
Petr Menšík
b4d1d70e70 Update to 9.11.22
https://downloads.isc.org/isc/bind9/9.11.22/RELEASE-NOTES-bind-9.11.22.html
(cherry picked from commit 745f43ac05)
2020-08-21 19:14:19 +02:00
Petr Menšík
d1665f8bac Update to 9.11.21
Only bugfix release without significant changes.

Release notes at:
https://downloads.isc.org/isc/bind9/9.11.21/RELEASE-NOTES-bind-9.11.21.html
2020-07-17 11:27:15 +02:00
Petr Menšík
300adf239e Update to 9.11.20
Fixes CVE-2020-8619 and few more issues
2020-06-17 22:58:40 +02:00
Petr Menšík
08b764d712 Make usage of initscripts optional
Do not depend hard on initscript just to provide fancy colored status.
When started from systemd, it does not really matter.

Return exactly the same return code as returned by the original tool.

(cherry picked from commit 04ea238d47)
2020-05-25 23:16:40 +02:00
Petr Menšík
aa1538f996 Update to 9.11.19
Includes new CVE fixes

(cherry picked from commit 62efd292f1)
2020-05-25 23:16:40 +02:00
Petr Menšík
f5643c8a71 Make spec work also on CentOS 8
Move some conditional requirements to be enabled just on Fedora.

(cherry picked from commit 96e1d963a4)
2020-05-25 23:16:40 +02:00
Petr Menšík
fbe767f651 Update to BIND 9.11.18
From Upstream Release notes:

Security Fixes

    DNS rebinding protection was ineffective when BIND 9 is configured as a forwarding DNS server. Found and responsibly reported by Tobias Klein. [GL #1574]

Known Issues

    We have received reports that in some circumstances, receipt of an IXFR can cause the processing of queries to slow significantly. Some of these were related to RPZ processing, which has been fixed in this release (see below). Others appear to occur where there are NSEC3-related changes (such as an operator changing the NSEC3 salt used in the hash calculation). These are being investigated. [GL #1685]

(cherry picked from commit 6e3b160e37)
2020-05-25 23:05:11 +02:00
Petr Menšík
59d7eb1e5c Remove unused patches
(cherry picked from commit 5c15ad824e)
2020-05-25 23:02:48 +02:00
Petr Menšík
dee096aad2 Update to 9.11.17
Updated a bit SDB related patches.

(cherry picked from commit c223e3e275)
2020-05-25 23:02:45 +02:00
Petr Menšík
d391f2e8db Use CI from master branch
Use just the same tests.yml as master. Do not use whole history.
2020-04-14 14:14:40 +02:00
Petr Menšík
51b4aa2e59 Fix oot build
gen would not compile under oot build
2020-01-06 11:30:10 +01:00
Petr Menšík
5c2cd3cd99 Include more Thread Sanitizer changes
Fix as much race conditions as possible.
2020-01-06 11:30:10 +01:00
Petr Menšík
01631539dd Update to 9.11.14
Includes ThreadSanitizer fixes already included as downstream patches.
Adjusts serve-stale patch, one new statistics.
2020-01-02 20:54:13 +01:00
Petr Menšík
9e73702674 Add one more candidate for issue fixing
Imported from upstream commit 6eed12605154b8ce10e9be0f51253e6ec318550e
2020-01-02 20:51:54 +01:00
Petr Menšík
abb34de75c Add ThreadSanitizer support
Has to be enabled in build by --with TSAN.
Would make build fail unit tests and print many warnings about possible
race conditions. Not useful for production build, but useful for
debugging thread related problems in system tests.
2020-01-02 19:35:54 +01:00
Petr Menšík
6e112e84d2 Bump spec for bug #1736762 2019-12-02 21:20:11 +01:00
Petr Menšík
04286fc0ca Backport a few upstream thread safety fixes
It might not fix all issues, but was detected by upstream using
automated tool. Should not break anything new, but might fix issue
triggered usually on ppc64le platform.
2019-12-02 21:20:09 +01:00
Petr Menšík
78984ed0ce Complete explicit disabling of RSAMD5 in FIPS mode (#1709553)
Previous fix included just part inside named. However, checking part
would check algorithm support also in check library. The code is almost
the same. Permit already disabled algoritms also in libbind9.

Use the same change as RHEL.
2019-11-26 20:07:15 +01:00
Petr Menšík
a50207333e Remove tabs from spec
rpmlint complains about mixed spaces and tabs. Set vim mode and remove
tabs added by recent commit.
2019-11-26 19:12:04 +01:00
Petr Menšík
3e885e2516 Add source verification on build
Include verification on build time, with link to GPG keys on upstream
site.

Signed-off-by: Petr Menšík <pemensik@redhat.com>
2019-11-26 19:12:04 +01:00
Petr Menšík
79ec96f99d Update to 9.11.13
Includes fix for:
* CVE-2019-6477 bind: TCP Pipelining doesn't limit TCP clients on a single connection
2019-11-26 19:11:07 +01:00
Petr Menšík
7ef62cba9b Remove reload related comments from services
Seems systemd already fixes reload return codes. Remove comment from
systemd service files.
2019-11-26 19:08:53 +01:00
Petr Menšík
440b4d50ee Report error on reload failure (#1739441)
Return failed status code to command. Not only report error message to
the log, but also report reload success. Must not terminate running
service on failed reload.
2019-11-26 19:08:43 +01:00
Petr Menšík
a76ab2ea75 Add helper for testing system daemons
Modifies already generated Makefiles to link against system libraries,
instead of static built artifacts.
2019-11-26 19:01:43 +01:00
Petr Menšík
ed36b6dd70 Fix wrong default GeoIP directory (#1768258) 2019-11-26 19:01:43 +01:00
Petr Menšík
7f28edd514 Update chroot test to check RPM verify
In bug #1592873, error on chroot was reported. Ensure it does not
reappear.
2019-11-26 19:01:43 +01:00
Petr Menšík
b118fbaefa Improve SYSTEMTEST running on build time
Use parallel execution on test run. Support already configured
interfaces without special permissions on build. It can either use
already present addresses or configure it on build time. If it has no
rights to configure it, just skip the test and continue.
2019-11-26 19:01:43 +01:00
Petr Menšík
ea6e48e0a1 Add GeoIP configuration into config file
Upstream has wrong default path of GeoIP2. Use it explicitly.
2019-11-26 19:01:43 +01:00
Petr Menšík
018d2c035d Remove config archive with zone files
Few configuration and zone files were moved into tarball by commit
55b04de09a. It makes tracking of changes difficult, hardens rebases,
makes difficult building without proper lookaside cache. Those files are
tiny, no need to hold them inside compressed binary archive. Move them
out.

Replaces also few places with proper directory macros.
2019-11-26 19:01:43 +01:00
Petr Menšík
12763cd29b Adjust patches to 9.11.12
Few changes occured, remove one upstream applied patch.
2019-11-26 19:01:43 +01:00
Petr Menšík
497234a5e0 Update to 9.11.12 (#1557762) 2019-11-26 19:01:43 +01:00
Petr Menšík
833ef7b7b4 Adjust downstream patches to 9.11.11 2019-09-25 21:30:47 +02:00
Petr Menšík
69b861316f Update to 9.11.11
- Interaction between DNS64 and RPZ No Data rule (CNAME *.) could
  cause unexpected results; this has been fixed. [GL #1106]

- named-checkconf now checks DNS64 prefixes
  to ensure bits 64-71 are zero. [GL #1159]

- named-checkconf could crash during configuration
  if configured to use "geoip continent" ACLs with
  legacy GeoIP. [GL #1163]

- named-checkconf now correctly reports missing
  dnstap-output option when
  dnstap is set. [GL #1136

- Handle ETIMEDOUT error on connect() with a non-blocking
  socket. [GL #1133]
2019-09-25 21:24:23 +02:00
Petr Menšík
277938ec6c Use just normal variant by default
Testing takes quite long. For now, use by default only normal variant.
SDB variant is not much used and pkcs11 variant is failing now. Keep
ability to enable variants by parameter:
   TEST_VARIANTS="normal sdb pkcs11"
2019-09-25 20:37:03 +02:00
Petr Menšík
339db1a482 Add internal test suite to set of tests 2019-09-25 20:37:03 +02:00
Petr Menšík
7eb2cf5e7b Update and simplify package requirements
bind-devel should now provide all dependencies required. Omit explicitl
requirements for building. Drop atf building support, since upstream
moved to cmocka.
2019-09-25 20:37:03 +02:00
Petr Menšík
54fa84a387 Use also termination logs to measure time
Might use different approach to display grouped results.
2019-09-25 20:37:03 +02:00
Petr Menšík
545e2cb4bc Make tests optional
Make it possible to skip some test using parameter. In some cases, just
single pass is required.
Also fix case when no known defects are specified for a variant.
2019-09-25 20:37:03 +02:00
Petr Menšík
0983c90fb0 Modify test suite to include also variants
Run system tests for each variants.
2019-09-25 20:37:03 +02:00
Petr Menšík
5aee3f1742 Precise timing perl package is required 2019-09-25 20:37:03 +02:00
Petr Menšík
5691e04b76 Fix source fetching 2019-09-25 20:37:03 +02:00
Petr Menšík
841d8832b4 Do not skip gsstsig test in any named variants
Feature was skipped by mistake when moving feature-test into separate
directory.
2019-09-05 21:35:54 +02:00
Petr Menšík
d568c54c25 Share pkcs11-utils and dnssec-utils manuals
Previous build recommended bind-dnssec-utils just to provide manual for
pkcs11 variants. Instead, share the same files between pkcs11-utils and
dnssec-utils. Skip unnecessary manual of non-existent dnssec-coverage-pkcs11 tool.
2019-09-05 21:18:52 +02:00
Petr Menšík
9d1aaa502b Recommend bind-dnssec-utils from bind-pkcs11-utils
Manual pages are just links to pages in bind-dnssec-utils. Do not copy
them, but suggest them for installation is possible. It would be handy
to have them available, but are not required for any function.
2019-09-03 18:34:04 +02:00
Petr Menšík
bf5bc99f81 Add GeoIP to bind-chroot (#1497646)
named can use ACLs defined by GeoIP of request. Such information is not
available by default under named-chroot service. Enable GeoIP databases
under chroot without explicit configuration.
2019-09-03 13:58:49 +02:00
Petr Menšík
0fa39c28ad Move created empty directories to single define
Make it easier to manage list of used directories in chroot. Use
appropriate macros for system directories everywhere in chroot package.
Share common variable with -sdb-chroot and -chroot packages.
2019-09-03 13:58:31 +02:00
Petr Menšík
8cd5c11f0d Move some administration utilities back to utils (#1720380)
Some utilities are not related DNSSEC at all, but are just bind related
tools. Because they do not require additional dependencies, they do not
save any space in containers.
2019-09-03 11:37:26 +02:00
Petr Menšík
c5d9a5c66a Avoid conflicts between OpenSSL and native PKCS#11
Do not set default engine when native module should be used.
2019-08-27 21:39:46 +02:00
Petr Menšík
01dd585828 Fix broken pkcs11 initialization
Broken by commit 2a466330c5
2019-08-27 21:39:46 +02:00
Petr Menšík
1b89e61546 Fix broken system/tsig test
On rebases, md5 keys were accidentally dropped. Put them back.
2019-08-27 21:39:46 +02:00