- 17 Jun, 2020 3 commits
-
-
Ondřej Surý authored
-
Ondřej Surý authored
Add CHANGES placeholder for #1950 Closes #1950 See merge request !3705
-
Ondřej Surý authored
-
- 16 Jun, 2020 9 commits
-
-
Ondřej Surý authored
Resolve "Remove references to "blacklist" and "whitelist" in BIND ARM" Closes #1943 See merge request !3693
-
Remove references to "blacklist" and "whitelist"
-
Ondřej Surý authored
Resolve "Text corrections in README.md" Closes #1932 See merge request !3686
-
-
Ondřej Surý authored
Resolve "Fix out-of-order RFCs in general.rst file of BIND ARM" Closes #1931 See merge request !3685
-
-
Ondřej Surý authored
Set the TSAN symbolizer path directly, the indirection via env doesn't work Closes #1945 See merge request !3696
-
Ondřej Surý authored
-
Ondřej Surý authored
Add missing acquire memory barrier in isc_nmhandle_unref Closes #1474 See merge request !3689
-
- 11 Jun, 2020 6 commits
-
-
Ondřej Surý authored
The ThreadSanitizer uses system synchronization primitives to check for data race. The netmgr handle->references was missing acquire memory barrier before resetting and reusing the memory occupied by isc_nmhandle_t.
-
Mark Andrews authored
The dsset returned by dns_keynode_dsset() was not thread safe Closes #1926 See merge request !3687
-
Mark Andrews authored
-
Mark Andrews authored
-
Mark Andrews authored
-
Mark Andrews authored
- clone keynode->dsset rather than return a pointer so that thread use is independent of each other. - hold a reference to the dsset (keynode) so it can't be deleted while in use. - create a new keynode when removing DS records so that dangling pointers to the deleted records will not occur. - use a rwlock when accessing the rdatalist to prevent instabilities when DS records are added.
-
- 10 Jun, 2020 3 commits
-
-
There's a possibility of a race in TCP accepting code: T1 accepts a connection C1 T2 accepts a connection C2 T1 tries to accept a connection C3, but we hit a quota, isc_quota_cb_init() sets quota_accept_cb for the socket, we return from accept_connection T2 drops C2, but we race in quota_release with accepting C3 so we don't see quota->waiting is > 0, we don't launch the callback T1 accepts a connection C4, we are able to get the quota we clear the quota_accept_cb from sock->quotacb T1 drops C1, tries to call the callback which is zeroed, sigsegv.
-
Witold Krecicki authored
- 09 Jun, 2020 9 commits
-
-
Michał Kępień authored
Fix system tests on Windows Closes #1867 See merge request !3680
-
Michał Kępień authored
Due to the changes introduced by the Automake migration, system tests requiring Python (chain, pipelined, qmin, tcp), dynamic loading of shared objects (dlzexternal, dyndb, filter-aaaa), or LMDB (nzd2nzf) currently do not work on Windows. Temporarily disable them on that platform by moving them from the PARALLEL_COMMON list to the PARALLEL_UNIX list until the situation is rectified.
-
Michał Kępień authored
Without SYSTEMTESTTOP=.. lines in tests.sh scripts, SYSTEMTESTTOP is being set to an absolute path. On Windows, this means that an absolute Cygwin path gets passed as a command line argument to native Windows binaries, which cannot work and causes system tests to break. Fix by passing SYSTEMTESTTOP through cygpath on Windows, which causes that variable to be set to an absolute "mixed mode" path (Windows path with forward slashes).
-
Michał Kępień authored
GitLab CI release process fixes Closes #1921 See merge request !3670
-
Michał Kępień authored
With "make dist" producing usable source tarballs and documentation building working again, restore the script which allows a release tarball to be built by a GitLab CI job, only making minimal adjustments required due to the changes in the documentation building process and due to dropping the "version" file.
-
Michał Kępień authored
Ensure the name of the EPUB file produced by Sphinx is consistent with the name of its PDF counterpart by adjusting Sphinx configuration.
-
Michał Kępień authored
As the "configure" script is no longer stored in the Git repository, run "autoreconf -fi" at the beginning of the respdiff job in GitLab CI in order to enable that job to work properly.
-
Michał Kępień authored
For the time being, "make all" needs to be run before "make dist" can succeed as parts of the documentation are generated by programs compiled during the regular build process. As only one source tarball is published for each BIND release, make sure the tarball creation job in GitLab CI only contains one tarball in the desired format among its artifacts. Drop the TARBALL_COMPRESSOR .gitlab-ci.yml variable as it is no longer used in the source tarball creation process.
-
Michał Kępień authored
The "srcid" file present in each BIND source tarball contains a shortened hash of the Git commit corresponding to a given BIND release. This allows a Git reference to be included in an archive that otherwise lacks any Git information. Before the move to Automake, if an "srcid" file was present in the root source directory at the time ./configure was run, its contents were used as the value of a compile-time constant which was then baked into BIND binaries; otherwise, "git rev-parse" was used to determine the value of that constant. With Automake, a similar approach was attempted that required the "srcid" file to be present at autoreconf time in order for it to be used. However, note that this means that even if that file is present in a source tarball created using "make dist", its contents are not going to influence the value of the aforementioned compile-time constant because autoreconf hardcodes the output of "git rev-parse" into the configure script at autoreconf time. To make things more clear, always use "git rev-parse" for determining the value of the PACKAGE_SRCID compile-time constant when running autoreconf. This causes "srcid" to be an empty string in source tarballs built from other source tarballs, but that is not deemed to be much of an issue as "make dist" is expected to be run from Git repository clones. Remove stderr redirections to /dev/null to ensure errors caused e.g. by running "make dist" from outside a Git repository clone are not hidden. Trim the Git commit hash to 7 characters for consistency between Unix and Windows systems. Despite the above, ensure the "srcid" file is present in source tarballs created using "make dist" as that file is used by the build process on Windows.
-
- 06 Jun, 2020 2 commits
-
-
Ondřej Surý authored
ensure fctx->clientstr is null-terminated Closes #1808 See merge request !3675
-
Evan Hunt authored
-
- 05 Jun, 2020 8 commits
-
-
Ondřej Surý authored
Merge branch '1842-correct-the-bind-arm-to-say-that-the-default-session-key-for-use-with-update-policy-local-is' into 'master' Resolve "Correct the BIND ARM to say that the default session-key for use with 'update-policy local;' is generated at startup" Closes #1842 See merge request !3664
-
session key is automatically created on startup
-
Ondřej Surý authored
Fix a data access race in resolver. Closes #1912 and #1808 See merge request !3575
-
-
-
We were passing client address to dns_resolver_createfetch as a pointer and it was saved as a pointer. The client (with its address) could be gone before the fetch is finished, and in a very odd scenario log_formerr would call isc_sockaddr_format() which first checks if the address family is valid (and at this point it still is), then the sockaddr is cleared, and then isc_netaddr_fromsockaddr is called which fails an assertion as the address family is now invalid.
-
Michał Kępień authored
Merge branch 'mnowak/1769-ensure-all-necessary-files-are-included-in-the-tarball-produced-by-make-dist' into 'master' Fix 'make dist' Closes #1769 See merge request !3527
-
Make various adjustments necessary to enable "make dist" to build a BIND source tarball whose contents are complete enough to build binaries, run unit & system tests, and generate documentation on Unix systems. Known outstanding issues: - "make distcheck" does not work yet. - Tests do not work for out-of-tree source-tarball-based builds. - Source tarballs are not complete enough for building on Windows. All of the above will be addressed in due course.
-