Commit Graph

26675 Commits

Author SHA1 Message Date
Mark Andrews
08bc58ca7a chain: change nameserver name so that the delegation matches
(cherry picked from commit 848e42227e)
2018-10-04 12:29:54 +10:00
Mark Andrews
405631c9d8 chain: add 'start test' messages to named.run
(cherry picked from commit 524c1317f7)
2018-10-04 12:29:53 +10:00
Mark Andrews
c635b31756 Merge branch 'update-log-fix-v9_11' into 'v9_11'
make update_log() work if zone is not set

See merge request isc-projects/bind9!835
2018-10-03 03:00:56 -04:00
Evan Hunt
d9849bb589 make update_log() work if zone is not set
- update_log() is called to log update errors, but if those errors
  occur before the zone is set (for example, when returning NOTAUTH)
  it returns without logging anything.

(cherry picked from commit 395f6a1474)
2018-10-03 02:39:37 -04:00
Mark Andrews
f8453f45f7 Merge branch 'irs_buflen_socklen-v9_11' into 'v9_11'
Fix arch-dependent getnameinfo types

See merge request isc-projects/bind9!836
2018-10-03 02:36:48 -04:00
Petr Menšík
2b91689473 Fix arch-dependent getnameinfo types
getnameinfo() parameters are detected by configure. Current glibc uses
socklen_t for BUFLEN and int for flags. Because that parameters are
tested only as fallback, it does detect it different way on 32-bit
system. socklen_t is compatible with size_t type on these systems.
Try all variants with int flags, use unsigned flags as last resort.

(cherry picked from commit b427dcce83)
2018-10-03 16:36:14 +10:00
Mark Andrews
6468892106 Merge branch '569-zero-system-test-failed-to-set-ret-0-and-send-output-to-dev-null-v9_11' into 'v9_11'
Resolve "zero system test failed to set ret=0 and send output to /dev/null"

See merge request isc-projects/bind9!833
2018-10-03 01:49:26 -04:00
Mark Andrews
2b5cb47cfd zero: send grep output to /dev/null; set ret=0 at start of 'check repeated recursive lookups of non recurring TTL=0 responses get new values' test so the failed subtest count is correct
(cherry picked from commit a6507af9e3)
2018-10-03 15:38:55 +10:00
Evan Hunt
401c6476dd Merge branch '543-couple-more-windows-build-fixes-v9_12-v9_11' into 'v9_11'
Couple additional Windows build fixes in VCX files

See merge request isc-projects/bind9!828
2018-10-02 13:41:46 -04:00
Thomas Jach
56e54fb695 Couple additional Windows build fixes in VCX files
(cherry picked from commit f2d6b1b859)
(cherry picked from commit b39bd2816e)
2018-10-02 10:41:18 -07:00
Mark Andrews
0d43513009 Merge branch '420-reading-from-master-files-could-sometime-fail-to-preserve-the-case-of-the-owner-name-v9_11' into 'v9_11'
Resolve "reading from master files could sometime fail to preserve the case of the owner name."

See merge request isc-projects/bind9!823
2018-10-02 01:46:12 -04:00
Mark Andrews
8ee0bbc4b9 Add CHANGES note.
(cherry picked from commit 4fcdad292d)
2018-10-02 15:29:08 +10:00
Mark Andrews
c7766cee64 improve case presevation
(cherry picked from commit 0fc1b1bffa)
2018-10-02 15:28:06 +10:00
Tinderbox User
a3131700aa Merge branch 'prep-release' into v9_11 2018-09-29 04:01:35 +00:00
Tinderbox User
186cf94c9a prep 9.11.5rc1 2018-09-29 03:57:26 +00:00
Evan Hunt
a9e4ed033b Merge branch '562-chaos-addresses-v9_11' into 'v9_11'
fix chaosnet address comparison

See merge request isc-projects/bind9!818
2018-09-28 12:08:45 -04:00
Evan Hunt
debb94462f fix chaosnet address comparison
(cherry picked from commit b4dca44ad2)
2018-09-28 09:01:06 -07:00
Evan Hunt
ade2f380fe Merge branch '540-tsig-has-two-consecutive-spaces-when-maclen-is-0-v9_11' into 'v9_11'
Resolve "TSIG has two consecutive spaces when MACLEN is 0"

See merge request isc-projects/bind9!810
2018-09-27 17:37:13 -04:00
Mark Andrews
e4fd1abccf only emit a single space between mac length and the orginal id if the mac length is zero
(cherry picked from commit ac1c3aaa27)
2018-09-27 14:28:59 -07:00
Evan Hunt
2ff91a5143 Merge branch '556-race-condition-in-timer-creation-v9_11' into 'v9_11'
Fix crash caused by race condition in timer creation

See merge request isc-projects/bind9!807
2018-09-27 16:07:57 -04:00
Zhaolong Zhang
f889f48f61 Fix crash caused by race condition in timer creation
The race condition is the timer elapses before isc__timer_create()
returns the pointer to the caller.  Assigning the return pointer before
enabling the timer will fix it.

(cherry picked from commit 21966423cd)
2018-09-27 13:00:05 -07:00
Evan Hunt
b8ab5c6409 Merge branch '542-prevent-a-race-after-zone-load-v9_11' into 'v9_11'
Prevent a race after zone load

See merge request isc-projects/bind9!804
2018-09-26 22:56:10 -04:00
Michał Kępień
e225178ae7 Add CHANGES entry
5034.	[bug]		A race between threads could prevent zone maintenance
			scheduled immediately after zone load from being
			performed. [GL #542]

(cherry picked from commit feb2a41b7c)
2018-09-26 19:46:21 -07:00
Michał Kępień
74cd632f18 Prevent a race after zone load
Zone loading happens in a different task (zone->loadtask) than other
zone actions (zone->task).  Thus, when zone_postload() is called in the
context of zone->loadtask, it may cause zone maintenance to be queued in
zone->task and another thread can then execute zone_maintenance() before
zone_postload() gets a chance to finish its work in the first thread.
This would not be a problem if zone_maintenance() accounted for this
possibility by locking the zone before checking the state of its
DNS_ZONEFLG_LOADPENDING flag.  However, the zone is currently not locked
before the state of that flag is checked, which may prevent zone
maintenance from happening despite zone_postload() scheduling it.  Fix
by locking the zone in zone_maintenance() before checking the state of
the zone's DNS_ZONEFLG_LOADPENDING flag.

(cherry picked from commit 56003e9f9f)
2018-09-26 19:46:21 -07:00
Michał Kępień
696d9d9bac Merge branch 'rename-true-variable' into 'v9_11'
Rename variable named 'true' to 't'

See merge request isc-projects/bind9!794
2018-09-25 03:56:50 -04:00
Ondřej Surý
6c24c7da18 Enable DIG_SIGCHASE on Centos 7 build 2018-09-25 09:48:35 +02:00
Ondřej Surý
c8db386484 Rename variable named 'true' to 't' 2018-09-25 09:48:35 +02:00
Evan Hunt
9d528332a6 Merge branch 'fix-typo-v9_11' into 'v9_11'
fix a typo in usage output

See merge request isc-projects/bind9!798
2018-09-24 18:42:22 -04:00
Evan Hunt
1d9024736e fix a typo in usage output
(cherry picked from commit e7c99e42f3)
2018-09-24 15:32:33 -07:00
Evan Hunt
0f8952380c Merge branch '105-nta-all-v9_11' into 'v9_11'
Resolve "[RT#44623] RNDC NTA option to add NTA to all views"

See merge request isc-projects/bind9!782
2018-09-10 16:26:39 -04:00
Evan Hunt
7aeca55750 CHANGES, release notes
(cherry picked from commit 2f6ba87ab9)
2018-09-10 13:18:36 -07:00
Evan Hunt
1f72e316b9 add -class option to rndc nta
(cherry picked from commit cc0abf62a1)
2018-09-10 13:18:35 -07:00
Evan Hunt
af3bada56e report when NTAs added to multiple views
- the text returned by "rndc nta" when adding NTAs to multiple views
  was incorrectly terminated after the first line, so users only saw
  on NTA added unless they checked the logs.

(cherry picked from commit 83dc5a704a)
2018-09-10 13:18:33 -07:00
Evan Hunt
70ecd90b30 Merge branch 'report-compiler-version-v9_11' into 'v9_11'
report "$CC --version" output as part of the configure summary

See merge request isc-projects/bind9!780
2018-09-10 13:11:50 -04:00
Evan Hunt
ee8cb1b480 report "$CC --version" output as part of the configure summary
(cherry picked from commit a6f43574a0)
2018-09-10 10:03:30 -07:00
Mark Andrews
3b4eaa712a Merge branch '511-add-ms-selfsub-and-krb5-selfsub-v9_11' into 'v9_11'
Resolve "add ms-selfsub and krb5-selfsub"

See merge request isc-projects/bind9!778
2018-09-10 03:53:57 -04:00
Mark Andrews
7861801acb add CHANGES and release notes documentation
(cherry picked from commit f924c89f97)
2018-09-10 17:45:49 +10:00
Mark Andrews
837f1a4bc4 update util/copyrights
(cherry picked from commit 4aa6a118de)
2018-09-10 17:45:48 +10:00
Mark Andrews
5413abae7d add more missing name in update rule checks
(cherry picked from commit d1f8e116db)
2018-09-10 17:45:48 +10:00
Mark Andrews
7cec76e222 add krb5-* tests to nsupdate system test.
(cherry picked from commit 54c4db569b)
2018-09-10 17:45:48 +10:00
Mark Andrews
2b1beb052d add test addresses 10.53.0.{9,10} and fd92:7065:b8e:ffff::{9,10} 2018-09-10 17:45:48 +10:00
Mark Andrews
b2ffe56fc5 add krb5-selfsub and ms-selfsub
(cherry picked from commit fbeefd4990)
2018-09-10 17:40:19 +10:00
Mark Andrews
6ff17d94bf check that name field is not a valid type
(cherry picked from commit 5fb75a3d75)
2018-09-10 17:25:07 +10:00
Mark Andrews
dbaf32a667 fix dns_ssumatchtype_subdomainms dns_ssumatchtype_subdomainkrb5 as they don't require the name field to be '.'
(cherry picked from commit 156d86e673)
2018-09-10 17:25:07 +10:00
Mark Andrews
2f87a517b1 Merge branch '532-master-doesn-t-build-on-macos-due-to-class-of-align-macros-v9_11' into 'v9_11'
Resolve "master doesn't build on MacOS due to class of ALIGN macros"

See merge request isc-projects/bind9!776
2018-09-09 19:39:43 -04:00
Mark Andrews
ced589e379 avoid macro name collision with system defined macro
(cherry picked from commit 81b133d963)
2018-09-10 09:30:59 +10:00
Evan Hunt
b63e33b043 Merge branch 'patch-2-v9_11' into 'v9_11'
Replace isc-logo.pdf. The one in here is obsolete. If we need a different size…

See merge request isc-projects/bind9!773
2018-09-07 19:12:58 -04:00
Evan Hunt
0e98ea357a update isc-logo.pdf to current logo version, remove isc-logo.eps
(cherry picked from commit ad9bf4c662)
2018-09-07 16:01:40 -07:00
Ondřej Surý
c56d030425 Merge branch '344-add-stdatomic-shim' into 'v9_11'
Provide compatibility stdatomic.h shim when compiled with C++ compiler

See merge request isc-projects/bind9!702
2018-09-07 13:11:38 -04:00
Ondřej Surý
d20fd7b109 Remove excessive inclusion of isc/refcount.h from various header files 2018-09-07 16:55:22 +02:00