]>
git.ipfire.org Git - thirdparty/bind9.git/log
Ondřej Surý [Fri, 30 Nov 2018 12:02:15 +0000 (13:02 +0100)]
Don't check the memory leaks in the libdns tests as they hide the cmocka assertion failures
Ondřej Surý [Mon, 3 Dec 2018 20:16:11 +0000 (15:16 -0500)]
Merge branch '745-fix-missing-realpath-on-centos6' into 'master'
Replace realpath with cd&pwd shell magic
See merge request isc-projects/bind9!1172
Ondřej Surý [Mon, 3 Dec 2018 19:35:03 +0000 (20:35 +0100)]
Replace realpath with cd&pwd shell magic
Witold Krecicki [Mon, 3 Dec 2018 19:03:23 +0000 (14:03 -0500)]
Merge branch 'wpk-test-fixes' into 'master'
Fetchlimit and tcp test fixes
See merge request isc-projects/bind9!1150
Witold Kręcicki [Wed, 28 Nov 2018 15:01:06 +0000 (15:01 +0000)]
tcp test: sleep for 1 second before gathering stats to make
sure that the stats are there
Witold Kręcicki [Wed, 28 Nov 2018 13:59:38 +0000 (13:59 +0000)]
Fetchlimit test: update softquota limit to 380.
In the test the quota is set to 400, and softquota to 90%*400=360.
We first attach to quota, and then if we're above softquota we
drop the oldest client. With new socket code and taskmgr it's
parallel enough to create a race between multiple instances doing
'attach to quota' and then 'drop oldest client' - making number
of clients go over softquota. It's not a problem in real life, as
it's just soft quota.
Ondřej Surý [Mon, 3 Dec 2018 15:58:32 +0000 (10:58 -0500)]
Merge branch '745-start.pl-refactoring' into 'master'
start.pl - wait for server to say 'running', refactor
Closes #745
See merge request isc-projects/bind9!1141
Ondřej Surý [Mon, 3 Dec 2018 12:14:32 +0000 (13:14 +0100)]
Make calls to the stop.pl always use the test name instead of '.'
Ondřej Surý [Mon, 3 Dec 2018 12:14:05 +0000 (13:14 +0100)]
stop.pl - refactor
Ondřej Surý [Mon, 3 Dec 2018 11:29:39 +0000 (12:29 +0100)]
Make calls to the start.pl always use the test name instead of '.'
Brian Conry [Tue, 27 Nov 2018 23:47:08 +0000 (17:47 -0600)]
start.pl - refactor
Brian Conry [Tue, 27 Nov 2018 23:47:08 +0000 (17:47 -0600)]
start.pl - wait for server to say 'running'
Ondřej Surý [Mon, 3 Dec 2018 13:38:41 +0000 (08:38 -0500)]
Merge branch '628-improvements-to-system-tests-windows-fixes' into 'master'
Fix typos and missing ALTERNATIVE_ALGORITHM in conf.sh.win32
See merge request isc-projects/bind9!1169
Ondřej Surý [Mon, 3 Dec 2018 08:29:33 +0000 (09:29 +0100)]
Fix typos and missing ALTERNATIVE_ALGORITHM in conf.sh.win32
Ondřej Surý [Mon, 3 Dec 2018 08:01:27 +0000 (03:01 -0500)]
Merge branch '628-improvements-to-system-tests' into 'master'
Tiny small improvements to system test scripts.
See merge request isc-projects/bind9!1166
Ondřej Surý [Wed, 21 Nov 2018 21:18:12 +0000 (22:18 +0100)]
Add ALTERNATIVE_ALGORITHM to conf.sh
Ondřej Surý [Wed, 21 Nov 2018 11:10:08 +0000 (12:10 +0100)]
Export SYSTEMTESTTOP from run.sh (so, it doesn't have to be defined in each script) and scrub / from the test names
Mark Andrews [Mon, 3 Dec 2018 05:49:39 +0000 (00:49 -0500)]
Merge branch '754-silence-warning-about-first-half-of-conditional-always-being-true' into 'master'
Resolve "Silence warning about first half of conditional always being true."
Closes #754
See merge request isc-projects/bind9!1162
Mark Andrews [Mon, 3 Dec 2018 05:26:54 +0000 (16:26 +1100)]
only test for prefixlen <= 63
Mark Andrews [Mon, 3 Dec 2018 04:38:17 +0000 (23:38 -0500)]
Merge branch 'u/fanf2/catz-logging' into 'master'
catz: improved log message when a zone is overridden
See merge request isc-projects/bind9!1157
Mark Andrews [Mon, 3 Dec 2018 02:45:28 +0000 (13:45 +1100)]
add CHANGES note
Tony Finch [Thu, 29 Nov 2018 14:02:33 +0000 (14:02 +0000)]
catz: improved log message when a zone is overridden
If you have a catalog zone containing 10.in-addr.arpa and an
explicitly-configured version which overrides the catz version,
`named` used to log:
catz: error "success" while trying to add zone "10.in-addr.arpa"
After this patch it logs:
catz: zone "10.in-addr.arpa" is overridden by explicitly configured zone
Stephen Morris [Fri, 30 Nov 2018 12:27:23 +0000 (07:27 -0500)]
Merge branch '750-fix-fuzzing-jobs' into 'master'
set known non-zero pesudo-random number seed when compiling for fuzzing
Closes #502 and #750
See merge request isc-projects/bind9!1151
Ondřej Surý [Wed, 28 Nov 2018 21:49:42 +0000 (22:49 +0100)]
fixup! When compiling for fuzzing, ensure the pseudo random number seed is non-zero.
Stephen Morris [Wed, 28 Nov 2018 18:27:06 +0000 (18:27 +0000)]
When compiling for fuzzing, ensure the pseudo random number seed is non-zero.
Evan Hunt [Thu, 29 Nov 2018 07:17:32 +0000 (02:17 -0500)]
Merge branch 'each-export-dynamic' into 'master'
set the export-dynamic linker flag on linux
See merge request isc-projects/bind9!1154
Evan Hunt [Thu, 29 Nov 2018 06:13:27 +0000 (22:13 -0800)]
set the export-dynamic linker flag on linux
Mark Andrews [Thu, 29 Nov 2018 02:15:04 +0000 (21:15 -0500)]
Merge branch '748-dns_catz_-are-missing-lots-of-dbc-checks' into 'master'
Resolve "dns_catz_* are missing lots of DBC checks."
Closes #748
See merge request isc-projects/bind9!1143
Mark Andrews [Wed, 28 Nov 2018 07:57:38 +0000 (18:57 +1100)]
add missing DBC checks for catz and add isc_magic checks; add DBC checks to ht.c
Mark Andrews [Wed, 28 Nov 2018 21:36:08 +0000 (16:36 -0500)]
Merge branch '585-dnssec-coverage-fails-with-typeerror-for-ksk-with-a-deletion-date-set' into 'master'
Resolve "dnssec-coverage fails with TypeError for KSK with a Deletion date set"
Closes #585
See merge request isc-projects/bind9!1133
Mark Andrews [Wed, 28 Nov 2018 20:46:50 +0000 (07:46 +1100)]
add CHANGES note
Mark Andrews [Mon, 26 Nov 2018 06:24:03 +0000 (17:24 +1100)]
use documented default key ttl
Mark Andrews [Mon, 26 Nov 2018 05:33:49 +0000 (16:33 +1100)]
add reproducer for [GL #585]
Evan Hunt [Wed, 28 Nov 2018 17:14:22 +0000 (12:14 -0500)]
Merge branch '747-build-failure' into 'master'
silence compiler warning
Closes #747
See merge request isc-projects/bind9!1148
Evan Hunt [Wed, 28 Nov 2018 03:34:44 +0000 (19:34 -0800)]
silence compiler warning
Mark Andrews [Wed, 28 Nov 2018 12:31:25 +0000 (07:31 -0500)]
Merge branch '731-catalog-zone-incorrect-logging' into 'master'
Resolve "Catalog zone incorrect logging"
Closes #731
See merge request isc-projects/bind9!1142
Mark Andrews [Wed, 28 Nov 2018 04:59:30 +0000 (15:59 +1100)]
update zname with the current zone anme
Michał Kępień [Tue, 27 Nov 2018 15:25:21 +0000 (10:25 -0500)]
Merge branch '730-fix-build-time-python-configuration' into 'master'
Fix build-time Python configuration
Closes #730
See merge request isc-projects/bind9!1128
Michał Kępień [Tue, 27 Nov 2018 13:04:56 +0000 (14:04 +0100)]
Add CHANGES entry
5101. [bug] Fix default installation path for Python modules and
remove the dnspython dependency accidentally introduced
by change 4970. [GL #730]
Ondřej Surý [Tue, 27 Nov 2018 10:43:46 +0000 (11:43 +0100)]
Fix build-time Python configuration
Apply various fixes and tweaks to Python configuration logic implemented
in the "configure" script:
- Prevent PYTHON_INSTALL_DIR, which holds the value passed to the
--with-python-install-dir option, from being set to "unspec" by
default as this breaks installing Python modules when the
--with-python-install-dir option is not used.
- Make the --with-python-install-dir option also work when the Python
interpreter is specified explicitly (using --with-python=<...>).
- Remove dnspython dependency which was erroneously introduced in
commit
31b0dc1f204d8f7520145f21e8ea46d1466412a7 : no installed Python
module depends on dnspython, it is only used in system tests, for
which dedicated scripts exist that check whether dnspython is
available and act accordingly.
- Improve contents and placement of error messages.
- Reduce duplication of code checking Python dependencies.
- Use Autoconf macros AS_CASE() and AS_IF() instead of plain shell
code.
- Update comments. Capitalize the word "Python" when referring to the
language itself rather than a specific executable.
Ondřej Surý [Tue, 27 Nov 2018 09:32:20 +0000 (04:32 -0500)]
Merge branch 'ondrej-add-python-3.6-and-3.7-to-configure.ac' into 'master'
Add python3.6 and python3.7 to the search list of python versions
See merge request isc-projects/bind9!1136
Ondřej Surý [Mon, 26 Nov 2018 14:10:15 +0000 (15:10 +0100)]
Add python3.6 and python3.7 to the search list of python versions
Ondřej Surý [Mon, 26 Nov 2018 15:41:02 +0000 (10:41 -0500)]
Merge branch '620-fix-cmocka-includes' into 'master'
Move the CMocka include directories from CFLAGS to CINCLUDES where it belongs to…
See merge request isc-projects/bind9!1135
Ondřej Surý [Mon, 26 Nov 2018 15:16:28 +0000 (16:16 +0100)]
Move the CMocka include directories from CFLAGS to CINCLUDES where it belongs to not get overriden later by the default CFLAGS rule
Michał Kępień [Mon, 26 Nov 2018 10:22:36 +0000 (05:22 -0500)]
Merge branch '732-fix-compilation-on-centos-6-i386' into 'master'
Fix compilation on CentOS 6 (i386)
Closes #732
See merge request isc-projects/bind9!1129
Michał Kępień [Mon, 26 Nov 2018 09:57:14 +0000 (10:57 +0100)]
Fix compilation on CentOS 6 (i386)
The stock toolchain available on CentOS 6 for i386 is unable to use the
_mm_pause() intrinsic. Fix by using "rep; nop" assembly instructions on
that platform instead.
Ondřej Surý [Fri, 23 Nov 2018 23:54:26 +0000 (18:54 -0500)]
Merge branch '674-fix-windows-build' into 'master'
Fix typo __LINE -> __LINE__ in lib/isc/win32/condition.c
See merge request isc-projects/bind9!1132
Ondřej Surý [Fri, 23 Nov 2018 23:53:24 +0000 (00:53 +0100)]
Fix typo __LINE -> __LINE__
Witold Krecicki [Fri, 23 Nov 2018 09:59:23 +0000 (04:59 -0500)]
Merge branch 'wpk-fix-recursive-performance' into 'master'
Bound tasks for resolver; Task quantum tweaks.
See merge request isc-projects/bind9!1117
Witold Kręcicki [Wed, 21 Nov 2018 09:50:50 +0000 (09:50 +0000)]
- isc_task_create_bound - create a task bound to specific task queue
If we know that we'll have a task pool doing specific thing it's better
to use this knowledge and bind tasks to task queues, this behaves better
than randomly choosing the task queue.
- use bound resolver tasks - we have a pool of tasks doing resolutions,
we can spread the load evenly using isc_task_create_bound
- quantum set universally to 25
Ondřej Surý [Fri, 23 Nov 2018 09:08:08 +0000 (04:08 -0500)]
Merge branch 'ondrej-shorten-job-names' into 'master'
Change the job names, so they are more useful in pipeline overview
See merge request isc-projects/bind9!1127
Ondřej Surý [Thu, 22 Nov 2018 16:15:12 +0000 (17:15 +0100)]
Change the job names, so they are more useful in pipeline overview
Mark Andrews [Fri, 23 Nov 2018 04:31:34 +0000 (23:31 -0500)]
Merge branch '729-init_hasreuseport-will-not-work-on-systems-w-o-ipv4' into 'master'
Resolve "init_hasreuseport will not work on systems w/o IPv4"
Closes #729
See merge request isc-projects/bind9!1126
Mark Andrews [Mon, 19 Nov 2018 01:27:56 +0000 (12:27 +1100)]
handle systems without IPv4
Mark Andrews [Fri, 23 Nov 2018 01:00:30 +0000 (20:00 -0500)]
Merge branch '705-negative-value-passed-to-close-on-socket-c-and-resource-leak' into 'master'
Resolve "negative value passed to close on socket.c and resource leak"
Closes #705
See merge request isc-projects/bind9!1095
Mark Andrews [Mon, 19 Nov 2018 01:27:56 +0000 (12:27 +1100)]
address resource leak; don't call close() on socket error;
Mark Andrews [Thu, 22 Nov 2018 23:19:01 +0000 (18:19 -0500)]
Merge branch '715-side-effect-in-assertion-in-name_test-c' into 'master'
Resolve "side effect in assertion in name_test.c"
Closes #715
See merge request isc-projects/bind9!1102
Mark Andrews [Mon, 19 Nov 2018 20:23:37 +0000 (07:23 +1100)]
address coverity side effect in assert warning
Mark Andrews [Thu, 22 Nov 2018 22:57:18 +0000 (17:57 -0500)]
Merge branch '717-bin-named-server-c-load_zones-can-leak-memory' into 'master'
Resolve "bin/named/server.c:load_zones can leak memory"
Closes #717
See merge request isc-projects/bind9!1104
Mark Andrews [Tue, 20 Nov 2018 02:03:06 +0000 (13:03 +1100)]
decrement zl->refs on error
Mark Andrews [Thu, 22 Nov 2018 22:17:43 +0000 (17:17 -0500)]
Merge branch '716-remove-logically-dead-code-try-2' into 'master'
Resolve "remove logically dead code try #2"
Closes #716
See merge request isc-projects/bind9!1103
Mark Andrews [Mon, 19 Nov 2018 20:52:08 +0000 (07:52 +1100)]
remove dead code
Ondřej Surý [Thu, 22 Nov 2018 16:03:37 +0000 (11:03 -0500)]
Merge branch '706-remove-isc_mem_set_get_quota' into 'master'
Resolve "Unchecked isc_mem_get's in dnssec-signzone.c and socket.c"
Closes #706
See merge request isc-projects/bind9!1093
Ondřej Surý [Sun, 18 Nov 2018 08:19:38 +0000 (09:19 +0100)]
Memory allocations must be fatal even when default_memalloc is not used
Ondřej Surý [Sun, 18 Nov 2018 08:15:46 +0000 (09:15 +0100)]
Cleanup lib/isc/mem.c after failed allocations made fatal
Ondřej Surý [Sat, 17 Nov 2018 08:40:40 +0000 (09:40 +0100)]
Remove isc_mem_{set,get}quota unused functions
Ondřej Surý [Thu, 22 Nov 2018 14:43:56 +0000 (09:43 -0500)]
Merge branch '726-fix-NetBSD-build' into 'master'
Fix the build on NetBSD due to the differences in pthread implementation.
Closes #726
See merge request isc-projects/bind9!1123
Håvard Eidnes [Thu, 22 Nov 2018 14:15:11 +0000 (15:15 +0100)]
Fix the build on NetBSD due to the differences in pthread implementation.
Signed-off-by: Ondřej Surý <ondrej@sury.org>
Ondřej Surý [Thu, 22 Nov 2018 14:28:15 +0000 (09:28 -0500)]
Merge branch '670-add-coccinelle-unreachable-spatch' into 'master'
Add first coccinelle based precheck test to the GitLab CI
See merge request isc-projects/bind9!1042
Ondřej Surý [Thu, 8 Nov 2018 15:57:03 +0000 (22:57 +0700)]
Add couple more ISC_UNREACHABLE(); found thanks to coccinelle
Ondřej Surý [Thu, 8 Nov 2018 15:38:46 +0000 (22:38 +0700)]
Add unreachable.spatch coccinelle recipe and run it in precheck CI phase
Witold Krecicki [Thu, 22 Nov 2018 12:13:54 +0000 (07:13 -0500)]
Merge branch 'wpk-crash-on-mutex-init-failure' into 'master'
isc_mutex_init and isc_condition_init failures are now fatal
See merge request isc-projects/bind9!1049
Witold Kręcicki [Mon, 19 Nov 2018 10:31:09 +0000 (10:31 +0000)]
- Make isc_mutex_destroy return void
- Make isc_mutexblock_init/destroy return void
- Minor cleanups
Ondřej Surý [Fri, 16 Nov 2018 14:45:01 +0000 (15:45 +0100)]
isc_quota_init now returns 'void'
Ondřej Surý [Thu, 15 Nov 2018 16:40:50 +0000 (17:40 +0100)]
Add CHANGES entry for GL #674
Ondřej Surý [Fri, 16 Nov 2018 14:33:22 +0000 (15:33 +0100)]
isc_mutex_init returns 'void'
Ondřej Surý [Thu, 15 Nov 2018 16:20:36 +0000 (17:20 +0100)]
isc_condition_init returns 'void'
Witold Kręcicki [Wed, 14 Nov 2018 08:42:20 +0000 (08:42 +0000)]
isc_mutex_init and isc_condition_init failures are now fatal
Tinderbox User [Thu, 22 Nov 2018 00:20:34 +0000 (00:20 +0000)]
Merge branch 'prep-release'
Tinderbox User [Wed, 21 Nov 2018 23:58:39 +0000 (23:58 +0000)]
prep 9.13.4
Ondřej Surý [Wed, 21 Nov 2018 23:07:18 +0000 (18:07 -0500)]
Merge branch 'na-release-checklist-mods' into 'master'
release checklist mods
See merge request isc-projects/bind9!1107
Stephen Morris [Tue, 20 Nov 2018 14:38:35 +0000 (14:38 +0000)]
Updates to BIND release checklist.
Curtis Blackburn [Wed, 21 Nov 2018 22:54:31 +0000 (17:54 -0500)]
Merge branch '305-fix-typo' into 'master'
Fix typo ISC_SHA256_DIGESTLENGHT -> ISC_SHA256_DIGESTLENGTH
See merge request isc-projects/bind9!1119
Ondřej Surý [Wed, 21 Nov 2018 22:34:44 +0000 (23:34 +0100)]
Fix typo ISC_SHA256_DIGESTLENGHT -> ISC_SHA256_DIGESTLENGTH
Mark Andrews [Wed, 21 Nov 2018 02:37:09 +0000 (21:37 -0500)]
Merge branch '720-model-_assert_true-for-coverity' into 'master'
Resolve "model _assert_true() for coverity"
Closes #720
See merge request isc-projects/bind9!1108
Mark Andrews [Wed, 21 Nov 2018 01:45:55 +0000 (12:45 +1100)]
model _assert_true
Ondřej Surý [Mon, 19 Nov 2018 17:02:41 +0000 (12:02 -0500)]
Merge branch '710-fix-socket-test' into 'master'
Use proper casting in socket unit test
Closes #710
See merge request isc-projects/bind9!1099
Witold Kręcicki [Mon, 19 Nov 2018 09:43:23 +0000 (09:43 +0000)]
Use proper casting in socket unit test
Ondřej Surý [Mon, 19 Nov 2018 05:49:05 +0000 (06:49 +0100)]
Disable internal malloc for AddressSanitizer build
Ondřej Surý [Mon, 19 Nov 2018 05:47:08 +0000 (06:47 +0100)]
Add AddressSanitizer enabled build to GitLab CI
Ondřej Surý [Mon, 19 Nov 2018 16:38:56 +0000 (11:38 -0500)]
Merge branch '712-memleak-in-delv' into 'master'
Fix a small memleak in delv
Closes #712
See merge request isc-projects/bind9!1101
Witold Kręcicki [Mon, 19 Nov 2018 13:31:36 +0000 (13:31 +0000)]
Fix a small memleak in delv
Witold Krecicki [Mon, 19 Nov 2018 09:45:47 +0000 (04:45 -0500)]
Merge branch 'ondrej/use-strlcpy-in-wks_11.c' into 'master'
Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used
See merge request isc-projects/bind9!1097
Ondřej Surý [Mon, 19 Nov 2018 06:10:43 +0000 (07:10 +0100)]
Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used
Ondřej Surý [Mon, 19 Nov 2018 06:57:34 +0000 (01:57 -0500)]
Merge branch '711-fix-memory-leak-in-lex_test' into 'master'
Fix memory leak in lex_test.c
Closes #711
See merge request isc-projects/bind9!1098
Ondřej Surý [Mon, 19 Nov 2018 06:47:05 +0000 (07:47 +0100)]
Fix memory leak in lex_test.c
Evan Hunt [Sat, 17 Nov 2018 00:53:31 +0000 (19:53 -0500)]
Merge branch '702-unchecked-returns-in-server-c' into 'master'
Resolve "unchecked returns in server.c"
Closes #702
See merge request isc-projects/bind9!1076
Mark Andrews [Fri, 16 Nov 2018 12:18:51 +0000 (23:18 +1100)]
address unchecked return values
Evan Hunt [Fri, 16 Nov 2018 23:16:10 +0000 (18:16 -0500)]
Merge branch '703-resource-leak-in-dlz_filesystem_driver-c' into 'master'
Resolve "resource leak in dlz_filesystem_driver.c"
Closes #703
See merge request isc-projects/bind9!1074
Mark Andrews [Fri, 16 Nov 2018 03:42:22 +0000 (14:42 +1100)]
cleanup allocated memory on error