Commit Graph

33671 Commits

Author SHA1 Message Date
Michał Kępień
d9ddbf2545 Tweak and reword recent CHANGES entries 2021-09-15 23:05:21 +02:00
Mark Andrews
40ce1e8b02 Merge branch '2904-typo-in-nsupdate-1-v9_16' into 'v9_16'
Fix closing brackets in help message

See merge request isc-projects/bind9!5406
2021-09-15 13:28:06 +00:00
Mark Andrews
3c175b741d Fix closing brackets in help message
(cherry picked from commit 55fc57e244)
2021-09-15 23:09:17 +10:00
Ondřej Surý
0f62635932 Merge branch '2866-split-gssapi-and-krb5-check-from-krb5-config' into 'v9_16'
Fix the krb5-config usage (v9.16)

See merge request isc-projects/bind9!5389
2021-09-14 19:30:50 +00:00
Ondřej Surý
870614a030 Add CHANGES note for [GL #2866] 2021-09-14 21:02:07 +02:00
Michał Kępień
8027aac650 Test various --with-gssapi options in GitLab CI
The implicit ./configure default is to use --with-gssapi=auto.  There is
already a GitLab CI job (gcc:stretch:amd64) which uses --without-gssapi.
Add four more forms of the --with-gssapi option to various GitLab CI job
configurations so that its every possible variant is regularly tested.
2021-09-14 20:58:22 +02:00
Ondřej Surý
c3546531f7 Call krb5-config with just one argument at the time
The autoconf script would call the krb5-config with both gssapi and krb5
libraries as arguments in a single call.  It turned out that this is
actually not supported and it breaks some platforms.  This commit splits
the call into two separate calls - one for gssapi and one for krb5
library.
2021-09-14 20:58:22 +02:00
Ondřej Surý
370ad21772 Merge branch '2888-be-more-strict-about-clashing-source-ports-v9_16' into 'v9_16'
check port in *-source and *-source-v6 options in named.conf

See merge request isc-projects/bind9!5401
2021-09-14 18:56:59 +00:00
Ondřej Surý
f301e7bb40 Add CHANGES and release notes for [GL #2888]
(cherry picked from commit bba5e98734)
2021-09-14 20:32:11 +02:00
Ondřej Surý
c42e533b84 Document caveats related to single source port in the ARM
Discourage the single source port on general level and document that the
source port cannot be same as the listening port.  This applies to
query-source, transfer-source, notify-source, parental-source, and their
respective IPv6 counterparts.

(cherry picked from commit c9a17c878a)
2021-09-14 20:32:11 +02:00
Evan Hunt
4d674b5c41 check port in *-source and *-source-v6 options in named.conf
- when transfer-source(-v6), query-source(-v6), notify-source(-v6)
  or parental-source(-v6) are specified with a port number, issue a
  warning.
- when the port specified is the same as the DNS listener port (i.e.,
  53, or whatever was specified as "port" in "options"), issue a fatal
  error.
- check that "port" is in range. (previously this was only checked
  by named, not by named-checkconf.)
- added checkconf tests.
- incidental fix: removed dead code in check.c:bind9_check_namedconf().

(note: if the DNS port is specified on the command line with "named -p",
that is not conveyed to libbind9, so these checks will not take it into
account.)

(cherry picked from commit 14c8d7dfb7)
2021-09-14 20:32:10 +02:00
Ondřej Surý
dcf88f1450 Merge branch '2852-remove-adjust_interfaces-v9_16' into 'v9_16'
Remove the code to adjust listening interfaces for *-source-v6

See merge request isc-projects/bind9!5400
2021-09-14 15:39:07 +00:00
Ondřej Surý
f3ac0632f7 Add CHANGES and release note for [GL #2852]
(cherry picked from commit 23624a7adb)
2021-09-14 17:13:42 +02:00
Ondřej Surý
37cb2b0dea Adjust system forward test to also use IPv6 addresses
The ns3->ns2 forwarding is now done using the IPv6 addresses, so we also
test that the query-source-v6 address is still operational after removal
of interface adjustment.

(cherry picked from commit 8a4c44ca24)
2021-09-14 17:13:42 +02:00
Ondřej Surý
0807d8b058 Remove the code to adjust listening interfaces for *-source-v6
Previously, named would run with a configuration
where *-source-v6 (notify-source-v6, transfer-source-v6 and
query-source-v6) address and port could be simultaneously used for
listening.  This is no longer true for BIND 9.16+ and the code that
would do interface adjustments would unexpectedly disable listening on
TCP for such interfaces.

This commit removes the code that would adjust listening interfaces
for addresses/ports configured in *-source-v6 option.

(cherry picked from commit 8ac1d4e0da)
2021-09-14 16:59:18 +02:00
Ondřej Surý
52ea129204 Merge branch '2691-deprecate-native-pkcs11-v9_16' into 'v9_16'
Add deprecation notice about --enable-native-pkcs11 to configure.ac

See merge request isc-projects/bind9!5396
2021-09-09 21:14:21 +00:00
Ondřej Surý
197d64b302 Add CHANGES and release notes for [GL ##2691] 2021-09-09 22:46:23 +02:00
Ondřej Surý
6cf86cc75b Add deprecation notice about --enable-native-pkcs11 to configure.ac
The native PKCS#11 feature has been removed in BIND 9.18, so we need to
add a deprecation notice (warning at ./configure time) to the next 9.16
release.
2021-09-09 22:35:03 +02:00
Arаm Sаrgsyаn
ca521b3824 Merge branch '2344-devpoll-lockid-dead-code-v9_16' into 'v9_16'
Remove dead code (v9.16)

See merge request isc-projects/bind9!5394
2021-09-08 13:14:07 +00:00
Aram Sargsyan
18514a43d5 Remove dead code
Remove dead code from the USE_DEVPOLL branch in libisc's unix/socket.c
2021-09-08 12:52:33 +00:00
Arаm Sаrgsyаn
3eb524c38a Merge branch '2635-default-iana-root-zone-primaries-update-v9_16' into 'v9_16'
Update the default IANA root zone primaries list (v9.16)

See merge request isc-projects/bind9!5392
2021-09-08 12:46:35 +00:00
Aram Sargsyan
930f082027 Update the default IANA root zone primaries list
The default IANA root zone primaries list was outdated, this commit
updates it.
2021-09-08 10:39:17 +00:00
Evan Hunt
6704a2ac08 Merge branch '69-relax-fetchlimit-test-v9_16' into 'v9_16'
increase 1-second timeout in fetchlimit

See merge request isc-projects/bind9!5381
2021-09-03 06:27:21 +00:00
Evan Hunt
6773c1144f increase 1-second timeout in fetchlimit
when "checking lame server clients are dropped below the hard limit",
periodically a query is sent for a name for which the server is
authoritative, to verify that legitimate queries can still be
processed while the server is dealing with a flood of lame delegation
queries. those queries used the same dig options as elsewhere in the
fetchlimit test, including "+tries=1 +timeout=1". on slow systems, a
1-second timeout may be insufficient to get an answer even if the server
is behaving well. this commit increases the timeout for the check
queries to 2 seconds in hopes that will be enough to eliminate test
failures in CI.

(cherry picked from commit 45f330339c)
2021-09-02 23:24:57 -07:00
Mark Andrews
0a3e398e0c Merge branch '2890-update-documentation-with-respect-to-sig-validity-interval-and-update-v9_16' into 'v9_16'
Update sig-validity-interval description

See merge request isc-projects/bind9!5379
2021-09-03 03:45:01 +00:00
Mark Andrews
ad411b1120 Update sig-validity-interval description
Document that the interval on new RRSIG records is randomally
chosen between the limits specified by sig-validity-interval.
document the operatations when this occurs.

(cherry picked from commit e65ce00f11)
2021-09-03 13:19:09 +10:00
Evan Hunt
9174cff949 Merge branch '2878-large-map-file-v9_16' into 'v9_16'
map files over 2GB could not be loaded

See merge request isc-projects/bind9!5374
2021-09-01 15:53:47 +00:00
Evan Hunt
fe66c88d02 CHANGES 2021-09-01 08:17:32 -07:00
Evan Hunt
06b9fc8a7d add a test for large map files
- a test has been added to 'masterformat', but disabled by default,
  because it takes several minutes to run and uses a lot of disk.
2021-09-01 08:17:32 -07:00
Evan Hunt
e9d62d2442 map files over 2GB could not be loaded
- fixed a size comparison using "signed int" that failed if the file
  size was more than 2GB, since that was treated as a negative number.
- incidentally renamed deserialize32() to just deserialize(). we no
  longer have separate 32 and 64 bit rbtdb implementations.
2021-09-01 00:43:54 -07:00
Mark Andrews
cfaba88f15 Merge branch '2891-missing-parenthesis-in-the-atomic_load_explicit-macro' into 'v9_16'
Resolve "Missing parenthesis in the `atomic_load_explicit` macro"

See merge request isc-projects/bind9!5375
2021-09-01 07:42:43 +00:00
Mark Andrews
6cbfbe5381 Add CHANGES for [GL #2891] 2021-09-01 17:23:14 +10:00
Mark Andrews
9a01b867af Fix the definition of atomic_load_explicit in the win32 shim
incorrect parentheses result in incorrect sizeof test
2021-09-01 10:26:16 +10:00
Ondřej Surý
f9b005e2f6 Merge branch '2837-windows-service-isc-trampoline-v9_16' into 'v9_16'
Initialize the main thread trampoline for Windows Service process

See merge request isc-projects/bind9!5352
2021-08-31 18:19:35 +00:00
Ondřej Surý
49212d9595 Add CHANGES for [GL #2837] 2021-08-31 17:54:04 +00:00
Ondřej Surý
ec64f4492b Initialize the main thread trampoline for Windows Service process
When BIND is running as a Windows Service the ISC library's
initializations initiated by the DLLMain loading procedure are
happening under the Windows Service Manager thread instead of
BIND's main thread.

This commit will make sure that BIND's main thread trampoline has
been initialized before running the main() function.
2021-08-31 17:53:30 +00:00
Evan Hunt
05ce4af871 Merge branch '1944-primary-secondary-v9_16' into 'v9_16'
update to primary/secondary terminology internally

See merge request isc-projects/bind9!5370
2021-08-30 19:32:05 +00:00
Evan Hunt
9acd616ba5 CHANGES
(cherry picked from commit 18b878fb01)
2021-08-30 12:00:42 -07:00
Evan Hunt
fb88554bf0 switch to primary/secondary in config.c
some of the built-in configuration was still using outdated terms.

(cherry picked from commit ae8cfa4683)
2021-08-30 12:00:42 -07:00
Evan Hunt
255d092c40 change CFG_ZONE_MASTER and CFG_ZONE_SLAVE
these values have been renamed as CFG_ZONE_PRIMARY and
CFG_ZONE_SECONDARY.

(cherry picked from commit 679f1c0dad)
2021-08-30 12:00:39 -07:00
Evan Hunt
ddc677ae64 rename dns_zone_master and dns_zone_slave
dns_zone_master and dns_zone_slave are renamed as dns_zone_primary
and dns_zone_secondary.

(cherry picked from commit 916760ae46)
2021-08-30 11:58:29 -07:00
Petr Špaček
2bd05add9a Merge branch '2856-CVE-2021-25218-regression-test-v9_16' into 'v9_16'
[v9_16] Add a regression test in the RRL system test

See merge request isc-projects/bind9!5361
2021-08-30 16:44:12 +00:00
Petr Špaček
d1a5f4ee9f Lower loopback MTU size on other unix systems as well
This change should cover recent versions of:
Solaris, illumos, OpenBSD, FreeBSD, Dragonfly BSD, NetBSD.

(cherry picked from commit d8363845b6)
2021-08-30 17:31:48 +02:00
Evan Hunt
422c032151 Add a regression test in the RRL system test
This commit modifies the MTU of the loopback interface on
Linux systems to 1500, so that oversized UDP packets can
trigger EMSGSIZE errors, and tests that named handles
such errors correctly.

Note that the loopback MTU size has not yet been modified
for other platforms.

(cherry picked from commit cfd058d622)
2021-08-30 17:31:43 +02:00
Evan Hunt
1dacb46892 Merge branch '2872-fix-map-zonefile-version-number-v9_16' into 'v9_16'
Fix crash while loading map zone files generated by BIND >= 9.16.2 && <= 9.16.19 [v9.16]

See merge request isc-projects/bind9!5346
2021-08-28 15:20:58 +00:00
Evan Hunt
9123feca1e CHANGES, release note
(cherry picked from commit 351ed777c2)
2021-08-28 07:45:39 -07:00
Evan Hunt
8118ce9f6d expand map file documentation
discuss map file compatibility issues in more detail.

(cherry picked from commit 4b61e74470)
2021-08-28 07:45:39 -07:00
Petr Špaček
b70a2c2d07 increase MAPAPI
bump the map zonefile version number to avoid an assertion
failure when loading map files from versions of BIND prior to
the most recent change to the in-memory structure of zone
databases.

(cherry picked from commit 4a68c7be22)
2021-08-28 07:45:39 -07:00
Evan Hunt
405fa18ff3 Merge branch '1927-fix-keepalive-v9_16' into 'v9_16'
Resolve "keepalive appears to be unused"

See merge request isc-projects/bind9!5368
2021-08-27 20:40:36 +00:00
Evan Hunt
a69008210b CHANGES
(cherry picked from commit 45752f9505)
2021-08-27 13:20:06 -07:00