Commit Graph
24443 Commits
Author SHA1 Message Date
Paul HoffmanandEvan Hunt 33be1f76cb add -t type### description to the dig man page
(cherry picked from commit 2d957c6b9f)
(cherry picked from commit d742db122e)
(cherry picked from commit efcad103e7)
2018-04-27 00:01:41 -07:00
Evan Hunt acabf5a689 Merge branch '159-improve-handling-of-inline-signed-zones-with-missing-signing-keys' into 'v9_9'
Improve handling of inline signed zones with missing signing keys

Closes #159

See merge request isc-projects/bind9!133
2018-04-25 12:24:51 -07:00
Michał KępieńandEvan Hunt cac0073e5b Add CHANGES entries
4916.	[bug]		Not creating signing keys for an inline signed zone
			prevented changes applied to the raw zone from being
			reflected in the secure zone until signing keys were
			made available. [GL #159]

4915.	[bug]		Bumped signed serial of an inline signed zone was
			logged even when an error occurred while updating
			signatures. [GL #159]

(cherry picked from commit 7d2c09c905)
(cherry picked from commit e4995efe24)
(cherry picked from commit 821c27bb7c)
2018-04-25 12:24:39 -07:00
Michał KępieńandEvan Hunt 8b0f7f1b8d Apply raw zone deltas to yet unsigned secure zones
When inline signing is enabled for a zone without creating signing keys
for it, changes subsequently applied to the raw zone will not be
reflected in the secure zone due to the dns_update_signaturesinc() call
inside receive_secure_serial() failing.  Given that an inline zone will
be served (without any signatures) even with no associated signing keys
being present, keep applying raw zone deltas to the secure zone until
keys become available in an attempt to follow the principle of least
astonishment.

(cherry picked from commit 6acf326969)
(cherry picked from commit 8a58a60772)
(cherry picked from commit fcbdeed802)
2018-04-25 12:24:36 -07:00
Michał KępieńandEvan Hunt 0d4750a8e9 Only log bumped signed serial after a successful secure zone update
If a raw zone is modified, but the dns_update_signaturesinc() call in
receive_secure_serial() fails, the corresponding secure zone's database
will not be modified, even though by that time a message containing the
bumped signed serial will already have been logged.  This creates
confusion, because a different secure zone version will be served than
the one announced in the logs.  Move the relevant dns_zone_log() call so
that it is only performed if the secure zone's database is modified.

(cherry picked from commit cfbc8e264d)
(cherry picked from commit cdc7ab42b1)
(cherry picked from commit c042ec70d2)
2018-04-25 12:19:30 -07:00
Evan Hunt eaf4b8b4fc Merge branch '171-lgtm-issues-v9_9' into 'v9_9'
Resolve "problems detected by LGTM static analyzer"

Closes #171

See merge request isc-projects/bind9!213
2018-04-22 13:01:18 -07:00
Evan Hunt 0795311bce remove unnecessary comparison
(cherry picked from commit 8b1baa10ee)
(cherry picked from commit f9da5a735e)
2018-04-22 13:01:08 -07:00
Evan Hunt d0410a0783 silence warnings about unnecessary comparisons
- these are cases where result has been explicitly set, so
  if (result != ISC_R_SUCCESS) is unnecessary

(cherry picked from commit e00eb55cd2)
(cherry picked from commit 0dcff8f93c)
2018-04-22 13:01:08 -07:00
Evan Hunt d5456e7318 add header guards in files that were missing them
(cherry picked from commit 4247477b61)
(cherry picked from commit 7f61e9d50e)
2018-04-22 13:01:07 -07:00
Evan Hunt 2515c9d6ef add header guard when generating bind.keys.h
(cherry picked from commit bfbe6925df)
(cherry picked from commit f7755696a5)
2018-04-22 13:00:47 -07:00
Evan Hunt ade69509e6 change "key" to "tsigkey" to silence "short global name" warning
(cherry picked from commit 0cc7aa250e)
(cherry picked from commit 9d99bf0f4b)
2018-04-22 12:59:06 -07:00
Evan Hunt 54f07c3b1a fix shadowed global variables
(cherry picked from commit 9ca3ab1168)
(cherry picked from commit 694a1486ca)
2018-04-22 12:59:06 -07:00
Evan Hunt a3c1b18794 fix duplicate include guard in dnsconf.h
- IMHO we should consider removing dnsconf.c and deprecating the
  /etc/dns.conf file, though, as I don't think it's likely anyone
  is using it

(cherry picked from commit a08ba418ef)
(cherry picked from commit b9db91aa64)
2018-04-22 12:59:06 -07:00
Evan Hunt 54c3af7598 Merge branch '193-fix-variable-definitions-in-bin-tests-Makefile.in-v9_9' into 'v9_9'
Fix variable definitions in bin/tests/Makefile.in

Closes #193

See merge request isc-projects/bind9!183
2018-04-10 20:06:04 -07:00
Evan Hunt 0e2b568b69 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.

(cherry picked from commit 93ee6b8a22)
2018-04-10 20:05:59 -07:00
Michał KępieńandEvan Hunt 5b2b47336d 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.

(cherry picked from commit 80ab2c0f22)
2018-04-10 20:04:56 -07:00
Mark Andrews 6166107a80 Merge branch 'ssl-double-free-v9_9' into 'v9_9'
Fix double free after keygen error in dnssec-keygen

Closes #109

See merge request isc-projects/bind9!70
2018-04-06 14:28:02 +10:00
Ondřej SurýandMark Andrews b703087d5a Add CHANGES entry
(cherry picked from commit ef2b2a6c92)
2018-04-06 14:27:48 +10:00
Ondřej SurýandMark Andrews 3c2f6922f5 A couple of more cleanups after free in opensslrsa_generate()
(cherry picked from commit d2b3188c61)
2018-04-06 14:27:23 +10:00
Petr MensikandMark Andrews fcb5795560 Do not assign NULL conditionally in OpenSSL < 1.1, make it always explicit.
(cherry picked from commit edaafacf36)
2018-04-06 14:27:23 +10:00
Petr MensikandMark Andrews 3bce97740f Fix double free on RSA_generate_key_ex failure
(cherry picked from commit 01cc622e7b)
2018-04-06 14:27:22 +10:00
Mark Andrews 1890455159 system should only be in SUBDIRS
(cherry picked from commit 342e146fe3)
2018-04-06 13:27:45 +10:00
Mark Andrews 3683026ffd Merge branch '167-coverity-dereferencing-a-null-pointer-in-lib-dns-tests-rbt_test-c-v9_9' into 'v9_9'
Resolve "coverity: Dereferencing a null pointer in lib/dns/tests/rbt_test.c"

Closes #167

See merge request isc-projects/bind9!150
2018-03-20 09:56:09 +11:00
Mukund SivaramanandMark Andrews eb98f2759e Check return value of isc_mem_get()
(cherry picked from commit de3a4af1bf)
2018-03-20 09:56:09 +11:00
Ondřej SurýandMark Andrews f8af167008 Update libtool files to 2.4.6
(cherry picked from commit fe06778be7)
2018-03-19 13:02:26 +11:00
Ondřej Surý d774c9ee04 Merge branch '164-remove-openssl-warning-v9_9' into 'v9_9'
[v9_9] Remove useless OpenSSL warning from configure script

See merge request isc-projects/bind9!143
2018-03-17 10:50:13 -04:00
Ondřej Surý c599299cc9 Remove obsolete OpenSSL version check
(cherry picked from commit e9571d29af)
2018-03-17 14:44:14 +00:00
Evan Hunt da01100893 Merge branch 'copyrights' into v9_9 2018-03-15 18:56:26 -07:00
Evan Hunt ce137d2380 update file headers 2018-03-15 18:56:10 -07:00
Evan Hunt 6c02f55d59 ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:54:50 -07:00
Evan Hunt a19e6b9b21 Merge branch '157-cleanup-win-libtests-v9_9' into 'v9_9'
Resolve "Windows build fails"

Closes #157

See merge request isc-projects/bind9!131
2018-03-15 13:48:52 -07:00
Evan Hunt 1c2ecdfc44 remove references to lib/tests in the windows build
(cherry picked from commit e2bb9824f8)
2018-03-15 13:48:49 -07:00
Evan Hunt 0af7848dad Merge branch '154-fix-atomic-test-v9_9' into 'v9_9'
Resolve "Build failure on OSX with --disable-atomic --enable-developer"

Closes #154

See merge request isc-projects/bind9!130
2018-03-15 12:09:45 -07:00
Evan Hunt edb2282379 add an 'untested' case when none of the atomic operations are available
- this fixes a build failure introduced in change 4913 when
  compiling with ATF and --disable-atomic

(cherry picked from commit 1b3eac926e)
2018-03-15 12:09:45 -07:00
Evan Hunt 01e20887b3 Merge branch 'fix-copyright' into v9_9 2018-03-15 11:32:15 -07:00
Evan Hunt 5a21193fdd update file headers 2018-03-15 11:30:37 -07:00
Evan Hunt 7dc45efb62 some script updates were missing 2018-03-15 11:26:25 -07:00
Ondřej Surý f1736dd4bc Use /* FALLTHROUGH */ comment instead of __attribute__ ((fallthrough)) for consistency 2018-03-15 11:38:32 +01:00
Ondřej Surý ffb4e01b3b Merge branch 'fix-implicit-fallthrough-v9_9' into 'v9_9'
Add __attribute__ ((fallthrough)); in place of implicit fallthrough to satisfy gcc 7 -Wextra

See merge request isc-projects/bind9!129
2018-03-15 04:35:12 -04:00
Ondřej Surý a5ea870265 Add __attribute__ ((fallthrough)); in place of implicit fallthrough to satisfy gcc 7 -Wextra 2018-03-15 09:30:18 +01:00
Ondřej Surý 7d930fdb35 Merge branch 'fix-copyrights-v9_9' into v9_9 2018-03-15 09:29:27 +01:00
Ondřej Surý 9f830be501 update file headers to remove copyright years 2018-03-15 09:09:15 +01:00
Ondřej Surý 785194b46f Update scripts in util/ to drop the year information from the individual source files. 2018-03-15 09:07:00 +01:00
Evan Hunt 5bb02f5fbf Merge branch 'fix-relnotes-v99' into v9_9 2018-03-14 14:59:52 -07:00
Evan Hunt 6f81cec0d3 update Eol information 2018-03-14 14:59:27 -07:00
Evan Hunt 8d9202eff7 Merge branch 'branchsync' into 'v9_9'
update branchsync to deal with merge commits

See merge request isc-projects/bind9!127
2018-03-14 14:43:16 -07:00
Evan Hunt 8e19bc87ea updated branchsync to deal with merge commits
(cherry picked from commit fccf8ca2f6)
2018-03-14 14:42:28 -07:00
Ondřej Surý b6fa2721d5 Fix whitespace 2018-03-14 12:46:56 +01:00
Ondřej Surý fbb2cf47b3 Update copyrights 2018-03-14 12:46:25 +01:00
Ondřej Surý 6a95179879 [v9_10] Enable GitLab CI
(cherry picked from commit 5b7393ab588aee8dc64adb194f38eab6818aaa10)
(cherry picked from commit a14d0362df)
(cherry picked from commit a13586af5d)
2018-03-14 12:46:02 +01:00