Mark Andrews
5374630ca4
dns_rdata_tostruct() should reject rdata with DNS_RDATA_UPDATE set
...
(cherry picked from commit e97249e012 )
2021-07-21 12:41:35 +10:00
Mark Andrews
45e5972808
Check opcode of messages returned by dns_request_getresponse
...
(cherry picked from commit ed4e00713f )
2021-07-21 12:41:35 +10:00
Michal Nowak
19b7e821f6
Merge branch 'mnowak/replace-literal-blocks-with-anchors-v9_11' into 'v9_11'
...
[v9_11] Use anchors instead of literal blocks in .gitlab-ci.yml
See merge request isc-projects/bind9!5280
2021-07-16 14:36:02 +00:00
Michal Nowak
3ad5f304a6
Use anchors instead of literal blocks in .gitlab-ci.yml
...
Anchor lets the user see the full command logged in GitLab CI:
${CONFIGURE} --disable-maintainer-mode --enable-developer ...
Instead of a folded multi-line when literal block is used:
${CONFIGURE} \ # collapsed multi-line command
(cherry picked from commit c22008629e )
2021-07-16 15:58:42 +02:00
Mark Andrews
d300f78d09
Merge branch 'marka-xmllint-html-v9_11' into 'v9_11'
...
Check for errors in html files
See merge request isc-projects/bind9!5244
2021-07-02 04:10:19 +00:00
Mark Andrews
b4265c90ef
Check for errors in html files
...
xmllint doesn't know about the HTML 5 <section> tag so filter
those out.
(cherry picked from commit ea0624b214 )
2021-07-02 13:44:26 +10:00
Mark Andrews
1203892f4d
Merge branch '2667-configuration-issues-on-solaris-11-4' into 'v9_11'
...
Resolve "Configuration issues on Solaris 11.4"
See merge request isc-projects/bind9!4996
2021-06-30 07:28:02 +00:00
Mark Andrews
d029cfd10a
Solaris native compiler configure fixes
...
* Drop '-mt' from '$CC'
* Use '$CC -V' for version in summary
2021-06-30 12:14:30 +10:00
Mark Andrews
fc6c04d8f8
add gssapi_hack, gssapi_krb5_hack and gssapi_krb5_hack to krb5-config
2021-06-30 12:14:29 +10:00
Mark Andrews
0fabba3dc3
add --with-gssapi=krb5-config to pairwise
2021-06-30 12:14:08 +10:00
Mark Andrews
d1ff4e9197
check for gssapi_krb5.h and gssapi/gssapi_krb5.h
2021-06-30 12:14:08 +10:00
Mark Andrews
f03c28be84
have --with-gssapi={auto|yes} try krb5-config
2021-06-30 12:14:08 +10:00
Mark Andrews
12e2e4adec
don't fallback if krb5-config fails
2021-06-30 12:14:08 +10:00
Mark Andrews
fed171c99a
handle krb5-config not being present; drop krb5 from krb5-config call
2021-06-30 12:14:08 +10:00
Ondřej Surý
74f59ea675
Merge branch '2183-enable-DF-on-old-socket-code-v9_11' into 'v9_11'
...
Disable the PMTUD also for the IPv6 UDP sockets
See merge request isc-projects/bind9!5233
2021-06-25 06:18:21 +00:00
Ondřej Surý
8e30211636
Disable the PMTUD also for the IPv6 UDP sockets
...
Disable the PMTUD also on the IPv6 UDP sockets in addition to IPv4 UDP
sockets.
2021-06-24 17:26:47 +02:00
Michal Nowak
f725c7d2db
Merge branch 'mnowak/alpine-3.14-v9_11' into 'v9_11'
...
[v9_11] Add Alpine Linux 3.14
See merge request isc-projects/bind9!5193
2021-06-17 16:25:34 +00:00
Michal Nowak
d36568c511
Add Alpine Linux 3.14
...
(cherry picked from commit 80f828bc37 )
2021-06-17 18:21:47 +02:00
Michał Kępień
748302117c
Merge branch 'v9_11_33-release' into 'v9_11'
...
Merge 9.11.33 release branch
See merge request isc-projects/bind9!5188
2021-06-16 20:52:34 +00:00
Michał Kępień
61c6e1ab99
Set up release notes for BIND 9.11.34
2021-06-16 22:47:31 +02:00
Michał Kępień
20e43e62d5
Bump BIND_BASELINE_VERSION for ABI checks
2021-06-16 22:47:31 +02:00
Tinderbox User
1b109d2bfd
Merge branch 'prep-release' into v9_11_33-release
2021-06-16 22:47:31 +02:00
Michał Kępień
c38896768a
Merge branch 'michal/prepare-documentation-for-bind-9.11.33' into 'v9_11_33-release'
...
Prepare documentation for BIND 9.11.33
See merge request isc-private/bind9!301
2021-06-16 22:47:31 +02:00
Tinderbox User
a6a4c5daac
prep 9.11.33
2021-06-16 22:47:31 +02:00
Michał Kępień
a63df31cc0
Prepare release notes for BIND 9.11.33
2021-06-16 22:47:31 +02:00
Ondřej Surý
792540e629
Merge branch 'ondrej/bump-clang-dependency-to-llvm-12-v9_11' into 'v9_11'
...
Change the LLVM tools version to 12 (v9.11)
See merge request isc-projects/bind9!5176
2021-06-13 07:13:10 +00:00
Ondřej Surý
2f5ac962bf
Change the LLVM tools version to 12
...
LLVM 12 stable was released on 15. April 2021, change the default
version to the current stable.
(cherry picked from commit 9f7855322c )
2021-06-12 08:59:36 +02:00
Michał Kępień
c82392a09f
Merge branch '2540-check-dname-resolution-via-itself-v9_11' into 'v9_11'
...
[v9_11] Check DNAME resolution via itself
See merge request isc-projects/bind9!5137
2021-06-02 13:29:52 +00:00
Mark Andrews
1594ce2117
Check DNAME resolution via itself
...
(cherry picked from commit cbdea694e8 )
2021-06-02 15:11:44 +02:00
Michał Kępień
68e930b97f
Merge branch '2467-add-a-system-test-checking-a-malformed-ixfr-v9_11' into 'v9_11'
...
[v9_11] Add a system test checking a malformed IXFR
See merge request isc-projects/bind9!5134
2021-06-02 12:17:31 +00:00
Mark Andrews
8db59aea11
Add a system test checking a malformed IXFR
...
Make sure an incoming IXFR containing an SOA record which is not placed
at the apex of the transferred zone does not result in a broken version
of the zone being served by named and/or a subsequent crash.
(cherry picked from commit 5547003a3d )
2021-06-02 13:57:01 +02:00
Michal Nowak
d67d86577d
Merge branch 'mnowak/add-fedora-34-v9_11' into 'v9_11'
...
[v9_11] Add Fedora 34
See merge request isc-projects/bind9!5114
2021-05-28 11:34:28 +00:00
Michal Nowak
7889acbc85
Add Fedora 34
...
(cherry picked from commit 5f27aaa0ff )
2021-05-28 13:09:20 +02:00
Michal Nowak
bcf9363d64
Merge branch 'mnowak/install-bind-by-setting-DESTDIR-v9_11' into 'v9_11'
...
[v9_11] Install BIND with "make DESTDIR=<PATH> install"
See merge request isc-projects/bind9!5092
2021-05-25 16:47:30 +00:00
Michal Nowak
039979e460
Install BIND with "make DESTDIR=<PATH> install"
...
BIND installation should be done by setting $DESTDIR during "make
install", not by setting --prefix via ./configure to the destination
directory. However, on 9.11 --prefix still needs to be set to eliminate
the compatibility mode with older BIND9 releases (see the comment in
configure.ac, lines 379-396), which does not place sysconfdir and
localstatedir to $DESTDIR/$prefix but directly to $DESTDIR. When
--prefix is set they end up in $DESTDIR/$prefix, which is the BIND 9.16+
default).
$ ./configure && make && make install DESTDIR=/tmp/bind9
$ ls /tmp/bind9/{,usr/local}
/tmp/bind9/:
etc usr var
/tmp/bind9/usr/local:
bin include lib sbin share
$ ./configure --prefix=/usr/local && make && make install DESTDIR=/tmp/bind9
$ ls /tmp/bind9/{,usr/local}
/tmp/bind9/:
usr
/tmp/bind9/usr/local:
bin etc include lib sbin share var
Make sure that installation with DESTDIR=<PATH> works by checking that
named binary and it's respective man page were installed and that
well-known BIND9 directories - and only them - are present in DESTDIR.
Also rename install path variable from BIND_INSTALL_PATH to
INSTALL_PATH to avoid namespace clash in stress tests which use
BIND_INSTALL_PATH variable to configure path to BIND9 binaries.
(cherry picked from commit 823bf3e79b )
2021-05-25 18:42:37 +02:00
Ondřej Surý
4243b429df
Merge branch 'ondrej/replace-ubuntu-xenial-with-ubuntu-bionic-v9_11' into 'v9_11'
...
Replace Ubuntu 16.04 LTS with Ubuntu 18.04 LTS in the GitLab CI (v9.11)
See merge request isc-projects/bind9!5089
2021-05-24 20:22:44 +00:00
Ondřej Surý
46b969f23b
Replace Ubuntu 16.04 LTS with Ubuntu 18.04 LTS in the GitLab CI
...
Ubuntu 16.04 (Xenial Xerus) is reaching End of Standard Support in April
2021 thus we are removing it from the list of supported platforms and
replacing it with Ubuntu 18.04 LTS (Bionic Beaver).
(cherry picked from commit 4402a90bb7 )
2021-05-24 21:57:42 +02:00
Michal Nowak
16499e47fc
Merge branch 'mnowak/freebsd-13-v9_11' into 'v9_11'
...
[v9_11] Add FreeBSD 13.0
See merge request isc-projects/bind9!5087
2021-05-24 18:51:30 +00:00
Michal Nowak
25b8add382
Run gcc:tarball CI job for merge requests
...
Running gcc:tarball CI job for merge requests is consistent with how we
run gcc:out-of-tree CI job and should help identify problems with the
build system during the review process, not once merged during daily
runs. For the sake of time, unit and system tests associated with the
gcc:tarball CI job are excluded from merge requests.
Also, make sure that the tarball-create CI job includes the
default_triggering_rules anchor (as it is on the main branch), otherwise
adding the gcc:tarball CI job to merge request-triggered pipeline fails
with:
Found errors in your .gitlab-ci.yml: 'gcc:tarball' job needs 'tarball-create' job but it was not added to the pipeline
(cherry picked from commit 83617cea9a )
2021-05-24 20:04:44 +02:00
Michal Nowak
a3bd8d36d8
Do not spawn FreeBSD 11 CI jobs in merge requests
...
(cherry picked from commit 70eccd2952 )
2021-05-24 20:04:08 +02:00
Michal Nowak
7319cc786a
Create an anchor for schedules, tags, and web rules
...
It's a common pattern to spawn CI jobs only for pipelines triggered by
schedules, tags, and web. There should be an anchor so that the rules
are not repeated.
(cherry picked from commit e4f88c359c )
2021-05-24 20:03:48 +02:00
Michal Nowak
3f56557d55
Add FreeBSD 13.0
...
(cherry picked from commit 0714fe6f40 )
2021-05-24 19:45:22 +02:00
Michal Nowak
4dea18e4a2
Merge branch '2452-iterated_hash-c-warning-argument-1-of-type-unsigned-char-20-with-mismatched-bound' into 'v9_11'
...
Fix argument with mismatched bound in isc_iterated_hash()
See merge request isc-projects/bind9!5039
2021-05-20 12:28:27 +00:00
Michal Nowak
57a3ae9d97
Fix argument with mismatched bound in isc_iterated_hash()
...
GCC 11 produced the following warning:
iterated_hash.c:21:33: warning: argument 1 of type ‘unsigned char[20]’ with mismatched bound [-Warray-parameter=]
21 | isc_iterated_hash(unsigned char out[ISC_SHA1_DIGESTLENGTH],
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iterated_hash.c:18:
./include/isc/iterated_hash.h:33:37: note: previously declared as ‘unsigned char[155]’
33 | int isc_iterated_hash(unsigned char out[NSEC3_MAX_HASH_LENGTH],
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
2021-05-20 13:35:08 +02:00
Michal Nowak
ed85a2f866
Merge branch '2453-sha2-c-warning-argument-with-mismatched-bound' into 'v9_11'
...
Fix arguments with mismatched bound in lib/isc/sha2.c
See merge request isc-projects/bind9!5038
2021-05-20 11:34:20 +00:00
Michal Nowak
7ceeaca0dc
Fix arguments with mismatched bound in lib/isc/sha2.c
...
GCC 11 produced the following warnings:
sha2.c:888:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
888 | isc_sha224_final(uint8_t digest[], isc_sha224_t *context) {
| ~~~~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:132:24: note: previously declared as ‘uint8_t[28]’ {aka ‘unsigned char[28]’}
132 | void isc_sha224_final (uint8_t[ISC_SHA224_DIGESTLENGTH], isc_sha224_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1151:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
1151 | isc_sha256_final(uint8_t digest[], isc_sha256_t *context) {
| ~~~~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:139:24: note: previously declared as ‘uint8_t[32]’ {aka ‘unsigned char[32]’}
139 | void isc_sha256_final (uint8_t[ISC_SHA256_DIGESTLENGTH], isc_sha256_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1514:31: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
1514 | void isc_sha512_final(uint8_t digest[], isc_sha512_t *context) {
| ~~~~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:153:24: note: previously declared as ‘uint8_t[64]’ {aka ‘unsigned char[64]’}
153 | void isc_sha512_final (uint8_t[ISC_SHA512_DIGESTLENGTH], isc_sha512_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1567:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
1567 | isc_sha384_final(uint8_t digest[], isc_sha384_t *context) {
| ~~~~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:146:24: note: previously declared as ‘uint8_t[48]’ {aka ‘unsigned char[48]’}
146 | void isc_sha384_final (uint8_t[ISC_SHA384_DIGESTLENGTH], isc_sha384_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1604:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
1604 | isc_sha224_end(isc_sha224_t *context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:133:39: note: previously declared as ‘char[57]’
133 | char *isc_sha224_end (isc_sha224_t *, char[ISC_SHA224_DIGESTSTRINGLENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1645:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
1645 | isc_sha256_end(isc_sha256_t *context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:140:39: note: previously declared as ‘char[65]’
140 | char *isc_sha256_end (isc_sha256_t *, char[ISC_SHA256_DIGESTSTRINGLENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1686:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
1686 | isc_sha512_end(isc_sha512_t *context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:154:39: note: previously declared as ‘char[129]’
154 | char *isc_sha512_end (isc_sha512_t *, char[ISC_SHA512_DIGESTSTRINGLENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1727:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
1727 | isc_sha384_end(isc_sha384_t *context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:147:39: note: previously declared as ‘char[97]’
147 | char *isc_sha384_end (isc_sha384_t *, char[ISC_SHA384_DIGESTSTRINGLENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
2021-05-20 12:55:14 +02:00
Michał Kępień
a529145553
Merge branch 'v9_11_32-release' into 'v9_11'
...
Merge 9.11.32 release branch
See merge request isc-projects/bind9!5070
2021-05-20 10:44:35 +00:00
Michał Kępień
89ac216731
Set up release notes for BIND 9.11.33
2021-05-20 12:34:09 +02:00
Michał Kępień
80ffcfe774
Bump BIND_BASELINE_VERSION for ABI checks
2021-05-20 12:34:09 +02:00
Tinderbox User
bb002982b6
Merge branch 'prep-release' into v9_11_32-release
2021-05-20 12:34:09 +02:00