]>
git.ipfire.org Git - thirdparty/bind9.git/log
Evan Hunt [Thu, 12 Apr 2018 16:27:03 +0000 (12:27 -0400)]
Merge branch 'add-print.h' into 'master'
add missing include
See merge request isc-projects/bind9!195
Evan Hunt [Thu, 12 Apr 2018 16:20:09 +0000 (09:20 -0700)]
add missing include
Witold Krecicki [Thu, 12 Apr 2018 08:46:09 +0000 (04:46 -0400)]
Merge branch '178-cleanup-isc-string' into 'master'
Cleanup <isc/string.h> functions
See merge request isc-projects/bind9!163
Ondřej Surý [Thu, 5 Apr 2018 11:45:30 +0000 (13:45 +0200)]
Add CHANGES entry:
4924. [cleanup] Clean up the isc_string_* namespace and leave
only strlcpy and strlcat. [GL #178]
Ondřej Surý [Wed, 11 Apr 2018 13:16:34 +0000 (15:16 +0200)]
We use too old Visual Compiler to use scoped variables
Ondřej Surý [Mon, 9 Apr 2018 07:29:02 +0000 (09:29 +0200)]
Remove usage of strcasestr, so we don't have to have replacement function on Windows
Ondřej Surý [Thu, 5 Apr 2018 11:44:25 +0000 (13:44 +0200)]
Remove isc_string_strcasestr implementation and clean up the header and headers
Ondřej Surý [Wed, 21 Mar 2018 21:16:51 +0000 (21:16 +0000)]
Replace all usage of non-reentrant strtok() with strtok_r()
Ondřej Surý [Wed, 21 Mar 2018 21:08:29 +0000 (21:08 +0000)]
Replace usage of strsep with POSIX strtok_r()
Ondřej Surý [Wed, 21 Mar 2018 16:40:42 +0000 (16:40 +0000)]
Remove unused isc_string_regiondup function.
Ondřej Surý [Wed, 21 Mar 2018 16:38:29 +0000 (16:38 +0000)]
Remove isc_string_printf and isc_string_printf_truncate.
Replace with simple snprintf() as appropriate.
Ondřej Surý [Wed, 21 Mar 2018 16:20:59 +0000 (16:20 +0000)]
Remove isc_string_copy, isc_string_copy_truncate and isc_string_append.
Use strlcpy and strlcat as appropriate instead.
Ondřej Surý [Wed, 21 Mar 2018 16:09:08 +0000 (16:09 +0000)]
Replace isc_string_touint64 with strtoull (C99)
Ondřej Surý [Thu, 12 Apr 2018 08:06:51 +0000 (04:06 -0400)]
Merge branch 'socket-options-refactoring' into 'master'
Refactoring #defines into typedef enums
See merge request isc-projects/bind9!135
Ondřej Surý [Thu, 12 Apr 2018 07:55:40 +0000 (09:55 +0200)]
Add CHANGES entry:
4923. [cleanup] Refactor socket and socket event options into
enum types. [GL !135]
Ondřej Surý [Sat, 17 Mar 2018 11:15:40 +0000 (11:15 +0000)]
Change ISC_SOCKEVENTATTR_* defines into isc_sockeventattr_t enum
Ondřej Surý [Sat, 17 Mar 2018 11:01:39 +0000 (11:01 +0000)]
Refactor ISC_SOCKET_* defines into an isc_socket_options_t enum
Ondřej Surý [Thu, 12 Apr 2018 06:46:21 +0000 (02:46 -0400)]
Merge branch '189-fix-win32-build' into 'master'
Fix runtime assertion on Windows due isc_file_template being out-of-sync
Closes #189
See merge request isc-projects/bind9!193
Ondřej Surý [Wed, 11 Apr 2018 21:04:20 +0000 (23:04 +0200)]
Sync isc_file_template functions between unix and win32, so they are same
Ondřej Surý [Wed, 11 Apr 2018 12:37:05 +0000 (08:37 -0400)]
Merge branch '189-fix-tsig-dump-keyfile-name-generation-issues' into 'master'
Resolve "Fix TSIG dump keyfile name generation issues"
Closes #189
See merge request isc-projects/bind9!164
Mukund Sivaraman [Wed, 28 Mar 2018 16:41:22 +0000 (22:11 +0530)]
Fix TSIG dump keyfile name buffer size issues
Ondřej Surý [Wed, 28 Mar 2018 18:57:20 +0000 (20:57 +0200)]
Define PATH_MAX on Windows as _MAX_PATH, so we can use it everywhere
Evan Hunt [Wed, 11 Apr 2018 03:03:36 +0000 (23:03 -0400)]
Merge branch '193-fix-variable-definitions-in-bin-tests-Makefile.in' into 'master'
Fix variable definitions in bin/tests/Makefile.in
Closes #193
See merge request isc-projects/bind9!183
Evan Hunt [Fri, 6 Apr 2018 10:09:50 +0000 (12:09 +0200)]
Alter distclean rule to prevent recursing into the same directory twice
Commit
f87e0c03ee removed the "system" directory from the TESTDIRS
variable in bin/tests/Makefile.in in an attempt to fix "make distclean"
which was broken since commit
0d784de16a . However, this change
prevented any system tests from being run when "make test" is invoked.
We now put it back into both SUBDIRS and TESTDIRS, but with a modified
rule to check for the existence of a Makefile in each subdirectory before
trying to run make there. This prevents "make distclean" from trying to
run again in a directory where it's already been run.
Michał Kępień [Fri, 6 Apr 2018 10:09:48 +0000 (12:09 +0200)]
Fail CI pipeline when "make test" does not run any system tests
Apart from ensuring "make test" returns 0, also check whether any system
test output was generated as a result of running it. This prevents the
CI job running system tests from succeeding unless it actually tests
something.
Evan Hunt [Wed, 11 Apr 2018 02:54:24 +0000 (22:54 -0400)]
Merge branch 'revert-freebsd-runner' into 'master'
Revert freebsd CI runner
See merge request isc-projects/bind9!189
Evan Hunt [Wed, 11 Apr 2018 02:46:12 +0000 (19:46 -0700)]
Revert "Merge branch 'gitlab-ci-freebsd11' into 'master'"
This reverts commit
f595ab93eb6ea98167ac1c60a6d9dddc7c6f1fa7 , reversing
changes made to
deae7d33f1330c3f60b2c28aab61bf41f164fe5c .
Evan Hunt [Wed, 11 Apr 2018 00:18:03 +0000 (20:18 -0400)]
Merge branch '197-dnstap-sockaddr' into 'master'
Resolve "dnstap: log actual local IPv6 address, not :: listening address"
Closes #197
See merge request isc-projects/bind9!188
Evan Hunt [Wed, 11 Apr 2018 00:13:06 +0000 (17:13 -0700)]
CHANGES note
Tony Finch [Mon, 9 Apr 2018 17:07:47 +0000 (18:07 +0100)]
dnstap: log actual local IPv6 address, not :: listening address
Ondřej Surý [Mon, 9 Apr 2018 14:51:54 +0000 (10:51 -0400)]
Merge branch '194-libdns-cleanup-cleanup' into 'master'
Fixup the one last occurence of dns_dt_create2 (in dnstap enabled build)
Closes #194
See merge request isc-projects/bind9!185
Mathieu Arnold [Mon, 9 Apr 2018 11:25:00 +0000 (13:25 +0200)]
Rename the last occurence of dns_dt_create2.
Ondřej Surý [Mon, 9 Apr 2018 14:43:22 +0000 (10:43 -0400)]
Merge branch 'gitlab-ci-freebsd11' into 'master'
Add FreeBSD 11 to GitLab CI
See merge request isc-projects/bind9!184
Ondřej Surý [Mon, 9 Apr 2018 12:12:11 +0000 (14:12 +0200)]
Add FreeBSD 11 GitLab CI Runner
Ondřej Surý [Mon, 9 Apr 2018 14:12:36 +0000 (10:12 -0400)]
Merge branch '183-add-dns_fixedname_initname' into 'master'
Add and use dns_fixedname_initname()
Closes #183
See merge request isc-projects/bind9!161
Mukund Sivaraman [Wed, 28 Mar 2018 15:13:21 +0000 (20:43 +0530)]
Add CHANGES entry:
4921. [cleanup] Add dns_fixedname_initname() and refactor the caller
code to make usage of the new function, as a part of
refactoring dns_fixedname_*() macros were turned into
functions. [GL #183]
Michał Kępień [Thu, 29 Mar 2018 08:17:37 +0000 (10:17 +0200)]
Do not access dns_fixedname_t fields directly
Employ dns_fixedname_name() and dns_fixedname_initname() to no longer
directly access dns_fixedname_t fields.
Michał Kępień [Wed, 28 Mar 2018 12:38:09 +0000 (14:38 +0200)]
Use dns_fixedname_initname() where possible
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.
This patch was mostly prepared using Coccinelle and the following
semantic patch:
@@
expression fixedname, name;
@@
- dns_fixedname_init(&fixedname);
...
- name = dns_fixedname_name(&fixedname);
+ name = dns_fixedname_initname(&fixedname);
The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.
It is likely that more occurrences of this pattern can be refactored in
an identical way. This commit only takes care of the low-hanging fruit.
Mukund Sivaraman [Tue, 27 Mar 2018 11:56:35 +0000 (17:26 +0530)]
Add a dns_fixedname_initname() helper function
This also turns the dns_fixedname macros into functions.
Witold Krecicki [Fri, 6 Apr 2018 06:10:50 +0000 (02:10 -0400)]
Merge branch 'libdns-cleanup2' into 'master'
libdns cleanup
See merge request isc-projects/bind9!172
Witold Kręcicki [Thu, 5 Apr 2018 18:12:47 +0000 (20:12 +0200)]
libdns refactoring: CHANGES entry
Witold Kręcicki [Thu, 5 Apr 2018 14:23:56 +0000 (16:23 +0200)]
libdns refactoring: get rid of multiple versions of dns_keytable_add, dns_iptable_addprefix and dns_iptable_addprefix
Witold Kręcicki [Thu, 5 Apr 2018 14:27:36 +0000 (16:27 +0200)]
libdns refactoring: get rid of multiple versions of dns_dt_create, dns_view_setcache, dns_zt_apply, dns_message_logfmtpacket, dns_message_logpacket, dns_ssutable_checkrules and dns_ttl_totext
Witold Kręcicki [Wed, 4 Apr 2018 07:51:42 +0000 (09:51 +0200)]
libdns refactoring: get rid of multiple versions of dns_view_find, dns_view_findzonecut and dns_view_flushcache
Witold Kręcicki [Wed, 4 Apr 2018 07:44:50 +0000 (09:44 +0200)]
libdns refactoring: get rid of multiple versions of dns_xfrin_create, dst_key_generate, dst_lib_init and dst_context_create
Witold Kręcicki [Tue, 3 Apr 2018 21:56:04 +0000 (23:56 +0200)]
libdns refactoring: integrate zone->options and zone->options2 into one enum, removing unnecessary flags.
Witold Kręcicki [Tue, 3 Apr 2018 14:34:41 +0000 (16:34 +0200)]
libdns refactoring: get rid of multiple versions of dns_zone_setfile, dns_zone_notifyreceive, dns_zone_dumptostream, dns_zone_getserial
Witold Kręcicki [Tue, 3 Apr 2018 14:05:11 +0000 (16:05 +0200)]
libdns refactoring: get rid of 3 versions of dns_resolver_createfetch
Witold Kręcicki [Tue, 3 Apr 2018 13:24:33 +0000 (15:24 +0200)]
libdns refactoring: get rid of multiple versions of dns_dnssec_findmatchingkeys and dns_dnssec_findzonekeys
Witold Kręcicki [Tue, 3 Apr 2018 13:12:27 +0000 (15:12 +0200)]
libdns refactoring: get rid of multiple versions of dns_request_createraw and dns_request_createvia
Witold Kręcicki [Tue, 3 Apr 2018 11:09:55 +0000 (13:09 +0200)]
libdns refactoring: get rid of multiple versions of dns_master_loadfile, dns_master_loadfileinc, dns_master_dump, dns_master_dumpinc, dns_master_dumptostream, dns_master_stylecreate
Witold Kręcicki [Tue, 3 Apr 2018 12:35:07 +0000 (14:35 +0200)]
libdns refactoring: get rid of multiple versions of dns_dispatch_createtcp and dns_dispatch_addresponse, unify dns_dispatch_gettcp and dns_dispatch_gettcp2
Witold Kręcicki [Tue, 3 Apr 2018 11:22:09 +0000 (13:22 +0200)]
libdns refactoring: get rid of unnecessary dns_db_dump2 and 3 versions of dns_db_load
Witold Kręcicki [Tue, 3 Apr 2018 11:15:16 +0000 (13:15 +0200)]
libdns refactoring: get rid of two versions of dns_client_createx
Witold Kręcicki [Tue, 3 Apr 2018 11:10:15 +0000 (13:10 +0200)]
libdns refactoring: get rid of 3 versions of dns_cache_create
Witold Kręcicki [Tue, 3 Apr 2018 11:10:07 +0000 (13:10 +0200)]
libdns refactoring: get rid of two versions of dns_byaddr_createptrname
Witold Kręcicki [Tue, 3 Apr 2018 11:10:03 +0000 (13:10 +0200)]
libdns refactoring: get rid of two versions of dns_adb_createfind and dns_adb_probesize
Witold Kręcicki [Tue, 3 Apr 2018 11:09:45 +0000 (13:09 +0200)]
libdns refactoring: get rid of two versions of dns_acl_match and dns_aclelement_match
Mark Andrews [Fri, 6 Apr 2018 03:37:07 +0000 (23:37 -0400)]
Merge branch '193-make-distclean-fails' into 'master'
Resolve "make distclean fails"
Closes #193
See merge request isc-projects/bind9!182
Mark Andrews [Fri, 6 Apr 2018 03:33:53 +0000 (13:33 +1000)]
system should only be in SUBDIRS
Ondřej Surý [Thu, 5 Apr 2018 11:52:45 +0000 (07:52 -0400)]
Merge branch 'fix-CHANGES-188-178' into 'master'
Fix typo in issue number in CHANGES file (188 -> 178)
See merge request isc-projects/bind9!181
Ondřej Surý [Thu, 5 Apr 2018 11:45:54 +0000 (13:45 +0200)]
Fix typo in issue number in CHANGES file (188 -> 178)
Ondřej Surý [Thu, 5 Apr 2018 10:03:02 +0000 (06:03 -0400)]
Merge branch 'pemensik/bind9-no-idn2-export' into 'master'
Don't include -lidn2 in isc-config.sh output
Closes #163
See merge request isc-projects/bind9!178
Ondřej Surý [Thu, 5 Apr 2018 09:45:41 +0000 (11:45 +0200)]
Print information about LIBIDN2 in Configuration summary (Closes: #163)
Petr Menšík [Tue, 3 Apr 2018 18:35:29 +0000 (20:35 +0200)]
Remove -lidn2 from exported LIBS. Do not propagate it from isc-config.sh --libs isc.
Ondřej Surý [Wed, 4 Apr 2018 21:19:41 +0000 (17:19 -0400)]
Merge branch '178-cleanup-isc_hash-functions' into 'master'
Clean up the isc_hash_* family of functions
See merge request isc-projects/bind9!160
Ondřej Surý [Tue, 27 Mar 2018 20:04:57 +0000 (22:04 +0200)]
Update CHANGES
Ondřej Surý [Wed, 28 Mar 2018 11:59:57 +0000 (13:59 +0200)]
Cleanup included headers in hash.c using iwyu
Ondřej Surý [Tue, 27 Mar 2018 20:03:01 +0000 (22:03 +0200)]
Remove premature optimization in the FNV-1a while loop, the difference is negligible and the code is simpler.
Ondřej Surý [Tue, 27 Mar 2018 14:23:13 +0000 (16:23 +0200)]
Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version
Ondřej Surý [Wed, 4 Apr 2018 20:29:36 +0000 (16:29 -0400)]
Merge branch 'kchen/bind9-test-prereqs' into 'master'
Add a Net::DNS prereq for couple of tests
See merge request isc-projects/bind9!171
Kevin Chen [Wed, 28 Feb 2018 22:07:44 +0000 (17:07 -0500)]
Add a Net::DNS prereq for digdelv, fetchlimit, rpzrecurse, and zero
tests to avoid failed tests when Net::DNS is not present.
Ondřej Surý [Wed, 4 Apr 2018 15:41:26 +0000 (11:41 -0400)]
Merge branch 'ssl-double-free' into 'master'
Fix double free after keygen error in dnssec-keygen
Closes #109
See merge request isc-projects/bind9!70
Ondřej Surý [Wed, 4 Apr 2018 15:25:05 +0000 (17:25 +0200)]
Add CHANGES entry
Ondřej Surý [Wed, 4 Apr 2018 12:25:10 +0000 (14:25 +0200)]
A couple of more cleanups after free in opensslrsa_generate()
Petr Mensik [Sat, 24 Feb 2018 18:47:35 +0000 (10:47 -0800)]
Do not assign NULL conditionally in OpenSSL < 1.1, make it always explicit.
Petr Mensik [Sat, 24 Feb 2018 18:41:58 +0000 (10:41 -0800)]
Fix double free on RSA_generate_key_ex failure
Stephen Morris [Wed, 4 Apr 2018 13:52:23 +0000 (09:52 -0400)]
Merge branch '139-tests-for-idna2008-libidn2' into 'master'
Resolve "Tests for IDNA2008 (libidn2)"
Closes #139
See merge request isc-projects/bind9!147
Stephen Morris [Tue, 3 Apr 2018 19:02:35 +0000 (20:02 +0100)]
Check libidn2 version before proceding with one of the tests.
A known issue in libidn2 causes one of the tests of a fake A-label
to fail. The problem should be corrected in version 2.0.5 of
libidn2.
Ondřej Surý [Fri, 23 Mar 2018 11:14:18 +0000 (11:14 +0000)]
Use C.UTF-8 if available, and en_US.UTF-8 is available, otherwise do nothing and let the test break
Stephen Morris [Fri, 23 Mar 2018 10:23:15 +0000 (10:23 +0000)]
Set known locale prior to running tests.
Stephen Morris [Thu, 22 Mar 2018 19:04:12 +0000 (19:04 +0000)]
Fix check for the presence of IDNA.
Stephen Morris [Thu, 22 Mar 2018 16:30:36 +0000 (16:30 +0000)]
Added additional tests for invalid punycode strings.
Stephen Morris [Mon, 19 Mar 2018 16:12:47 +0000 (16:12 +0000)]
Initial set of IDNA tests.
Michał Kępień [Wed, 4 Apr 2018 10:31:55 +0000 (06:31 -0400)]
Merge branch '188-remove-duplicate-named_g_conffile-init' into 'master'
Remove redundant named_g_conffile initialization
Closes #188
See merge request isc-projects/bind9!166
Ondřej Surý [Wed, 28 Mar 2018 22:28:15 +0000 (00:28 +0200)]
Remove redundant named_g_conffile initialization from bin/named/win32/os.c
Ondřej Surý [Wed, 21 Mar 2018 14:12:04 +0000 (10:12 -0400)]
Merge branch '26-fix-normalization-for-non-IDN' into 'master'
Don't use the IDN translated name if no conversion took a place
Closes #26
See merge request isc-projects/bind9!153
Ondřej Surý [Mon, 19 Mar 2018 16:09:04 +0000 (16:09 +0000)]
Don't use the IDN traslated name if no conversion took a place
Mark Andrews [Mon, 19 Mar 2018 12:57:08 +0000 (08:57 -0400)]
Merge branch '168-coverity-incorrect-shifting-in-dns_rpz_mask' into 'master'
Resolve "coverity: Incorrect shifting in DNS_RPZ_MASK"
Closes #168
See merge request isc-projects/bind9!151
Mukund Sivaraman [Mon, 19 Mar 2018 12:45:52 +0000 (18:15 +0530)]
Fix length of integer that's shifted by DNS_RPZ_ZMASK()
Mark Andrews [Mon, 19 Mar 2018 12:48:47 +0000 (08:48 -0400)]
Merge branch '167-coverity-dereferencing-a-null-pointer-in-lib-dns-tests-rbt_test-c' into 'master'
Resolve "coverity: Dereferencing a null pointer in lib/dns/tests/rbt_test.c"
Closes #167
See merge request isc-projects/bind9!150
Mukund Sivaraman [Mon, 19 Mar 2018 12:40:41 +0000 (18:10 +0530)]
Check return value of isc_mem_get()
Mark Andrews [Mon, 19 Mar 2018 12:23:32 +0000 (08:23 -0400)]
Merge branch 'fixfilename' into 'master'
fix temporary file name to have subtest number
See merge request isc-projects/bind9!149
Mark Andrews [Mon, 19 Mar 2018 12:11:33 +0000 (23:11 +1100)]
fix temporary file name to have subtest number
(cherry picked from commit
e12453f43c88bac722fb511b62f12303735b788c )
Mark Andrews [Mon, 19 Mar 2018 11:38:32 +0000 (07:38 -0400)]
Merge branch 'fixtypo' into 'master'
fix typo
See merge request isc-projects/bind9!148
Mark Andrews [Mon, 19 Mar 2018 11:31:22 +0000 (22:31 +1100)]
fix typo
Mark Andrews [Mon, 19 Mar 2018 09:15:08 +0000 (05:15 -0400)]
Merge branch '166-statistics-system-test-numbering-is-bad' into 'master'
Resolve "statistics system test numbering is bad"
Closes #166
See merge request isc-projects/bind9!146
Mark Andrews [Mon, 19 Mar 2018 03:24:32 +0000 (14:24 +1100)]
fix numbering of tests and make consistent
Ondřej Surý [Sun, 18 Mar 2018 10:16:56 +0000 (06:16 -0400)]
Merge branch '123-support-64-rpz-zones-by-default-from-9-13-onwards' into 'master'
Resolve "Support 64 RPZ zones by default from 9.13 onwards"
Closes #123
See merge request isc-projects/bind9!90
Evan Hunt [Sat, 10 Mar 2018 09:01:29 +0000 (01:01 -0800)]
copyrights