Petr Špaček
26cf83a76b
Merge branch '4649-work-around-a-tsan-issue-with-newer-kernels-9.18' into 'bind-9.18'
...
[9.18] Work around a TSAN issue with newer kernels
See merge request isc-projects/bind9!8894
2024-03-21 08:39:59 +00:00
Michał Kępień and Petr Špaček
eed32509fb
Work around a TSAN issue with newer kernels
...
The ThreadSanitizer version currently available from Fedora 39
repositories is unable to cope with very high ASLR entropy, which is the
default in some recent Linux distributions [1]. This causes all
TSAN-enabled builds to fail on the affected systems with an error like:
FATAL: ThreadSanitizer: unexpected memory mapping 0x7d00e0772000-0x7d00e0c00000
Work around the problem by reducing ASLR entropy for all TSAN-enabled
builds until the problem is resolved upstream.
[1] https://github.com/google/sanitizers/issues/1716
(cherry picked from commit 05b09f2b5b )
2024-03-21 09:02:09 +01:00
Mark Andrews
46c7aa2080
Merge branch '4640-checkzone-in-system-test-leaks-queries-bind-9.18' into 'bind-9.18'
...
[9.18] Resolve "Checkzone in system test leaks queries"
See merge request isc-projects/bind9!8892
2024-03-21 03:33:19 +00:00
Mark Andrews
aa9f88b070
Stop named-checkzone leaking test queries
...
(cherry picked from commit ad083897cc )
2024-03-21 13:40:04 +11:00
Mark Andrews
cbc6fd8209
Merge branch '4580-add-resolver-arpa-to-the-built-in-empty-zones-bind-9.18' into 'bind-9.18'
...
[9.18] Resolve "Add resolver.arpa to the built in empty zones"
See merge request isc-projects/bind9!8890
2024-03-21 00:49:34 +00:00
Mark Andrews
ea981a9aa9
Add release note for [GL #4580 ]
...
(cherry picked from commit ecb043fc7b )
2024-03-21 11:17:34 +11:00
Mark Andrews
afa0c4ae44
Add CHANGES entry for [GL #4580 ]
...
(cherry picked from commit d12c238750 )
2024-03-21 11:13:50 +11:00
Mark Andrews
127566f9e2
Add RESOLVER.ARPA to the built in empty zones
...
RFC 9462 adds RESOLVER.ARPA to the list of built in empty zones.
(cherry picked from commit 49561277de )
2024-03-21 11:13:47 +11:00
Michał Kępień
0107701681
Merge tag 'v9.18.25' into bind-9.18
2024-03-20 14:34:32 +01:00
Michal Nowak
30274d930f
Merge branch 'mnowak/pytest_rewrite_glue-9.18' into 'bind-9.18'
...
[9.18] Rewrite glue system test to pytest
See merge request isc-projects/bind9!8883
2024-03-20 06:58:54 +00:00
Michal Nowak
8ed4961ad8
Use bitwise operation to remove RD from default flags
...
(cherry picked from commit 69d3efed89 )
2024-03-19 20:38:28 +01:00
Michal Nowak
4ce5f50162
Rewrite glue system test to pytest
...
(cherry picked from commit 9950f6d651 )
2024-03-19 20:38:28 +01:00
Michal Nowak
83d9abd4ee
Merge branch 'mnowak/pytest_rewrite_masterfile-9.18' into 'bind-9.18'
...
[9.18] Rewrite masterfile system test to pytest
See merge request isc-projects/bind9!8882
2024-03-19 11:19:37 +00:00
Michal Nowak
8c38897c5b
Rewrite masterfile system test to pytest
...
(cherry picked from commit 7a161f615a )
2024-03-19 11:16:40 +01:00
Michal Nowak
f152ee9291
Add zones_equal() with optional TTL comparison
...
(cherry picked from commit 686033e48d )
2024-03-19 11:15:08 +01:00
Michal Nowak
ff6fc0c98f
Modify rrsets_equal() to optionally compare TTL
...
(cherry picked from commit 5af3b713af )
2024-03-19 11:15:04 +01:00
Michal Nowak
4f03ec88b8
Merge branch 'mnowak/pytest_rewrite_limits-9.18' into 'bind-9.18'
...
[9.18] Rewrite limits system test to pytest
See merge request isc-projects/bind9!8878
2024-03-18 16:42:20 +00:00
Michal Nowak
f94687069c
Rewrite limits system test to pytest
...
Also, tweak the IP ranges of A RRsets so they are more easily processed
by for loops.
(cherry picked from commit f90a772298 )
2024-03-18 17:07:17 +01:00
Michal Nowak
42582c6d24
Merge branch 'mnowak/freebsd-13.3-9.18' into 'bind-9.18'
...
[9.18] Add FreeBSD 13.3
See merge request isc-projects/bind9!8876
2024-03-18 16:03:48 +00:00
Michal Nowak
ec009e7e67
Add FreeBSD 13.3
...
(cherry picked from commit 9019985d2d )
2024-03-18 16:02:19 +01:00
Mark Andrews
a1b4a62c6a
Merge branch '4641-dig-ednsflags-does-not-re-enable-edns-bind-9.18' into 'bind-9.18'
...
[9.18] Resolve "dig +ednsflags does not re-enable EDNS"
See merge request isc-projects/bind9!8875
2024-03-17 03:40:28 +00:00
Mark Andrews
c4ba0d24a0
Add CHANGES for [GL #4641
...
(cherry picked from commit b41d1820d2 )
2024-03-17 13:12:27 +10:00
Mark Andrews
e185d23d9e
Test +noedns +ednsflags=non-zero-value
...
(cherry picked from commit 8babbd09a1 )
2024-03-17 13:11:51 +10:00
Mark Andrews
c356e86457
Re-enable EDNS if an EDNS flag gets set to 1 by +ednsflags
...
This is consistent with +dnssec and +nsid which only re-enable
EDNS if do is set to 1 or nsid is requested.
(cherry picked from commit d74bba4fae )
2024-03-17 13:11:51 +10:00
Michal Nowak
03d16cf878
Merge branch 'mnowak/move-stress-tests-to-freebsd-13-9.18' into 'bind-9.18'
...
[9.18] FreeBSD "stress" tests now run on FreeBSD 13.2
See merge request isc-projects/bind9!8872
2024-03-15 11:18:09 +00:00
Michal Nowak
a453510d1e
FreeBSD "stress" tests now run on FreeBSD 13.2
...
(cherry picked from commit 176bf877e1 )
2024-03-15 12:12:44 +01:00
Michal Nowak
ba0724bffd
Merge branch 'mnowak/pytest_rewrite_rrchecker-9.18' into 'bind-9.18'
...
[9.18] Rewrite rrchecker system test to pytest
See merge request isc-projects/bind9!8871
2024-03-15 09:55:26 +00:00
Michal Nowak
481989cfa9
Rewrite rrchecker system test to pytest
...
(cherry picked from commit 6a301c1d35 )
2024-03-15 10:07:27 +01:00
Matthijs Mekking
5f746bafee
Merge branch 'matthijs-add-rfc-9460-to-arm-v9.18' into 'bind-9.18'
...
[9.18] Add RFC 9460 to list of supported RFCs
See merge request isc-projects/bind9!8865
2024-03-14 12:59:12 +00:00
Matthijs Mekking
244f77688d
Add RFC 9460 to list of supported RFCs
...
The specification was implemented (#1132 ) when it was a draft. Now that
it is RFC, add the RFC to the list of supported RFCs.
(cherry picked from commit 5b5f43babc )
2024-03-14 12:56:29 +00:00
Matthijs Mekking
5b9348f9bf
Merge branch '4624-duration-error-checking-v9.18' into 'bind-9.18'
...
[9.18] Detect invalid durations
See merge request isc-projects/bind9!8864
2024-03-14 11:12:15 +00:00
Matthijs Mekking
349b666b3f
Add CHANGES and release note for #4624
...
(cherry picked from commit bc600ae2a1 )
2024-03-14 11:41:13 +01:00
Matthijs Mekking
a621e035d4
Detect invalid durations
...
Be stricter in durations that are accepted. Basically we accept ISO 8601
formats, but fail to detect garbage after the integers in such strings.
For example, 'P7.5D' will be treated as 7 days. Pass 'endptr' to
'strtoll' and check if the endptr is at the correct suffix.
(cherry picked from commit e39de45adc )
2024-03-14 11:40:43 +01:00
Mark Andrews
98cd1cd33d
Merge branch '4608-ensure-static-stub-ns-records-are-not-returned-bind-9.18' into 'bind-9.18'
...
[9.18] Resolve "Ensure static stub NS records are not returned'
See merge request isc-projects/bind9!8863
2024-03-14 05:20:16 +00:00
Mark Andrews
63988c0159
Add CHANGES note for [GL #4608 ]
...
(cherry picked from commit 6a91862ac5 )
2024-03-14 15:33:25 +11:00
Mark Andrews
6d43b3011e
Check static-stub synthesised NS is not returned
...
(cherry picked from commit 229bf863e2 )
2024-03-14 15:33:25 +11:00
Mark Andrews
7498db6366
Don't use static stub when returning best NS
...
If we find a static stub zone in query_addbestns look for a parent
zone which isn't a static stub.
(cherry picked from commit 40816e4e35 )
2024-03-14 15:33:25 +11:00
Evan Hunt
f0f8f41751
Merge branch '4630-deadcode-fix-bind-9.18' into 'bind-9.18'
...
[9.18] remove dead code in rbtdb.c
See merge request isc-projects/bind9!8862
2024-03-14 01:31:15 +00:00
Evan Hunt
bc237c6f4a
remove dead code in rbtdb.c
...
dns_db_addrdataset() enforces a requirement that version can only be
NULL for a cache database. code that checks for zone semantics and
version == NULL can never be reached.
(cherry picked from commit b3c8b5cfb2 )
2024-03-13 18:21:44 -07:00
Mark Andrews
3b6924df4a
Merge branch '4633-undefined-behaviour-in-rdataslab-c-bind-9.18' into 'bind-9.18'
...
[9.18] Resolve "Undefined behaviour in rdataslab.c"
See merge request isc-projects/bind9!8860
2024-03-14 00:37:38 +00:00
Mark Andrews
3fadd9efec
Only call memmove if the rdata length is non zero
...
This avoids undefined behaviour on zero length rdata where the
data pointer is NULL.
(cherry picked from commit 228cc557fe )
2024-03-14 11:06:11 +11:00
Matthijs Mekking
0ea08e6dc0
Merge branch '4552-keymgr-depends-function-bug-v9.18' into 'bind-9.18'
...
[9.18] Fix bug in keymgr Depends function
See merge request isc-projects/bind9!8859
2024-03-13 18:23:49 +00:00
Matthijs Mekking
3ecccb678f
Add CHANGES for #4552
...
(cherry picked from commit 32e43764dd )
2024-03-13 11:52:05 +01:00
Matthijs Mekking
1b2e6f494a
Fix bug in keymgr Depends function
...
The Depends relation refers to types of rollovers in which a certain
record type is going to be swapped. Specifically, the Depends relation
says there should be no dependency on the predecessor key (the set
Dep(x, T) must be empty).
But if the key is phased out (all its states are in HIDDEN), there is
no longer a dependency. Since the relationship is still maintained
(Predecessor and Successor metadata), the keymgr_dep function still
returned true. In other words, the set Dep(x, T) is not considered
empty.
This slows down key rollovers, only retiring keys when the successor
key has been fully propagated.
(cherry picked from commit 0aac81cf80 )
2024-03-13 11:51:02 +01:00
Michał Kępień
edc44ff82a
Merge branch 'michal/set-up-version-and-release-notes-for-bind-9.18.26' into 'bind-9.18'
...
Set up version and release notes for BIND 9.18.26
See merge request isc-projects/bind9!8857
2024-03-13 08:59:28 +00:00
Michał Kępień
e629704dfa
Set up release notes for BIND 9.18.26
2024-03-13 09:55:18 +01:00
Michał Kępień
22e7942509
Update BIND version to 9.18.26-dev
2024-03-13 09:55:18 +01:00
Matthijs Mekking
9c1d25b7e1
Merge branch '4625-broken-trust-chain-on-corner-case-secure-chain-fixup-keytrap-test-only-v9_18' into 'bind-9.18'
...
[9.18] Test secure chain that includes inactive KSK
See merge request isc-projects/bind9!8850
2024-03-12 09:18:11 +00:00
Michał Kępień
6dc676cb72
Update BIND version for release
v9.18.25
2024-03-12 09:38:33 +01:00
Michał Kępień
b0afc9747d
Add a CHANGES marker
2024-03-12 09:38:33 +01:00