Tinderbox User
28e45cd00e
Merge branch 'prep-release' into v9_12_4_patch
2019-04-06 01:27:27 +00:00
Tinderbox User
ee1b123223
doc rebuild
2019-04-06 01:26:49 +00:00
Tinderbox User
1d88eafa11
prep 9.12.4-P1
2019-04-06 01:26:33 +00:00
Evan Hunt
87367c41fd
Merge branch 'security-tcp-client-crash-security-v9_12-v9_12_4_patch' into v9_12_4_patch
2019-04-05 18:22:03 -07:00
Evan Hunt
802600b19d
CHANGES, release note
...
(cherry picked from commit ef15f7360784c5ec7341f3e4856a759cf1e2aedb)
2019-04-05 18:21:30 -07:00
Evan Hunt
785658728a
restore allowance for tcp-clients < interfaces
...
in the "refactor tcpquota and pipeline refs" commit, the counting
of active interfaces was tightened in such a way that named could
fail to listen on an interface if there were more interfaces than
tcp-clients. when checking the quota to start accepting on an
interface, if the number of active clients was above zero, then
it was presumed that some other client was able to handle accepting
new connections. this, however, ignored the fact that the current client
could be included in that count, so if the quota was already exceeded
before all the interfaces were listening, some interfaces would never
listen.
we now check whether the current client has been marked active; if so,
then the number of active clients on the interface must be greater
than 1, not 0.
(cherry picked from commit 71fead4c3e03b178d6e6e3ff7592b45cf5f94069)
2019-04-05 18:21:23 -07:00
Evan Hunt
86a7d4c175
refactor tcpquota and pipeline refs; allow special-case overrun in isc_quota
...
- if the TCP quota has been exceeded but there are no clients listening
for new connections on the interface, we can now force attachment to the
quota using isc_quota_force(), instead of carrying on with the quota not
attached.
- the TCP client quota is now referenced via a reference-counted
'ns_tcpconn' object, one of which is created whenever a client begins
listening for new connections, and attached to by members of that
client's pipeline group. when the last reference to the tcpconn
object is detached, it is freed and the TCP quota slot is released.
- reduce code duplication by adding mark_tcp_active() function
- convert counters to atomic
(cherry picked from commit 7e8222378ca24f1302a0c1c638565050ab04681b)
2019-04-05 15:52:42 -07:00
Evan Hunt
7d6518aa9c
better tcpquota accounting and client mortality checks
...
- ensure that tcpactive is cleaned up correctly when accept() fails.
- set 'client->tcpattached' when the client is attached to the tcpquota.
carry this value on to new clients sharing the same pipeline group.
don't call isc_quota_detach() on the tcpquota unless tcpattached is
set. this way clients that were allowed to accept TCP connections
despite being over quota (and therefore, were never attached to the
quota) will not inadvertently detach from it and mess up the
accounting.
- simplify the code for tcpquota disconnection by using a new function
tcpquota_disconnect().
- before deciding whether to reject a new connection due to quota
exhaustion, check to see whether there are at least two active
clients. previously, this was "at least one", but that could be
insufficient if there was one other client in READING state (waiting
for messages on an open connection) but none in READY (listening
for new connections).
- before deciding whether a TCP client object can to go inactive, we
must ensure there are enough other clients to maintain service
afterward -- both accepting new connections and reading/processing new
queries. A TCP client can't shut down unless at least one
client is accepting new connections and (in the case of pipelined
clients) at least one additional client is waiting to read.
(cherry picked from commit c7394738b2445c16f728a88394864dd61baad900)
2019-04-05 15:52:42 -07:00
Michał Kępień and Evan Hunt
890dbb8200
use reference counter for pipeline groups (v3)
...
Track pipeline groups using a shared reference counter
instead of a linked list.
(cherry picked from commit 72eb9275ab8f97364c18abbc79671795f9cc1f23)
2019-04-05 15:52:41 -07:00
Witold Kręcicki and Evan Hunt
7278b66cdf
tcp-clients could still be exceeded (v2)
...
the TCP client quota could still be ineffective under some
circumstances. this change:
- improves quota accounting to ensure that TCP clients are
properly limited, while still guaranteeing that at least one client
is always available to serve TCP connections on each interface.
- uses more descriptive names and removes one (ntcptarget) that
was no longer needed
- adds comments
(cherry picked from commit a43fe7cd3f051f12bb544b6fa364135b1719c587)
2019-04-05 15:52:41 -07:00
Witold Kręcicki and Evan Hunt
264384fbb9
fix enforcement of tcp-clients (v1)
...
tcp-clients settings could be exceeded in some cases by
creating more and more active TCP clients that are over
the set quota limit, which in the end could lead to a
DoS attack by e.g. exhaustion of file descriptors.
If TCP client we're closing went over the quota (so it's
not attached to a quota) mark it as mortal - so that it
will be destroyed and not set up to listen for new
connections - unless it's the last client for a specific
interface.
(cherry picked from commit 9ef6eb4c37ed909c8e2a5508c3b3e510b7b13b85)
2019-04-05 15:52:41 -07:00
Evan Hunt
2af9844179
Merge branch '880-secure-asdfasdfasdf-abacadabra-crash-v9_12_4_patch' into 'v9_12_4_patch'
...
Fix nxdomain-redirect crash when recursive query results in ncache nxdomain
See merge request isc-private/bind9!83
2019-04-05 14:20:20 -07:00
Evan Hunt
82b03ce232
CHANGES, release note
2019-04-05 14:20:18 -07:00
Matthijs Mekking and Evan Hunt
4f00c86ece
Fix nxdomain-redirect assertion failure
...
- Always set is_zonep in query_getdb; previously it was only set if
result was ISC_R_SUCCESS or ISC_R_NOTFOUND.
- Don't reset is_zone for redirect.
- Style cleanup.
(cherry picked from commit 3352270bdbbb39b167072aa282c6b310ffd96a7d)
(cherry picked from commit e2500c60a0a764f35116e57b8d22f3109e97f75b)
2019-04-05 14:19:58 -07:00
Matthijs Mekking and Evan Hunt
21c7c65b05
Add test for nxdomain-redirect ncachenxdomain
...
(cherry picked from commit 8dc43bc9fe934a0b4729cb1c467e62a73a11ebad)
(cherry picked from commit 6093cc063bfe06066c59fd4b84ae7c68cf683215)
2019-04-05 14:19:57 -07:00
Evan Hunt
5acc98e8c7
Merge branch '892-fix-redirect-name-v9_12_4_patch' into 'v9_12_4_patch'
...
use qname in redirect2
Closes #892
See merge request isc-projects/bind9!1561
2019-04-05 14:19:53 -07:00
Mark Andrews and Evan Hunt
29b792a1a5
add CHANGES
2019-04-05 14:19:51 -07:00
Mark Andrews and Evan Hunt
7c94f4b8f0
use client->query.qname
...
(cherry picked from commit 8758d36a5e )
(cherry picked from commit e7826648272b341a84e497a1e17756d359b64444)
2019-04-05 14:19:38 -07:00
Tinderbox User
a953e08740
Merge branch 'prep-release' into v9_12
2019-02-27 23:42:04 +00:00
Tinderbox User
2920b4155f
prep 9.12.4
2019-02-27 23:41:36 +00:00
Tinderbox User
fdb01cd050
Merge branch 'prep-release' into v9_12
2019-02-21 04:11:49 +00:00
Tinderbox User
8e8ead807f
rebuild configure
2019-02-21 04:11:20 +00:00
Evan Hunt
d5c8108375
Merge branch 'broken-test' into v9_12
2019-02-20 19:45:43 -08:00
Evan Hunt
b3dbbe4bd8
fixed an error in the mkeys system test
2019-02-20 19:45:43 -08:00
Tinderbox User and Evan Hunt
e9c931690a
Merge branch 'prep-release' into v9_12
2019-02-20 19:45:42 -08:00
Tinderbox User and Evan Hunt
c798c983e0
doc rebuild
2019-02-20 19:45:41 -08:00
Tinderbox User and Evan Hunt
1fb54b7bd6
prep 9.12.4rc1
2019-02-20 19:45:38 -08:00
Evan Hunt
50e0734a01
Merge branch 'security-dlz-axfr-deny-broken-security-v9_12' into 'security-v9_12'
...
denied axfr requests were not effective for writable DLZ zones
See merge request isc-private/bind9!57
2019-02-20 19:45:15 -08:00
Mark Andrews and Evan Hunt
2656ad4bde
add CHANGES and release notes entries
...
(cherry picked from commit 354ad18a12e84e5c660ce8e08e56382e529d8b2c)
2019-02-20 19:45:15 -08:00
Evan Hunt
7a0714e419
Merge 'keytag-memleak' into security-v9_12
2019-02-20 19:45:14 -08:00
Mark Andrews and Evan Hunt
e6bba06951
denied axfr requests were not effective for writable DLZ zones
...
(cherry picked from commit d9077cd0038e59726e1956de18b4b7872038a283)
2019-02-20 19:45:14 -08:00
Mark Andrews and Evan Hunt
78928f17ee
add CHANGES and release note entries
...
(cherry picked from commit 8134c9a3f3bf46455ce4d16f2bf01e086d20f69b)
2019-02-20 19:45:13 -08:00
Mark Andrews and Evan Hunt
22018e332a
check that multiple KEY-TAG trust-anchor-telemetry options don't leak memory
...
(cherry picked from commit 4b1dc4a5445e9561f2208f9388cf9f9e2cfcbe51)
2019-02-20 19:45:13 -08:00
Evan Hunt
6c72669909
Merge 'managed-key-assert' into security-v9_12
2019-02-20 19:45:12 -08:00
Mark Andrews and Evan Hunt
3b88bc3d3b
silently ignore additional keytag options
...
(cherry picked from commit 36158e6c96e982768bd33d4090cbe563718534f2)
2019-02-20 19:45:12 -08:00
Evan Hunt
066330fd29
use algorithm 255 for both unsupported keys
2019-02-20 19:45:11 -08:00
Matthijs Mekking and Evan Hunt
89536c5024
CHANGES, notes
...
(cherry picked from commit f0eefb06d488cc99e8b4a4b7238e4a556afb7586)
2019-02-20 19:45:11 -08:00
Matthijs Mekking and Evan Hunt
2f93529a53
Update keyfetch_done compute_tag check
...
If in keyfetch_done the compute_tag fails (because for example the
algorithm is not supported), don't crash, but instead ignore the
key.
(cherry picked from commit b1d5411569ae10830b63f07560091193646cc739)
2019-02-20 19:45:10 -08:00
Matthijs Mekking and Evan Hunt
fd6638e4c3
Add tests for mkeys with unsupported algorithm
...
These tests check if a key with an unsupported algorithm in
managed-keys is ignored and when seeing an algorithm rollover to
an unsupported algorithm, the new key will be ignored too.
(cherry picked from commit 144cb53d0ae3aa5e6e3123720b603f9ab2bd1fa9)
2019-02-20 19:45:10 -08:00
Matthijs Mekking and Evan Hunt
8d4741af21
Don't free key in compute_tag in case of failure
...
If `dns_dnssec_keyfromrdata` failed we don't need to call
`dst_key_free` because no `dstkey` was created. Doing so
nevertheless will result in an assertion failure.
This can happen if the key uses an unsupported algorithm.
(cherry picked from commit 7a1ca39b950b7d5230b605ac60f15a1cb94e3d69)
2019-02-20 19:45:09 -08:00
Evan Hunt
70a1bc15b7
Merge branch '823-masterformat-test-fix-v9_12' into 'v9_12'
...
fix broken masterformat test
See merge request isc-projects/bind9!1554
2019-02-20 22:39:13 -05:00
Evan Hunt
d15aed8325
fix broken masterformat test
...
- dig command had the @ parameter in the wrong place
- private-dnskey and private-cdnskey are queried in a separate
loop, which strips 'private-' from the name to determine the qtype
(cherry picked from commit bc7b34d6ef )
2019-02-20 19:15:33 -08:00
Evan Hunt
4b331c4e75
Merge branch 'each-enable-threads' into 'v9_12'
...
enable threads by default on openbsd 6.2 and higher
See merge request isc-projects/bind9!1548
2019-02-20 21:58:04 -05:00
Evan Hunt
60125f1ecc
CHANGES
2019-02-20 18:46:55 -08:00
Evan Hunt
95fff9538f
enable threads by default on openbsd 6.2 and higher
2019-02-20 18:29:53 -08:00
Evan Hunt
2472a97072
Merge branch 'each-fix-timer-test' into 'v9_12'
...
timer_test failed to compile if cmocka was enabled but threads were not
See merge request isc-projects/bind9!1547
2019-02-20 21:22:27 -05:00
Evan Hunt
c73e3175c7
timer_test failed to compile if cmocka was enabled but threads were not
2019-02-20 13:35:51 -08:00
Mark Andrews
4ac4806d71
Merge branch '884-patches-to-review-v9_12' into 'v9_12'
...
Correct errno to result translation
See merge request isc-projects/bind9!1540
2019-02-19 18:29:27 -05:00
Mark Andrews
a13c6e9579
add CHANGES
...
(cherry picked from commit a0c0d76029 )
2019-02-20 10:16:59 +11:00
Mark Andrews
c0b14949be
correct errno to result translation
...
(cherry picked from commit 218ce34e7d )
2019-02-20 10:16:59 +11:00
Mark Andrews
2b4d66c1c3
Merge branch '836-building-fails-in-build-subdirectory-when-dnstap-is-enabled-v9_12' into 'v9_12'
...
Resolve "Building fails in build subdirectory when dnstap is enabled"
See merge request isc-projects/bind9!1538
2019-02-19 17:58:38 -05:00
Mark Andrews
ad3e5049c5
add CHANGES
...
(cherry picked from commit 3a21fdf884 )
2019-02-20 09:45:45 +11:00
Mark Andrews
471a69abc2
teach proto_c to look in the source directory for out of tree builds
...
(cherry picked from commit c0d4ff5796 )
2019-02-20 09:45:45 +11:00
Mark Andrews
54e2ccb232
Merge branch '877-clang-scan-build-redundant-assignments-detected-v9_12' into 'v9_12'
...
Remove redundant assignments
See merge request isc-projects/bind9!1536
2019-02-19 17:30:15 -05:00
Mark Andrews
65d78a3772
remove redundant assignment
...
(cherry picked from commit f475dc75b1 )
2019-02-19 10:23:45 +11:00
Mark Andrews
2b96fe7c53
silence clang
...
(cherry picked from commit 7b60f6832e )
2019-02-19 10:23:45 +11:00
Mark Andrews
24336749f0
don't overwrite result
...
(cherry picked from commit 70fab477b1 )
2019-02-19 10:21:48 +11:00
Mark Andrews
52ccbcd5a1
remove seen_dname
...
(cherry picked from commit 63c03cdb2d )
2019-02-19 10:18:19 +11:00
Mark Andrews
59b82cecc6
Merge branch '877-clang-scan-build-redundant-assignments-detected-2-v9_12' into 'v9_12'
...
decode_NegTokenInit failed to cleanup allocated memory on error.
See merge request isc-projects/bind9!1529
2019-02-18 17:51:02 -05:00
Mark Andrews
ea232ab917
fix memory leak
...
(cherry picked from commit 7114d16098 )
2019-02-19 09:37:48 +11:00
Mark Andrews
961f9c5557
Merge branch '877-clang-scan-build-redundant-assignments-detected-2-v9_12' into 'v9_12'
...
Add missing asserts to socket_test.c and dnstest.c
See merge request isc-projects/bind9!1524
2019-02-18 16:46:25 -05:00
Mark Andrews
48d49338a3
assert result is ISC_R_SUCCESS
...
(cherry picked from commit 76a1c1531a )
2019-02-19 08:00:13 +11:00
Mark Andrews
9daedd5482
Merge branch 'u/fanf2/dnssec-keymgr-man-v9_12' into 'v9_12'
...
Improve dnssec-keymgr manual
See merge request isc-projects/bind9!1520
2019-02-18 00:05:47 -05:00
Tony Finch and Mark Andrews
66f60c1d2c
Improve dnssec-keymgr manual
...
Illustrate the syntax for the policy options, with semicolons.
Explicitly mention the "default" policy.
Fix a few typos and remove some redundant wording.
(cherry picked from commit 7ee56e2abd )
2019-02-18 15:45:28 +11:00
Evan Hunt
8f8d7db50e
Merge branch '879-dnssec-checkds-help-v9_12' into 'v9_12'
...
Correct path in dnssec-checkds help
See merge request isc-projects/bind9!1516
2019-02-14 16:06:10 -05:00
Petr Menšík and Evan Hunt
87c3f93066
Correct path in dnssec-checkds help
...
(cherry picked from commit 7bd544e795 )
2019-02-14 12:52:32 -08:00
Mark Andrews
2ab6d46f04
Merge branch '871-add-a-ci-check-for-missing-prereq.sh-scripts-v9_12' into 'v9_12'
...
Add a CI check for missing prereq.sh scripts
See merge request isc-projects/bind9!1508
2019-02-11 18:03:06 -05:00
Mark Andrews
6fd4532933
add util/check-ans-prereq to precheck
...
(cherry picked from commit 74c1c37563 )
2019-02-12 09:03:29 +11:00
Mark Andrews
da1b1286c9
add check-ans-prereq
...
(cherry picked from commit ec2ecffef1 )
2019-02-12 09:03:29 +11:00
Evan Hunt
1986e117d1
Merge branch '872-dlz-ldap-dname-v9_12' into 'v9_12'
...
added DNAME support to DLZ LDAP schema, and fixed a DLZ compile error
See merge request isc-projects/bind9!1503
2019-02-10 17:24:04 -05:00
Evan Hunt
04f26338a8
added DNAME support to DLZ LDAP schema, and fixed a DLZ compile error
...
Thanks to Roland Gruber for the schema contribution.
(cherry picked from commit 2e3b5db195 )
2019-02-10 14:09:29 -08:00
Evan Hunt
287da15438
Merge branch 'u/fanf2/zonemd-v9_12' into 'v9_12'
...
Correct ZONEMD expansion in ARM
See merge request isc-projects/bind9!1499
2019-02-08 16:18:51 -05:00
Tony Finch and Evan Hunt
65334e1df9
Correct ZONEMD expansion in ARM
...
(cherry picked from commit af74f18536 )
2019-02-08 13:17:00 -08:00
Michał Kępień
15f660ca3a
Merge branch '869-prereq-sh-needed-in-forward-test-v9_12' into 'v9_12'
...
[v9_12] Resolve "prereq.sh needed in forward test"
See merge request isc-projects/bind9!1495
2019-02-08 09:05:04 -05:00
Curtis Blackburn and Michał Kępień
bfe8e7ea94
added prereq.sh to forward test to detect perl Net::DNS
...
(cherry picked from commit 8c929bd7c5 )
2019-02-08 14:36:41 +01:00
Mark Andrews
ab3066ef6d
Merge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'
...
Resolve "rrtypes missing from named"
See merge request isc-projects/bind9!1491
2019-02-07 22:30:56 -05:00
Mark Andrews
3e31e71b67
add AMTRELAY and ZONEMD to ARM
...
(cherry picked from commit b06c5f8cfd )
2019-02-08 14:10:17 +11:00
Mark Andrews
547bf4efd2
fix AMTRELAY name
...
(cherry picked from commit a9fadafecd )
2019-02-08 14:10:17 +11:00
Evan Hunt
7eb0486f73
Merge branch 'each-dnssec-coverage-dots-v9_12' into 'v9_12'
...
dnssec-coverage was improperly ignoring some zones
See merge request isc-projects/bind9!1488
2019-02-07 20:58:23 -05:00
Evan Hunt
a9d79b6001
CHANGES
...
(cherry picked from commit a242c704f5 )
2019-02-07 17:33:01 -08:00
Evan Hunt
ddcd3b61be
adjust style, match test to other tests
...
(cherry picked from commit 9949163936 )
2019-02-07 17:33:00 -08:00
Tony Finch and Evan Hunt
8b4c9c3981
dnssec-coverage: fix handling of zones without trailing dots
...
After change 5143, zones listed on the command line without trailing
dots were ignored.
(cherry picked from commit a159675f44 )
2019-02-07 17:33:00 -08:00
Mark Andrews
ad8a5058e4
Merge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'
...
Resolve "rrtypes missing from named"
See merge request isc-projects/bind9!1485
2019-02-07 18:42:25 -05:00
Mark Andrews
7fb8e80d52
add top of range checks
...
(cherry picked from commit 8d69e15988 )
2019-02-08 10:27:41 +11:00
Mark Andrews
39c8e63f86
Merge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'
...
Resolve "rrtypes missing from named"
See merge request isc-projects/bind9!1481
2019-02-07 17:01:53 -05:00
Evan Hunt and Mark Andrews
c482142518
CHANGES
...
(cherry picked from commit 72f6fb0697 )
2019-02-08 08:32:45 +11:00
Evan Hunt and Mark Andrews
079d86dd31
Add support for ZONEMD
...
(cherry picked from commit 3183663dd4 )
2019-02-08 08:32:45 +11:00
Mark Andrews
93a8a99191
Add support for ATMRELAY
...
(cherry picked from commit 66922ee7af )
2019-02-08 08:32:44 +11:00
Mark Andrews
142b13da4d
Merge branch '207-nslookup-takes-2-argvs-w-o-errors-uses-only-1st-and-last-v9_12' into 'v9_12'
...
Resolve "nslookup takes >2 argvs w/o errors, uses only 1st and last"
See merge request isc-projects/bind9!1476
2019-02-07 08:18:25 -05:00
Mark Andrews
42458336e4
error out if there are extra command line options
...
(cherry picked from commit f73816ff0f )
2019-02-07 23:44:53 +11:00
Mark Andrews
1080af1de4
Merge branch '857-inline-system-test-wasn-t-cleaning-k-files-on-restart-if-interrupted-v9_12' into 'v9_12'
...
Resolve "inline system test wasn't cleaning K* files on restart if interrupted."
See merge request isc-projects/bind9!1471
2019-02-06 02:05:03 -05:00
Ondřej Surý and Mark Andrews
bec6058ead
Simplify the inline clean script
...
(cherry picked from commit 519152b191 )
2019-02-06 17:51:50 +11:00
Mark Andrews
a908c62b0c
clean K* files in inline system test directory
...
(cherry picked from commit 1878efe661 )
2019-02-06 17:20:22 +11:00
Evan Hunt
977ca062ae
Merge branch 'u/fanf2/cleanup-cdnskey-to-ds-v9_12' into 'v9_12'
...
cleanup: allow building DS directly from CDNSKEY
See merge request isc-projects/bind9!1469
2019-02-06 00:48:39 -05:00
Tony Finch and Evan Hunt
1be4212eef
cleanup: allow building DS directly from CDNSKEY
...
Relax an assertion in lib/dns/ds.c so that dnssec-cds does
not have to work around it. This will also be useful for
dnssec-dsfromkey.
(cherry picked from commit 2e173bbd24 )
2019-02-05 21:22:54 -08:00
Evan Hunt
eb8a188c4c
Merge branch 'u/fanf2/cleanup-dnssec-revoke-help-v9_12' into 'v9_12'
...
cleanup: fix dnssec-revoke help text
See merge request isc-projects/bind9!1466
2019-02-06 00:21:10 -05:00
Tony Finch and Evan Hunt
12d3b27a82
cleanup: fix dnssec-revoke help text
...
Correct alignment and alphabetize
(cherry picked from commit f7b2bd304e )
2019-02-05 21:15:14 -08:00
Evan Hunt
fd376f85a5
Merge branch 'u/fanf2/dsfromkey-man-v9_12' into 'v9_12'
...
cleanup: revamp the dnssec-dsfromkey man page and help output
See merge request isc-projects/bind9!1464
2019-02-05 23:18:29 -05:00
Tony Finch and Evan Hunt
fb9bc8f871
cleanup: revamp the dnssec-dsfromkey man page and help output
...
* Alphabetize the option lists in the man page and help text
* Make the synopses more consistent between the man page and help
text, in particular the number of different modes
* Group mutually exclusive options in the man page synopses, and order
options so that it is more clear which are available in every mode
* Expand the DESCRIPTION to provide an overview of the output modes
and input modes
* Improve cross-references between options
* Leave RFC citations to the SEE ALSO section, and clarify which RFC
specifies what
* Clarify list of digest algorithms in dnssec-dsfromkey and dnssec-cds
man pages
(cherry picked from commit 6ca8e130ac )
2019-02-05 20:10:44 -08:00
Mark Andrews
bdc6039cae
Merge branch '860-process_opt-could-be-called-multiple-times-on-the-same-message-in-dig-v9_12' into 'v9_12'
...
Resolve "process_opt() could be called multiple times on the same message in dig."
See merge request isc-projects/bind9!1460
2019-02-05 21:39:33 -05:00
Mark Andrews
200077efb2
add CHANGES
...
(cherry picked from commit 946d5c2c1e )
2019-02-06 13:13:46 +11:00
Mark Andrews
48fedfce69
send over and undersized cookie
...
(cherry picked from commit 0207199bb8 )
2019-02-06 13:13:11 +11:00
Mark Andrews
bb3a5986bb
the condition test for checking the client cookie value was wrong; don't call process_opt multiple times
...
(cherry picked from commit d9c368eee0 )
2019-02-06 13:13:11 +11:00
Michał Kępień
7b989a060d
Merge branch '822-test-make-install-in-one-of-the-build-jobs-v9_12' into 'v9_12'
...
[v9_12] Test "make install" in one of the build jobs
See merge request isc-projects/bind9!1456
2019-02-05 15:37:31 -05:00
Michał Kępień
1f985580cc
Test "make install" in one of the build jobs
...
Running "make install" in a separate job in the "test" phase of a CI
pipeline causes a lot of object files to be rebuilt due to the way
artifacts are passed between GitLab CI jobs (object files extracted from
the artifacts archive have older modification times than their
respective source files checked out using Git by the worker running the
"install" job). Test "make install" in one of the build jobs instead,
in order to prevent object rebuilding.
Using 'after_script' for this purpose was not an option because its
failures are ignored.
Duplicating the build script in two places would be error-prone in the
long run and thus was rejected as a solution. YAML anchors would also
not help in this case.
A "positive" test (`test -n "${RUN_MAKE_INSTALL}" && make install`)
would not work because:
- it would cause the build script to fail for any job not supposed to
run "make install",
- appending `|| :` to the shell pipeline would prevent "make install"
errors from causing a job failure.
Due to the above, a "negative" test is performed, so that:
- jobs not supposed to run "make install" succeed immediately,
- jobs supposed to run "make install" only succeed when "make install"
succeeds.
(cherry picked from commit 2a231b6239 )
2019-02-05 21:10:33 +01:00
Evan Hunt
7681057cd5
Merge branch 'each-win-tests-v9_12' into 'v9_12'
...
tests failing on windows due to false crash-on-shutdown reports
See merge request isc-projects/bind9!1447
2019-02-01 01:57:06 -05:00
Evan Hunt
cd0b538e90
disable the check for crash on shutdown when running under cygwin
...
(cherry picked from commit 449842e1ce )
2019-01-31 22:56:17 -08:00
Evan Hunt
94969bd1cf
Merge branch '623-rpz-logging-to-include-qclass-and-qtype-v9_12' into 'v9_12'
...
Resolve "RPZ logging to include QCLASS and QTYPE"
See merge request isc-projects/bind9!1444
2019-01-31 21:03:13 -05:00
Mark Andrews and Evan Hunt
fb731a4d4e
add CHANGES note
...
(cherry picked from commit 505a1ceda4 )
2019-01-31 17:40:31 -08:00
Mark Andrews and Evan Hunt
5115d677de
log RPZ type and class
...
(cherry picked from commit 28442f11f0 )
2019-01-31 17:39:29 -08:00
Evan Hunt
767062da85
Merge branch 'each-silence-warning-v9_12' into 'v9_12'
...
silence a spurious dnssec-keygen warning in the dnssec system test
See merge request isc-projects/bind9!1442
2019-01-31 17:12:59 -05:00
Evan Hunt
47d1688078
silence a spurious dnssec-keygen warning in the dnssec system test
...
the occluded-key test creates both a KEY and a DNSKEY. the second
call to dnssec-keygen calls dns_dnssec_findmatchingkeys(), which causes
a spurious warning to be printed when it sees the type KEY record.
this should be fixed in dnssec.c, but the meantime this change silences
the warning by reversing the order in which the keys are created.
(cherry picked from commit 6661db9564 )
2019-01-31 14:00:14 -08:00
Evan Hunt
0f1267822e
Merge branch '101-dumpdb-stale-ttl-v9_12' into 'v9_12'
...
Resolve "[Support#12071] [RT#46548] Output stale/expired data with 'rndc dumpdb'"
See merge request isc-projects/bind9!1436
2019-01-31 13:45:59 -05:00
Matthijs Mekking and Evan Hunt
420c92f619
CHANGES
2019-01-31 10:30:12 -08:00
Matthijs Mekking and Evan Hunt
cf235900d7
Add tests for dumpdb stale ttl
...
This adds a test for rndc dumpdb to ensure the correct "stale
comment" is printed. It also adds a test for non-stale data to
ensure no "stale comment" is printed for active RRsets.
In addition, the serve-stale tests are hardened with more accurate
grep calls.
2019-01-31 10:30:11 -08:00
Matthijs Mekking and Evan Hunt
68e3472a62
Print in dump-file stale ttl
...
This change makes rndc dumpdb correctly print the "; stale" line.
It also provides extra information on how long this data may still
be served to clients (in other words how long the stale RRset may
still be used).
2019-01-31 10:30:11 -08:00
Evan Hunt
071d322e6d
Merge branch '850-catch-shutdown-aborts-v9_12' into 'v9_12'
...
detect crash on shutdown in stop.pl
See merge request isc-projects/bind9!1440
2019-01-31 12:54:15 -05:00
Evan Hunt
ab5feb57ef
detect crash on shutdown in stop.pl
...
(cherry picked from commit 9bf37f4e48 )
2019-01-31 09:42:49 -08:00
Evan Hunt
9f34e4e589
Merge branch '849-fix-tkey-leak-v9_12' into 'v9_12'
...
fix TKEY problems
See merge request isc-projects/bind9!1438
2019-01-31 12:40:18 -05:00
Evan Hunt
51589d0392
Change #4148 wasn't complete
...
- there was a memory leak when using negotiated TSIG keys.
- TKEY responses could only be signed when using a newly negotiated
key; if an existent matching TSIG was found in in the keyring it
would not be used.
(cherry picked from commit 73ba24fb36 )
2019-01-31 09:28:51 -08:00
Evan Hunt
45500c0f91
Merge branch '821-matthijs-unsigned-gss-tsig-tkey-query-response-v9_12' into 'v9_12'
...
Resolve "Unsigned GSS-TSIG TKEY Query Response"
See merge request isc-projects/bind9!1430
2019-01-30 15:32:53 -05:00
Matthijs Mekking and Evan Hunt
c82eb3b3ca
Update CHANGES
...
(cherry picked from commit f1c6e01a0f )
2019-01-30 12:11:29 -08:00
Matthijs Mekking and Evan Hunt
879fc0285e
allow TSIG key to be added to message structure after parsing
...
up until now, message->tsigkey could only be set during parsing
of the request, but gss-tsig allows one to be created afterward.
2019-01-30 12:11:23 -08:00
Matthijs Mekking and Evan Hunt
b0b846a4bb
Harden GSS-TSIG tests, verify signed TKEY response
2019-01-30 12:11:08 -08:00
Mark Andrews
421582dec4
Merge branch '848-keymgr-19-old-keys-failing-on-penguin-v9_12' into 'v9_12'
...
Resolve "keymgr 19-old-keys failing on penguin"
See merge request isc-projects/bind9!1425
2019-01-30 00:35:24 -05:00
Mark Andrews
8da77d9af3
add CHANGES
...
(cherry picked from commit b9d5a62bdc )
2019-01-30 16:00:52 +11:00
Mark Andrews
e5cbb2e03c
add 300 seconds of fudge
...
(cherry picked from commit acf0292da4 )
2019-01-30 16:00:17 +11:00
Mark Andrews
cb2d79b456
only use a single policy file when testing.
...
(cherry picked from commit 36ea9b8181 )
2019-01-30 16:00:14 +11:00
Evan Hunt
5204f46f1e
Merge branch '841-openssl-null-free' into 'v9_12'
...
Do not fail on NULL passed to OpenSSL_free
See merge request isc-projects/bind9!1422
2019-01-29 18:34:28 -05:00
Petr Menšík and Evan Hunt
a26673a088
Do not fail on NULL passed to OpenSSL_free
...
Some plugins might call it after deconstruction. Do not crash if there
is no reason for it.
2019-01-29 18:23:57 -05:00
Evan Hunt
eaa762e64c
Merge branch '766-querytrace-doc-v9_12' into 'v9_12'
...
Resolve "--enable-querytrace has negative performance impact - update the documentation to say this"
See merge request isc-projects/bind9!1419
2019-01-29 17:25:00 -05:00
Evan Hunt
87b0098b4e
added querytrace documentation in README
...
also rearranged things a little, adding a "dependencies" section
(cherry picked from commit 51048ca06e )
2019-01-29 14:24:11 -08:00
Michał Kępień
fed60762b2
Merge branch 'michal/add-fedora-29-to-ci-v9_12' into 'v9_12'
...
[v9_12] Add Fedora 29 to CI
See merge request isc-projects/bind9!1415
2019-01-29 07:53:17 -05:00
Michał Kępień
5598e75eff
Add Fedora 29 to CI
...
Modify .gitlab-ci.yml so that every CI pipeline also builds and tests
BIND on Fedora 29.
(cherry picked from commit 38b6c5c444 )
2019-01-29 13:32:23 +01:00
Evan Hunt
af210be820
Merge branch '259-named-args-v9_12' into 'v9_12'
...
add properly-formatted -D options to named.args files
See merge request isc-projects/bind9!1411
2019-01-29 00:40:28 -05:00
Evan Hunt
96bf857b65
also add -D options for transient named processes started in tests.sh
...
(cherry picked from commit dd45831acc )
2019-01-28 21:19:28 -08:00
Evan Hunt
e233f33fc3
add properly-formatted -D options to named.args files
...
this prevents servers that use arguments specified in named.args
from appearing different in 'ps' output from servers run with arguments
from start.pl
(cherry picked from commit 175d6e9bfb )
2019-01-28 21:19:25 -08:00
Evan Hunt
b3bdb23190
Merge branch 'each-fix-logfileconfig-v9_12' into 'v9_12'
...
reset SYSTEMTESTTOP when changing directories
See merge request isc-projects/bind9!1409
2019-01-29 00:06:32 -05:00
Evan Hunt
2a53564d08
reset SYSTEMTESTTOP when changing directories
...
(cherry picked from commit 70f36a25e4 )
2019-01-28 20:40:48 -08:00
Evan Hunt
a2adf3ea69
Merge branch 'each-win32-tests-v9_12' into 'v9_12'
...
fix win32 tests (v9_12)
See merge request isc-projects/bind9!1399
2019-01-25 16:00:18 -05:00
Evan Hunt
29e89d08f7
fix rrl test
...
strip CR characters before using awk/sed
2019-01-25 11:24:11 -08:00
Evan Hunt
9d1b0f314d
fix rpz test
...
- work around a CR newline problem
- use rndc to stop servers
2019-01-25 11:24:11 -08:00
Evan Hunt
b322cc74ea
fix rpzrecurse test
...
use rndc to stop servers
2019-01-25 11:24:11 -08:00
Evan Hunt
e37a32276e
fix dnssec test
...
- work around CR issues
- use UTC for time comparisons
- use $DIFF instead of cmp
2019-01-25 11:24:11 -08:00
Evan Hunt
7658ba4216
fix legacy test
...
use rndc rather than signals to stop the server
2019-01-25 11:24:11 -08:00
Evan Hunt
1e1f1d4ef7
fix fetchlimit test
...
use TCP for the test queries in between UDP bursts; this avoids
congestion issues that interfered with the test on windows
2019-01-25 11:24:11 -08:00
Evan Hunt
678c3211af
fix sfcache test
...
use a lame server configuration to force SERVFAILs instead of killing ns2.
this prevents test failures that occurred due to a different behavior of
the netowrking stack in windows.
2019-01-25 11:24:10 -08:00
Evan Hunt
d04e771dcf
fix nsupdate test
...
rndc_reload was failing on windows
2019-01-25 11:24:10 -08:00
Evan Hunt
b282b4dd5e
fix rndc test
...
use regex instead of exact string matching to deal with CR at end of line
2019-01-25 11:24:10 -08:00
Evan Hunt
28f8899e21
fix statistics test
...
the active sockets test is supposed to be commented out on win32, but
only part of it was
2019-01-25 11:24:10 -08:00
Evan Hunt
0b0c110577
fix redirect test
...
strip CR characters before using sed
2019-01-25 11:24:10 -08:00
Evan Hunt
75278f0f54
fix notify test
...
test the average delay between notifies instead of the minimum delay;
this helps avoid unnecessary test failures on systems with bursty
network performance.
2019-01-25 11:24:10 -08:00
Evan Hunt
bb256ea268
fix masterformat test
...
use stop.pl instead of rndc to stop server
2019-01-25 11:24:10 -08:00
Evan Hunt
95d2dff101
fix inline test
...
use regex instead of exact string matching, to deal with CR at end of ine
2019-01-25 11:24:10 -08:00
Evan Hunt
9dc3aac7a7
fix forward test
...
strip CR characters before using sed
2019-01-25 11:24:09 -08:00
Evan Hunt
659bc0d09d
fix cookie test
...
strip CR characters before comparing files
2019-01-25 11:24:09 -08:00
Evan Hunt
0279793e03
fix cds test
...
- use $PERL instead of perl
- use $DIFF instead of cmp for windows portability; cmp doesn't
handle CR characters properly
2019-01-25 11:24:09 -08:00
Evan Hunt
362eb56189
use $DIFF instead of diff
2019-01-25 11:24:09 -08:00
Evan Hunt
bd9ffedbcf
set and use SYSTEMTESTTOP consistently
2019-01-25 11:24:09 -08:00
Evan Hunt
2189f00e63
complete the set of tools available in windows tests
...
- dnssec-cds wasn't being built for windows
- nsec3hash was available, but the NSEC3HASH variable wasn't
set in conf.sh.win32
2019-01-25 11:24:09 -08:00
Evan Hunt
3cf4ecf177
more reliable method for killing "ans" servers on windows
...
as perl and python are both native to cygwin, we don't want to use
the "kill -f" option to terminate them.
2019-01-25 10:43:10 -08:00
Evan Hunt
b5f8d60565
update ifconfig.bat with current test interfaces
...
the addresses set up in ifconfig.bat were out of sync with the
ones in ifconfig.sh
2019-01-25 10:43:10 -08:00
Evan Hunt
47ef534511
update conf.sh.win32 test list
...
- the test lists in conf.sh.in and conf.sh.win32 were out of sync
2019-01-25 10:43:10 -08:00
Evan Hunt
fe901beade
Merge branch '560-dnssec-keymgr-root-v9_12' into 'v9_12'
...
improve handling of trailing dots in dnssec-keymgr and dnssec-coverage
See merge request isc-projects/bind9!1394
2019-01-24 17:23:36 -05:00
Evan Hunt
4f06d65e38
improve handling of trailing dots in dnssec-keymgr and dnssec-coverage
...
- mishandling of trailing dots caused bad behavior with the
root zone or names like "example.com."
- fixing this exposed an error in dnssec-coverage caused the
wrong return value if there were KSK errors but no ZSK errors
- incidentally silenced the dnssec-keygen output in the coverage
system test
(cherry picked from commit 1ccf4e6c16 )
2019-01-24 13:51:53 -08:00
Evan Hunt
0c2ba7d303
Merge branch 'each-dead-code-cleanup-v9_12' into 'v9_12'
...
remove dead RPZ code
See merge request isc-projects/bind9!1393
2019-01-24 15:05:12 -05:00
Matthijs Mekking and Evan Hunt
a5c834b49b
Remove dead code
...
(cherry picked from commit 7c13f1779e )
2019-01-24 12:04:32 -08:00
Evan Hunt
166a3aad4d
Merge branch 'each-set-magic-last-v9_12' into 'v9_12'
...
set the magic number at the end of dns_dt_create()
See merge request isc-projects/bind9!1386
2019-01-23 14:15:04 -05:00
Evan Hunt
950023d36e
set the magic number at the end of dns_dt_create()
...
(cherry picked from commit c29abd307c )
2019-01-23 11:13:32 -08:00
Evan Hunt
4c0460f143
Merge branch '117-running-dnssec-keymgr-with-old-keys-inactivates-deletes-them-immediately-v9_12' into 'v9_12'
...
Resolve "Running dnssec-keymgr with old keys inactivates/deletes them immediately"
See merge request isc-projects/bind9!1379
2019-01-22 13:44:42 -05:00
Mark Andrews and Evan Hunt
15b4240764
introducing keymgr need to preserve functionality
...
(cherry picked from commit 083b730ec7 )
2019-01-22 10:22:10 -08:00
Evan Hunt
b8cb9077e2
Merge branch '630-dont-enable-fips-mode-on-windows-v9_12' into 'v9_12'
...
Disable FIPS mode on Windows
See merge request isc-projects/bind9!1375
2019-01-21 17:01:46 -05:00
Ondřej Surý and Evan Hunt
8633be8269
Disable FIPS mode on Windows
...
(cherry picked from commit 6aae193ded )
2019-01-21 14:01:24 -08:00
Mark Andrews
1ef4bc4dd1
Merge branch 'each-remove-fprintf-v9_12' into 'v9_12'
...
clean up debugging fprintf
See merge request isc-projects/bind9!1369
2019-01-21 01:12:44 -05:00
Evan Hunt and Mark Andrews
bc912227d6
removed a debugging fprintf
...
(cherry picked from commit 6c478a3dae )
2019-01-21 17:00:57 +11:00
Michał Kępień
d1727a02a2
Merge branch 'michal/gitlab-ci-cleanup-v9_12' into 'v9_12'
...
[v9_12] GitLab CI cleanup
See merge request isc-projects/bind9!1361
2019-01-18 09:42:38 -05:00
Michał Kępień
cb400e5a76
Add comments
...
(cherry picked from commit a27b9dff18 )
2019-01-18 15:26:50 +01:00
Michał Kępień
c62a3f85ac
Unify YAML style used throughout .gitlab-ci.yml
...
(cherry picked from commit a61bf39688 )
2019-01-18 15:26:50 +01:00
Michał Kępień
dfa5759b41
Tweak pipeline triggering settings
...
In an attempt to ensure that:
- all important changes to repository contents are tested,
- pipelines are not automatically created for every single push,
- some flexibility is allowed for corner cases,
change pipeline triggering settings so that:
- full build & test pipelines are only automatically created for merge
requests and tags (both for creation and updates),
- pipelines for other repository changes (e.g. pushes to arbitrary
branches) can only be created manually, using GitLab's web
interface,
- merging a merge request only causes jobs pushing the updated ARM to
GitLab Pages to be run (as semi-linear Git history is enforced and
thus testing a MR is identical to testing the target branch
post-merge in terms of code),
- repository synchronization does not trigger duplicate pipelines in
projects which are set as mirroring targets.
(cherry picked from commit 1c8c1815e4 )
2019-01-18 15:26:50 +01:00
Michał Kępień
7b8a5b4c00
Reorder job definitions
...
Group jobs by build type and operating system to make the layout of
.gitlab-ci.yml more consistent and improve locality of YAML references.
(cherry picked from commit a1dbec3b08 )
2019-01-18 15:26:49 +01:00
Michał Kępień
8c72ed35bc
Use a common naming pattern for all jobs
...
Make sure all jobs are named using the following pattern:
[<job-type>:]<build-type>:<system>:<architecture>
where specifying <job-type> is optional for "precheck" and "build" jobs.
This should make it easier to quickly recognize:
- what kind of actions are performed by each job,
- which BIND build flavor is used by each job,
- which operating system image is used by each job.
(cherry picked from commit 1fe432c6c3 )
2019-01-18 15:26:49 +01:00
Michał Kępień
bba30accad
Define a template for precheck jobs
...
(cherry picked from commit e0b5dd67a1 )
2019-01-18 15:26:49 +01:00
Michał Kępień
30e5f81a10
Merge install_test_job template into the job definition as it is only used once
...
(cherry picked from commit de1948398d )
2019-01-18 15:26:49 +01:00
Michał Kępień
82ba1f577f
Shorten Docker image definitions by using YAML anchors for runner tags
...
While we are at it, drop use of the "docker" tag since all BIND CI jobs
are currently run inside Docker containers.
(cherry picked from commit 7dd329d385 )
2019-01-18 15:26:49 +01:00
Michał Kępień
c15e6fdb71
Build ARM in the build stage
...
There is no need to build BIND binaries before building docs and thus
the job building the current version of the ARM can be moved to the
build stage of CI.
(cherry picked from commit 41a67147fe )
2019-01-18 15:26:49 +01:00
Michał Kępień
1920b8234e
Replace double colon with a single colon
...
(cherry picked from commit 75b26d3f50 )
2019-01-18 15:26:49 +01:00
Michał Kępień
0a9b7014a3
Remove unused parts of .gitlab-ci.yml
...
Remove the following from .gitlab-ci.yml:
- unused variable definitions,
- unused Docker image definitions,
- commands which have no effect,
- sections which were commented out.
(cherry picked from commit 9893bd3246 )
2019-01-18 15:26:49 +01:00
Michał Kępień
5b67bd4855
Merge branch '781-fix-python-check-in-configure-script-v9_12' into 'v9_12'
...
[v9_12] Resolve "configure script in BIND 9.13.5 release fails to detect python"
See merge request isc-projects/bind9!1362
2019-01-18 09:22:47 -05:00
Ondřej Surý and Michał Kępień
33873abe16
Add some combinations of --with-python=<path>/--with-python/--without-python to GitLab CI
...
(cherry picked from commit 99cf0faec0 )
2019-01-18 15:15:38 +01:00
Ondřej Surý and Michał Kępień
597e3d0b36
When --with-python is given to configure, use default search list for python binaries instead of 'yes'
...
(cherry picked from commit 3951cb053b )
2019-01-18 15:14:43 +01:00
Evan Hunt
41c30d7934
Merge branch '752-disable-forwarders-when-priming-v9_12' into 'v9_12'
...
If possible don't use forwarders when priming the resolver.
See merge request isc-projects/bind9!1356
2019-01-16 20:16:25 -05:00
Witold Kręcicki and Evan Hunt
f8963ad70e
If possible don't use forwarders when priming the resolver.
...
If we try to fetch a record from cache and need to look into
hints database we assume that the resolver is not primed and
start dns_resolver_prime(). Priming query is supposed to return
NSes for "." in ANSWER section and glue records for them in
ADDITIONAL section, so that we can fill that info in 'regular'
cache and not use hints db anymore.
However, if we're using a forwarder the priming query goes through
it, and if it's configured to return minimal answers we won't get
the addresses of root servers in ADDITIONAL section. Since the
only records for root servers we have are in hints database we'll
try to prime the resolver with every single query.
This patch adds a DNS_FETCHOPT_NOFORWARD flag which avoids using
forwarders if possible (that is if we have forward-first policy).
Using this flag on priming fetch fixes the problem as we get the
proper glue. With forward-only policy the problem is non-existent,
as we'll never ask for root server addresses because we'll never
have a need to query them.
Also added a test to confirm priming queries are not forwarded.
(cherry picked from commit b49310ac06 )
2019-01-16 16:32:43 -08:00
Mark Andrews
be7ba5fbe2
Merge branch 'pkcs11-pubattr-check-v9_12' into 'v9_12'
...
Make sure null atributes are never used
See merge request isc-projects/bind9!1354
2019-01-16 19:09:02 -05:00
Petr Menšík and Mark Andrews
f1fe423aaa
Make sure null atributes are never used
...
Add INSIST to pubattr fetching where null might occur in therory. Make
sure null is never dereferenced.
(cherry picked from commit fe9ef0d9f5 )
2019-01-17 09:00:27 +11:00
Evan Hunt
505528204e
Merge branch '792-bind9-doesn-t-tcp-retransmit-v9_12' into 'v9_12'
...
Resolve "bind9 doesn't tcp retransmit"
See merge request isc-projects/bind9!1348
2019-01-15 20:45:00 -05:00
Mark Andrews and Evan Hunt
a9ceb01fde
adjust timeout to allow for ECN negotiation failures
...
(cherry picked from commit dadb924be7 )
2019-01-15 17:29:48 -08:00
Ondřej Surý
212a05f8c0
Merge branch 'ondrej/fix-race-condition-in-dnstap-v9_12' into 'v9_12'
...
(v9_12) Fix race condition in cleanup part of dns_dt_create()
See merge request isc-projects/bind9!1344
2019-01-15 04:03:13 -05:00
Witold Kręcicki and Ondřej Surý
51276f1c36
Add CHANGES entry for GL!1323
...
(cherry picked from commit 4b5337e06b )
2019-01-15 09:44:14 +01:00
Ondřej Surý
e92bca0222
Fix race condition in cleanup part of dns_dt_create()
...
(cherry picked from commit 482dd7eed3 )
2019-01-15 09:43:10 +01:00
Mark Andrews
af26282fa4
Merge branch '590-win32-sample-gai-c-should-call-wsastartup-v9_12' into 'v9_12'
...
Resolve "[Win32] sample-gai.c should call WSAStartup()"
See merge request isc-projects/bind9!1342
2019-01-15 00:51:12 -05:00
Mark Andrews
e9025653a3
add CHANGES
...
(cherry picked from commit 4500d9e91a )
2019-01-15 16:29:05 +11:00
Mark Andrews
6cb48b7a41
ensure that WSAStartup is called before getservbyname
...
(cherry picked from commit ac01359871 )
2019-01-15 16:29:04 +11:00
Evan Hunt
c780320e81
Merge branch 'u/fanf2/rndc-managed-keys-v9_12' into 'v9_12'
...
Fix a few cosmetic issues with `rndc managed-keys`
See merge request isc-projects/bind9!1339
2019-01-14 20:10:43 -05:00
Mark Andrews and Evan Hunt
22b77f45b7
add multi-view server and tests
...
(cherry picked from commit 7122b5786d )
2019-01-14 16:59:02 -08:00
Mark Andrews and Evan Hunt
2d3f159707
add CHANGES note
2019-01-14 16:17:10 -08:00
Tony Finch and Evan Hunt
bc984ace12
Fix a few cosmetic issues with rndc managed-keys
...
The handling of class and view arguments was broken, because the code
didn't realise that next_token() would overwrite the class name when
it parsed the view name. The code was trying to implement a syntax
like `refresh [[class] view]`, but it was documented to have a syntax
like `refresh [class [view]]`. The latter is consistent with other rndc
commands, so that is how I have fixed it.
Before:
$ rndc managed-keys refresh in rec
rndc: 'managed-keys' failed: unknown class/type
unknown class 'rec'
After:
$ rndc managed-keys refresh in rec
refreshing managed keys for 'rec'
There were missing newlines in the output from `rndc managed-keys
refresh` and `rndc managed-keys destroy`.
Before:
$ rndc managed-keys refresh
refreshing managed keys for 'rec'refreshing managed keys for 'auth'
After:
$ rndc managed-keys refresh
refreshing managed keys for 'rec'
refreshing managed keys for 'auth'
(cherry picked from commit 6a3b851f72 )
2019-01-14 16:16:29 -08:00
Evan Hunt
f21d6327dd
Merge branch 'fix-dnssec-test-v9_12' into 'v9_12'
...
b/t/s/dnssec/tests.sh: Cleanup showprivate() function
See merge request isc-projects/bind9!1336
2019-01-14 16:06:28 -05:00
Evan Hunt
b241dc58ec
b/t/s/dnssec/tests.sh: Cleanup showprivate() function
2019-01-14 12:30:49 -08:00
Evan Hunt
cb142d39eb
Merge branch 'each-fix-dnssec-test-error-v9_12' into 'v9_12'
...
DNSSEC test error
See merge request isc-projects/bind9!1333
2019-01-13 21:32:43 -05:00
Evan Hunt
0b4dca553d
fix testing errors
...
- the checkprivate function in the dnssec test set ret=0, erasing
results from previous tests and making the test appear to have passed
when it shouldn't have
- checkprivate needed a delay loop to ensure there was time for all
private signing records to be updated before the test
(cherry picked from commit 82e83d5dc7 )
2019-01-13 18:22:44 -08:00
Mark Andrews
24b89bb1dc
Merge branch 'u/fanf2/rndc-alphabetize-v9_12' into 'v9_12'
...
cleanup: alphabetize rndc command dispatch
See merge request isc-projects/bind9!1331
2019-01-13 21:08:45 -05:00
Tony Finch and Mark Andrews
1ba69a02ff
cleanup: alphabetize rndc command dispatch
...
(cherry picked from commit 66be4108bf )
2019-01-14 12:28:26 +11:00
Mark Andrews
1f06fa067b
Merge branch '784-bind-9-12-3-p1-fatal-error-v9_12' into 'v9_12'
...
Resolve "bind 9.12.3-P1 fatal error"
See merge request isc-projects/bind9!1326
2019-01-09 04:28:25 -05:00
Mark Andrews
df9cdb88c8
add CHANGES
...
(cherry picked from commit 9dd39d5385 )
2019-01-09 19:50:59 +11:00
Mark Andrews
2c3d353d57
update refreshkeytime
...
(cherry picked from commit ca977e3976 )
2019-01-09 19:50:59 +11:00
Mark Andrews
f140588cf7
Merge branch 'marka-maybe_numeric-and-nul-v9_12' into 'v9_12'
...
maybe_numeric failed to handle NUL in text region.
See merge request isc-projects/bind9!1324
2019-01-09 03:49:23 -05:00
Mark Andrews
e216ee68ef
maybe_numeric failed to handle NUL in text region.
...
(cherry picked from commit ee23780246 )
2019-01-09 19:22:38 +11:00
Mark Andrews
cc85e7fbde
Merge branch 'marka-fail-when-required-field-is-missing-v9_12' into 'v9_12'
...
Ensure base64/base32/hex fields in DNS records that should be non-empty are.
See merge request isc-projects/bind9!1320
2019-01-09 03:18:24 -05:00
Mark Andrews
0b8d530c84
Ensure base64/base32/hex fields in DNS records that should be non-empty are.
...
(cherry picked from commit 5e8b772ad1 )
2019-01-09 18:53:29 +11:00
Evan Hunt
83ce05b97b
Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain-v9_12' into 'v9_12'
...
Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"
See merge request isc-projects/bind9!1317
2019-01-09 00:47:23 -05:00
Mark Andrews and Evan Hunt
0537fe2a5a
add CHANGES entry
...
(cherry picked from commit 3328116b57 )
2019-01-08 21:27:36 -08:00
Mark Andrews and Evan Hunt
019b12fc09
allow for up 100 records or 64K of data to be in a ncache entry
...
(cherry picked from commit 604889e627 )
2019-01-08 21:27:36 -08:00
Evan Hunt
d1dfccd8e9
Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain-2-v9_12' into 'v9_12'
...
Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"
See merge request isc-projects/bind9!1314
2019-01-09 00:26:27 -05:00
Mark Andrews and Evan Hunt
72f406a50f
add CHANGES
...
(cherry picked from commit 188c184381 )
2019-01-08 20:50:36 -08:00
Mark Andrews and Evan Hunt
3d76dae6d7
explictly convert ISC_R_NOSPACE from dns_message_parse to DNS_R_FORMERR and remove from dns_result_torcode
...
(cherry picked from commit 0c42a9c0ab )
2019-01-08 20:50:35 -08:00
Evan Hunt
66d2db70c9
Merge branch '812-cookie-test-failed-v9_12' into 'v9_12'
...
Resolve "cookie test failed."
See merge request isc-projects/bind9!1312
2019-01-08 23:47:18 -05:00
Mark Andrews and Evan Hunt
675d75e0bc
wait longer for dump to complete
...
(cherry picked from commit 8a8d378def )
2019-01-08 20:17:06 -08:00
Ondřej Surý
e6148f0175
Merge branch 'ondrej/disable-CI-in-release-branches-v9_12' into 'v9_12'
...
(v9_12) Run the regular pipelines only for merge requests, and run only the Debian sid...
See merge request isc-projects/bind9!1310
2019-01-08 09:13:35 -05:00
Ondřej Surý
66033a716b
Run the regular pipelines only for merge requests, and run only the Debian sid build for release branches
...
(cherry picked from commit 24961f6068 )
2019-01-08 14:58:29 +01:00
Michał Kępień
9905d2ef7e
Merge branch '692-dig-fix-cleanup-upon-an-error-before-tcp-socket-creation-v9_12' into 'v9_12'
...
[v9_12] Fix cleanup upon an error before TCP socket creation
See merge request isc-projects/bind9!1307
2019-01-08 05:57:11 -05:00
Michał Kępień
e2653c47ab
Add CHANGES entry
...
5123. [bug] dig could hang indefinitely after encountering an error
before creating a TCP socket. [GL #692 ]
(cherry picked from commit 3242cb53ec )
2019-01-08 11:22:57 +01:00
Michał Kępień
f63a1fca3e
Fix cleanup upon an error before TCP socket creation
...
When a query times out after a socket is created and associated with a
given dig_query_t structure, calling isc_socket_cancel() causes
connect_done() to be run, which in turn takes care of all necessary
cleanups. However, certain errors (e.g. get_address() returning
ISC_R_FAMILYNOSUPPORT) may prevent a TCP socket from being created in
the first place. Since force_timeout() may be used in code handling
such errors, connect_timeout() needs to properly clean up a TCP query
which is not associated with any socket. Call clear_query() from
connect_timeout() after attempting to send a TCP query to the next
available server if the timed out query does not have a socket
associated with it, in order to prevent dig from hanging indefinitely
due to the dig_query_t structure not being detached from its parent
dig_lookup_t structure.
(cherry picked from commit 13975b32c6 )
2019-01-08 11:22:57 +01:00
Michał Kępień
c05c1f1b65
Refactor code sending a query to the next server upon a timeout
...
When a query times out and another server is available for querying
within the same lookup, the timeout handler - connect_timeout() - is
responsible for sending the query to the next server. Extract the
relevant part of connect_timeout() to a separate function in order to
improve code readability.
(cherry picked from commit c108fc5c6e )
2019-01-08 11:22:57 +01:00
Michał Kępień
1d0319fd0c
Remove dead code handling address family mismatches for TCP sockets
...
Before commit c2ec022f57 , using the "-b"
command line switch for dig did not disable use of the other address
family than the one to which the address supplied to that option
belonged to. Thus, bind9_getaddresses() could e.g. prepare an
isc_sockaddr_t structure for an IPv6 address when an IPv4 address has
been passed to the "-b" command line option. To avoid attempting the
impossible (e.g. querying an IPv6 address from a socket bound to an IPv4
address), a certain code block in send_tcp_connect() checked whether the
address family of the server to be queried was the same as the address
family of the socket set up for sending that query; if there was a
mismatch, that particular server address was skipped.
Commit c2ec022f57 made
bind9_getaddresses() fail upon an address family mismatch between the
address the hostname passed to it resolved to and the address supplied
to the "-b" command line option. Such failures were fatal to dig back
then.
Commit 7f65860391 made
bind9_getaddresses() failures non-fatal, but also ensured that a
get_address() failure in send_tcp_connect() still causes the given query
address to be skipped (and also made such failures trigger an early
return from send_tcp_connect()).
Summing up, the code block handling address family mismatches in
send_tcp_connect() has been redundant since commit
c2ec022f57 . Remove it.
(cherry picked from commit ef1da8731b )
2019-01-08 11:22:57 +01:00
Michał Kępień
6245991460
Merge branch '315-track-forwarder-timeouts-in-fetch-contexts-v9_12' into 'v9_12'
...
[v9_12] Track forwarder timeouts in fetch contexts
See merge request isc-projects/bind9!1305
2019-01-08 05:00:04 -05:00
Michał Kępień
ee226e589c
Add CHANGES entry
...
5122. [bug] In a "forward first;" configuration, a forwarder
timeout did not prevent that forwarder from being
queried again after falling back to full recursive
resolution. [GL #315 ]
(cherry picked from commit 1df9ca9e6a )
2019-01-08 08:31:17 +01:00
Michał Kępień
82103796af
Track forwarder timeouts in fetch contexts
...
Since following a delegation resets most fetch context state, address
marks (FCTX_ADDRINFO_MARK) set inside lib/dns/resolver.c are not
preserved when a delegation is followed. This is fine for full
recursive resolution but when named is configured with "forward first;"
and one of the specified forwarders times out, triggering a fallback to
full recursive resolution, that forwarder should no longer be consulted
at each delegation point subsequently reached within a given fetch
context.
Add a new badnstype_t enum value, badns_forwarder, and use it to mark a
forwarder as bad when it times out in a "forward first;" configuration.
Since the bad server list is not cleaned when a fetch context follows a
delegation, this prevents a forwarder from being queried again after
falling back to full recursive resolution. Yet, as each fetch context
maintains its own list of bad servers, this change does not cause a
forwarder timeout to prevent that forwarder from being used by other
fetch contexts.
(cherry picked from commit 33350626f9 )
2019-01-08 08:31:16 +01:00
Mark Andrews
08c8a750c1
Merge branch 'marka-fix-stub_dlz_allowzonexfr-v9_12' into 'v9_12'
...
return ISC_R_NOTFOUND when name does not match the zone name
See merge request isc-projects/bind9!1301
2019-01-06 23:41:48 -05:00
Mark Andrews
001a0a0077
add CHANGES
...
(cherry picked from commit bb57c7f775 )
2019-01-07 15:22:15 +11:00
Mark Andrews
299761127a
return ISC_R_NOTFOUND when name does not match the zone name
...
(cherry picked from commit 402190df18 )
2019-01-07 15:21:31 +11:00
Mark Andrews
cce1d1d5f5
Merge branch 'indenting-v9_12' into 'v9_12'
...
indenting
See merge request isc-projects/bind9!1290
2019-01-01 20:12:21 -05:00
Mark Andrews
3ea05e59ce
indenting
...
(cherry picked from commit c69ad95238 )
2019-01-02 11:51:19 +11:00
Mark Andrews
59281a378e
Merge branch 'copyrights-v9_12' into 'v9_12'
...
Copyrights v9 12
See merge request isc-projects/bind9!1288
2019-01-01 18:28:39 -05:00
Mark Andrews
ee0c468141
update copyrights
2019-01-02 10:25:47 +11:00
Ondřej Surý
804bf9fcf0
Merge branch '674-abort-when-memory-allocation-fails-v9_12' into 'v9_12'
...
(v9_12) Resolve "abort when memory allocation fails"
See merge request isc-projects/bind9!1273
2018-12-21 03:45:26 -05:00
Ondřej Surý
b09ecda8a2
Add CHANGES entry for GL #674
...
(cherry picked from commit 37ff7f635b )
2018-12-21 09:22:17 +01:00
Ondřej Surý
179867290f
Abort on allocation failure only if the memory functions are used internally in BIND 9
2018-12-21 09:22:17 +01:00
Ondřej Surý
1543df6b4e
Abort on memory allocation failure
...
(cherry picked from commit 8de2451756 )
2018-12-21 09:22:17 +01:00
Matthijs Mekking
5ebd68b54b
Merge branch '783-dnssec-signzone-unsupported-algorithms-v9_12' into 'v9_12'
...
(v9_12) Resolve "Allow unsupported algorithms in zone when not used for signing"
See merge request isc-projects/bind9!1270
2018-12-20 10:32:51 -05:00
Matthijs Mekking
8a67d9d64a
Remove dig_with_opts
2018-12-20 15:49:06 +01:00
Matthijs Mekking and Matthijs Mekking
32c69ed6e4
Update changefile
...
(cherry picked from commit 6afa8a77d3 )
2018-12-20 15:49:06 +01:00
Matthijs Mekking and Matthijs Mekking
25c0e3dde9
Replace DSA with Reserved algorithm
...
(cherry picked from commit 17cdde1e56 )
2018-12-20 15:49:06 +01:00
Matthijs Mekking and Matthijs Mekking
ed6674c9fd
Move REQUIRE outside comment unsupported alg
...
(cherry picked from commit 5ca649967e )
2018-12-20 15:49:06 +01:00
Matthijs Mekking and Matthijs Mekking
c0701e7ff2
Allow unsupported alg in zone /w dnssec-signzone
...
dnssec-signzone should sign a zonefile that contains a DNSKEY record
with an unsupported algorithm. Current behavior is that it will
fail, hitting a fatal error. The fix detects unsupported algorithms
and will not try to add it to the keylist.
Also when determining the maximum iterations for NSEC3, don't take
into account DNSKEY records in the zonefile with an unsupported
algorithm.
(cherry picked from commit 1dd11fc754 )
2018-12-20 15:49:06 +01:00
Matthijs Mekking and Matthijs Mekking
82806d855c
Add dnssec-signzone tests with unsupported alg
...
dnssec-signzone should sign a zonefile that contains a DNSKEY record
with an unsupported algorithm.
(cherry picked from commit 6d976b37c1 )
2018-12-20 15:49:06 +01:00
Ondřej Surý
ff9771c6cd
Merge branch '768-add-description-to-ldap-schema-v9_12' into 'v9_12'
...
(v9_12) Add optional description field to LDAP schema
See merge request isc-projects/bind9!1268
2018-12-20 05:07:19 -05:00
Roland Gruber and Ondřej Surý
c07855485e
Add optional description field to LDAP schema
...
(cherry picked from commit 83903f6f5e )
2018-12-20 10:32:52 +01:00
Ondřej Surý
2c979e6b7e
Merge branch '787-set-the-clang-define-to-1-v9_12' into 'v9_12'
...
(v9_12) __SANITIZE_ADDRESS__ needs to be defined to 1
See merge request isc-projects/bind9!1265
2018-12-19 18:16:21 -05:00
Ondřej Surý
bdc09e455e
__SANITIZE_ADDRESS__ needs to be defined to 1
...
(cherry picked from commit ff7c868f25 )
2018-12-20 00:14:58 +01:00
Ondřej Surý
dd3efd812b
Merge branch '782-add-support-for-msys2-in-stop.pl-script-v9_12' into 'v9_12'
...
(v9_12) Properly detect msys/msys2 environment in the stop.pl script.
See merge request isc-projects/bind9!1260
2018-12-19 15:44:15 -05:00
Ondřej Surý
39644e4d34
Properly detect msys/msys2 environment in the stop.pl script.
...
(cherry picked from commit 808dac0760 )
2018-12-19 21:31:16 +01:00
Ondřej Surý
3e0a87f41b
Merge branch '787-use-correct-define-v9_12' into 'v9_12'
...
gcc defines __SANITIZE_ADDRESS__ and not __ADDRESS_SANITIZER__, use the correct #define
See merge request isc-projects/bind9!1256
2018-12-19 06:46:49 -05:00
Ondřej Surý
e055809c6f
gcc defines __SANITIZE_ADDRESS__ and not __ADDRESS_SANITIZER__, use the correct #define
...
(cherry picked from commit 8903d68d69 )
2018-12-19 12:44:51 +01:00
Ondřej Surý
3b5590f6fe
Merge branch '787-disable-rtld_deepbind-when-compiled-under-asan-v9_12' into 'v9_12'
...
(v9_12) Resolve "RTLD_DEEPBIND and AddressSanitizer aren't compatible"
See merge request isc-projects/bind9!1253
2018-12-19 06:10:56 -05:00
Ondřej Surý
aeb6b97dad
Disable RTLD_DEEPBIND when compiled under AddressSanitizer
...
(cherry picked from commit cad6b39cab )
2018-12-19 10:49:56 +01:00
Ondřej Surý
afddfcb3f5
Define __ADDRESS_SANITIZER__ if compiling under clang's AddressSanitizer
...
(cherry picked from commit e1ce3a3d42 )
2018-12-19 10:49:44 +01:00
Ondřej Surý
1ca8b35c86
Merge branch '782-revert-cygwin-grep-CRLF-issue-v9_12' into 'v9_12'
...
Revert "Merge branch '782-cygwin-grep-CRLF-issue-v9_12' into 'v9_12'"
See merge request isc-projects/bind9!1244
2018-12-17 07:47:14 -05:00
Ondřej Surý
2e81ab696a
Revert "Merge branch '782-cygwin-grep-CRLF-issue-v9_12' into 'v9_12'"
...
This reverts commit f35df99f1d , reversing
changes made to ccc3be8156 .
2018-12-17 12:41:14 +01:00
Mark Andrews
2b3de31c89
Merge branch '779-named-checkconf-crashes-in-parser-c-v9_12' into 'v9_12'
...
Resolve "named-checkconf crashes in parser.c"
See merge request isc-projects/bind9!1236
2018-12-16 19:46:09 -05:00
Mark Andrews
0c19967532
pass the correct object to cfg_obj_log
...
(cherry picked from commit 53a33f7365 )
2018-12-16 19:21:47 -05:00
Evan Hunt
f35df99f1d
Merge branch '782-cygwin-grep-CRLF-issue-v9_12' into 'v9_12'
...
Resolve "current version of cygwin grep causes tests to fail when grepping for end of line character"
See merge request isc-projects/bind9!1239
2018-12-14 22:29:50 -05:00
Curtis Blackburn and Evan Hunt
9599679d31
minor fixes to dns64 and rndc CRLF fix. rpzrecurse failure
...
will be addressed in a separate issue
(cherry picked from commit 2ec746dafe )
2018-12-14 19:00:15 -08:00
Curtis Blackburn and Evan Hunt
bb731398e0
more CRLF fixes (dns64, rndc, rpzrecurse)
...
(cherry picked from commit 9fc68285ef )
2018-12-14 19:00:15 -08:00
Curtis Blackburn and Evan Hunt
66fdedfd7b
missed one in the digdelv test
...
(cherry picked from commit bdbf6ede3a )
2018-12-14 19:00:13 -08:00
Curtis Blackburn and Evan Hunt
06cae98368
digdelv test fixed for CRLF issue
...
(cherry picked from commit ba1b9ca4d4 )
2018-12-14 18:59:32 -08:00
Curtis Blackburn and Evan Hunt
e0ab5603f7
windows CRLF issues fixed in builtin test
...
(cherry picked from commit 18e8835044 )
2018-12-14 18:50:47 -08:00
Ondřej Surý
ccc3be8156
Merge branch 'ondrej/sync-gitlab-ci-with-master-v9_12' into 'v9_12'
...
[v9_12] Sync GitLab CI configuration with master + needed misc fixes to the code
See merge request isc-projects/bind9!1229
2018-12-14 03:47:48 -05:00
Ondřej Surý
868e02a9ee
Fix the stdatomic #ifdefs to work with older compilers
2018-12-14 09:00:13 +01:00
Ondřej Surý
9ae1c97b21
Add better EMPTY_TRANSLATION_UNIT to isc/util.h
2018-12-14 09:00:13 +01:00
Ondřej Surý
a69f38e478
Fix ECC algorithms unused constants in PKCS#11 build
2018-12-14 09:00:12 +01:00
Ondřej Surý
53f12b6ca4
Add Ubuntu Xenial and Bionic to GitLab CI jobs
2018-12-14 09:00:12 +01:00
Ondřej Surý
c42db3f692
SoftHSM 2.4.0 only supports softhsm2.conf now, rewrite GitLab CI commands to properly support that
2018-12-14 09:00:12 +01:00
Ondřej Surý
c596d2d87a
Add unreachable.spatch coccinelle recipe and run it in precheck CI phase
2018-12-14 09:00:12 +01:00
Ondřej Surý
771a866180
Sync GitLab CI jobs with master branch
2018-12-14 09:00:12 +01:00
Mark Andrews
a1b17f5977
Merge branch '742-isc-support-13767-nsec3-typemap-improperly-includes-dnskey-rrset-instead-of-ignoring-it-as-out-of-zone-v9_12' into 'v9_12'
...
Resolve "[ISC-support
See merge request isc-projects/bind9!1232
2018-12-13 22:41:57 -05:00
Mark Andrews
e0ad9dd301
add CHANGES
...
(cherry picked from commit 85da986d68 )
2018-12-14 14:28:16 +11:00
Mark Andrews
be038493b9
add unit tests for dns_rdatatype_atcname, dns_rdatatype_atparent and iszonecutauth
...
(cherry picked from commit f2f7711977 )
2018-12-14 14:27:53 +11:00
Mark Andrews
1f404e35b6
check that DNSKEY and other occluded data are excluded from the delegating bitmap
...
(cherry picked from commit 7e4b82103b )
2018-12-14 14:27:50 +11:00
Mark Andrews
0eaa9a02b7
create dns_rdatatype_atcname to split records that can appear along side CNAME from DNSSEC; dns_rdatatype_iszonecutauth allowed too many types
...
(cherry picked from commit f4ceb12b69 )
2018-12-14 14:12:31 +11:00
Evan Hunt
de0646de7f
Merge branch 'marka-tabify-changes-precheck-v9_12' into 'v9_12'
...
tabify changes precheck
See merge request isc-projects/bind9!1226
2018-12-13 01:02:58 -05:00
Mark Andrews and Evan Hunt
56ad8243fe
white space
...
(cherry picked from commit 730015f33e )
2018-12-12 21:41:49 -08:00
Mark Andrews and Evan Hunt
f4f3e65722
tabify-changes precheck
...
(cherry picked from commit 87b3b46096 )
2018-12-12 21:41:48 -08:00
Ondřej Surý
46c0bc835c
Merge branch 'ondrej/rename-the-envvar-to-BUILD_PARALLEL_JOBS-v9_12' into 'v9_12'
...
(v9_12) Rename the GitLab CI environment variable to BUILD_PARALLEL_JOBS
See merge request isc-projects/bind9!1224
2018-12-12 17:25:22 -05:00
Ondřej Surý
7a11a1ab02
Rename the GitLab CI environment variable to BUILD_PARALLEL_JOBS
...
(cherry picked from commit e20d5e4dd2 )
2018-12-12 23:07:27 +01:00
Mark Andrews
e164489565
Merge branch '760-the-notify-system-test-incorrectly-detects-startup-notify-rate-error-v9_12' into 'v9_12'
...
Resolve "The notify system test incorrectly detects startup notify rate error."
See merge request isc-projects/bind9!1218
2018-12-11 18:39:23 -05:00
Mark Andrews
58f8ec2b36
check that the time between notify messages is not too small
...
(cherry picked from commit 47a4e0eeaa )
2018-12-12 10:23:16 +11:00
Evan Hunt
4798c98e4c
Merge branch '756-dyndb-system-test-failing-intermittently-v9_12' into 'v9_12'
...
Resolve "dyndb system test failing intermittently."
See merge request isc-projects/bind9!1213
2018-12-10 12:20:41 -05:00
Mark Andrews and Evan Hunt
c955498688
allow a small about of time for the syncptr event to be processed
...
(cherry picked from commit 3bca52ca07 )
2018-12-10 09:07:04 -08:00
Mark Andrews
24519a233a
Merge branch 'michal-extend-dname-dnssec-tests-v9_12' into 'v9_12'
...
Extend DNAME DNSSEC tests
See merge request isc-projects/bind9!1211
2018-12-10 02:03:07 -05:00
Michał Kępień and Mark Andrews
4c23d84285
Check that DNAME is not treated as a delegation when signing
...
(cherry picked from commit adbca54079 )
2018-12-10 17:49:38 +11:00
Mark Andrews
acc8b89720
verify that auto-dnssec maintain generates and signs NSEC3 records with DNAME at the apex
...
(cherry picked from commit 6b470bbf42 )
2018-12-10 17:49:38 +11:00
Mark Andrews
da5d139973
verify that dnssec-signzone generates NSEC3 records with DNAME at the apex
...
(cherry picked from commit 06e218c421 )
2018-12-10 17:12:09 +11:00
Mark Andrews
923c0b922c
Merge branch 'michal-zone_sign-error-logging-v9_12' into 'v9_12'
...
Log CHECK() errors in zone_sign()
See merge request isc-projects/bind9!1208
2018-12-09 23:33:14 -05:00
Mark Andrews
e05c1a7236
log a error if we don't explicitly know that a error has been logged in zone_sign
...
(cherry picked from commit b108376a10 )
2018-12-10 15:13:35 +11:00
Evan Hunt
01ee1d3e3d
Merge branch 'each-check-cfg-v9_12' into 'v9_12'
...
checklibs needs to grep for the cfg_* prefix in lib/isccfg
See merge request isc-projects/bind9!1203
2018-12-06 21:26:57 -05:00
Evan Hunt
fde004b2fe
checklibs needs to grep for the cfg_* prefix in lib/isccfg
...
(cherry picked from commit ab7356a7de )
2018-12-06 18:08:18 -08:00
Mark Andrews
2a6d571555
Merge branch 'michal-befix-squashed-v9_12' into 'v9_12'
...
Fix bottom of zone determination.
See merge request isc-projects/bind9!1199
2018-12-06 20:02:38 -05:00
Mark Andrews
74a66f7add
add CHANGES and release notes entries.
...
(cherry picked from commit c8e92d3e45 )
2018-12-07 11:48:03 +11:00
Mark Andrews
2a6a3aa0e7
Properly detect bottom of zone when sign_a_node() is not called
...
(cherry picked from commit 9eec02a81f )
2018-12-07 11:48:03 +11:00
Mark Andrews
24294d8cfd
Merge branch '769-host-u-documented-in-manpage-but-disabled-in-code-v9_12' into 'v9_12'
...
Resolve ""host -U" documented in manpage, but disabled in code"
See merge request isc-projects/bind9!1195
2018-12-06 16:54:25 -05:00
Mark Andrews
c013d2eedf
add CHANGES
...
(cherry picked from commit 9586c3a696 )
2018-12-07 08:40:10 +11:00
Andreas Hasenack and Mark Andrews
54242e8e1f
add -U to preparse and usage
...
(cherry picked from commit 665618698e )
2018-12-07 08:39:32 +11:00
Mark Andrews
2a56471991
Merge branch '756-dyndb-system-test-failing-intermittently-v9_12' into 'v9_12'
...
Add additional logging to driver.
See merge request isc-projects/bind9!1185
2018-12-05 19:50:22 -05:00
Mark Andrews
5338d9d4b7
add more error logging; add event processing logging
...
(cherry picked from commit 6a5c8ec2ea )
2018-12-06 11:32:09 +11:00
Ondřej Surý
68d01ba5cd
Merge branch '628-refactor-masterformat-system-test-v9_12' into 'v9_12'
...
(v9_12) Refactor masterformat system test
See merge request isc-projects/bind9!1182
2018-12-05 16:19:21 -05:00
Ondřej Surý
39b02e8538
Change the default algorithm to RSASHA256 and the alternative algorithm to RSASHA1 as those are always supported
2018-12-05 21:55:31 +01:00
Ondřej Surý
f99c69b435
Add DNSKEY and CDNSKEY with unknown algorithm number (PRIVATEDNS) and \0 as content
...
(cherry picked from commit 00cc0b236a )
2018-12-05 21:14:06 +01:00
Ondřej Surý
b86789ef27
Refactor masterformat to be shellcheck clean and don't use RSAMD5 algorithm in the tests
...
(cherry picked from commit b13c7ca402 )
2018-12-05 21:14:05 +01:00
Ondřej Surý
7426cf9469
Merge branch '745-start.pl-and-stop.pl-cygwin-fixes-v9_12' into 'v9_12'
...
(v9_12) Make the start.pl and stop.pl more Cygwin friendly
See merge request isc-projects/bind9!1176
2018-12-04 09:43:19 -05:00
Ondřej Surý
c996dcfee1
Make the start.pl and stop.pl more Cygwin friendly
...
(cherry picked from commit 835bad2c5c )
2018-12-04 15:30:41 +01:00
Ondřej Surý
cd440f08a6
Merge branch '745-fix-missing-realpath-on-centos6-v9_12' into 'v9_12'
...
Replace realpath with cd&pwd shell magic
See merge request isc-projects/bind9!1173
2018-12-03 14:57:47 -05:00
Ondřej Surý
b7c79f6c0f
Replace realpath with cd&pwd shell magic
2018-12-03 20:42:01 +01:00
Ondřej Surý
b9f35ac19e
Merge branch '745-start.pl-refactoring-v9_12' into 'v9_12'
...
(v9_12) start.pl - wait for server to say 'running', refactor
See merge request isc-projects/bind9!1170
2018-12-03 11:24:51 -05:00
Ondřej Surý
73e26ec1d6
Make calls to the stop.pl always use the test name instead of '.'
...
(cherry picked from commit e227815af5 )
2018-12-03 17:11:15 +01:00
Ondřej Surý
70cbdf3528
stop.pl - refactor
...
(cherry picked from commit 27ee629e6b )
2018-12-03 17:10:40 +01:00
Ondřej Surý
e8f38da2df
Make calls to the start.pl always use the test name instead of '.'
...
(cherry picked from commit 16b95157e8 )
2018-12-03 17:10:26 +01:00
Brian Conry and Ondřej Surý
1ae7ca6606
start.pl - refactor
...
(cherry picked from commit 0fc8bfef13 )
2018-12-03 17:09:48 +01:00
Brian Conry and Ondřej Surý
ee737c8328
start.pl - wait for server to say 'running'
...
(cherry picked from commit 597049461d )
2018-12-03 17:09:05 +01:00
Ondřej Surý
60bb1b4e04
Merge branch '628-improvements-to-system-tests-v9_12' into 'v9_12'
...
(v9_12) Tiny small improvements to system test scripts.
See merge request isc-projects/bind9!1167
2018-12-03 03:51:28 -05:00
Ondřej Surý
e3379c44cb
Add ALTERNATIVE_ALGORITHM to conf.sh
...
(cherry picked from commit b2c4c35493 )
2018-12-03 09:30:44 +01:00
Ondřej Surý
d1dffe2fd3
Export SYSTEMTESTTOP from run.sh (so, it doesn't have to be defined in each script) and scrub / from the test names
...
(cherry picked from commit 1b2a3a0ea6 )
2018-12-03 09:02:14 +01:00
Mark Andrews
b0a3640185
Merge branch '754-silence-warning-about-first-half-of-conditional-always-being-true-v9_12' into 'v9_12'
...
Resolve "Silence warning about first half of conditional always being true."
See merge request isc-projects/bind9!1164
2018-12-03 01:18:47 -05:00
Mark Andrews
05785b4902
only test for prefixlen <= 63
...
(cherry picked from commit 5744415a75 )
2018-12-03 17:06:02 +11:00
Mark Andrews
02f2e291e3
Merge branch 'u/fanf2/catz-logging-v9_12' into 'v9_12'
...
U/fanf2/catz logging v9 12
See merge request isc-projects/bind9!1161
2018-12-03 00:15:36 -05:00
Mark Andrews
9e68b93f01
add CHANGES note
...
(cherry picked from commit e6c5ad37a4 )
2018-12-03 15:52:15 +11:00
Tony Finch and Mark Andrews
7ac356688c
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
(cherry picked from commit 16eb35187a )
2018-12-03 15:52:14 +11:00
Mark Andrews
56109ac061
Merge branch '585-dnssec-coverage-fails-with-typeerror-for-ksk-with-a-deletion-date-set-v9_12' into 'v9_12'
...
Resolve "dnssec-coverage fails with TypeError for KSK with a Deletion date set"
See merge request isc-projects/bind9!1158
2018-11-29 19:26:45 -05:00
Mark Andrews
1813c9d5e0
add CHANGES note
...
(cherry picked from commit 02d20a2f53 )
2018-11-30 11:14:01 +11:00
Mark Andrews
5ee79f833e
use documented default key ttl
...
(cherry picked from commit 6499bdfd8b )
2018-11-30 11:12:51 +11:00
Mark Andrews
096caccf1d
add reproducer for [GL #585 ]
...
(cherry picked from commit 0ac2a868bb )
2018-11-30 11:12:51 +11:00
Evan Hunt
e2891f18d9
Merge branch 'each-export-dynamic-v9_12' into 'v9_12'
...
set the export-dynamic linker flag on linux
See merge request isc-projects/bind9!1155
2018-11-29 02:37:33 -05:00
Evan Hunt
4ae085a066
set the export-dynamic linker flag on linux
2018-11-28 23:22:00 -08:00
Mark Andrews
b312523265
Merge branch '748-dns_catz_-are-missing-lots-of-dbc-checks-v9_12' into 'v9_12'
...
Resolve "dns_catz_* are missing lots of DBC checks."
See merge request isc-projects/bind9!1152
2018-11-28 22:55:16 -05:00
Mark Andrews
17d9fa3cc7
add missing DBC checks for catz and add isc_magic checks; add DBC checks to ht.c
...
(cherry picked from commit a487473fc5 )
2018-11-29 14:41:41 +11:00
Mark Andrews
91f9c5691e
Merge branch '731-catalog-zone-incorrect-logging-v9_12' into 'v9_12'
...
Resolve "Catalog zone incorrect logging"
See merge request isc-projects/bind9!1146
2018-11-28 07:59:39 -05:00
Mark Andrews
b559bd1ebb
update zname with the current zone anme
...
(cherry picked from commit 0708e43d3f )
2018-11-28 23:34:26 +11:00
Michał Kępień
d70430424c
Merge branch '730-fix-build-time-python-configuration-v9_12' into 'v9_12'
...
[v9_12] Fix build-time Python configuration
See merge request isc-projects/bind9!1139
2018-11-27 10:25:22 -05:00
Michał Kępień
13da99a80c
Add CHANGES entry
...
5101. [bug] Fix default installation path for Python modules.
[GL #730 ]
(cherry picked from commit b94293f591 )
2018-11-27 15:44:43 +01:00
Ondřej Surý and Michał Kępień
ed4c700c33
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=<...>).
- 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.
(cherry picked from commit d75602406e )
2018-11-27 15:43:49 +01:00
Ondřej Surý
eab8d3f9c8
Merge branch 'ondrej-add-python-3.6-and-3.7-to-configure.ac-v9_12' into 'v9_12'
...
(v9_12) Add python3.6 and python3.7 to the search list of python versions
See merge request isc-projects/bind9!1137
2018-11-27 06:30:02 -05:00
Ondřej Surý
81cf925147
Add python3.6 and python3.7 to the search list of python versions
...
(cherry picked from commit da9038e9a0 )
2018-11-27 10:32:53 +01:00
Mark Andrews
5f383955e7
Merge branch '715-side-effect-in-assertion-in-name_test-c-v9_12' into 'v9_12'
...
Resolve "side effect in assertion in name_test.c"
See merge request isc-projects/bind9!1124
2018-11-22 19:07:49 -05:00
Mark Andrews
35efc053b4
address coverity side effect in assert warning
...
(cherry picked from commit 2156a5b610 )
2018-11-23 10:21:38 +11:00
Mark Andrews
521cf75c6a
Merge branch '710-fix-socket-test-v9_12' into 'v9_12'
...
Use proper casting in socket unit test
See merge request isc-projects/bind9!1120
2018-11-22 01:18:10 -05:00
Mark Andrews
edcb378845
replace strncpy + setting end of array to NUL with strlcpy
2018-11-22 16:43:43 +11:00
Witold Kręcicki and Mark Andrews
7eb17b968a
Use proper casting in socket unit test
...
(cherry picked from commit 5f81aa10bc )
2018-11-22 16:43:43 +11:00
Ondřej Surý and Mark Andrews
01d3142920
Disable internal malloc for AddressSanitizer build
...
(cherry picked from commit 4f7177c794 )
2018-11-22 16:43:43 +11:00
Ondřej Surý and Mark Andrews
5e21c945ff
Add AddressSanitizer enabled build to GitLab CI
...
(cherry picked from commit a8649cc299 )
2018-11-22 16:43:43 +11:00
Mark Andrews
a1c36d5efb
Merge branch '712-memleak-in-delv-v9_12' into 'v9_12'
...
Fix a small memleak in delv
See merge request isc-projects/bind9!1115
2018-11-22 00:42:00 -05:00
Witold Kręcicki and Mark Andrews
0db061aef9
Fix a small memleak in delv
...
(cherry picked from commit d00b3f47ba )
2018-11-22 08:22:34 +11:00
Mark Andrews
f1ad5bcc2e
Merge branch 'ondrej/use-strlcpy-in-wks_11.c-v9_12' into 'v9_12'
...
Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used
See merge request isc-projects/bind9!1113
2018-11-21 16:19:10 -05:00
Ondřej Surý and Mark Andrews
e839d4b978
Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used
...
(cherry picked from commit 175f06949f )
2018-11-22 08:10:41 +11:00
Mark Andrews
dcca5934d6
Merge branch '711-fix-memory-leak-in-lex_test-v9_12' into 'v9_12'
...
Fix memory leak in lex_test.c
See merge request isc-projects/bind9!1111
2018-11-21 15:51:34 -05:00
Ondřej Surý and Mark Andrews
f9b96e6de0
Fix memory leak in lex_test.c
...
(cherry picked from commit 7a3eb391fa )
2018-11-21 15:03:26 -05:00
Mark Andrews
0be191f866
Merge branch '702-unchecked-returns-in-server-c-v9_12' into 'v9_12'
...
Resolve "unchecked returns in server.c"
See merge request isc-projects/bind9!1109
2018-11-21 14:58:59 -05:00
Mark Andrews
e9be58edc9
address unchecked return values
...
(cherry picked from commit ccfd577715 )
2018-11-22 06:50:32 +11:00
Evan Hunt
2babbb0add
Merge branch 'systest-entropy' into 'v9_12'
...
increase pseudorandom data in system tests
See merge request isc-projects/bind9!1091
2018-11-17 02:53:05 -05:00
Evan Hunt
19aaecafeb
better system test entropy
...
- use /dev/urandom in gitlab CI
- use genrandom to get 4k of data instead of 800 bytes
- set this value as RANDOMSIZE in conf.sh
2018-11-17 01:27:06 +00:00
Evan Hunt
aa2f71e3a5
Merge branch '703-resource-leak-in-dlz_filesystem_driver-c-v9_12' into 'v9_12'
...
Resolve "resource leak in dlz_filesystem_driver.c"
See merge request isc-projects/bind9!1089
2018-11-16 20:00:10 -05:00
Mark Andrews and Evan Hunt
422559fbc0
cleanup allocated memory on error
...
(cherry picked from commit 4979d5f31f )
2018-11-16 16:51:46 -08:00
Evan Hunt
d9cc728ed4
Merge branch 'cmocka-silence-v9_12' into 'v9_12'
...
remove (or hide behind a 'verbose' flag) extra output from unit tests
See merge request isc-projects/bind9!1087
2018-11-16 16:10:50 -05:00
Evan Hunt
a305008346
remove (or hide behind a 'verbose' flag) extra output from system tests
...
(cherry picked from commit 8f15219f36 )
2018-11-16 12:59:11 -08:00
Evan Hunt
58a93e7211
Merge branch '4-warn-not-fail-v9_12' into 'v9_12'
...
warn, rather than failing, if kyua is not present
See merge request isc-projects/bind9!1085
2018-11-16 15:55:58 -05:00
Evan Hunt
3ff49fa614
warn, rather than failing, if kyua is not present
...
(cherry picked from commit 6cfb2249e1 )
2018-11-16 12:42:21 -08:00
Evan Hunt
7121d711ad
Merge branch 'fix-debug-output-v9_12' into 'v9_12'
...
echo debug output (D:text) the same as informational (I:text)
See merge request isc-projects/bind9!1083
2018-11-16 14:44:35 -05:00
Evan Hunt
cdfac9b1bf
echo debug output (D:text) the same as informational (I:text)
...
(cherry picked from commit dfa1589975 )
2018-11-16 11:41:25 -08:00
Evan Hunt
a830358a32
Merge branch '4-remove-embedded-atf-v9_12' into 'v9_12'
...
Remove embedded ATF and required ATF >= 0.20 + Kyua to run unittests
See merge request isc-projects/bind9!1079
2018-11-16 12:23:12 -05:00
Ondřej Surý and Evan Hunt
334ae4f21d
Add CHANGES entry for GL !875
...
(cherry picked from commit 9b0501635b )
2018-11-16 09:14:42 -08:00
Ondřej Surý and Evan Hunt
f61f0a61bf
Remove the traces of ATF from documentation
...
(cherry picked from commit fa33b4ee23 )
2018-11-16 09:14:25 -08:00
Ondřej Surý and Evan Hunt
6f98d4d108
Remove the atf_tc coverity model
...
(cherry picked from commit ed4a49122b )
2018-11-16 09:14:25 -08:00
Ondřej Surý and Evan Hunt
713d158e6d
Remove embedded atf-src and enforce atf >= 0.20 + kyua as execution engine
...
(cherry picked from commit de219b8555 )
2018-11-16 09:14:20 -08:00
Mark Andrews
715d471599
Merge branch '698-cmoka-atomic_store-and-atomic_storeq-tests-are-broken' into 'v9_12'
...
Resolve "cmoka atomic_store and atomic_storeq tests are broken"
See merge request isc-projects/bind9!1071
2018-11-15 19:10:29 -05:00
Mark Andrews
18d80450e0
wait for tasks to complete
2018-11-16 11:07:17 +11:00
Mark Andrews
2b885a1b34
Merge branch '694-checklibs-libs-isc-printf-h-check-is-incomplete' into 'v9_12'
...
Resolve "checklibs libs isc/printf.h check is incomplete"
See merge request isc-projects/bind9!1068
2018-11-15 19:04:38 -05:00
Mark Andrews
07317db2ca
update the list of functions that are triggers for requiring #include <isc/print.h> or "print_p.h"
2018-11-16 09:45:16 +11:00
Mark Andrews
efaa12bd57
add #include <isc/print.h>
2018-11-16 09:45:16 +11:00
Evan Hunt
d191947321
Merge branch '620-cmocka-conversions-v9_12' into 'v9_12'
...
Resolve "CMOCKA conversions"
See merge request isc-projects/bind9!1062
2018-11-15 04:18:05 -05:00
Evan Hunt
7565a18583
CHANGES
...
(cherry picked from commit 32503f3b52 )
2018-11-15 01:09:17 -08:00
Evan Hunt
4ad7f875b0
remove --with-atf from gitlab CI
...
(cherry picked from commit a2013231a3 )
2018-11-15 01:09:17 -08:00
Evan Hunt
33f428efda
remove ATF source code and Atffiles
...
(cherry picked from commit 8c4d50c6bc )
2018-11-15 01:09:17 -08:00
Evan Hunt
4f3073de7c
remove ATF from configure
...
(cherry picked from commit efe3c038b1 )
2018-11-15 01:09:17 -08:00
Evan Hunt
df0c67ba26
remove atf-run from unittest.sh.in
...
(cherry picked from commit d534ae5c12 )
2018-11-15 01:09:17 -08:00
Joey and Evan Hunt
4beba42654
convert update_test; remove ATF from lib/dns/tests
...
(cherry picked from commit 336d5a5374 )
2018-11-15 01:09:17 -08:00
Evan Hunt
28296fc57c
convert gost_test
2018-11-15 01:09:16 -08:00
Evan Hunt
93e9b0261c
convert dstrandom_test
2018-11-15 01:05:14 -08:00
Joey and Evan Hunt
ea300146a8
convert tsig_test
...
(cherry picked from commit 92a3762cb6 )
2018-11-15 01:05:14 -08:00
Joey and Evan Hunt
132bdcb954
convert time_test
...
(cherry picked from commit 2c7e6947fa )
2018-11-15 01:05:14 -08:00
Joey and Evan Hunt
34855ec13b
convert sigs_test
...
(cherry picked from commit eda6281f98 )
2018-11-15 01:05:14 -08:00
Joey and Evan Hunt
c00f2c9434
convert rsa_test
...
(cherry picked from commit b915cdbf0b )
2018-11-15 01:05:14 -08:00
Joey and Evan Hunt
bd3bb7cb89
convert resolver_test
...
(cherry picked from commit 2837a821e8 )
2018-11-15 01:05:14 -08:00
Joey and Evan Hunt
5e44278871
convert rbt_serialize_test
...
(cherry picked from commit dfd90dbb82 )
2018-11-15 01:05:14 -08:00
Joey and Evan Hunt
c9c1d244e1
convert name_test
...
(cherry picked from commit 1b48e710d5 )
2018-11-15 01:05:14 -08:00
Joey and Evan Hunt
34291ae2be
convert master_test
...
(cherry picked from commit 4ba08bb119 )
2018-11-15 01:05:13 -08:00
Joey and Evan Hunt
ff26c1e014
convert keytable_test
...
(cherry picked from commit e38901154d )
2018-11-15 01:05:13 -08:00
Joey and Evan Hunt
ade81f29d6
convert private_test
...
(cherry picked from commit 9a464ef869 )
2018-11-15 01:05:13 -08:00
Evan Hunt
3d396d1eb8
convert dbversion_test
...
(cherry picked from commit 98d5abb73c )
2018-11-15 01:05:13 -08:00
Joey and Evan Hunt
b902454460
convert dst_test
...
(cherry picked from commit ad923f82b1 )
2018-11-15 01:05:13 -08:00
Joey and Evan Hunt
e8f61dd315
convert db_test
...
(cherry picked from commit 005e19ad3f )
2018-11-15 01:05:13 -08:00
Evan Hunt
a554ae3dcc
convert dispatch_test
...
(cherry picked from commit 8d347788b0 )
2018-11-15 01:05:13 -08:00
Evan Hunt
503869db64
convert zonemgr_test
...
(cherry picked from commit 01a193ff6c )
2018-11-15 01:05:13 -08:00
Evan Hunt
ff07929977
convert zt_test
...
(cherry picked from commit 0a4f6122de )
2018-11-15 01:05:13 -08:00
Evan Hunt
87d702aaa6
convert rdata_test
...
- also added code to dnstest.c to optionally suppress printing of errors
from dns_rdata_fromtxt()
(cherry picked from commit bb5ed5a4ac )
2018-11-15 01:05:12 -08:00
Evan Hunt
7a57323bbf
convert rbt_test
...
(cherry picked from commit 55465517c7 )
2018-11-15 01:05:12 -08:00
Evan Hunt
d51d4febf9
convert dnstap_test
...
(cherry picked from commit 9f83d31e42 )
2018-11-15 01:05:12 -08:00
Evan Hunt
80172ae24d
convert geoip_test
...
(cherry picked from commit 06b4ff5fe2 )
2018-11-15 01:05:12 -08:00
Evan Hunt
5a13cf0543
convert nsec3_test
...
(cherry picked from commit 015fda0bb4 )
2018-11-15 01:05:12 -08:00
Evan Hunt
37c6711376
convert rdatasetstats_test
...
(cherry picked from commit 28121c248e )
2018-11-15 01:05:12 -08:00
Evan Hunt
7e7818b91a
convert dbiterator_test
...
(cherry picked from commit 79cd093cd7 )
2018-11-15 01:05:12 -08:00
Evan Hunt
af60c53303
convert dbdiff_test
...
(cherry picked from commit 6dfc868fba )
2018-11-15 01:05:12 -08:00
Evan Hunt
f082972814
convert peer_test
...
(cherry picked from commit db5eece106 )
2018-11-15 01:05:11 -08:00
Evan Hunt
80705c7c81
convert rdataset_test
...
(cherry picked from commit cca16eccd7 )
2018-11-15 01:05:11 -08:00
Evan Hunt
1f3f9c0323
convert acl_test
...
(cherry picked from commit a33bca5d55 )
2018-11-15 01:05:11 -08:00
Evan Hunt
e779fa3014
convert dh_test
...
(cherry picked from commit dcf65c82ad )
2018-11-15 01:05:11 -08:00
Joey and Evan Hunt
37ce8f1021
convert socket_test; remove ATF from lib/isc/tests
...
(cherry picked from commit 9eea00cd3c )
2018-11-15 01:05:11 -08:00
Evan Hunt
7abdd9e87a
convert atomic_test
2018-11-15 00:38:16 -08:00
Evan Hunt
b0309ae739
convert isc_ntop_test
2018-11-15 00:24:14 -08:00
Evan Hunt
7bbe60ada1
convert print_test
2018-11-15 00:20:22 -08:00
Evan Hunt
6182c94334
convert regex_test
...
(cherry picked from commit bd009b34a6 )
2018-11-15 00:06:23 -08:00
Evan Hunt
13a6d71e88
convert random_test
...
(cherry picked from commit 6ad7acd787 )
2018-11-15 00:03:52 -08:00
Joey and Evan Hunt
15f7486d7b
convert mem_test
...
(cherry picked from commit 683094e308 )
2018-11-14 22:38:15 -08:00
Evan Hunt
7c4ed64665
convert timer_test
...
(cherry picked from commit 20cef35ece )
2018-11-14 22:36:45 -08:00
Evan Hunt
f524cc713e
convert task_test
2018-11-14 22:35:03 -08:00
Joey and Evan Hunt
bdf9ea7de7
convert hash_test
...
(cherry picked from commit 72f60bdd84 )
2018-11-14 22:30:05 -08:00
Evan Hunt
360d7d3d72
convert ht_test
...
(cherry picked from commit c701f036ea )
2018-11-14 22:15:53 -08:00
Evan Hunt
8d0396737c
convert time_test
...
(cherry picked from commit 3bf9a1e567 )
2018-11-14 22:14:54 -08:00
Evan Hunt
98bff81bae
convert taskpool_test
...
(cherry picked from commit c9ff174dce )
2018-11-14 22:14:54 -08:00
Evan Hunt
16d2d27b04
convert pool_test
...
(cherry picked from commit 4f84acb788 )
2018-11-14 22:14:52 -08:00
Evan Hunt
be41574a20
convert sockaddr_test
...
(cherry picked from commit 231436039d )
2018-11-14 22:14:34 -08:00
Evan Hunt
ba2262910a
convert netaddr_test
...
(cherry picked from commit 7ab8c5b583 )
2018-11-14 22:13:56 -08:00
Evan Hunt
7b2288483f
convert symtab_test
...
(cherry picked from commit 5f377136be )
2018-11-14 22:13:56 -08:00
Evan Hunt
b59107e687
convert queue_test
...
(cherry picked from commit b3db0266cb )
2018-11-14 22:13:54 -08:00
Evan Hunt
3b95658020
convert file_test
...
(cherry picked from commit 8161be27db )
2018-11-14 22:13:24 -08:00
Evan Hunt
0e08dc2e2b
convert lex_test
...
(cherry picked from commit 4133fd86f1 )
2018-11-14 22:13:21 -08:00
Evan Hunt
df41c2668f
convert errno_test
...
(cherry picked from commit 049a3a7c0e )
2018-11-14 22:12:50 -08:00
Evan Hunt
5f3ba36436
convert safe_test
...
(cherry picked from commit c1c8d8846f )
2018-11-14 22:12:47 -08:00
Evan Hunt
5640841732
convert radix_test
...
(cherry picked from commit 718ca3166c )
2018-11-14 22:10:33 -08:00
Evan Hunt
57d78a76e5
convert heap_test
...
(cherry picked from commit cc6ab2416b )
2018-11-14 22:10:14 -08:00
Evan Hunt
f29a9d5bc5
convert parse_test
...
(cherry picked from commit a7c308df9c )
2018-11-14 22:08:50 -08:00
Evan Hunt
856add745a
convert counter_test
...
(cherry picked from commit 52b86f0abe )
2018-11-14 22:08:50 -08:00
Evan Hunt
3095574c1c
convert buffer_test
...
(cherry picked from commit 02a5db7631 )
2018-11-14 22:08:49 -08:00
Evan Hunt
c679b85424
convert aes_test
...
(cherry picked from commit dc88db015b )
2018-11-14 22:08:26 -08:00
Evan Hunt
8db9794322
convert listenlist_test; remove ATF from lib/ns/tests
...
(cherry picked from commit 79ac715763 )
2018-11-14 22:04:39 -08:00
Evan Hunt
fe4619b886
convert notify_test
...
(cherry picked from commit 48dc2831d7 )
2018-11-14 22:04:38 -08:00
Evan Hunt
5b473f87b2
convert query_test
...
- also fixed a bug in openssldh_link.c that turned up in the process
(cherry picked from commit 318b340f5e )
2018-11-14 22:04:38 -08:00
Evan Hunt
1d76da4943
convert resconf_test; remove ATF from lib/irs/tests
...
(cherry picked from commit cec8c52cbe )
2018-11-14 22:04:38 -08:00
Evan Hunt
66fa5b9af6
convert parser_test; remove ATF from lib/isccfg/tests
...
(cherry picked from commit 7ec945bd41 )
2018-11-14 22:04:38 -08:00
Evan Hunt
41831a7d24
assert if {isc,dns,ns}_test_begin() is called when a prior test is running
...
(cherry picked from commit d8766293ab )
2018-11-14 22:04:35 -08:00
Evan Hunt
03c7a096c6
remove .NOTPARALLEL so unit tests can build faster
...
(cherry picked from commit b434b0a4b6 )
2018-11-14 21:54:43 -08:00
Evan Hunt
cd5855378e
add cmocka support to remaining unit test makefiles
...
- also cleaned up some existing test code
(cherry picked from commit 2afd18a2ce )
2018-11-14 21:53:50 -08:00
Mark Andrews
f8b49df8d7
Merge branch 'u/fanf2/optionally-disable-digrc-v9_12' into 'v9_12'
...
U/fanf2/optionally disable digrc v9 12
See merge request isc-projects/bind9!1060
2018-11-14 21:08:01 -05:00
Mark Andrews
5d0426208b
add CHANGES
...
(cherry picked from commit a5524b5fe2 )
2018-11-15 12:59:58 +11:00
Tony Finch and Mark Andrews
2d7969e0a4
dig: a -r option to disable .digrc
...
(cherry picked from commit fdb74fed9e )
2018-11-15 12:59:29 +11:00
Evan Hunt
e322c3ab4a
Merge branch '347-various-bind-9-bugs-in-cleanup-after-fail-scenarios-v9_12' into 'v9_12'
...
Resolve "Various BIND 9 bugs in cleanup-after-fail scenarios"
See merge request isc-projects/bind9!1058
2018-11-14 19:25:16 -05:00
Mark Andrews and Evan Hunt
5c47dd82ac
uninitalize memory read on error path
...
(cherry picked from commit 4eadebe2b2 )
2018-11-15 00:15:33 +00:00
Mark Andrews and Evan Hunt
6b409b89cd
errors initalizing badcaches were not caught or cleaned up on error paths
...
(cherry picked from commit 93776c4c81 )
2018-11-15 00:15:29 +00:00
Mark Andrews
b163281917
Merge branch '688-prefer-kyua-over-aft-run-v9_12' into 'v9_12'
...
Resolve "prefer kyua over aft-run"
See merge request isc-projects/bind9!1051
2018-11-14 16:05:23 -05:00
Mark Andrews
ecf8ede7ea
prefer kyua over atf
...
(cherry picked from commit 590d391bbb )
2018-11-14 15:32:13 -05:00
Evan Hunt
0401840cb1
Merge branch '558-nsupdate-leaks-memory-when-using-gss-tsig-and-receiving-sigterm-at-a-right-time-v9_12' into 'v9_12'
...
Resolve "nsupdate leaks memory when using GSS-TSIG and receiving SIGTERM at a "right" time"
See merge request isc-projects/bind9!1055
2018-11-14 15:00:55 -05:00
Mark Andrews and Evan Hunt
d7c484ac7a
free tmpzonename and restart_master
...
(cherry picked from commit 50714a9b35 )
2018-11-14 11:41:48 -08:00
Evan Hunt
d33cc6e985
Merge branch '675-don-t-use-typename-v9_12' into 'v9_12'
...
Resolve "Don't use 'typename'"
See merge request isc-projects/bind9!1053
2018-11-14 14:17:07 -05:00
Mark Andrews and Evan Hunt
5f9fde54cc
don't use 'typename' as it is reserved in C++
2018-11-14 11:08:44 -08:00
Mark Andrews
73e9dc7e99
Merge branch '584-dig-treats-4-6-m-after-q-argument-as-an-option-but-not-a-domain-name-v9_12' into 'v9_12'
...
Resolve "dig treats -4/-6/-m after -q argument as an option but not a domain name"
See merge request isc-projects/bind9!1046
2018-11-13 20:52:34 -05:00
Evan Hunt and Mark Andrews
1b5f73a25b
style
...
(cherry picked from commit e356d93175 )
2018-11-14 11:55:21 +11:00
Mark Andrews
ba5726ec2f
check that delv -q -m works
...
(cherry picked from commit 77128c867c )
2018-11-14 11:55:21 +11:00
Mark Andrews
b9b8782144
check that dig -q -m works
...
(cherry picked from commit f6f07fb41e )
2018-11-14 11:55:21 +11:00
Mark Andrews
46d80fe979
add -q to dash_opts
...
(cherry picked from commit ba5d28dcfe )
2018-11-14 11:55:21 +11:00
Mark Andrews
999163cd77
dig and mdig failed to properly preparse dash value pairs when value was a seperate argument and started with a dash.
...
(cherry picked from commit 75fa84b67b )
2018-11-14 11:55:20 +11:00
Evan Hunt
ac0eff46e7
Merge branch '587-statistics-channels-xml-v2-is-removed-but-still-documented-v9_12' into 'v9_12'
...
Resolve "statistics-channels /xml/v2 is removed but still documented"
See merge request isc-projects/bind9!1043
2018-11-13 14:09:26 -05:00
Mark Andrews and Evan Hunt
b7d61f8cf7
remove reference to obsolete xml/v2 schema
...
(cherry picked from commit 9e1af0cef1 )
2018-11-13 11:08:39 -08:00
Michał Kępień
53d8c91de3
Merge branch '433-restore-localhost-fallback-in-bin-dig-dighost.c-v9_12' into 'v9_12'
...
[v9_12] Restore localhost fallback in bin/dig/dighost.c
See merge request isc-projects/bind9!1041
2018-11-13 08:52:45 -05:00
Michał Kępień
127f6c7d06
Add CHANGES entry
...
5089. [bug] Restore localhost fallback in dig and host which is
used when no nameserver addresses present in
/etc/resolv.conf are usable due to the requested
address family restrictions. [GL #433 ]
(cherry picked from commit 867bc3399b )
2018-11-13 14:32:51 +01:00
Michał Kępień
8181ffefe7
Restore localhost fallback in bin/dig/dighost.c
...
In BIND 9.11 and earlier, dig and similar tools used liblwres for
parsing /etc/resolv.conf. After getting a list of servers from
liblwres, a tool would check the address family of each server found and
reject those unusable. When the resulting list of usable servers was
empty, localhost addresses were queried as a fallback.
When liblwres was removed in BIND 9.12, dig and similar tools were
updated to parse /etc/resolv.conf using libirs instead. As part of that
process, the localhost fallback was removed from bin/dig/dighost.c since
the localhost fallback built into libirs was deemed to be sufficient.
However, libirs only falls back to localhost if it does not find any
name servers at all; if it does find any valid nameserver entry in
/etc/resolv.conf, it just returns it to the caller because it is
oblivious to whether the caller supports IPv4 and/or IPv6 or not. The
code in bin/dig/dighost.c subsequently filters the returned list of
servers in get_server_list() according to the requested address family
restrictions. This may result in none of the addresses returned by
libirs being usable, in which case a tool will attempt to work with an
empty server list, causing a hang and subsequently a crash upon user
interruption.
Restore the localhost fallback in bin/dig/dighost.c to prevent the
aforementioned hangs and crashes and ensure recent BIND versions behave
identically to the older ones in the circumstances described above.
(cherry picked from commit 18758392da )
2018-11-13 14:32:51 +01:00
Michał Kępień
14b8bf9d87
Merge branch '599-fix-a-shutdown-race-in-diagnostic-tools-v9_12' into 'v9_12'
...
[v9_12] Fix a shutdown race in bin/dig/dighost.c
See merge request isc-projects/bind9!1039
2018-11-13 08:25:13 -05:00
Michał Kępień
e206bf8836
Add CHANGES entry
...
5088. [bug] dig/host/nslookup could crash when interrupted close to
a query timeout. [GL #599 ]
(cherry picked from commit ae40e8039b )
2018-11-13 13:52:21 +01:00
Michał Kępień
9c963ed606
Fix a shutdown race in bin/dig/dighost.c
...
If a tool using the routines defined in bin/dig/dighost.c is sent an
interruption signal around the time a connection timeout is scheduled to
fire, connect_timeout() may be executed after destroy_libs() detaches
from the global task (setting 'global_task' to NULL), which results in a
crash upon a UDP retry due to bringup_timer() attempting to create a
timer with 'task' set to NULL. Fix by preventing connect_timeout() from
attempting a retry when shutdown is in progress.
(cherry picked from commit 4621756596 )
2018-11-13 13:52:21 +01:00
Evan Hunt
9186dba02d
Merge branch 'fix-rules-typo-v9_12' into 'v9_12'
...
fix rules.in typo
See merge request isc-projects/bind9!1037
2018-11-13 03:33:57 -05:00
Evan Hunt
4357852699
fix typo
...
(cherry picked from commit 9671909289 )
2018-11-13 00:24:24 -08:00
Mark Andrews
1e871d6904
Merge branch 'autoheader-v9_12' into 'v9_12'
...
autoheader
See merge request isc-projects/bind9!1032
2018-11-12 18:17:09 -05:00
Mark Andrews
7579f1fb22
autoheader
2018-11-13 10:07:57 +11:00
Mark Andrews
dc14cafe7e
Merge branch 'fix-test-linkages-v9_12' into 'v9_12'
...
Fix test linkages
See merge request isc-projects/bind9!1028
2018-11-12 15:58:59 -05:00
Mark Andrews
97a108f00d
remove lib/isc/tests/result_test as it is now cmocka
...
(cherry picked from commit 9024cf0c15 )
2018-11-13 07:50:13 +11:00
Mark Andrews
4dc0d7eadd
fixup
...
(cherry picked from commit ba0e5ffc09 )
2018-11-13 07:50:11 +11:00
Mark Andrews
433f77a5ef
link in lib/isccc/tests/Kyuafile
...
(cherry picked from commit 9a59352b4c )
2018-11-13 07:49:11 +11:00
Mark Andrews
e4831a81ba
Merge branch 'backport-require-cmocka-greater-than-or-equal-1.0.0' into 'v9_12'
...
require cmocka >= 1.0.0
See merge request isc-projects/bind9!1023
2018-11-12 02:41:22 -05:00
Mark Andrews
1e8cdc20f3
define CMOCKA_CFLAGS and CMOCKA_LIBS
2018-11-12 18:31:02 +11:00
Mark Andrews
f3ff5f63ac
require cmocka >= 1.0.0
2018-11-12 18:00:55 +11:00
Mark Andrews
76960ad3ae
Merge branch '351-fix-with-cmocka=path-build-v9_12' into 'v9_12'
...
Resolve "configure fails unless --enable-developer is specified"
See merge request isc-projects/bind9!1020
2018-11-12 01:34:07 -05:00
Ondřej Surý and Mark Andrews
28a6c9e2a5
Use cmocka_set_message_output as test function for cmocka presence
...
(cherry picked from commit 0158c1a4ea )
2018-11-12 17:25:13 +11:00
Mark Andrews
4e002e9e02
Merge branch '351-disable-cmocka-by-default-v9_12' into 'v9_12'
...
Resolve "configure fails unless --enable-developer is specified"
See merge request isc-projects/bind9!1019
2018-11-12 00:12:41 -05:00
Ondřej Surý and Mark Andrews
a765151465
Set with_cmocka=no by default
...
(cherry picked from commit ed8000f333 )
2018-11-12 00:01:55 -05:00
Mark Andrews
fef2f618f7
Merge branch '676-isc_result_toid-tables-not-complete-v9_12' into 'v9_12'
...
Resolve "isc_result_toid tables not complete"
See merge request isc-projects/bind9!1016
2018-11-11 23:20:16 -05:00
Evan Hunt and Mark Andrews
0a2706b288
convert result tests to use CMocka instead of ATF
...
(cherry picked from commit 471110933a )
2018-11-12 15:10:52 +11:00
Mark Andrews
3bc66aa712
check result tables are complete
...
(cherry picked from commit 4f04a79250 )
2018-11-12 15:09:37 +11:00
Mark Andrews
39fe368c4f
Merge branch '250-integrate-cmocka-into-our-build-scripts-v9_12' into 'v9_12'
...
Add cmocka support to infrastructure (build) files
See merge request isc-projects/bind9!1014
2018-11-11 20:40:27 -05:00
Ondřej Surý and Mark Andrews
3223b1b540
Add support for cmocka assert testing by overriding REQUIRE/INSIST/... macros when UNIT_TESTING is defined
...
(cherry picked from commit 52731c000d )
2018-11-12 12:31:45 +11:00
Ondřej Surý and Mark Andrews
f2243e5f18
Add --wrap linker option detection
...
(cherry picked from commit 10535d1c79 )
2018-11-12 12:22:37 +11:00
Ondřej Surý and Mark Andrews
f28f971eca
Enforce TAP output from cmocka based unit tests
...
(cherry picked from commit bd2ddec58f )
2018-11-12 12:22:37 +11:00
Ondřej Surý and Mark Andrews
3b2f9ceec6
Integrate cmocka unit testing framework to kyua
...
(cherry picked from commit 07910f0153 )
2018-11-12 12:22:33 +11:00
Mark Andrews
a9c162d2e5
Merge branch '186-bind-9-12-x-potential-bug-with-dig-when-tools-installed-on-windows-v9_12' into 'v9_12'
...
Resolve "Bind 9.12.x: Potential bug with Dig when Tools installed on Windows"
See merge request isc-projects/bind9!1009
2018-11-09 00:47:47 -05:00
Mark Andrews
990743181b
add CHANGES note
...
(cherry picked from commit 4f7deb348b )
2018-11-09 16:26:43 +11:00
Mark Andrews
4cc245abdc
look in windows registry for nameservers, domainname and search list
...
(cherry picked from commit 6ead8c7be8 )
2018-11-09 16:22:52 +11:00
Mark Andrews
2266b6e0fa
Merge branch '673-fix-windows-build-resource-discover-v9_12' into 'v9_12'
...
Resolve "fix windows build resource discover"
See merge request isc-projects/bind9!1006
2018-11-08 20:51:23 -05:00
Mark Andrews
818e6822c4
isc_resource_getlimit under windows only supports isc_resource_openfiles
...
(cherry picked from commit 896fb585b3 )
2018-11-09 12:42:33 +11:00
Ondřej Surý
63f620ed43
Merge branch '451-fix-atomic-int-lock-free-usage-v9_12' into 'v9_12'
...
Properly use ATOMIC_*_LOCK_FREE preprocessor constants
See merge request isc-projects/bind9!997
2018-11-08 16:54:15 -05:00
Ondřej Surý
a5e7901eb9
Properly use ATOMIC_*_LOCK_FREE preprocessor constants
...
The ATOMIC_*_LOCK_FREE can evalutate either 0, 1, or 2 which indicate the
lock-free property of the corresponding atomic types (both signed and unsigned).
Value Explanation
----- --------------------------------------
0 The atomic type is never lock-free
1 The atomic type is sometimes lock-free
2 The atomic type is always lock-free
----- --------------------------------------
2018-11-09 04:50:50 +07:00
Ondřej Surý
f914cd93b8
Merge branch '449-isc_stdtime_t-post-stdint-cleanup-v9_12' into 'v9_12'
...
(v9_12) Resolve "Follow-up from "Redefine ISC's int and boolean types to use <stdint.h> and <stdbool.h> types""
See merge request isc-projects/bind9!1001
2018-11-08 15:07:20 -05:00
Ondřej Surý
956d1bda02
isc_stdtime_t is always 32-bit now, so remove the always true macro STDTIME_ON_32BITS
...
(cherry picked from commit 6f5fe11f5a )
2018-11-09 02:56:49 +07:00
Ondřej Surý
15a4f74b28
Print isc_stdtime_t with PRIu32
...
(cherry picked from commit c355e1f38f )
2018-11-09 02:56:48 +07:00
Ondřej Surý
7b083a4958
Merge branch '224-remove-isc-hmax-fixup-exe-bnff-from-win32utils-configure-v9_12' into 'v9_12'
...
Remove isc-hmac-fixup.exe remains from win32util/Configure
See merge request isc-projects/bind9!999
2018-11-08 13:58:51 -05:00
Ondřej Surý
fe4b48b694
Remove isc-hmac-fixup.exe remains from win32util/Configure
2018-11-09 01:50:22 +07:00
Ondřej Surý
a0a6fc8b85
Merge branch '656-add-support-for-utimaco-hsm-v9_11-v9_12' into 'v9_12'
...
(v9_12) Resolve "Add support for Utimaco HSM"
See merge request isc-projects/bind9!996
2018-11-08 12:44:08 -05:00
Ondřej Surý
039cef9235
Add CHANGES entry for GL #656
...
(cherry picked from commit ebe63fd316 )
2018-11-09 00:35:05 +07:00
Ondřej Surý
8ffcef8435
Disable runtime detection of md5 and sha1 support for Utimaco HSM.
...
Utimaco HSM requires user to be logged in before executing DigestUpdate, thus
breaking dst_lib_init2 that ran isc_md5_check and isc_sha1_check before sending
PIN to the HSM. Therefore isc_*_check needs to be disabled when Utimaco HSM is
being used as PKCS#11 library.
(cherry picked from commit 52784fc3cc )
2018-11-09 00:35:05 +07:00
Ondřej Surý
6610da90d1
Define PK11_UTIMACO_FLAVOR and add detection code to configure.ac
...
(cherry picked from commit 2079e44fb9 )
2018-11-09 00:35:05 +07:00
Ondřej Surý
12a2b25612
Merge branch '305-misc-fixes-v9_12' into 'v9_12'
...
(v9_12) Miscellaneous style fixes - implicit casts to bool and uninitialized variables fixes
See merge request isc-projects/bind9!993
2018-11-08 09:33:51 -05:00
Ondřej Surý
03c7bb9ab3
Disable Ed448 algorithm, the implementation in BIND 9 is incomplete and broken
2018-11-08 19:53:05 +07:00
Ondřej Surý
bc7a1b00e9
fixup! Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached
2018-11-08 19:45:37 +07:00
Ondřej Surý
5ad72603a8
Remove dummy ISLOCKED macro
...
(cherry picked from commit 68ca987792 )
2018-11-08 15:09:12 +07:00
Ondřej Surý
4568669807
Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached
...
(cherry picked from commit 23fff6c569 )
2018-11-08 15:09:12 +07:00
Ondřej Surý
ce6ef5b50e
Modify the dbversion_test.c to detect disabled assertions
...
(cherry picked from commit b992b5b811 )
2018-11-08 14:37:14 +07:00
Ondřej Surý
2a26189256
Add extra return failure after INSIST(0) in default branch
...
(cherry picked from commit 29c45200e7 )
2018-11-08 14:37:14 +07:00
Ondřej Surý
65536fb10b
Use larger buffers on snprintf buffer overflow false positives
...
(cherry picked from commit 4eaf927571 )
2018-11-08 14:37:14 +07:00
Ondřej Surý
1e6329038b
Don't assert on failed getrlimit call to allow called to handle this gracefully as it already does, just abort where we need to know the numbers
...
(cherry picked from commit e2e138a801 )
2018-11-08 14:37:14 +07:00
Ondřej Surý
3d834566f1
When ISC assertions are disabled, still execute the condition to prevent unused variable warnings/errors from the compiler
...
(cherry picked from commit a831e0f72d )
2018-11-08 14:37:14 +07:00
Ondřej Surý
c5825eba40
Add a GitLab CI job that runs with all assertions disabled
...
(cherry picked from commit 461ffead1f )
2018-11-08 14:37:14 +07:00
Ondřej Surý
fcd1569e2b
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
...
(cherry picked from commit b2b43fd235 )
2018-11-08 14:37:14 +07:00
Ondřej Surý
b222783ae9
Add small tweaks to the code to fix compilation when ISC assertions are disabled
...
While implementing the new unit testing framework cmocka, it was found that the
BIND 9 code doesn't compile when assertions are disabled or replaced with any
function (such as mock_assert() from cmocka unit testing framework) that's not
directly recognized as assertion by the compiler.
This made the compiler to complain about blocks of code that was recognized as
unreachable before, but now it isn't.
The changes in this commit include:
* assigns default values to couple of local variables,
* moves some return statements around INSIST assertions,
* adds __builtin_unreachable(); annotations after some INSIST assertions,
* fixes one broken assertion (= instead of ==)
(cherry picked from commit fbd2e47f51 )
2018-11-08 14:05:23 +07:00
Mark Andrews
f8620738e5
Merge branch 'wpk-get-rid-of-bashism-in-CDS-test-v9_12' into 'v9_12'
...
Small system tests fixes for Solaris
See merge request isc-projects/bind9!991
2018-11-07 20:32:50 -05:00
Witold Krecicki and Mark Andrews
070e4135c4
Remove unnecessary sed from autosign test
...
(cherry picked from commit 82dfb77328 )
2018-11-08 12:19:57 +11:00
Witold Krecicki and Mark Andrews
f49bd1e77f
Use 'local' variable in echo functions in tests
...
(cherry picked from commit 0949b1fe2c )
2018-11-08 12:19:51 +11:00
Witold Kręcicki and Mark Andrews
5d4074c4e4
Get rid of bashism in CDS test
...
(cherry picked from commit dbf2e7928e )
2018-11-08 12:14:31 +11:00
Mark Andrews
b7b668b463
Merge branch '653-idnout-only-on-tty-v9_12' into 'v9_12'
...
Enable idnout output only on tty, disable it when the stdout is not a tty
See merge request isc-projects/bind9!983
2018-11-06 19:40:43 -05:00
Ondřej Surý and Mark Andrews
71ae7caf56
Add CHANGES entry for GL #653
...
(cherry picked from commit 9c0c44405c )
2018-11-07 11:32:56 +11:00
Ondřej Surý and Mark Andrews
e484721209
Add release notes for IDN processing update
...
(cherry picked from commit 2a11a7dd29 )
2018-11-07 11:32:56 +11:00
Ondřej Surý and Mark Andrews
9fe7963ec3
Update the IDN documentation for nslookup
...
(cherry picked from commit b659765869 )
2018-11-07 11:32:56 +11:00
Ondřej Surý and Mark Andrews
a148af6728
Change the dig documentation
...
(cherry picked from commit 7697923eab )
2018-11-07 11:32:56 +11:00
Ondřej Surý and Mark Andrews
bee5674283
Update the idna tests for the new non-tty defaults
...
(cherry picked from commit e8c57a78aa )
2018-11-07 11:32:56 +11:00
Ondřej Surý and Mark Andrews
cd83fb94c6
Enable IDN processing (both idnin and idnout) only on tty, disable it when the stdout is not a tty
...
(cherry picked from commit 0e1bf7d017 )
2018-11-06 17:10:09 +11:00
Mark Andrews
8dcaf90874
Merge branch '601-build-option-with-python-should-default-to-yes-v9_12' into 'v9_12'
...
Resolve "Build option --with-python should default to yes"
See merge request isc-projects/bind9!981
2018-11-06 00:51:44 -05:00
Mark Andrews
7e32115c12
require python to be explicitly disabled
...
(cherry picked from commit bf8746126c )
2018-11-06 16:42:45 +11:00
Mark Andrews
5252e38acd
Merge branch '617-if-rrl-is-configured-the-require-server-cookie-yes-is-ignored-v9_12' into 'v9_12'
...
Resolve "If RRL is configured the "require-server-cookie yes;" is ignored."
See merge request isc-projects/bind9!977
2018-11-05 18:35:26 -05:00
Mark Andrews
48c6914639
add CHANGES note
...
(cherry picked from commit a868f335d2 )
2018-11-06 10:22:32 +11:00
Mark Andrews
ce80d59e97
test require-server-cookie with rate-limit
...
(cherry picked from commit 164370102a )
2018-11-06 10:20:43 +11:00
Mark Andrews
5d1244a831
check requireservercookie even if rrl is configured
...
(cherry picked from commit d6f6eeda9d )
2018-11-06 10:20:43 +11:00
Michał Kępień
97e58eb233
Merge branch '611-extend-serve-stale-tests-v9_12' into 'v9_12'
...
[v9_12] Extend serve-stale tests
See merge request isc-projects/bind9!964
2018-10-31 09:26:46 -04:00
Michał Kępień
a0c5c01fe5
Check serve-stale behavior with a cold cache
...
Ensure that serve-stale works as expected when returning stale answers
is enabled, the authoritative server does not respond, and there is no
cached answer available.
(cherry picked from commit 27cfe83a38 )
2018-10-31 14:08:44 +01:00
Michał Kępień
9fe44e48b2
Check TTL of stale answers
...
Make sure that stale answers returned when the serve-stale feature is
enabled have a TTL matching the value of the stale-answer-ttl setting.
(cherry picked from commit 893ab37ce7 )
2018-10-31 14:08:43 +01:00
Mark Andrews
0cd60f604c
Merge branch '649-resolver-test-failing-v9_12' into 'v9_12'
...
Resolve "resolver test failing"
See merge request isc-projects/bind9!960
2018-10-31 01:49:41 -04:00
Mark Andrews
86176a9153
use new packet for response; rename variable to request and response
...
(cherry picked from commit 280d0ca507 )
2018-10-31 16:36:34 +11:00
Evan Hunt
806a781638
Merge branch 'silence-warning-v9_12' into 'v9_12'
...
silence warning from missing print.h
See merge request isc-projects/bind9!956
2018-10-30 11:09:57 -04:00
Evan Hunt
d99a9db93a
silence warning from missing print.h
...
(cherry picked from commit a0de6707c0 )
2018-10-30 08:09:28 -07:00
Michał Kępień
4b26b9fe74
Merge branch '644-fix-isc_buffer_copyregion-for-auto-reallocated-buffers-v9_12' into 'v9_12'
...
[v9_12] Fix isc_buffer_copyregion() for auto-reallocated buffers
See merge request isc-projects/bind9!950
2018-10-30 08:52:27 -04:00
Michał Kępień
4447d5e317
Add CHANGES entry
...
5072. [bug] Add unit tests for isc_buffer_copyregion() and fix its
behavior for auto-reallocated buffers. [GL #644 ]
(cherry picked from commit 07050fb49a )
2018-10-30 13:33:43 +01:00
Michał Kępień
a21c1aacdf
Fix isc_buffer_copyregion() for auto-reallocated buffers
...
While isc_buffer_copyregion() calls isc_buffer_reserve() to ensure the
target buffer will have enough available space to append the contents of
the source region to it, the variables used for subsequently checking
available space are not updated accordingly after that call. This
prevents isc_buffer_copyregion() from working as expected for
auto-reallocated buffers: ISC_R_NOSPACE will be returned if enough space
is not already available in the target buffer before it is reallocated.
Fix by calling isc_buffer_used() and isc_buffer_availablelength()
directly instead of assigning their return values to local variables.
(cherry picked from commit e1f0aed034 )
2018-10-30 13:33:42 +01:00
Michał Kępień
72caf33ffb
Add unit tests for isc_buffer_copyregion()
...
Add some basic checks for isc_buffer_copyregion() to ensure it behaves
as expected for both fixed-size buffers and buffers which can be
automatically reallocated. Adjust the list of headers included by
lib/isc/tests/buffer_test.c so that it matches what that test program
really uses.
(cherry picked from commit 15440d8027 )
2018-10-30 13:33:42 +01:00
Ondřej Surý
bc5d26a8fe
Merge branch 'ondrej/cleanup-leftover-fatal-v9_12' into 'v9_12'
...
(v9_12) Remove double result check leftover
See merge request isc-projects/bind9!947
2018-10-30 08:08:30 -04:00
Ondřej Surý
6062d370b6
Remove double result check leftover
...
(cherry picked from commit 065ff16e40 )
2018-10-30 12:59:21 +01:00
Witold Krecicki
2bbdf344e4
Merge branch 'wpk-fix-race-in-rpz-with-min-update-interval-0-v9_12' into 'v9_12'
...
Fix race in rpz with min update interval 0 v9 12
See merge request isc-projects/bind9!943
2018-10-30 02:59:45 -04:00
Witold Kręcicki
c209bb1400
<stdlib.h> include in rpz.c for strtoul
...
(cherry picked from commit 8283cbabdc )
2018-10-30 06:51:47 +00:00
Michał Kępień and Witold Kręcicki
7258535655
Release all resources when shutting down an RPZ zone during an update
...
If an RPZ zone is to be freed during an update, canceling the
update_quantum() event is not enough because the resources released when
an update completes also need to be accounted for. Failure to do this
results in a hang upon shutdown. Fix by copying cleanup code from the
end of update_quantum() to rpz_detach().
(cherry picked from commit 139bc2c6ab )
2018-10-30 06:51:47 +00:00
Witold Kręcicki
384b3ef596
Fix a race in RPZ with min-update-interval set to 0
...
If another RPZ update is pending when processing the previous one nears
completion and min-update-interval is set to 0, isc_timer_reset() gets
called with 'interval' set to 0, which triggers an assertion failure.
To prevent such a scenario from causing a crash, queue the update event
directly instead of asking the timer thread to do it.
(cherry picked from commit faf2c7711a )
2018-10-30 06:51:40 +00:00
Mark Andrews
b79602e923
Merge branch '631-dns_rdata_compare-for-nxt-performs-case-sensitive-name-comparison-v9_12' into 'v9_12'
...
Resolve "dns_rdata_compare() for NXT performs case sensitive name comparison"
See merge request isc-projects/bind9!941
2018-10-30 00:17:34 -04:00
Mark Andrews
22feff0b62
add CHANGES note
...
(cherry picked from commit 921bc89f59 )
2018-10-30 15:09:48 +11:00
Mark Andrews
7074cbdacd
compare_nxt compared records with identical next fields case insensitively
...
(cherry picked from commit cf83016682 )
2018-10-30 15:09:45 +11:00
Mark Andrews
a0ae166058
Merge branch 'move-declaration-of-pending' into 'v9_12'
...
move declaration of pending
See merge request isc-projects/bind9!939
2018-10-29 20:53:54 -04:00
Mark Andrews
bc53e5e5d4
move declaration of pending
2018-10-30 11:51:38 +11:00
Mark Andrews
6768053022
Merge branch '638-record-types-with-empty-rdata-fields-were-not-being-handled-correctly-v9_12' into 'v9_12'
...
Resolve "Record types with empty rdata fields were not being handled correctly."
See merge request isc-projects/bind9!937
2018-10-29 20:25:19 -04:00
Mark Andrews
d09955736a
document eol
...
(cherry picked from commit 97a680e5ce )
2018-10-30 11:16:49 +11:00
Mark Andrews
dce7bb3f82
Record types which support a empty rdata field were not handling the empty rdata field case.
...
(cherry picked from commit 2ff57d8a39 )
2018-10-30 11:16:43 +11:00
Evan Hunt
17e574293d
Merge branch '641-unquoted-rpz-v9_12' into 'v9_12'
...
allow unquoted response-policy zone names
See merge request isc-projects/bind9!934
2018-10-29 13:07:23 -04:00
Evan Hunt
aa797579ef
allow unquoted response-policy zone names
...
(cherry picked from commit 507230aa88 )
2018-10-29 09:59:44 -07:00
Mark Andrews
8da6a31497
Merge branch '635-unchecked-return-in-query-c-v9_12' into 'v9_12'
...
Resolve "unchecked return in query.c"
See merge request isc-projects/bind9!930
2018-10-29 03:33:41 -04:00
Mark Andrews
18e7934959
always call RUNTIME_CHECK(result == ISC_R_SUCCESS); for dns_rdata_tostruct
...
(cherry picked from commit e11cfafff2 )
2018-10-29 18:25:57 +11:00
Mark Andrews
d8485aeee3
Merge branch '553-socket-c-2171-unexpected-error-v9_12' into 'v9_12'
...
Only set IPV6_USE_MIN_MTU on IPv6.
See merge request isc-projects/bind9!928
2018-10-29 02:39:18 -04:00
Mark Andrews
7ccca052c0
Only set IPV6_USE_MIN_MTU on IPv6.
...
(cherry picked from commit 561b780ba0 )
2018-10-29 17:28:57 +11:00
Mark Andrews
f6e5fe1848
Merge branch '624-lib-dns-dnstap_test-totext-does-not-work-well-with-softhsm-pkcs11-v9_12' into 'v9_12'
...
Resolve "lib/dns/dnstap_test:totext does not work well with SoftHSM PKCS11"
See merge request isc-projects/bind9!922
2018-10-29 01:42:43 -04:00
Mark Andrews
c8276a29e6
Initalize TZ environment variable before calling dns_test_begin in dnstap_test.
...
(cherry picked from commit 1cf1254051 )
2018-10-29 16:35:06 +11:00
Evan Hunt
a907cb5918
Merge branch '626-implement-eid-and-nimloc-v9_12' into 'v9_12'
...
Resolve "Implement EID and NIMLOC"
See merge request isc-projects/bind9!913
2018-10-25 18:40:30 -04:00
Mark Andrews and Evan Hunt
b4b006a686
Add support for EID and NIMLOC
...
(cherry picked from commit fbab100426 )
2018-10-25 15:30:58 -07:00
Evan Hunt
bf523e9a4b
Merge branch '627-check-that-gid-uid-and-uinfo-can-be-loaded-using-unknown-record-format-v9_12' into 'v9_12'
...
Resolve "Check that GID, UID and UINFO can be loaded using unknown record format."
See merge request isc-projects/bind9!911
2018-10-25 16:43:43 -04:00
Mark Andrews and Evan Hunt
f569c8ad26
GID, UID and UINFO could not be loaded using unknown record format.
...
(cherry picked from commit eb7ca65b78 )
2018-10-25 13:34:49 -07:00
Michał Kępień
2ca5978086
Merge branch 'prep-release-v9_12_3' into 'v9_12'
...
prep 9.12.3
See merge request isc-projects/bind9!903
2018-10-25 08:30:40 -04:00
Tinderbox User and Michał Kępień
04d53f446e
prep 9.12.3
2018-10-25 14:00:59 +02:00
Michał Kępień
25f679757d
Merge branch '427-list-zones-in-the-web-interface-v9_12' into 'v9_12'
...
[v9_12] Display a per-view list of zones in the web interface
See merge request isc-projects/bind9!899
2018-10-25 04:39:27 -04:00
Michał Kępień
a873d93f14
Add CHANGES entry
...
5059. [bug] Display a per-view list of zones in the web interface.
[GL #427 ]
(cherry picked from commit d9c4068cc3 )
2018-10-25 10:25:25 +02:00
Michał Kępień
9dc1b43f3c
Display a per-view list of zones in the web interface
...
The XSL stylesheet used by the web interface does not currently include
any element which would cause a list of zones configured in each view to
be displayed, making the "Zones" section of the web interface empty
unless some zone has been configured with "zone-statistics full;" and
queried. Since this can be confusing, modify the XSL stylesheet so that
a list of zones configured in each view is displayed in the web
interface.
(cherry picked from commit aeda3f389e )
2018-10-25 10:21:26 +02:00
Michał Kępień
043445db8b
Merge branch '582-fix-server-addresses-configuration-type-v9_12' into 'v9_12'
...
[v9_12] Fix the configuration type used by the "server-addresses" option
See merge request isc-projects/bind9!897
2018-10-25 03:22:25 -04:00
Michał Kępień
963a441921
Add CHANGES entry
...
5051. [doc] Documentation incorrectly stated that the
"server-addresses" static-stub zone option accepts
custom port numbers. [GL #582 ]
(cherry picked from commit 6b1c0a8e6f )
2018-10-25 09:00:46 +02:00
Michał Kępień
7b9a5ed7d5
Fix the configuration type used by the "server-addresses" option
...
Contrary to what the documentation states, the "server-addresses"
static-stub zone option does not accept custom port numbers. Fix the
configuration type used by the "server-addresses" option to ensure
documentation matches source code. Remove a check_zoneconf() test which
is unnecessary with this fix in place.
(cherry picked from commit b324576858 )
2018-10-25 08:58:56 +02:00
Mark Andrews
ae7e59c268
Merge branch '619-implement-atma-v9_12' into 'v9_12'
...
Resolve "Implement ATMA"
See merge request isc-projects/bind9!893
2018-10-24 23:18:30 -04:00
Mark Andrews
f6515be8f6
Add support for ATMA
...
(cherry picked from commit f9ceddd8ca )
2018-10-25 14:08:42 +11:00
Mark Andrews
efa5eeeb51
Merge branch '609-address-memory-leak-on-error-v9_12' into 'v9_12'
...
Resolve "Address memory leak on error"
See merge request isc-projects/bind9!891
2018-10-24 23:05:36 -04:00
Mark Andrews
7f07a0bb5d
expand the pool then copy over the old entries so we that failures do not break the old pool; also don't leak the new pool on error
...
(cherry picked from commit afde30fe9b )
2018-10-25 13:20:03 +11:00
Mark Andrews
7796546fb2
Merge branch '610-address-memory-leak-on-error-v9_12' into 'v9_12'
...
Resolve "Address memory leak on error"
See merge request isc-projects/bind9!883
2018-10-23 21:05:47 -04:00
Mark Andrews
e388288322
free key on error
...
(cherry picked from commit 607c2d7441 )
2018-10-24 11:57:46 +11:00
Evan Hunt
1b276bdb14
Merge branch 'cleanup-changes-v9_12' into 'v9_12'
...
minor CHANGES edits
See merge request isc-projects/bind9!881
2018-10-23 16:32:17 -04:00
Evan Hunt
512cdf8344
minor edits
2018-10-23 13:31:48 -07:00
Michał Kępień
4cd0ee8fab
Merge branch '187-libirs-handle-scoped-ipv6-addresses-in-etc-resolv.conf-v9_12' into 'v9_12'
...
[v9_12] libirs: handle scoped IPv6 addresses in /etc/resolv.conf
See merge request isc-projects/bind9!879
2018-10-23 09:13:16 -04:00
Michał Kępień
9b802174f6
Add CHANGES entry
...
5050. [bug] The libirs version of getaddrinfo() was unable to parse
scoped IPv6 addresses present in /etc/resolv.conf.
[GL #187 ]
(cherry picked from commit b7564cc898 )
2018-10-23 14:54:18 +02:00
Michał Kępień
97c7021e24
libirs: handle scoped IPv6 addresses in /etc/resolv.conf
...
Commonly used network configuration tools write scoped IPv6 nameserver
addresses to /etc/resolv.conf. libirs only handles these when it is
compiled with -DIRS_HAVE_SIN6_SCOPE_ID, which is not the default, and
only handles numeric scopes, which is not what network configuration
tools typically use. This causes dig to be practically unable to handle
scoped IPv6 nameserver addresses in /etc/resolv.conf.
Fix the problem by:
- not requiring a custom compile-time flag to be set in order for
scoped IPv6 addresses to be processed by getaddrinfo(),
- parsing non-numeric scope identifiers using if_nametoindex(),
- setting the sin6_scope_id field in struct sockaddr_in6 structures
returned by getaddrinfo() even if the AI_CANONNAME flag is not set.
(cherry picked from commit 76d49c05be )
2018-10-23 14:54:07 +02:00
Michał Kępień
f6c677c100
Merge branch 'wpk-servfail-on-upstream-formerr-v9_12' into 'v9_12'
...
[v9_12] Set result to SERVFAIL if upstream responded with FORMERR
See merge request isc-projects/bind9!877
2018-10-23 08:12:28 -04:00
Witold Kręcicki and Michał Kępień
886cc5f64d
Set result to SERVFAIL if upstream responded with FORMERR
...
Commit 2bc4c92ed4 causes the resolver to
respond to a client query with FORMERR when all upstream queries sent to
the servers authoritative for QNAME elicit FORMERR responses. This
happens because resolver code returns DNS_R_FORMERR in such a case and
dns_result_torcode() acts as a pass-through for all arguments which are
already a valid RCODE.
The correct RCODE to set in the response returned to the client in the
case described above is SERVFAIL. Make sure this happens by overriding
the RCODE in query_gotanswer(), on the grounds that any format errors in
the client query itself should be caught long before execution reaches
that point. This change should not reduce query error logging accuracy
as the resolver code itself reports the exact reason for returning a
DNS_R_FORMERR result using log_formerr().
(cherry picked from commit b5c9a8caad )
2018-10-23 14:00:12 +02:00
Ondřej Surý
75e9a98df8
Merge branch '4-rename-configure.in-to-configure.ac-v9_12' into 'v9_12'
...
[v9_12] Rename configure.in to configure.ac
See merge request isc-projects/bind9!873
2018-10-23 04:11:00 -04:00
Ondřej Surý
704ae93e47
Rename configure.in to configure.ac
2018-10-23 09:59:16 +02:00
Ondřej Surý
5a2b525abf
Merge branch '506-print-fips-mode-v9_12-fix' into 'v9_12'
...
Fix the FIPS mode merge
See merge request isc-projects/bind9!871
2018-10-22 15:56:13 -04:00
Ondřej Surý
a5116a777c
Fix missing enable_fips_mode merged in wrong place
2018-10-22 21:34:16 +02:00
Ondřej Surý
cf30a5221b
Merge branch '506-print-fips-mode-v9_12' into 'v9_12'
...
(v9_12) Add configure option to enable FIPS mode if OpenSSL provides the option
See merge request isc-projects/bind9!870
2018-10-22 15:29:03 -04:00
Ondřej Surý
cca0507fed
Add CHANGES note.
...
XXXX. [feature] Add configure option to enabled and enforce FIPS mode
in BIND 9. [GL #506 ]
(cherry picked from commit 9d29f73b79 )
2018-10-22 21:28:38 +02:00
Ondřej Surý
c1bb094621
Add release notes for the FIPS mode feature
...
(cherry picked from commit 60862c5769 )
2018-10-22 21:28:38 +02:00
Ondřej Surý
38777de529
Add support for enabling and enforcing FIPS mode in OpenSSL:
...
* Add configure option --enable-fips-mode that detects and enables FIPS mode
* Add a function to enable FIPS mode and call it on crypto init
* Log an OpenSSL error when FIPS_mode_set() fails and exit
* Report FIPS mode status in a separate log message from named
(cherry picked from commit c4cee27f9b )
2018-10-22 21:28:34 +02:00
Michał Kępień
b28af25241
Merge branch '565-automatically-trigger-gitlab-pages-pipelines-v9_12' into 'v9_12'
...
[v9_12] Automatically trigger GitLab Pages pipelines
See merge request isc-projects/bind9!867
2018-10-20 18:01:53 -04:00
Michał Kępień
e172da365d
Automatically trigger GitLab Pages pipelines
...
Whenever master or one for the v9_* branches gets updated, the current
ARM should be published on GitLab Pages. Add a pipeline stage which
takes care of triggering GitLab Pages pipelines. Extend the lifetime of
artifact archives containing the ARM to prevent GitLab Pages pipelines
from failing due to artifacts being unavailable.
(cherry picked from commit 31bde118db )
2018-10-20 23:29:41 +02:00
Michał Kępień
423ae551c5
Merge branch '565-generate-the-arm-during-ci-v9_12' into 'v9_12'
...
[v9_12] Generate the ARM during CI
See merge request isc-projects/bind9!864
2018-10-20 06:17:13 -04:00
Michał Kępień
b28fc8c936
Generate the ARM during CI
...
Add a CI job which generates the HTML version of the ARM and makes it
available for download. Since this is expected to be a quick process,
the new job is enabled for all pipelines.
(cherry picked from commit 3f443468e0 )
2018-10-19 22:42:58 +02:00
Michał Kępień
f5ae26616a
Merge branch 'fix-ci-v9_12' into 'v9_12'
...
[v9_12] Fix CI
See merge request isc-projects/bind9!861
2018-10-19 16:41:22 -04:00
Michał Kępień
e5ebc13989
Fix CI
...
Use GitLab Registry for CI purposes. Disable EdDSA support for Debian
sid since the OpenSSL version shipped with it has broken Ed448 support.
2018-10-19 22:22:10 +02:00
Michał Kępień
f5074c12e8
Merge branch '572-improve-accuracy-of-query-error-logging-v9_12' into 'v9_12'
...
[v9_12] Improve accuracy of query error logging
See merge request isc-projects/bind9!850
2018-10-08 07:01:45 -04:00
Michał Kępień
8053e6fa95
Add CHANGES entry
...
5047. [bug] Messages logged for certain query processing failures
now include a more specific error description if it is
available. [GL #572 ]
(cherry picked from commit dc531dc340 )
2018-10-08 12:50:14 +02:00
Michał Kępień
2bc4c92ed4
Do not set qctx->result to DNS_R_SERVFAIL unless necessary
...
In some cases, setting qctx->result to DNS_R_SERVFAIL causes the value
of a 'result' variable containing a more specific failure reason to be
effectively discarded. This may cause certain query error log messages
to lack specificity despite a more accurate problem cause being
determined during query processing.
In other cases, qctx->result is set to DNS_R_SERVFAIL even though a more
specific error (e.g. ISC_R_NOMEMORY) could be explicitly indicated.
Since the response message's RCODE is derived from qctx->result using
dns_result_torcode(), which handles a number of possible isc_result_t
values and returns SERVFAIL for anything not explicitly listed, it is
fine to set qctx->result to something more specific than DNS_R_SERVFAIL
(in fact, this is already being done in a few cases). Modify most
QUERY_ERROR() calls so that qctx->result is set to a more specific error
code when possible. Adjust query_error() so that statistics are still
calculated properly. Remove the RECURSE_ERROR() macro which was
introduced exactly because qctx->result could be set to DNS_R_SERVFAIL
instead of DNS_R_DUPLICATE or DNS_R_DROP, which need special handling.
Modify dns_sdlz_putrr() so that it returns DNS_R_SERVFAIL when a DLZ
driver returns invalid RDATA, in order to prevent setting RCODE to
FORMERR (which is what dns_result_torcode() translates e.g. DNS_R_SYNTAX
to) while responding authoritatively.
(cherry picked from commit ba91243542 )
2018-10-08 12:50:14 +02:00
Michał Kępień
3d0cde3fe8
Remove the 'want_stale' field from struct query_ctx
...
As the previous commit makes the 'want_stale' field of struct query_ctx
redundant, remove it.
(cherry picked from commit b3cd868c4b )
2018-10-08 12:50:14 +02:00
Michał Kępień
6736b08c13
Set up stale response lookup before query_done() is called
...
When something goes wrong while recursing for an answer to a query,
query_gotanswer() sets a flag (qctx->want_stale) in the query context.
query_done() is subsequently called and it can either set up a stale
response lookup (if serve-stale is enabled) or conclude that a SERVFAIL
response should be sent. This may cause confusion when looking at query
error logs since the QUERY_ERROR() line responsible for setting the
response's RCODE to SERVFAIL is not in a catch-all branch of a switch
statement inside query_gotanswer() (like it is for authoritative
responses) but rather in a code branch which appears to have something
to do with serve-stale, even when the latter is not enabled.
Extract the part of query_done() responsible for checking serve-stale
configuration and optionally setting up a stale response lookup into a
separate function, query_usestale(), shifting the responsibility for
setting the response's RCODE to SERVFAIL to the same QUERY_ERROR() line
in query_gotanswer() which is evaluated for authoritative responses.
(cherry picked from commit cb48d410d8 )
2018-10-08 12:50:14 +02:00
Evan Hunt
e34900f6e9
Merge branch 'rpz-shutdown-crash-v9_12' into 'v9_12'
...
Fix crash at shutdown during an RPZ reload. [RT
See merge request isc-projects/bind9!848
2018-10-05 14:21:29 -04:00
Tony Finch and Evan Hunt
b895e7eaaf
Fix crash at shutdown during an RPZ reload. [RT #46210 ]
...
(cherry picked from commit 7a2b0ac92a )
2018-10-05 11:12:17 -07:00
Mark Andrews
6d028f0f75
Merge branch '578-make-the-chained-delegations-in-reclimit-behave-like-they-would-in-a-regular-name-server-v9_12' into 'v9_12'
...
Resolve "Make the chained delegations in reclimit behave like they would in a regular name server."
See merge request isc-projects/bind9!841
2018-10-03 23:32:01 -04:00
Mark Andrews
466f550c5c
add CHANGES
...
(cherry picked from commit f1308ef186 )
2018-10-04 13:22:06 +10:00
Mark Andrews
2a54fefea8
add bin/tests/system/reclimit/ans4/ans.pl
...
(cherry picked from commit ae77468e63 )
2018-10-04 13:22:06 +10:00
Mark Andrews
39914dd221
reclimit: delegate to ans4 so that ans2 can behave like a real name server
...
(cherry picked from commit a216135a15 )
2018-10-04 13:22:06 +10:00
Mark Andrews
7dbae0246c
Merge branch '568-the-chain-system-test-is-missing-a-delegation-v9_12' into 'v9_12'
...
Resolve "the chain system test is missing a delegation."
See merge request isc-projects/bind9!838
2018-10-03 22:38:42 -04:00
Mark Andrews
c3899d9b73
add CHANGES note
...
(cherry picked from commit e97199b0d0 )
2018-10-04 12:29:35 +10:00
Mark Andrews
732521e993
chain: change nameserver name so that the delegation matches
...
(cherry picked from commit 848e42227e )
2018-10-04 12:29:15 +10:00
Mark Andrews
298db257c2
chain: add 'start test' messages to named.run
...
(cherry picked from commit 524c1317f7 )
2018-10-04 12:29:15 +10:00
Mark Andrews
7b49de3a79
Merge branch 'update-log-fix-v9_12' into 'v9_12'
...
make update_log() work if zone is not set
See merge request isc-projects/bind9!834
2018-10-03 03:00:36 -04:00
Evan Hunt and Mark Andrews
d67b5cd65b
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:02 -04:00
Mark Andrews
f0cedee039
Merge branch 'irs_buflen_socklen' into 'v9_12'
...
Fix arch-dependent getnameinfo types
See merge request isc-projects/bind9!787
2018-10-03 02:32:52 -04:00
Petr Menšík and Mark Andrews
b427dcce83
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.
2018-10-03 02:16:41 -04:00
Mark Andrews
e18bb6f569
Merge branch '569-zero-system-test-failed-to-set-ret-0-and-send-output-to-dev-null-v9_12' into 'v9_12'
...
Resolve "zero system test failed to set ret=0 and send output to /dev/null"
See merge request isc-projects/bind9!832
2018-10-03 01:48:13 -04:00
Mark Andrews
8a0ccb54cd
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:37 +10:00
Evan Hunt
ff67ad06dd
Merge branch '543-couple-more-windows-build-fixes-v9_12' into 'v9_12'
...
Couple additional Windows build fixes in VCX files
See merge request isc-projects/bind9!827
2018-10-02 13:38:59 -04:00
Thomas Jach and Evan Hunt
b39bd2816e
Couple additional Windows build fixes in VCX files
...
(cherry picked from commit f2d6b1b859 )
2018-10-02 13:37:03 -04:00
Mark Andrews
d794576f11
Merge branch '420-reading-from-master-files-could-sometime-fail-to-preserve-the-case-of-the-owner-name-v9_12' into 'v9_12'
...
Resolve "reading from master files could sometime fail to preserve the case of the owner name."
See merge request isc-projects/bind9!822
2018-10-02 01:46:02 -04:00
Mark Andrews
2fc1411bfd
Add CHANGES note.
...
(cherry picked from commit 4fcdad292d )
2018-10-02 15:22:29 +10:00
Mark Andrews
90fdf40bda
improve case presevation
...
(cherry picked from commit 0fc1b1bffa )
2018-10-02 15:21:22 +10:00
Tinderbox User
75193660a0
Merge branch 'prep-release' into v9_12
2018-09-29 04:21:37 +00:00
Tinderbox User
7f5e4faed8
prep 9.12.3rc1
2018-09-29 04:21:11 +00:00
Evan Hunt
63d61454a9
Merge branch 'example-domain-v9_12' into 'v9_12'
...
use an example domain
See merge request isc-projects/bind9!820
2018-09-28 12:59:52 -04:00
Evan Hunt
1bce1f052a
use an example domain
...
(cherry picked from commit b026663c62 )
2018-09-28 09:59:28 -07:00
Evan Hunt
b5e5c4b0cb
Merge branch '562-chaos-addresses-v9_12' into 'v9_12'
...
fix chaosnet address comparison
See merge request isc-projects/bind9!817
2018-09-28 12:06:12 -04:00
Evan Hunt
6452c017f5
fix chaosnet address comparison
...
(cherry picked from commit b4dca44ad2 )
2018-09-28 08:58:45 -07:00
Evan Hunt
7b6202dd85
Merge branch 'rpz-synth-dnssec-v9_12' into 'v9_12'
...
RPZ now treats covering NSEC records the same as negative answers
See merge request isc-projects/bind9!812
2018-09-27 18:31:47 -04:00
Tony Finch and Evan Hunt
98f9c5fb26
RPZ now treats covering NSEC records the same as negative answers
...
(cherry picked from commit 9407d9e266 )
2018-09-27 15:22:43 -07:00
Evan Hunt
b78cd6ed17
Merge branch '540-tsig-has-two-consecutive-spaces-when-maclen-is-0-v9_12' into 'v9_12'
...
Resolve "TSIG has two consecutive spaces when MACLEN is 0"
See merge request isc-projects/bind9!809
2018-09-27 17:36:51 -04:00
Mark Andrews and Evan Hunt
3992a37c06
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:47 -07:00
Evan Hunt
382c3c20b3
Merge branch '503-fix-rpz-test-v9_12' into 'v9_12'
...
Resolve "dnsrps test no longer runs"
See merge request isc-projects/bind9!808
2018-09-27 16:40:43 -04:00
Evan Hunt
258fea16a2
CHANGES note
...
(cherry picked from commit b04c7bbd60 )
2018-09-27 13:33:08 -07:00
Evan Hunt
bd7084909b
fix problems running dnsrps tests in rpz and rpzrecurse
...
- set up server correctly when running the second test pass
- reset stats counters before the second pass
- clean up test output
(cherry picked from commit 6d05ec7dc1 )
2018-09-27 13:33:05 -07:00
Evan Hunt
f181957c23
Merge branch '556-race-condition-in-timer-creation-v9_12' into 'v9_12'
...
Fix crash caused by race condition in timer creation
See merge request isc-projects/bind9!806
2018-09-27 16:09:03 -04:00
Zhaolong Zhang and Evan Hunt
811c5ebf92
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 12:59:51 -07:00
Evan Hunt
cb7420f48f
Merge branch '542-prevent-a-race-after-zone-load-v9_12' into 'v9_12'
...
Prevent a race after zone load
See merge request isc-projects/bind9!803
2018-09-26 22:56:11 -04:00
Michał Kępień and Evan Hunt
725397cc8b
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:10 -07:00
Michał Kępień and Evan Hunt
3c43ba5fec
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:09 -07:00
Evan Hunt
68ec582265
Merge branch 'fix-typo-v9_12' into 'v9_12'
...
fix a typo in usage output
See merge request isc-projects/bind9!797
2018-09-24 18:41:23 -04:00
Evan Hunt
5bf0e4f52d
fix a typo in usage output
...
(cherry picked from commit e7c99e42f3 )
2018-09-24 15:32:10 -07:00
Evan Hunt
974a7ccf39
Merge branch '539-shell-style-fixes-v9_12' into 'v9_12'
...
Resolve "rrsetorder test not portable"
See merge request isc-projects/bind9!785
2018-09-11 16:11:09 -04:00
Evan Hunt
9967c9d2b4
don't use $() in system tests
...
(cherry picked from commit bf9c60078a )
2018-09-11 13:03:34 -07:00
Evan Hunt
3baa05e818
Merge branch '105-nta-all-v9_12' into 'v9_12'
...
Resolve "[RT#44623] RNDC NTA option to add NTA to all views"
See merge request isc-projects/bind9!781
2018-09-10 16:25:28 -04:00
Evan Hunt
d06a1eed7a
CHANGES, release notes
...
(cherry picked from commit 2f6ba87ab9 )
2018-09-10 13:17:19 -07:00
Evan Hunt
990f0f8a73
add -class option to rndc nta
...
(cherry picked from commit cc0abf62a1 )
2018-09-10 13:14:21 -07:00
Evan Hunt
3b3fc63b2e
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:14:18 -07:00
Evan Hunt
a2a5e37ae6
Merge branch 'report-compiler-version-v9_12' into 'v9_12'
...
report "$CC --version" output as part of the configure summary
See merge request isc-projects/bind9!779
2018-09-10 13:11:35 -04:00
Evan Hunt
564209fc70
report "$CC --version" output as part of the configure summary
...
(cherry picked from commit a6f43574a0 )
2018-09-10 10:03:19 -07:00
Mark Andrews
64aa3dcc3d
Merge branch '511-add-ms-selfsub-and-krb5-selfsub-v9_12' into 'v9_12'
...
Resolve "add ms-selfsub and krb5-selfsub"
See merge request isc-projects/bind9!777
2018-09-10 03:57:47 -04:00
Mark Andrews
d9c450b00d
add CHANGES and release notes documentation
...
(cherry picked from commit f924c89f97 )
2018-09-10 17:47:59 +10:00
Mark Andrews
4003403533
update util/copyrights
...
(cherry picked from commit 4aa6a118de )
2018-09-10 17:47:59 +10:00
Mark Andrews
995a8401b0
add more missing name in update rule checks
...
(cherry picked from commit d1f8e116db )
2018-09-10 17:47:59 +10:00
Mark Andrews
8baca39f00
add krb5-* tests to nsupdate system test.
...
(cherry picked from commit 54c4db569b )
2018-09-10 17:47:59 +10:00
Mark Andrews
f926d28a17
add test addresses 10.53.0.{9,10} and fd92:7065:b8e:ffff::{9,10}
2018-09-10 17:47:59 +10:00
Mark Andrews
c827981de2
add krb5-selfsub and ms-selfsub
...
(cherry picked from commit fbeefd4990 )
2018-09-10 17:18:38 +10:00
Mark Andrews
eae8d858e5
check that name field is not a valid type
...
(cherry picked from commit 5fb75a3d75 )
2018-09-10 17:16:10 +10:00
Mark Andrews
4375370ba6
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:16:10 +10:00
Mark Andrews
a1f1c01563
Merge branch '532-master-doesn-t-build-on-macos-due-to-class-of-align-macros-v9_12' into 'v9_12'
...
Resolve "master doesn't build on MacOS due to class of ALIGN macros"
See merge request isc-projects/bind9!775
2018-09-09 19:39:26 -04:00
Mark Andrews
9a14141676
avoid macro name collision with system defined macro
...
(cherry picked from commit 81b133d963 )
2018-09-10 09:30:38 +10:00
Evan Hunt
aa313bfe33
Merge branch 'patch-2-v9_12' into 'v9_12'
...
Replace isc-logo.pdf. The one in here is obsolete. If we need a different size…
See merge request isc-projects/bind9!772
2018-09-07 19:12:05 -04:00
Evan Hunt
e8647ed4a0
update isc-logo.pdf to current logo version, remove isc-logo.eps
...
(cherry picked from commit ad9bf4c662 )
2018-09-07 16:01:15 -07:00
Ondřej Surý
fd2b4c2d84
Merge branch '521-align-cmsg-buffers-v9_12' into 'v9_12'
...
Resolve "BIND 9.11.4 terminates with SIGBUS error when compiled with Oracle Developer Studio 12.6"
See merge request isc-projects/bind9!768
2018-09-07 04:35:51 -04:00
Witold Kręcicki and Ondřej Surý
0f6dee2a45
Align CMSG buffers to a void* boundary, fixes crash on architectures with strict alignment
...
CHANGES entry
(cherry picked from commit 17212cf996 )
2018-09-07 10:27:20 +02:00
Mark Andrews
93732bd362
Merge branch 'cplusplusize_dns_fixedname_h-v9_12' into 'v9_12'
...
Add C++ declarations to dns/fixedname.h
See merge request isc-projects/bind9!763
2018-09-05 18:20:04 -04:00
Ondřej Surý and Mark Andrews
f24af7deac
Add C++ declarations to dns/fixedname.h
...
(cherry picked from commit 94a1c85366 )
2018-09-06 08:11:04 +10:00
Ondřej Surý
5f85c72bc7
Merge branch 'fail-on-failed-install-v9_12' into 'v9_12'
...
[v9_12] Fail on failed install inside for loops
See merge request isc-projects/bind9!752
2018-09-03 07:39:16 -04:00
Ondřej Surý
3fbceba0a8
Bail-out early in the for install loops instead of continuing because for masks the error in the middle
...
(cherry picked from commit 25248eb097 )
2018-09-03 13:31:17 +02:00
Evan Hunt
d8cb0ff012
Merge branch 'solaris-fixes-v9_12' into 'v9_12'
...
Silence some warnings and errors
See merge request isc-projects/bind9!748
2018-08-31 20:41:38 -04:00
Witold Krecicki and Evan Hunt
0f0dfc7f86
Silence some warnings and errors
2018-08-31 17:33:03 -07:00
Mark Andrews
98ed1ea56e
Merge branch '510-resolver-test-was-failing-v9_12' into 'v9_12'
...
Resolve "Resolver test was failing"
See merge request isc-projects/bind9!741
2018-08-31 04:48:51 -04:00
Mark Andrews
259e0b0544
use pack to construct the reply as Net::DNS just get it wrong
...
(cherry picked from commit feaf381adb )
2018-08-31 18:39:46 +10:00
Mark Andrews
c0699b93f9
Merge branch '418-bind-in-auto-dnssec-mode-should-support-signature-expiration-jitter-v9_12' into 'v9_12'
...
Resolve "BIND in auto-dnssec mode should support signature expiration jitter"
See merge request isc-projects/bind9!739
2018-08-30 23:17:21 -04:00
Mark Andrews
6b1e8d5860
add changes note
...
(cherry picked from commit d68499e1f7 )
2018-08-31 13:08:28 +10:00
Mark Andrews
827ef21bb4
report initial RRSIG expiry field values
...
(cherry picked from commit 8e5abc6cdf )
2018-08-31 13:07:49 +10:00
Mark Andrews
2289ba8b48
increase jitter to cover the entire potential steady state expire range when initially signing the zone
...
(cherry picked from commit 050fca2139 )
2018-08-31 13:07:45 +10:00
Mark Andrews
bb9d376c13
Merge branch '519-unclosed-files-in-lib-dns-tests-zt_test-c-v9_12' into 'v9_12'
...
Resolve "unclosed files in lib/dns/tests/zt_test.c"
See merge request isc-projects/bind9!737
2018-08-30 22:35:01 -04:00
Mark Andrews
3b9a6f0db8
fclose origfile and zonefile
...
(cherry picked from commit 455bb23236 )
2018-08-31 12:24:46 +10:00
Evan Hunt
66e81f726a
Merge branch 'silence-warning-v9_12' into 'v9_12'
...
silence "missing print.h" warning
See merge request isc-projects/bind9!724
2018-08-28 19:32:09 -04:00
Evan Hunt
3bd113ddd1
silence "missing print.h" warning
...
(cherry picked from commit 3c18b7d3fd )
2018-08-28 16:22:05 -07:00
Witold Krecicki
0091f2abe6
Merge branch '276-rndc-reconfig-fixes-v911-v9_12' into 'v9_12'
...
Resolve "rndc reconfig now performs stat() for all zones"
See merge request isc-projects/bind9!719
2018-08-28 11:16:52 -04:00
Witold Kręcicki
1bc7934867
CHANGES note
2018-08-28 17:07:44 +02:00
Witold Kręcicki
90b75d94ff
rndc reconfig should not stat on existing zones, just load new ones.
...
(cherry picked from commit 80a025d1a7 )
2018-08-28 17:03:10 +02:00
Ondřej Surý
d8ca61072c
Merge branch 'gitlab-ci-dont-run-make-clean-v9_12' into 'v9_12'
...
Disable make clean at the end of configure step in GitLab CI
See merge request isc-projects/bind9!715
2018-08-28 01:41:41 -04:00
Ondřej Surý
6ccc609ca4
Disable make clean at the end of configure step in GitLab CI
...
(cherry picked from commit a1d783bbe2 )
2018-08-28 07:27:16 +02:00
Mark Andrews
2669905f2d
Merge branch 'update-documentation-for-ms-and-krb5-rules-v9_12' into 'v9_12'
...
update {krb5,ms}-{self,subdomain} descriptions
See merge request isc-projects/bind9!709
2018-08-27 03:09:46 -04:00
Mark Andrews
e69291e76d
add CHANGES note
...
(cherry picked from commit a3c5c2c29c )
2018-08-27 17:01:00 +10:00
Mark Andrews
c8581bb03a
update {krb5,ms}-{self,subdomain} descriptions
...
(cherry picked from commit 0370d13667 )
2018-08-27 17:00:59 +10:00
Mark Andrews
68c58a1e73
Merge branch '487-reset-dig-exit-code-after-a-tcp-connection-is-established-v9_12' into 'v9_12'
...
Reset dig exit code after a TCP connection is established
See merge request isc-projects/bind9!706
2018-08-27 00:39:13 -04:00
Michał Kępień and Mark Andrews
c0bbd57303
Add CHANGES entry
...
5020. [bug] dig returned a non-zero exit code when it received a
reply over TCP after a retry. [GL #487 ]
(cherry picked from commit 59057bee5b )
2018-08-27 14:30:32 +10:00
Michał Kępień and Mark Andrews
5cc841fa53
Reset dig exit code after a TCP connection is established
...
The "exitcode" variable is set to 9 if a TCP connection fails, but is
not reset to 0 if a subsequent TCP connection succeeds. This causes dig
to return a non-zero exit code if it succeeds in getting a TCP response
after a retry. Fix by resetting "exitcode" to 0 if connect_done()
receives an event with the "result" field set to ISC_R_SUCCESS.
(cherry picked from commit deb3b85cb2 )
2018-08-27 14:30:06 +10:00
Ondřej Surý
6021b95451
Merge branch 'run-update_copyrights-v9_12' into 'v9_12'
...
Run update copyrights in precheck stage
See merge request isc-projects/bind9!701
2018-08-24 08:42:59 -04:00
Ondřej Surý and Ondřej Surý
a8d5dd1878
Check update_copyright results in precheck stage
...
(cherry picked from commit 4016369212 )
2018-08-24 08:34:44 -04:00
Ondřej Surý and Ondřej Surý
791663dd60
Whitespace fixes
...
(cherry picked from commit 31b5360943 )
2018-08-24 08:34:44 -04:00
Ondřej Surý and Ondřej Surý
bb10ea3f7a
Cleanup cruft in util/copyrights
...
(cherry picked from commit 65de91f512 )
2018-08-24 08:34:44 -04:00
Ondřej Surý and Ondřej Surý
017968d90b
Make update_copyrights return error code when error is encountered during processing the files
...
(cherry picked from commit db3d69263d )
2018-08-24 08:34:44 -04:00
Michał Kępień
6ef408d28f
Merge branch '470-log-a-message-when-ixfr-from-differences-is-set-for-an-inline-signed-zone-v9_12' into 'v9_12'
...
[v9_12] Log a message when "ixfr-from-differences" is set for an inline-signed zone
See merge request isc-projects/bind9!695
2018-08-24 04:35:32 -04:00
Michał Kępień
5ea91c5a43
Add CHANGES entry
...
5019. [cleanup] A message is now logged when ixfr-from-differences is
set at zone level for an inline-signed zone. [GL #470 ]
(cherry picked from commit 4fb5d072c2 )
2018-08-24 10:21:28 +02:00
Michał Kępień
e0b9bb1d2c
Log a message when "ixfr-from-differences" is set for an inline-signed zone
...
For inline-signed zones, the value of "ixfr-from-differences" is
hardcoded to:
- "yes" for the raw version of the zone,
- "no" for the signed version of the zone.
In other words, any user-provided "ixfr-from-differences" setting is
effectively ignored for an inline-signed zone. Ensure the user is aware
of that by adding a note to the ARM and logging a message when an
"ixfr-from-differences" option is found at the zone level.
(cherry picked from commit 087157d14f )
2018-08-24 10:21:27 +02:00
Michał Kępień
a6e79d7ce4
Merge branch '477-fix-intermittent-mkeys-system-test-failures' into 'v9_12'
...
Fix intermittent "mkeys" system test failures
See merge request isc-projects/bind9!684
2018-08-24 04:10:42 -04:00
Michał Kępień
c12388f5e8
Do not call bin/tools/genrandom unconditionally in system tests
...
$RANDFILE, i.e. bin/tests/system/random.data, should only be written to
if a system test requires support for cryptography and that file does
not already exist. Otherwise, when multiple system tests are run in
parallel, that file might get truncated due to bin/tools/genrandom.c
using fopen() with mode "w" when writing the destination file. With
unfortunate timing, this may cause system tests employing BIND tools
which need entropy (e.g. dnssec-keygen) to fail.
Make sure bin/tests/system/metadata/tests.sh no longer calls
bin/tools/genrandom since $RANDFILE is guaranteed to already be created
by the time bin/tools/genrandom is currently called because
bin/tests/system/metadata/prereq.sh uses bin/tests/system/testcrypto.sh.
Make sure bin/tests/system/sfcache/prereq.sh only writes to $RANDFILE if
it does not already exist.
2018-08-24 09:57:15 +02:00
Michał Kępień
262c9e8aab
Merge branch '491-prevent-a-race-in-the-inline-system-test-v9_12' into 'v9_12'
...
[v9_12] Prevent a race in the "inline" system test
See merge request isc-projects/bind9!692
2018-08-24 03:55:14 -04:00
Michał Kępień
56da51da7b
Prevent a race in the "inline" system test
...
A short time window exists between logging the addition of an NSEC3PARAM
record to a zone and committing it to the current version of the zone
database. If a query arrives during such a time window, an unsigned
response will be returned. One of the checks in the "inline" system
test requires NSEC3 records to be present in an answer - that check
would fail in the case described above. Use rndc instead of log
watching for checking whether zone signing and NSEC3 chain modifications
are complete in order to prevent intermittent "inline" system test
failures.
(cherry picked from commit e36c869e85 )
2018-08-24 09:38:22 +02:00
Mark Andrews
d347b4227a
Merge branch 'fix-non-portable-v9_12' into 'v9_12'
...
use sizeof(CK_SLOT_ID)
See merge request isc-projects/bind9!689
2018-08-23 21:44:28 -04:00
Mark Andrews
fef6fc20e1
add CHANGES note
...
(cherry picked from commit 42b16771db )
2018-08-24 11:32:18 +10:00
Mark Andrews
072069f1d5
use sizeof(CK_SLOT_ID)
...
(cherry picked from commit 2c1d8b2e99 )
2018-08-24 11:32:11 +10:00
Mark Andrews
661d2628c5
Merge branch 'value-not-updated-atomically-v9_12' into 'v9_12'
...
unlink before unlock
See merge request isc-projects/bind9!687
2018-08-23 21:12:53 -04:00
Mark Andrews
7a0bd7f04c
add CHANGES note
...
(cherry picked from commit 05531d3a86 )
2018-08-24 10:58:20 +10:00
Mark Andrews
59ce0f2620
unlink before unlock
...
(cherry picked from commit 4742f4ecba )
2018-08-24 10:58:20 +10:00
Mark Andrews
08efcd0662
Merge branch '445-filter-aaaa-and-dns64-can-both-attempt-to-recurse-for-a-records-at-the-same-time-v9_12' into 'v9_12'
...
Resolve "filter-aaaa and dns64 can both attempt to recurse for A records at the same time"
See merge request isc-projects/bind9!685
2018-08-23 19:55:12 -04:00
Mark Andrews
69f7460395
add CHANGES note
...
(cherry picked from commit c1bc3baf7f )
2018-08-24 09:47:17 +10:00
Mark Andrews
68138381b4
when filter-aaaa and dns64 are both configured a assertion failure could occur
...
(cherry picked from commit 1056376d10 )
2018-08-24 09:47:17 +10:00
Michał Kępień
070b679104
Merge branch '435-fix-reloading-inline-signed-zones-v9_12' into 'v9_12'
...
[v9_12] Fix reloading inline-signed zones
See merge request isc-projects/bind9!674
2018-08-22 06:00:58 -04:00
Michał Kępień
61a71f82c5
Add CHANGES entry
...
5015. [bug] Reloading all zones caused zone maintenance to cease
for inline-signed zones. [GL #435 ]
(cherry picked from commit f9931f1d22 )
2018-08-22 11:45:30 +02:00
Michał Kępień
7680c7d1cf
Fix reloading inline-signed zones
...
While "rndc reload" causes dns_zone_asyncload() to be called for the
signed version of an inline-signed zone, the subsequent zone_load() call
causes the raw version to be reloaded from storage. This means that
DNS_ZONEFLG_LOADPENDING gets set for the signed version of the zone by
dns_zone_asyncload() before the reload is attempted, but zone_postload()
is only called for the raw version and thus DNS_ZONEFLG_LOADPENDING is
cleared for the raw version, but not for the signed version. This in
turn prevents zone maintenance from happening for the signed version of
the zone.
Until commit 7c64547d95 , this problem
remained dormant because DNS_ZONEFLG_LOADPENDING was previously
immediately, unconditionally cleared after zone loading was started
(whereas it should only be cleared when zone loading is finished or an
error occurs). This behavior caused other issues [1] and thus had to be
changed.
Fix reloading inline-signed zones by clearing DNS_ZONEFLG_LOADPENDING
for the signed version of the zone once the raw version reload
completes. Take care not to clear it prematurely during initial zone
load. Also make sure that DNS_ZONEFLG_LOADPENDING gets cleared when
zone_postload() encounters an error or returns early, to prevent other
scenarios from resulting in the same problem. Add comments aiming to
help explain code flow.
[1] see RT #47076
(cherry picked from commit 5431583971 )
2018-08-22 11:45:24 +02:00
Michał Kępień
057cedc818
Merge branch '482-fix-secure-journal-loading-for-inline-signed-zones-v9_12' into 'v9_12'
...
[v9_12] Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone
See merge request isc-projects/bind9!672
2018-08-22 05:21:23 -04:00
Michał Kępień
3a269081df
Add CHANGES entry
...
5014. [bug] Signatures loaded from the journal for the signed
version of an inline-signed zone were not scheduled for
refresh. [GL #482 ]
(cherry picked from commit b3b1a9081b )
2018-08-22 10:51:48 +02:00
Michał Kępień
8d468a4f60
Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone
...
When an inline-signed zone is loaded, the master file for its signed
version is loaded and then a rollforward of the journal for the signed
version of the zone is performed. If DNS_JOURNALOPT_RESIGN is not set
during the latter phase, signatures loaded from the journal for the
signed version of the zone will not be scheduled for refresh. Fix the
conditional expression determining which flags should be used for the
dns_journal_rollforward() call so that DNS_JOURNALOPT_RESIGN is set when
zone_postload() is called for the signed version of an inline-signed
zone.
Extend bin/tests/system/stop.pl so that it can use "rndc halt" instead
of "rndc stop" as the former allows master file flushing upon shutdown
to be suppressed.
(cherry picked from commit 8db550c42f )
2018-08-22 10:51:42 +02:00
Michał Kępień
ab084b866e
Merge branch '390-do-not-treat-a-referral-with-a-non-empty-answer-section-as-an-error-v9_12' into 'v9_12'
...
[v9_12] Do not treat a referral with a non-empty ANSWER section as an error
See merge request isc-projects/bind9!671
2018-08-22 04:43:56 -04:00
Michał Kępień
899ea537b5
Add CHANGES entry
...
5013. [bug] A referral response with a non-empty ANSWER section was
inadvertently being treated as an error. [GL #390 ]
(cherry picked from commit 2923ab4945 )
2018-08-22 10:16:11 +02:00
Michał Kępień
367b973835
Do not treat a referral with a non-empty ANSWER section as an error
...
As part of resquery_response() refactoring [1], a goto statement was
replaced [2] with a call to a new function - originally called
rctx_delegation(), now folded into rctx_answer_none() - extracted from
existing code. However, one call site of that refactored function does
not reset the "result" variable, causing a referral with a non-empty
ANSWER section to be inadvertently treated as an error, which prevents
resolution of names reliant on servers sending such responses. Fix by
resetting the "result" variable to ISC_R_SUCCESS when a response
containing a non-empty ANSWER section can be treated as a delegation.
[1] see RT #45362
[2] see commit e1380a16741a3b4a57e54d7a9ce09dd12691522f
(cherry picked from commit 24b9ec555a )
2018-08-22 10:16:08 +02:00
Ondřej Surý
50b838b405
Merge branch '488-install-compatibility-int-and-boolean-shim-headers' into 'v9_12'
...
Install isc/boolean.h and isc/int.h shim headers
See merge request isc-projects/bind9!670
2018-08-22 03:30:31 -04:00
Ondřej Surý
9257d3542e
Add install test job
2018-08-22 09:22:45 +02:00
Ondřej Surý
e66fdc5738
We want to install compatibility shim isc/int.h and isc/boolean.h headers
2018-08-22 09:22:35 +02:00
Mark Andrews
a544caec90
Merge branch 'fix-lock-order-reversal-v9_12' into 'v9_12'
...
fix lock order reversal
See merge request isc-projects/bind9!666
2018-08-20 23:40:28 -04:00
Mark Andrews
f00e73874d
add CHANGES note
...
(cherry picked from commit 083007e930 )
2018-08-21 13:31:16 +10:00
Mark Andrews
2dd18e9f60
fix lock order reversal
...
(cherry picked from commit 2bb4392bb3 )
2018-08-21 13:30:47 +10:00
Mark Andrews
cd75073105
Merge branch '9-use-C99-integer-types-fix-install-v9_12' into 'v9_12'
...
Resolve "Replace custom datatypes (isc_<foo>_t) with C11 equivalents"
See merge request isc-projects/bind9!634
2018-08-14 20:17:38 -04:00
Ondřej Surý and Mark Andrews
e897ec66e6
Don't install removed int.h and boolean.h headers
2018-08-14 20:10:14 -04:00
Evan Hunt
6925485c04
Merge branch '465-missing-check-in-acl_test-c-unit-test-v9_12' into 'v9_12'
...
Resolve "Missing check in acl_test.c unit test"
See merge request isc-projects/bind9!651
2018-08-14 12:25:07 -04:00
Mark Andrews and Evan Hunt
75a39614cc
add missing ATF_REQUIRE
...
(cherry picked from commit 0ce82e9d5f )
2018-08-14 09:15:52 -07:00
Evan Hunt
0e3c9d5080
Merge branch '474-mempool-is-broken-if-object-size-is-below-the-alignment-size-v9_12' into 'v9_12'
...
Resolve "mempool is broken if object size is below the alignment size"
See merge request isc-projects/bind9!649
2018-08-14 12:08:28 -04:00
Mark Andrews and Evan Hunt
cbccec86f7
mempool didn't work for sizes less than sizeof(void*)
...
(cherry picked from commit 5dd1beec8e )
2018-08-14 09:00:05 -07:00
Michał Kępień
aa0e39f05f
Merge branch '476-fix-openssl-error-logging-v9_12' into 'v9_12'
...
[v9_12] Fix OpenSSL error logging
See merge request isc-projects/bind9!645
2018-08-14 07:11:50 -04:00
Michał Kępień
218166acf8
Add CHANGES entry
...
5009. [bug] Upon an OpenSSL failure, the first error in the OpenSSL
error queue was not logged. [GL #476 ]
(cherry picked from commit cab7c34fbd )
2018-08-14 12:53:20 +02:00
Michał Kępień
36436268b5
Do not remove errors from the OpenSSL error queue in toresult()
...
dst__openssl_toresult3() first calls toresult() and subsequently uses
ERR_get_error_line_data() in a loop. Given this, it is a mistake to use
ERR_get_error() in toresult() because it causes the retrieved error to
be removed from the OpenSSL error queue, thus preventing it from being
retrieved by the subsequent ERR_get_error_line_data() calls. Fix by
using ERR_peek_error() instead of ERR_get_error() in toresult().
(cherry picked from commit fe20f8fe25 )
2018-08-14 12:53:18 +02:00
Michał Kępień
8e64812293
Merge branch '471-fix-rbt_insert_and_remove-unit-test-v9_12' into 'v9_12'
...
[v9_12] Prevent rare rbt_insert_and_remove unit test failures
See merge request isc-projects/bind9!642
2018-08-14 05:11:18 -04:00
Michał Kępień
1a341e15e8
Prevent rare rbt_insert_and_remove unit test failures
...
When two or more absolute, two-label names are added to a completely
empty RBT, an extra, empty node for the root name will be created due to
node splitting. check_tree() expects that, but the extra node will not
be created when just one name is added to a completely empty RBT. This
problem could be handled inside check_tree(), but that would introduce
unnecessary complexity into it since adding a single name will result in
a different node count for a completely empty RBT (node count will be 1)
and an RBT containing only an empty node for the root name, created due
to prior node splitting (node count will be 2). Thus, first explicitly
create a node for the root name to prevent rare check_tree() failures
caused by a single name being added in the first iteration of the
insert/remove loop.
(cherry picked from commit 13fe763798 )
2018-08-14 10:44:49 +02:00
Michał Kępień
a635b242ab
Merge branch '285-make-the-inline-system-test-more-lightweight-v9_12' into 'v9_12'
...
[v9_12] Make the "inline" system test more lightweight
See merge request isc-projects/bind9!640
2018-08-14 04:39:00 -04:00
Michał Kępień
a0dbee8418
Make the "inline" system test more lightweight
...
Each zone used in the "inline" system test contains a few dozen records.
Over a dozen of these zones are used in the test. Most records present
in these zones are not subsequently used in the test itself, but all of
them need to be signed by the named instances launched by the test,
which puts quite a bit of strain on lower-end machines, leading to
intermittent failures of the "inline" system test. Remove all redundant
records from the zones used in the "inline" system test in order to
stabilize it.
(cherry picked from commit 24dd865b97 )
2018-08-14 10:16:30 +02:00
Michał Kępień
f86b0f128b
Merge branch '468-queue-rndc-signing-nsec3param-requests-if-needed-v9_12' into 'v9_12'
...
[v9_12] Queue "rndc signing -nsec3param ..." requests if needed
See merge request isc-projects/bind9!637
2018-08-14 03:44:56 -04:00
Michał Kępień
bab3db9eee
Add CHANGES entry
...
5008. [bug] "rndc signing -nsec3param ..." requests were silently
ignored for zones which were not yet loaded or
transferred. [GL #468 ]
(cherry picked from commit eed6778be4 )
2018-08-14 09:26:38 +02:00
Michał Kępień
cb5f86d99e
Queue "rndc signing -nsec3param ..." requests if needed
...
If "rndc signing -nsec3param ..." is ran for a zone which has not yet
been loaded or transferred (i.e. its "db" field is NULL), it will be
silently ignored by named despite rndc logging an "nsec3param request
queued" message, which is misleading. Prevent this by keeping a
per-zone queue of NSEC3PARAM change requests which arrive before a zone
is loaded or transferred and processing that queue once the raw version
of an inline-signed zone becomes available.
(cherry picked from commit cb40c5229a )
2018-08-14 09:26:38 +02:00
Ondřej Surý
b815273642
Merge branch '462-full-recv-queue-on-netbsd-v9_12' into 'v9_12'
...
Resolve "Full Recv-Queue"
See merge request isc-projects/bind9!630
2018-08-13 13:31:34 -04:00
Ondřej Surý
cee556c4dd
Make ENOBUFS a soft error
...
(cherry picked from commit ebf3083e08 )
2018-08-13 19:22:56 +02:00
Ondřej Surý
5a5e2f6e51
Merge branch '223-fix-vcredist-path' into 'v9_12'
...
[v9_12]: Resolve "Fix for Configure to find the path to VC++ redistributables under Visual Studio 2017"
See merge request isc-projects/bind9!618
2018-08-11 06:06:18 -04:00
Ondřej Surý and Ondřej Surý
08a962545d
Fix various build failures on Windows (Courtesy of rockerinthelocker)
2018-08-11 05:57:42 -04:00
Ondřej Surý and Ondřej Surý
ce8b6f22bd
Remove non-existant GUIDs from bind9.sln.in
2018-08-11 05:57:42 -04:00
Ondřej Surý
51ae74af5f
Merge branch 'fix-missing-config.h-v9_12' into 'v9_12'
...
[v9_12] Fix missing config.h includes
See merge request isc-projects/bind9!623
2018-08-11 04:52:56 -04:00
Ondřej Surý and Ondřej Surý
d87c1a120d
Fix missing config.h in win32/socket.c and replace config.h with <config.h>
2018-08-11 04:45:37 -04:00
Ondřej Surý
80f9512468
Merge branch '469-typo-in-validate-glue-branch-v9_12' into 'v9_12'
...
Resolve "Typo in validate-glue branch"
See merge request isc-projects/bind9!621
2018-08-11 04:37:12 -04:00
Ondřej Surý
3f5db28568
Fix !!validate typo to -> !validate
...
(cherry picked from commit bdc9860262 )
2018-08-11 10:28:27 +02:00
Evan Hunt
8afef1f823
Merge branch 'fix-ns-log-mismatch-v9_12' into 'v9_12'
...
mismatch between defined log modules and ns_modules[] in lib/ns/log.c
See merge request isc-projects/bind9!620
2018-08-10 15:29:50 -04:00
Evan Hunt
e8e7c597f8
mismatch between defined log modules and ns_modules[] in lib/ns/log.c
...
(cherry picked from commit b865fb77de )
2018-08-10 12:22:04 -07:00
Ondřej Surý
a95dd5b3a9
Merge branch '9-use-C99-integer-types-v9_12' into 'v9_12'
...
Redefine ISC's int and boolean types to use <stdint.h> and <stdbool.h> types
See merge request isc-projects/bind9!606
2018-08-10 05:27:41 -04:00
Ondřej Surý
0dad73aafa
Add compatibility isc/boolean.h and isc/int.h headers
2018-08-10 11:17:51 +02:00
Ondřej Surý
b6c281ee7c
Add CHANGES entry
...
5007. [cleanup] Replace custom ISC boolean and integer data types
with C99 stdint.h and stdbool.h types. [GL #9 ]
(cherry picked from commit 75c2356f42 )
2018-08-10 11:17:51 +02:00
Ondřej Surý
2844f6529d
Remove duplicate config.h
...
(cherry picked from commit 7351c505a0 )
2018-08-10 11:17:51 +02:00
Ondřej Surý
884929400c
Replace custom isc_boolean_t with C standard bool type
...
(cherry picked from commit 994e656977 )
2018-08-10 11:17:51 +02:00
Ondřej Surý
d61e6a3111
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
...
(cherry picked from commit cb6a185c69 )
2018-08-09 18:30:20 +02:00
Ondřej Surý
3523850065
Get rid of extra UINT64_MAX definition in lib/isc/win32/time.c
...
(cherry picked from commit 055278c936 )
2018-08-09 18:30:20 +02:00
Ondřej Surý
c863a076ae
Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants
...
(cherry picked from commit 64fe6bbaf2 )
2018-08-09 18:30:20 +02:00
Ondřej Surý
ee22f606ae
Check for C99 compatible compiler
...
(cherry picked from commit 9e493798c6 )
2018-08-09 18:30:20 +02:00
Evan Hunt
3e5ab73cbc
Merge branch 'security-v9_12' into 'v9_12'
...
Merge CVE-2018-5740 fix
See merge request isc-projects/bind9!608
2018-08-08 18:35:21 -04:00
Evan Hunt
d97001a37c
caclulate nlabels and set *chainingp correctly
2018-08-08 14:24:15 -07:00
Tinderbox User and Evan Hunt
a7213875ff
prep 9.12.2-P1
2018-08-08 14:24:15 -07:00
Evan Hunt
3fa62f19d5
CHANGES, release note
...
(cherry picked from commit 9c492aba65c178f30baafeb5502013f95a9d5b9a)
2018-08-08 14:23:56 -07:00
Evan Hunt
7c50ab65fc
test case
...
(cherry picked from commit 73486c13f743407a50d5bbadde90c949a696506f)
2018-08-08 14:23:26 -07:00
Evan Hunt
45da24f272
explicit DNAME query could trigger a crash if deny-answer-aliases was set
...
(cherry picked from commit a21c3810d3453548cc05ae19995125dabea9ca9c)
2018-08-08 14:23:26 -07:00
Ondřej Surý
ca97a36ce6
Merge branch 'silence-openbsd-warning-v9_12' into 'v9_12'
...
Silence a compiler warning on openbsd and fix windows build
See merge request isc-projects/bind9!605
2018-08-08 03:53:01 -04:00
Evan Hunt and Ondřej Surý
2f611cf600
Silence a compiler warning on openbsd and fix windows build
...
(cherry picked from commit b55338e447 )
2018-08-08 09:36:02 +02:00
Michał Kępień
ab6d3e758d
Merge branch '431-refactor-code-preparing-a-delegation-response-v9_12' into 'v9_12'
...
[v9_12] Refactor code preparing a delegation response
See merge request isc-projects/bind9!604
2018-08-08 02:26:42 -04:00
Michał Kępień
7ef5192cae
Add CHANGES entry
...
5006. [cleanup] Code preparing a delegation response was extracted from
query_delegation() and query_zone_delegation() into a
separate function in order to decrease code
duplication. [GL #431 ]
(cherry picked from commit 1d9c37876b )
2018-08-08 08:09:30 +02:00
Michał Kępień
fe526c3e57
Extract code preparing a delegation response to a separate function
...
Changes introduced by the previous two commits make the parts of
query_delegation() and query_zone_delegation() which prepare a
delegation response functionally equivalent. Extract this code into a
separate function, query_prepare_delegation_response(), and then call
the latter from both query_delegation() and query_zone_delegation() in
order to reduce code duplication. Add a comment describing the purpose
of the extracted code. Fix coding style issues.
(cherry picked from commit 8e3fc5725f )
2018-08-08 08:09:30 +02:00
Michał Kępień
252b154371
Remove unused NS_QUERYATTR_CACHEGLUEOK query attribute
...
The NS_QUERYATTR_CACHEGLUEOK query attribute has no influence on query
processing. Remove it.
(cherry picked from commit 7db4dedf6b )
2018-08-08 08:09:30 +02:00
Michał Kępień
7c58cbd31a
Restore zone database and zone node if cache search results are to be ignored
...
When query processing hits a delegation from a locally configured zone,
an attempt may be made to look for a better answer in the cache. In
such a case, the zone-sourced delegation data is set aside and the
lookup is retried using the cache database. When that lookup is
completed, a decision is made whether the answer found in the cache is
better than the answer found in the zone.
Currently, if the zone-sourced answer turns out to be better than the
one found in the cache:
- qctx->zdb is not restored into qctx->db,
- qctx->node, holding the zone database node found, is not even saved.
Thus, in such a case both qctx->db and qctx->node will point at cache
data. This is not an issue for BIND versions which do not support
mirror zones because in these versions non-recursive queries always
cause the zone-sourced delegation to be returned and thus the
non-recursive part of query_delegation() is never reached if the
delegation is coming from a zone. With mirror zones, however,
non-recursive queries may cause cache lookups even after a zone
delegation is found. Leaving qctx->db assigned to the cache database
when query_delegation() determines that the zone-sourced delegation is
the best answer to the client's query prevents DS records from being
added to delegations coming from mirror zones. Fix this issue by
keeping the zone database and zone node in qctx while the cache is
searched for an answer and then restoring them into qctx->db and
qctx->node, respectively, if the zone-sourced delegation turns out to be
the best answer. Since this change means that qctx->zdb cannot be used
as the glue database any more as it will be reset to NULL by RESTORE(),
ensure that qctx->db is not a cache database before attaching it to
qctx->client->query.gluedb.
If qctx->zdb is not NULL, qctx->zfname will also not be NULL;
qctx->zsigrdataset may be NULL in such a case, but query_putrdataset()
handles pointers to NULL pointers gracefully. Remove redundant
conditional expressions to make the cleanup code in query_freedata()
match the corresponding sequences of SAVE() / RESTORE() macros more
closely.
(cherry picked from commit b6c77202cb )
2018-08-08 08:09:25 +02:00
Ondřej Surý
56ad915e63
Merge branch '440-root-zone-performance-regression-v9_12' into 'v9_12'
...
Resolve "Root zone performance regression since 9.12.2rc2 and 9.13.1"
See merge request isc-projects/bind9!598
2018-08-06 10:25:44 -04:00
Ondřej Surý
d96765377c
Update ARM on the default ordering
...
(cherry picked from commit 9e11b54bbc )
2018-08-06 13:03:28 +02:00
Ondřej Surý
c9094cd8e8
Define and use new DNS_RDATASET_COUNT_UNDEFINED equals ISC_UINT32_MAX to make the code more readable
...
(cherry picked from commit e80c26b22e )
2018-08-06 13:03:28 +02:00
Ondřej Surý
ad09426b99
Modify the rrsetorder test to cope with the rrset order randomization (only four orders are now possible)
...
(cherry picked from commit afddc2781e )
2018-08-06 13:03:28 +02:00
Ondřej Surý
f74ee45e5e
Refactor code around random/cyclic/fixed to reduce code duplication
...
(cherry picked from commit 41a68425ea )
2018-08-06 13:03:28 +02:00
Mark Andrews and Ondřej Surý
bf7db87d52
Only get one random number per response when order == random
...
(cherry picked from commit f7986c8d1a )
2018-08-06 13:03:28 +02:00
Ondřej Surý
8ecc87df6e
Merge branch '543-revert-!553-v9.12' into 'v9_12'
...
Revert "Use make automatic variables to install updated manuals"
See merge request isc-projects/bind9!599
2018-08-06 06:59:49 -04:00
Ondřej Surý
e552ea1275
Revert "Use make automatic variables to install updated manuals"
...
This reverts commit 85deed805b .
2018-08-06 12:51:07 +02:00
Mark Andrews
45d453b043
Merge branch 'remove-dead-code-v9_12' into 'v9_12'
...
Remove dead code
See merge request isc-projects/bind9!596
2018-08-02 19:58:53 -04:00
Mark Andrews
70d39a86ed
remove dead code
...
(cherry picked from commit 83a1e87dd2 )
2018-08-03 09:50:25 +10:00
Mark Andrews
c46bc5cfd5
Merge branch '442-dnssec-verify-fails-on-case-sensitivity-of-owner-names-in-nsec-bitmap-v9_12' into 'v9_12'
...
Resolve "dnssec-verify fails on case-sensitivity of owner names in NSEC bitmap"
See merge request isc-projects/bind9!594
2018-08-02 18:59:47 -04:00
Mark Andrews
65b017829e
add CHANGES
...
(cherry picked from commit 49cd3aac9c )
2018-08-03 08:50:59 +10:00
Mark Andrews
092b739535
only check the bit map
...
(cherry picked from commit a94db46631 )
2018-08-03 08:50:56 +10:00
Mark Andrews
f9af68d442
Merge branch '439-the-signed-instance-of-a-in-line-zone-should-be-treated-as-dynamic-v9_12' into 'v9_12'
...
Resolve "The signed instance of a in-line zone should be treated as dynamic."
See merge request isc-projects/bind9!585
2018-08-02 00:39:04 -04:00
Mark Andrews
9d26a11c6f
add CHANGES
...
(cherry picked from commit d6d9fd1c71 )
2018-08-02 14:27:21 +10:00
Mark Andrews
6382cc61ed
treat the signed instance of a inline zone as dynamic
...
(cherry picked from commit 9130f055f4 )
2018-08-02 14:27:21 +10:00
Mark Andrews
3f12f4d4ec
turn off ixfr-from-differences on signed instance of in-line zone
...
(cherry picked from commit cfccd8d246 )
2018-08-02 14:27:21 +10:00
Mark Andrews
252aa79fe4
rename zone to mayberaw
...
(cherry picked from commit 3ea9861e7a )
2018-08-02 14:27:20 +10:00
Mark Andrews
2f64e4e11e
Merge branch '453-master-build-broken-in-documentation-tree-v9_12' into 'v9_12'
...
add /opt/local/share/xsl/docbook-xsl-nons to the places to look for manpages/docbook.xsl under macports
See merge request isc-projects/bind9!583
2018-08-02 00:18:33 -04:00
Mark Andrews
06dcf1ac31
add /opt/local/share/xsl/docbook-xsl-nons to the places to look for manpages/docbook.xsl under macports
...
(cherry picked from commit 7425252207 )
2018-08-02 14:09:09 +10:00
Mark Andrews
d5aa5eeb4d
Merge branch '359-question-about-using-hashtable-size-log-messages-for-rpzs-v9_12' into 'v9_12'
...
Resolve "Question about 'using hashtable size' log messages for RPZs"
See merge request isc-projects/bind9!582
2018-08-01 23:59:05 -04:00
Mark Andrews
bcbe414861
lower log level to debug(1)
...
(cherry picked from commit 12d45c5cd1 )
2018-08-01 23:25:58 -04:00
Mark Andrews
3f32afeff9
Merge branch '424-nsupdate-tests-fail-intermittently-v9_12' into 'v9_12'
...
Resolve "nsupdate tests fail intermittently"
See merge request isc-projects/bind9!580
2018-08-01 23:25:36 -04:00
Mark Andrews
eb506cf14e
use guard values for testing unixtime serial
...
(cherry picked from commit abe41ba011 )
2018-08-02 11:29:04 +10:00
Mark Andrews
8e12e6f7ce
save SOA values
...
(cherry picked from commit 6b30bc73c0 )
2018-08-02 11:29:04 +10:00
Mark Andrews
4935fde60c
Merge branch '406-dns_acl_isinsecure-does-not-handle-geoip-elements-v9_12' into 'v9_12'
...
Resolve "dns_acl_isinsecure does not handle geoip elements."
See merge request isc-projects/bind9!578
2018-08-01 20:03:33 -04:00
Mark Andrews
3447493505
add CHANGES note
...
(cherry picked from commit b0b76d259f )
2018-08-02 09:55:13 +10:00
Mark Andrews
56e7e43230
handle dns_aclelementtype_geoip
...
(cherry picked from commit 57eadf4d4f )
2018-08-02 09:55:13 +10:00
Mark Andrews
6ac1507f4f
test dns_acl_isinsecure with geoip element
...
(cherry picked from commit fb8bb4e306 )
2018-08-02 09:55:13 +10:00
Mark Andrews
5a6bda87ca
Merge branch '410-missing-sanity-check-for-call-to-next_token-in-file-mdig-c-for-bind-9-12-1-p2-v9_12' into 'v9_12'
...
Resolve "Missing Sanity Check for call to next_token() in file 'mdig.c' for BIND 9.12.1-P2"
See merge request isc-projects/bind9!576
2018-08-01 19:51:14 -04:00
Mark Andrews
0a5d85df9f
add CHANGES note
...
(cherry picked from commit 84f1d9a204 )
2018-08-02 09:43:05 +10:00
Mark Andrews
3d40bc4e1a
test mdig '+ednsopt=:' handling
...
(cherry picked from commit 2e688488f7 )
2018-08-02 09:42:13 +10:00
Mark Andrews
3f7a651d3a
fix handling of '+ednsopt=:'; support 100 ednsopts per query rather than 100 total
...
(cherry picked from commit d2943440a0 )
2018-08-02 09:42:09 +10:00
Mark Andrews
8e3c67b345
Merge branch '372-smimea-and-tlsa-methods-incorrectly-use-txt-type-v9_12' into 'v9_12'
...
Resolve "smimea and tlsa methods incorrectly use txt type"
See merge request isc-projects/bind9!574
2018-08-01 19:01:28 -04:00
Mark Andrews
06bfd671b5
use tlsa and smime structs to set common values
...
(cherry picked from commit 63c9ec367f )
2018-08-02 08:52:17 +10:00
Ondřej Surý
40027d3035
Merge branch '443-isc_buffer_printf-fixes-v9_12' into 'v9_12'
...
Resolve "isc_buffer_printf() grows buffer without autorealloc being set + nit in isc_buffer_realloc()"
See merge request isc-projects/bind9!569
2018-08-01 02:51:10 -04:00
Ondřej Surý
38a6d1d44d
Change isc_buffer_reallocate() into a static functions as it is not used outside of isc_buffer_reserve()
...
(cherry picked from commit 20faf4652a )
2018-08-01 08:41:25 +02:00
Ondřej Surý
56117f9799
Remove illogical condition from isc_buffer_reallocate that would return ISC_R_NOSPACE when requested size is less than available size
...
(cherry picked from commit 7785f644c3 )
2018-08-01 08:41:25 +02:00
Ondřej Surý
7d2c0859d5
Forbid isc_buffer_printf from growing the buffer unless auto reallocation is enabled
...
(cherry picked from commit 519bfe4c97 )
2018-08-01 08:41:25 +02:00
Mark Andrews
0cdac350e0
Merge branch 'modified-manual-install-oot-v9_12' into 'v9_12'
...
Use make automatic variables to install correct manual version.
See merge request isc-projects/bind9!567
2018-08-01 02:29:56 -04:00
Petr Menšík and Mark Andrews
85deed805b
Use make automatic variables to install updated manuals
...
Make will choose modified manual from build directory or original from source
directory automagically. Take advantage of install tool feature.
Install all files in single command instead of iterating on each of them.
(cherry picked from commit 88f913ac81 )
2018-08-01 16:22:01 +10:00
Mark Andrews
fada7a9583
Merge branch 'misc-onerror-refcount-fixes-v9_12' into 'v9_12'
...
refcount errors on error paths
See merge request isc-projects/bind9!564
2018-07-31 16:18:02 -04:00
Mark Andrews
a43f28064b
add CHANGES
...
(cherry picked from commit 63aaff50df )
2018-07-31 18:42:39 +10:00
Mark Andrews
3a06cea708
refcount errors on error paths
...
(cherry picked from commit 4093efc900 )
2018-07-31 18:42:38 +10:00
Evan Hunt
7d0050f4f3
Merge branch '441-ns_server_servestale-can-leave-the-server-in-exclusive-mode-on-error-v9_12' into 'v9_12'
...
Resolve "ns_server_servestale can leave the server in exclusive mode on error."
See merge request isc-projects/bind9!558
2018-07-27 02:10:00 -04:00
Mark Andrews and Evan Hunt
ab5c03c507
named_server_servestale could leave the server in exclusive mode if a error occurs.
...
(cherry picked from commit c8b07932e4 )
2018-07-26 22:58:03 -07:00
Michał Kępień
a9de81dc1e
Merge branch '423-fix-handling-of-tat-sending-failures-v9_12' into 'v9_12'
...
[v9_12] Fix handling of TAT sending failures
See merge request isc-projects/bind9!541
2018-07-19 12:15:22 -04:00
Michał Kępień
f4b403e8b2
Fix handling of TAT sending failures
...
dns_view_zonecut() may associate the dns_rdataset_t structure passed to
it even if it returns a result different then ISC_R_SUCCESS. Not
handling this properly may cause a reference leak. Fix by ensuring
'nameservers' is cleaned up in all relevant failure modes.
(cherry picked from commit 8666f8d28f )
2018-07-19 18:04:01 +02:00
Michał Kępień
78965b3dcc
Merge branch '419-do-not-replace-lo0-address-on-solaris-v9_12' into 'v9_12'
...
[v9_12] Do not replace lo0 address on Solaris
See merge request isc-projects/bind9!537
2018-07-17 02:28:37 -04:00
Michał Kępień
f8ff854888
Do not replace lo0 address on Solaris
...
lo0 and lo0:0 are the same interface on Solaris. Make sure
bin/tests/system/ifconfig.sh does not touch lo0:0 in order to prevent it
from changing the address of the loopback interface on Solaris.
(cherry picked from commit 618921902a )
2018-07-17 08:19:58 +02:00
Michał Kępień
e050792f13
Merge branch '365-add-centos-to-ci-v9_12' into 'v9_12'
...
[v9_12] Add CentOS/RHEL 6 to GitLab CI
See merge request isc-projects/bind9!532
2018-07-13 06:25:52 -04:00
Michał Kępień
de00137f42
Add CentOS 6/7 to CI
...
Modify .gitlab-ci.yml so that every CI pipeline also builds and tests
BIND on CentOS versions 6 and 7. Use --disable-warn-error on CentOS 6
since it uses GCC 4.4.7 which suffers from bugs causing bogus warnings
to be generated, e.g.:
sigs_test.c: In function 'compare_tuples':
sigs_test.c:75: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:489: warning: shadowed declaration is here
sigs_test.c: In function 'updatesigs_test':
sigs_test.c:193: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:489: warning: shadowed declaration is here
(cherry picked from commit f0966d1485 )
2018-07-13 12:14:46 +02:00
Michał Kępień
e56a528c70
Do not spam console if "git status --ignored" fails during tests
...
The "git status" command in Git versions before 1.7.2 does not support
the "--ignored" option. Prevent spamming the console when running
system tests from a Git repository on a host with an ancient Git version
installed.
(cherry picked from commit 2be97feb46 )
2018-07-13 12:14:46 +02:00
Michał Kępień
106b56d7c9
Remove IDN subtest from the "digdelv" system test
...
The output of certain "dig +idnout" invocations may be locale-dependent.
Remove the "dig +idnout" subtest from the "digdelv" system test as IDN
support is already thoroughly tested by the "idna" system test.
(cherry picked from commit fd30a03f2b )
2018-07-13 12:14:46 +02:00
Michał Kępień
7fe0f00a3b
Improve error handling in idn_ace_to_locale()
...
While idn2_to_unicode_8zlz() takes a 'flags' argument, it is ignored and
thus cannot be used to perform IDN checks on the output string.
The bug in libidn2 versions before 2.0.5 was not that a call to
idn2_to_unicode_8zlz() with certain flags set did not cause IDN checks
to be performed. The bug was that idn2_to_unicode_8zlz() did not check
whether a conversion can be performed between UTF-8 and the current
locale's character encoding. In other words, with libidn2 version
2.0.5+, if the current locale's character encoding is ASCII, then
idn2_to_unicode_8zlz() will fail when it is passed any Punycode string
which decodes to a non-ASCII string, even if it is a valid IDNA2008
name.
Rework idn_ace_to_locale() so that invalid IDNA2008 names are properly
and consistently detected for all libidn2 versions and locales.
Update the "idna" system test accordingly. Add checks for processing a
server response containing Punycode which decodes to an invalid IDNA2008
name. Fix invalid subtest description.
(cherry picked from commit b896fc4972 )
2018-07-13 12:14:14 +02:00
Michał Kępień
4c7eea4437
Include conf.sh from all prereq.sh scripts
...
Every prereq.sh script must include bin/tests/system/conf.sh, otherwise
if some prerequisite is not met, errors about echo_i not being found
will be printed instead of actual error messages.
(cherry picked from commit cc0e8cda71 )
2018-07-13 08:23:15 +02:00
Michał Kępień
0561d6bb0c
Update ATF path in the ./configure invocation used during CI
...
The Docker images used for CI install ATF to /usr, not /usr/local.
Update the ./configure invocation in .gitlab-ci.yml accordingly in order
to prevent confusion.
(cherry picked from commit 12df6829d1 )
2018-07-13 08:23:09 +02:00
Michał Kępień
82b03e949f
Add "-f" to command line arguments for autoreconf in autogen.sh
...
Depending on tool versions being used, "autoreconf -i" may not update
all Autoconf-generated files, which in turn may result in build errors.
Make autogen.sh call autoreconf with the "-f" command line argument to
ensure all Autoconf-generated files are updated when autogen.sh is run.
(cherry picked from commit 45e77a3680 )
2018-07-13 08:23:03 +02:00
Ondřej Surý
12772c743e
Merge branch 'fix-last-USE_ENGINE-usage-v9_12' into 'v9_12'
...
Replace the last missed usage of USE_ENGINE with OPENSSL_NO_ENGINE
See merge request isc-projects/bind9!529
2018-07-12 06:45:29 -04:00
Ondřej Surý
0b93c77024
Replace the last missed usage of USE_ENGINE with OPENSSL_NO_ENGINE
2018-07-12 06:33:54 -04:00
Mark Andrews
bac8cab38d
Merge branch '373-generic_tostruct_tlsa-incorrectly-initialises-common-structure-v9_12' into 'v9_12'
...
Resolve "generic_tostruct_tlsa incorrectly initialises common structure."
See merge request isc-projects/bind9!525
2018-07-11 19:54:43 -04:00
Mark Andrews
26a2ab4152
remove re-initalisation of common structure
...
(cherry picked from commit 6e06d3e7c6 )
2018-07-12 09:48:03 +10:00
Evan Hunt
c677a1a987
Merge branch '403-missing-sanity-check-for-call-to-next_token-in-file-dig-c-v9_12' into 'v9_12'
...
Resolve "Missing Sanity Check for call to next_token() in file 'dig.c'"
See merge request isc-projects/bind9!523
2018-07-11 15:06:26 -04:00
Evan Hunt
6fc6b3ab69
CHANGES
...
(cherry picked from commit 8ae1774089 )
2018-07-11 11:58:52 -07:00
Mark Andrews and Evan Hunt
9f126bac32
add test for bad dig option '+ednsopt=:' being handled gracefully
...
(cherry picked from commit ad86878d61 )
2018-07-11 11:58:52 -07:00
Bill Parker and Evan Hunt
62d047658a
check code is non NULL
...
(cherry picked from commit 408bcf9c07 )
2018-07-11 11:58:49 -07:00
Evan Hunt
f6fce682c9
Merge branch '235-enhance-denied-logging-for-dynamic-updates-v9_12' into 'v9_12'
...
Add tcp-self policy tests.
See merge request isc-projects/bind9!521
2018-07-11 14:15:31 -04:00
Mukund Sivaraman and Evan Hunt
d54a38d733
Add system tests for "tcp-self" update-policy
...
(cherry picked from commit a7e6a584ea )
2018-07-11 11:05:37 -07:00
Michał Kępień
73f653c243
Merge branch '392-send-upstream-tat-queries-for-locally-served-zones-v9_12' into 'v9_12'
...
[v9_12] Trust anchor telemetry queries are not sent for locally served zones
See merge request isc-projects/bind9!516
2018-07-11 03:15:47 -04:00
Michał Kępień
e54cddc0c1
Add CHANGES entry
...
4994. [bug] Trust anchor telemetry queries were not being sent
upstream for locally served zones. [GL #392 ]
(cherry picked from commit a64750e428 )
2018-07-11 08:59:29 +02:00
Michał Kępień
873c091408
Send upstream TAT queries for locally served zones
...
Trying to resolve a trust anchor telemetry query for a locally served
zone does not cause upstream queries to be sent as the response is
determined just by consulting local data. Work around this issue by
calling dns_view_findzonecut() first in order to determine the NS RRset
for a given domain name and then passing the zone cut found to
dns_resolver_createfetch().
Note that this change only applies to TAT queries generated by the
resolver itself, not to ones received from downstream resolvers.
(cherry picked from commit a7657dc150 )
2018-07-11 08:59:29 +02:00
Michał Kępień
2e7dd0d61f
Extract TAT QNAME preparation to a separate function
...
Extract the part of dotat() reponsible for preparing the QNAME for a TAT
query to a separate function in order to limit the number of local
variables used by each function and improve code readability.
Rename 'name' to 'origin' to better convey the purpose of that variable.
Also mark it with the const qualifier.
(cherry picked from commit 127810e512 )
2018-07-11 08:59:29 +02:00
Ondřej Surý
ec786f42bd
Merge branch 'pkcs11-missing-gitignore-v9_12' into 'v9_12'
...
PKCS#11 build missing some .gitignore files and ignore .gitignore files
See merge request isc-projects/bind9!514
2018-07-11 02:19:58 -04:00
Ondřej Surý
8a143b1582
Don't check copyrights on .gitignore files
...
(cherry picked from commit 718c527e1d )
2018-07-11 08:12:48 +02:00
Ondřej Surý
bbd82796bd
Add .gitignore for PKCS#11 test files
...
(cherry picked from commit 96907d636d )
2018-07-11 08:11:21 +02:00
Evan Hunt
363dee7e0c
Merge branch 'git-replay-merge-no-push-option-v9_12' into 'v9_12'
...
Add --no-push and --push options and DONT_PUSH environment variable
See merge request isc-projects/bind9!510
2018-07-11 00:03:55 -04:00
Evan Hunt
458f273444
fixed an argument counting bug
2018-07-10 20:59:49 -07:00
Ondřej Surý and Evan Hunt
e50988255c
Add --no-push and --push options and DONT_PUSH environment as default to control what happens after merge
...
(cherry picked from commit 23f69e5626 )
2018-07-10 20:58:19 -07:00
Evan Hunt
c87c42acb5
Merge branch 'ci-check-libs' into 'v9_12'
...
check correctness of win32 .def files in CI 'precheck' step
See merge request isc-projects/bind9!505
2018-07-10 23:38:24 -04:00
Evan Hunt
f74fc06ede
add checklibs to precheck CI step
2018-07-10 20:31:21 -07:00
Evan Hunt
4e657c1430
Merge branch 'remove-redundant-test-v9_12' into 'v9_12'
...
remove redundant test
See merge request isc-projects/bind9!502
2018-07-10 22:11:45 -04:00
Mark Andrews and Evan Hunt
85d7298387
remove redundant test
...
(cherry picked from commit 6eec7fe092 )
2018-07-10 19:05:01 -07:00
Evan Hunt
70c7e02c53
Merge branch '379-trust-anchor-telemetry-log-should-include-client-ip-address-v9_12' into 'v9_12'
...
Resolve "trust anchor telemetry log should include client IP address"
See merge request isc-projects/bind9!500
2018-07-10 21:36:37 -04:00
Mark Andrews and Evan Hunt
0f180d976a
add CHANGES note
2018-07-10 18:29:13 -07:00
Mark Andrews and Evan Hunt
d1539d991a
fix spelling of 'telemetry'
...
(cherry picked from commit 4f18b6a09a )
2018-07-10 18:28:51 -07:00
Mark Andrews and Evan Hunt
0ed6214375
use extracted netaddr rather than client->destaddr
...
(cherry picked from commit 69fd3f5ba4 )
2018-07-10 18:28:50 -07:00
Evan Hunt
e42ec0531b
Merge branch '378-run-xmllint-on-xml-and-docbook-in-precheck-v9_12' into 'v9_12'
...
Check correctness of *.xml, *.docbook, and *.html during precheck
See merge request isc-projects/bind9!498
2018-07-10 20:57:27 -04:00
Mark Andrews and Evan Hunt
01003dd321
Resolve "run xmllint on *.xml and *.docbook in precheck"
...
(cherry picked from commit bb1937aaec )
2018-07-10 17:50:06 -07:00
Evan Hunt
ed12266e64
Merge branch '401-null-pointer-de-reference-found-in-bind-9-12-1-p2-v9_12' into 'v9_12'
...
Resolve "NULL Pointer de-reference found in BIND 9.12.1-P2"
See merge request isc-projects/bind9!495
2018-07-10 17:45:24 -04:00
Evan Hunt
ed3febd737
CHANGES
2018-07-10 14:38:45 -07:00
Bill Parker and Evan Hunt
05669a987a
check param_template[i].pValue is non NULL
...
(cherry picked from commit 8ac0152651 )
2018-07-10 14:38:23 -07:00
Michał Kępień
8195ee7ac5
Merge branch '399-do-not-use-net-dns-nameserver-in-the-serve-stale-system-test-v9_12' into 'v9_12'
...
[v9_12] Do not use Net::DNS::Nameserver in the "serve-stale" system test
See merge request isc-projects/bind9!494
2018-07-10 09:22:25 -04:00
Michał Kępień
77929046ec
Do not use Net::DNS::Nameserver in the "serve-stale" system test
...
Net::DNS versions older than 0.67 respond to queries sent to a
Net::DNS::Nameserver even if its ReplyHandler returns undef. This makes
the "serve-stale" system test fail as it takes advantage of the newer
behavior. Since the latest Net::DNS version available with stock
RHEL/CentOS 6 packages is 0.65 and we officially support that operating
system, bin/tests/system/serve-stale/ans2/ans.pl should behave
consistently for various Net::DNS versions. Ensure that by reworking it
so that it does not use Net::DNS::Nameserver.
(cherry picked from commit c4209418a5 )
2018-07-10 15:15:18 +02:00
Michał Kępień
a20495b8bf
Merge branch '393-fix-a-net-dns-version-quirk-in-the-resolver-system-test-v9_12' into 'v9_12'
...
[v9_12] Fix a Net::DNS version quirk in the "resolver" system test
See merge request isc-projects/bind9!492
2018-07-10 09:14:41 -04:00
Michał Kępień
655dccf4ea
Fix a Net::DNS version quirk in the "resolver" system test
...
Net::DNS versions older than 0.68 insert a ./ANY RR into the QUESTION
section if the latter is empty. Since the latest Net::DNS version
available with stock RHEL/CentOS 6 packages is 0.65 and we officially
support that operating system, bin/tests/system/resolver/ans8/ans.pl
should behave consistently for various Net::DNS versions. Ensure that
by making handleUDP() return the query ID and flags generated by
Net::DNS with 8 zero bytes appended.
(cherry picked from commit 6c3c6aea37 )
2018-07-10 15:07:38 +02:00
Witold Krecicki
df69b89f21
Merge branch 'fix-synth-from-dnssec-dname-handling-v9_12' into 'v9_12'
...
Don't synthesize NXDOMAIN from NSEC for records under a DNAME.
See merge request isc-projects/bind9!491
2018-07-10 04:04:29 -04:00
Mark Andrews and Witold Kręcicki
687ca4412a
the presence of a DNAME record proves that the name does not exist in the zone but as we don't want to use that for NXDMOMAIN return DNS_R_DNAME from dns_nsec_noexistnodata
...
(cherry picked from commit 8ef23f9fb0 )
2018-07-10 09:50:35 +02:00
Witold Kręcicki
e263fe91c0
Don't synthesize NXDOMAIN from NSEC for records under a DNAME
...
(cherry picked from commit 7f60bb39df )
2018-07-10 09:50:30 +02:00
Mark Andrews
8561c61013
Merge branch '402-memory-leak-found-in-file-fuzz-c-in-bind-9-12-1-p2-v9_12' into 'v9_12'
...
Resolve "Memory Leak found in file 'fuzz.c' in BIND-9.12.1-P2"
See merge request isc-projects/bind9!489
2018-07-10 01:14:12 -04:00
Mark Andrews
22327b4cdf
free rbuf
...
(cherry picked from commit ecb2f20324 )
2018-07-10 14:37:52 +10:00
Evan Hunt
3631aeb070
Merge branch 'prep-release-v9_12_2' into 'v9_12'
...
prep 9.12.2
See merge request isc-projects/bind9!472
2018-07-03 03:08:14 -04:00
Tinderbox User
355c8f0e55
prep 9.12.2
2018-07-03 06:57:10 +00:00
Evan Hunt
3a84d617bf
Merge branch 'fix-readme-v9_12' into 'v9_12'
...
Fix README
See merge request isc-projects/bind9!465
2018-07-02 20:23:13 -04:00
Evan Hunt
ec9e85260f
fix version ordering
2018-07-02 17:19:05 -07:00
Evan Hunt
56cf466766
Merge branch 'prep-release-v9_12_2rc2' into 'v9_12'
...
prep 9.12.2rc2
See merge request isc-projects/bind9!450
2018-06-28 00:55:59 -04:00
Tinderbox User
bbf35634c0
prep 9.12.2rc2
2018-06-28 04:42:37 +00:00
Evan Hunt
17b51354f1
Merge branch '339-issues-with-large-journal-entries-v9_12' into 'v9_12'
...
Fix handling of large journal entries.
See merge request isc-projects/bind9!444
2018-06-27 21:33:46 -04:00
Evan Hunt
ded4119b36
CHANGES, release note
...
(cherry picked from commit 2aee33f412 )
2018-06-27 18:26:53 -07:00
Witold Kręcicki and Evan Hunt
cbb73df1f9
Fallback to normal procedure if creating of ixfr-from-differences fails
...
(cherry picked from commit b1254430df )
2018-06-27 18:25:14 -07:00
Witold Kręcicki and Evan Hunt
1a5cba631e
Fix some issues with large journal entries
...
(cherry picked from commit 0db7130f2b )
2018-06-27 18:25:13 -07:00
Mark Andrews
cebcdadad1
Merge branch '366-missing-dereference-in-require-statement-v9_12' into 'v9_12'
...
Resolve "Missing dereference in REQUIRE statement?"
See merge request isc-projects/bind9!440
2018-06-27 03:43:57 -04:00
Mark Andrews
df6951a2bb
cfg_parse_boolean's REQUIRE test for ret was incomplete.
...
(cherry picked from commit f1ee5e4a16 )
2018-06-27 17:37:00 +10:00
Evan Hunt
89f7c7230d
Merge branch '275-add-permanent-option-to-disable-server-side-cookies-v9_12' into 'v9_12'
...
[v9_12]: Resolve "Provide a mechanism (build or runtime) to turn off server-side support for RFC7873"
See merge request isc-projects/bind9!415
2018-06-26 18:23:39 -04:00
Ondřej Surý and Evan Hunt
a7c5fad628
Un-deprecate the answer-cookie option
2018-06-26 15:16:40 -07:00
Evan Hunt
41e2423d37
Merge branch '260-queries-with-empty-question-section-return-noerror-v9_12' into 'v9_12'
...
Resolve "Queries with empty question section (and otherwise query message of undetermined RDCLASS) return NOERROR instead of FORMERR"
See merge request isc-projects/bind9!435
2018-06-26 17:43:09 -04:00
Evan Hunt
07a0638c94
CHANGES
...
(cherry picked from commit 2b075c2881 )
2018-06-26 14:36:36 -07:00
Mukund Sivaraman and Evan Hunt
ed29b84e16
return FORMERR when question section is empty if COOKIE is not present
...
(cherry picked from commit 06d3106002 )
2018-06-26 14:36:34 -07:00
Ondřej Surý
fbd85297eb
Merge branch 'add-git-replay-merge-v9_12' into 'v9_12'
...
Add git replay merge to v9_12
See merge request isc-projects/bind9!429
2018-06-26 15:19:37 -04:00
Ondřej Surý
65144c4bf7
Add git-replay-merge.sh script to v9_12
2018-06-26 20:29:07 +02:00
Witold Krecicki
0d2172eeba
Merge branch '180-fix-cmsgbuf-usage-v9_12' into 'v9_12'
...
Resolve "Intermittent recursive resolver issues [socket.c:2135]"
See merge request isc-projects/bind9!427
2018-06-26 14:25:39 -04:00
Witold Kręcicki
4007a9d020
Use completely static-sized buffers
...
(cherry picked from commit 49f90025a0 )
2018-06-26 20:18:59 +02:00
Witold Kręcicki
da63e95612
Fix socket cmsg buffer usage
...
(cherry picked from commit d79be7dd5e )
2018-06-26 20:12:58 +02:00
Evan Hunt
9e85d16004
Merge branch '288-named-checkconf-does-not-recognize-errors-related-to-in-view-zones-v9_12' into 'v9_12'
...
Resolve "named-checkconf does not recognize errors related to in-view zones"
See merge request isc-projects/bind9!423
2018-06-26 12:53:55 -04:00
Mark Andrews and Evan Hunt
7f31e67c16
CHANGES, copyright
...
(cherry picked from commit f7d346357e )
2018-06-26 09:04:48 -07:00
Mark Andrews and Evan Hunt
665f9093d2
construct a symtab of valid in-view targets then check that the target exists
...
(cherry picked from commit e01a4bcb20 )
2018-06-26 09:03:47 -07:00
Michał Kępień
7d993ffb0b
Merge branch '321-only-request-permitted-capabilities-in-non-libcap-builds-v9_12' into 'v9_12'
...
[v9_12] Only request permitted capabilities in non-libcap builds
See merge request isc-projects/bind9!417
2018-06-26 08:03:26 -04:00
Michał Kępień
731b003854
Add CHANGES entry
...
4979. [bug] Non-libcap builds were not checking whether all
requested capabilities are present in the permitted
capability set. [GL #321 ]
2018-06-26 13:18:00 +02:00
Michał Kępień
8c66f32e53
Only request permitted capabilities in non-libcap builds
...
While libcap-enabled builds check whether any capability named requests
is within the permitted capability set, non-libcap builds just try
requesting them, which potentially causes a misleading error message to
be output ("Operation not permitted: please ensure that the capset
kernel module is loaded"). Ensure non-libcap builds also check whether
any requested capability is within the permitted capability set.
2018-06-26 13:18:00 +02:00
Michał Kępień
b7200143f4
Merge branch '312-fix-rpz-system-test-v9_12' into 'v9_12'
...
[v9_12] Fix rpz system test
See merge request isc-projects/bind9!416
2018-06-26 06:52:06 -04:00
Michał Kępień
80e8f4c366
Add CHANGES entry
...
4978. [test] Fix error handling and resolver configuration in the
"rpz" system test. [GL #312 ]
(cherry picked from commit 51522a2b84 )
2018-06-26 12:43:47 +02:00
Michał Kępień
6a2c606690
Do not use IANA DNSSEC keys in the "rpz" system test
...
With "dnssec-validation" now defaulting to "auto", it needs to be
explicitly set to "yes" (the previous default value) for all validating
resolvers used in system tests. Ensure that requirement is satisfied by
the resolvers used in the "rpz" system test.
(cherry picked from commit ff6b717955 )
2018-06-26 12:43:47 +02:00
Michał Kępień
cee0c23d0a
Determine "rpz" system test mode based on $mode rather than $DNSRPS_TEST_MODE
...
Change 4897 modified the way the $DNSRPS_TEST_MODE variable is used in
bin/tests/system/rpz/tests.sh without updating all references to it,
which i.a. causes the $native and $dnsrps variables to not be set in the
default testing mode, effectively preventing failed checks from being
propagated to the final result of the test. Use $mode instead of
$DNSRPS_TEST_MODE where appropriate to fix error handling in the "rpz"
system test.
(cherry picked from commit 730c6651a0 )
2018-06-26 12:43:47 +02:00
Evan Hunt
90e762a1cf
Merge branch '247-log-the-remaining-v-info-at-startup' into 'v9_12'
...
Resolve "Log the remaining -V info at startup"
Closes #247
See merge request isc-projects/bind9!249
2018-06-25 15:02:33 -07:00
Mark Andrews and Evan Hunt
74bfd11a5f
log the remaining -V info at startup
...
(cherry picked from commit 33ff03db58 )
2018-06-25 15:02:31 -07:00
Mark Andrews
9eb2ff6367
Merge branch '254-invalid-rpz-prefix-length-log-message-improperly-displays-the-prefix-labels-not-length-v9_12' into 'v9_12'
...
Resolve ""invalid RPZ prefix length" log message improperly displays the prefix labels, not length"
See merge request isc-projects/bind9!408
2018-06-25 03:39:54 -04:00
Mukund Sivaraman and Mark Andrews
a769e80796
Add CHANGES entry
...
(cherry picked from commit 90e886cfc0 )
2018-06-25 17:33:15 +10:00
Mukund Sivaraman and Mark Andrews
19bad5a7f3
Add system test
...
(cherry picked from commit 2bf388a31b )
2018-06-25 17:33:15 +10:00
Mukund Sivaraman and Mark Andrews
82d5a44dfd
Patch in trailing nul character to print just the length label (for various cases below)
...
(cherry picked from commit 6a756ab654 )
2018-06-25 17:33:15 +10:00
Mark Andrews
e9f7ef733d
Merge branch '343-casecompare-of-ninfo-tkey-txt-have-wrong-return-type-v9_12' into 'v9_12'
...
Resolve "casecompare of NINFO, TKEY, TXT have wrong return type"
See merge request isc-projects/bind9!404
2018-06-24 23:19:40 -04:00
Mark Andrews
537e3a0a14
fix casecompare return type for ninfo, tkey, txt
...
(cherry picked from commit 3ba1d1e43b )
2018-06-25 13:08:47 +10:00
Mark Andrews
393b974ed3
Merge branch '356-client-cookie-is-being-hashed-twice-when-computing-the-dns-server-cookie-v9_12' into 'v9_12'
...
Resolve "Client cookie is being hashed twice when computing the DNS server cookie."
See merge request isc-projects/bind9!401
2018-06-22 03:51:53 -04:00
Mark Andrews
cd1169b605
4975. [bug] The server cookie computation for sha1 and sha256 did
...
not match the method described in RFC 7873. [GL #356 ]
(cherry picked from commit 8755a249bc )
2018-06-22 17:45:02 +10:00
Mark Andrews
77496f0b88
the client cookie was being hashed twice when computing the server cookie for sha1 and sha256
...
(cherry picked from commit 4795f0ca89 )
2018-06-22 17:45:02 +10:00
Ondřej Surý
e1dc8b39d3
Merge branch 'release-v9_12_2rc1' into 'v9_12'
...
Merge 9.12.1rc1 release into v9_12
See merge request isc-projects/bind9!395
2018-06-21 13:13:13 -04:00
Evan Hunt and Ondřej Surý
87344e3493
prepare 9.12.1rc1
2018-06-21 18:46:32 +02:00
Mark Andrews
e684a72f54
Merge branch '336-default-of-rrset-order-silently-changed-to-be-sorted-rather-than-random-v9_12' into 'v9_12'
...
Resolve "Default of rrset-order silently changed to be sorted (rather than random)"
See merge request isc-projects/bind9!387
2018-06-18 21:43:44 -04:00
Mark Andrews
4f332dc936
Restore default rrset-order to random.
...
(cherry picked from commit e8154b50d4 )
2018-06-19 11:18:19 +10:00
Michał Kępień
b4c0a99f22
Merge branch '341-constify-dns_rdata_tostruct-v9_12' into 'v9_12'
...
[v9_12] constify dns_rdata_tostruct
See merge request isc-projects/bind9!380
2018-06-15 03:34:48 -04:00
Mark Andrews and Michał Kępień
d4c55dae8e
Declare the 'rdata' argument for dns_rdata_tostruct() to be const
...
(cherry picked from commit abb2fd1027 )
2018-06-15 08:52:28 +02:00
Ondřej Surý
d370125e67
Merge branch '309-fix-default-recursion-v9_12' into 'v9_12'
...
Resolve "Recursion improperly allowed by default"
See merge request isc-projects/bind9!373
2018-06-14 08:53:10 -04:00
Evan Hunt and Ondřej Surý
be145bc8b6
add a regression test for default allow-recursion settings
2018-06-14 14:45:56 +02:00
Evan Hunt and Ondřej Surý
be02bf6571
allow-recursion could incorrectly inherit from the default allow-query
2018-06-14 14:45:56 +02:00
Michał Kępień
22192a4566
Merge branch '298-fix-dname-handling-in-dnssec-tools-v9_12' into 'v9_12'
...
[v9_12] Fix DNAME handling in DNSSEC tools
See merge request isc-projects/bind9!363
2018-06-13 07:29:22 -04:00
Michał Kępień
f9637ae0e5
Add CHANGES entry
...
4971. [bug] dnssec-signzone and dnssec-verify did not treat records
below a DNAME as out-of-zone data. [GL #298 ]
(cherry picked from commit f467ba8e1f )
2018-06-13 12:57:47 +02:00
Mark Andrews and Michał Kępień
899e56068e
Pull out the saving of the zone cut into a separate function
...
(cherry picked from commit 7be900a98f )
2018-06-13 12:57:41 +02:00
Michał Kępień
ff7015a0f8
Treat records below a DNAME as out-of-zone data
...
DNAME records indicate bottom of zone and thus no records below a DNAME
should be DNSSEC-signed or included in NSEC(3) chains. Add a helper
function, has_dname(), for detecting DNAME records at a given node.
Prevent signing DNAME-obscured records. Check that DNAME-obscured
records are not signed.
(cherry picked from commit 75c0d85fc4 )
2018-06-13 12:57:03 +02:00
Michał Kępień
f3b5550c2c
Merge branch '284-unify-keyfile-to-configuration-conversions-in-system-tests-v9_12' into 'v9_12'
...
[v9_12] Unify keyfile-to-configuration conversions in system tests
See merge request isc-projects/bind9!360
2018-06-13 02:10:50 -04:00
Michał Kępień
2cad382552
Add helper variables in mkeys system test
...
The keyfile and key ID for the original managed key do not change
throughout the mkeys system test. Keep them in helper variables to
prevent calling "cat" multiple times and improve code readability.
(cherry picked from commit 68f056b2a0 )
2018-06-13 07:59:07 +02:00
Michał Kępień
dce66f7635
Replace duplicated code snippet with calls to helper functions
...
Reduce code duplication by replacing a code snippet repeated throughout
system tests using "trusted-keys" and/or "managed-keys" configuration
sections with calls to keyfile_to_{managed,trusted}_keys() helper
functions.
(cherry picked from commit 120af964ce )
2018-06-13 07:58:39 +02:00
Michał Kępień
21d3658bcb
Add helper functions for converting keyfile data into configuration sections
...
Add a set of helper functions for system test scripts which enable
converting key data from a set of keyfiles to either a "trusted-keys"
section or a "managed-keys" section suitable for including in a
resolver's configuration file.
(cherry picked from commit 2392b8bc7d )
2018-06-13 07:58:10 +02:00
Michał Kępień
b5478f1281
Merge branch '269-refactor-zone-logging-functions-v9_12' into 'v9_12'
...
[v9_12] Refactor zone logging functions
See merge request isc-projects/bind9!357
2018-06-11 07:06:04 -04:00
Michał Kępień
056e8acc0e
Add CHANGES entry
...
4969. [cleanup] Refactor zone logging functions. [GL #269 ]
(cherry picked from commit c8de677eae )
2018-06-11 12:50:11 +02:00
Michał Kępień
b39edab59b
Reimplement all zone logging functions using dns_zone_logv()
...
In order to decrease code duplication, express the logic contained in
all zone logging functions using dns_zone_logv() calls.
(cherry picked from commit 5c03cd339e )
2018-06-11 12:50:11 +02:00
Michał Kępień
75959cb369
Add dns_zone_logv()
...
Add a new libdns function, dns_zone_logv(), which takes a single va_list
argument rather than a variable number of arguments and can be used as a
base for implementing more specific zone logging functions.
(cherry picked from commit bb2dfb3f49 )
2018-06-11 12:50:11 +02:00
Evan Hunt
1df48d82d2
Merge branch 'fix-strtok' into v9_12
2018-06-09 23:04:00 -07:00
Evan Hunt
74c3b9d3b2
complete strtok fix
2018-06-09 23:03:38 -07:00
Evan Hunt
545b5d1f58
Merge branch 'fix-strtok' into v9_12
2018-06-09 22:31:41 -07:00
Evan Hunt
1734f1b3b9
use strtok() instead of strtok_r() in command line processing
2018-06-09 22:29:31 -07:00
Evan Hunt
3c12722080
Merge branch '293-cleanup-radix' into v9_12
2018-06-08 12:10:50 -07:00
Evan Hunt
f7f20b1202
improve readability of radix code
...
- use RADIX_V4, RADIX_V6, RADIX_V4_ECS, and RADIX_V6_ECS as array
indices instead of 0 through 3.
- remove some unused macros
2018-06-08 11:55:53 -07:00
Evan Hunt
f11181c255
Merge branch 'validate-glue-v9_12' into 'v9_12'
...
ensure that we attempt to validate glue if it's signed
See merge request isc-projects/bind9!300
2018-06-08 11:50:03 -07:00
Evan Hunt
4afe50f546
CHANGES
...
(cherry picked from commit bde9c2ec39 )
2018-06-08 11:50:00 -07:00
Evan Hunt
86787d0ad1
ensure that we attempt to validate glue if it's signed
...
- incidentally fixed a bug in the dnssec system test where TTLs in the
answer section rather than the additional section were being checked
(cherry picked from commit 8d923a05a9 )
2018-06-08 11:49:34 -07:00
Mark Andrews
701548eaad
Merge branch '325-add-cfg_parse_buffer4-v9_12' into 'v9_12'
...
Resolve "add cfg_parse_buffer4"
Closes #325
See merge request isc-projects/bind9!353
2018-06-08 17:40:17 +10:00
Mark Andrews
323a2edfc2
add cfg_parse_buffer4
...
(cherry picked from commit b313084af2 )
2018-06-08 17:40:16 +10:00
Mark Andrews
4976d24bcb
Merge branch '173-option-to-disable-responding-with-cookies-isc-support-12614' into 'v9_12'
...
Resolve "option to disable responding with cookies [ISC-Support #12614 ]"
See merge request isc-projects/bind9!154
2018-06-08 02:51:21 -04:00
Mark Andrews
5f7a6232d6
add CHANGES and release notes
2018-06-08 16:44:42 +10:00
Mukund Sivaraman and Mark Andrews
b5265a8cfa
Update ARM documentation
2018-06-08 16:37:38 +10:00
Mukund Sivaraman and Mark Andrews
a5933fa2bb
Add system test
2018-06-08 16:34:29 +10:00
Mukund Sivaraman and Mark Andrews
2930507357
Add a answer-cookie named config option
2018-06-08 16:34:29 +10:00
Mark Andrews
2836d8e952
Merge branch '322-add-support-for-marking-options-as-deprecated-v9_12' into 'v9_12'
...
Resolve "add support for marking options as deprecated."
Closes #322
See merge request isc-projects/bind9!351
2018-06-08 15:55:56 +10:00
Mark Andrews
60a703550e
Add support for marking a option as deprecated.
...
(cherry picked from commit befff9452c )
2018-06-08 15:55:56 +10:00
Witold Krecicki
3b191620bb
Merge branch 'XX-dont-fetch-keys-when-fuzzing-v9_12' into 'v9_12'
...
Don't fetch DNSKEY when fuzzing resolver
See merge request isc-projects/bind9!350
2018-06-06 09:57:10 -04:00
Witold Kręcicki
2e1a704378
Don't fetch DNSKEY when fuzzing resolver
...
(cherry picked from commit cb3208aa43 )
2018-06-06 15:50:33 +02:00
Mark Andrews
ae20d1d215
Merge branch '240-multiple-rrsigs-on-some-records-in-signed-zone-even-though-only-one-key-is-ever-active-at-a-time-v9_12' into 'v9_12'
...
Resolve "Multiple RRSIGs on some records in signed zone even though only one key is ever active at a time"
Closes #240
See merge request isc-projects/bind9!231
2018-06-06 17:09:00 +10:00
Mark Andrews
00f1956c9e
add CHANGES note
...
(cherry picked from commit ba7a343156 )
2018-06-06 17:05:47 +10:00
Mark Andrews
1783fa5aba
add duplicate signature test
...
(cherry picked from commit 0db5b087ed )
2018-06-06 17:05:47 +10:00
Mark Andrews
69340b5ac5
add support -T sigvalinsecs
...
(cherry picked from commit 87a3dc8ab9 )
2018-06-06 17:05:43 +10:00
Mark Andrews
c1e342cedb
only sign with other keys when deleting a key if there are not already existing signature for the deleted algorithm
...
(cherry picked from commit 0667bf7ae7 )
2018-06-06 16:54:03 +10:00
Evan Hunt
d636534ea8
Merge branch 'v9_12' of gitlab.isc.org:isc-projects/bind9 into v9_12
2018-06-05 21:53:06 -07:00
Mark Andrews
ace0af0fd8
Merge branch '316-move-named-t-processing-to-its-own-function-v9_12' into 'v9_12'
...
Resolve "move named -T processing to its own function"
Closes #316
See merge request isc-projects/bind9!343
2018-06-06 14:48:41 +10:00
Mark Andrews
937e700bd5
add CHANGES
...
(cherry picked from commit ef7401e4a7 )
2018-06-06 14:48:21 +10:00
Mark Andrews
475bb0e332
move -T parsing to its own function
...
(cherry picked from commit b491ceeb50 )
2018-06-06 14:47:54 +10:00
Evan Hunt
4be2773736
Merge branch '302-use-ip-for-ifconfig' into 'v9_12'
...
Resolve "ifconfig.sh doesn't work on centos7"
Closes #302
See merge request isc-projects/bind9!330
2018-06-05 21:45:21 -07:00
Evan Hunt
7f16672ab8
CHANGES
...
(cherry picked from commit 71f2335f5a )
2018-06-05 21:45:12 -07:00
Evan Hunt
3e1a0c2b62
use "ip" on linux, falling back to "ifconfig" when it isn't available
...
(cherry picked from commit d7c5400798 )
2018-06-05 21:44:45 -07:00
Evan Hunt
e4487b160c
expand address range in ifconfig.sh to include more than one subnet
...
(cherry picked from commit 41b29a436b )
2018-06-05 21:44:45 -07:00
Evan Hunt
f448be27c5
clean up CHANGES numbers
2018-06-04 19:44:59 -07:00
Evan Hunt
3911b187e3
Merge branch '310-check-changes-needs-to-be-called-for-v9_12' into 'v9_12'
...
Resolve "check-changes needs to be called for v9_12"
See merge request isc-projects/bind9!337
2018-06-04 19:26:16 -07:00
Mark Andrews and Evan Hunt
022b2b481f
call util/check-changes in setup
...
(cherry picked from commit c0e69cc406 )
2018-06-04 19:26:08 -07:00
Mark Andrews
0111295ff0
Merge branch '281-dont-insert-extra-space-between-nsec3-nexthash-and-typemap-v9_12' into 'v9_12'
...
Resolve "9.11.3-S1 totext_nsec3 inserts a redundant white space between next hash and type map [ISC-support #12887 ]"
See merge request isc-projects/bind9!313
2018-06-04 13:02:19 +10:00
Mark Andrews
6640898fa9
Add CHANGES note
...
(cherry picked from commit f98d8115e3 )
2018-06-04 13:02:09 +10:00
Mukund Sivaraman and Mark Andrews
8af1d5916f
Add NSEC3 fromtext/totext unittests
...
(cherry picked from commit b0d9198e03 )
2018-06-04 13:01:18 +10:00
Mukund Sivaraman and Mark Andrews
ac7c74425e
Don't insert 2nd space between NSEC3 nexthash and typemap fields
...
(cherry picked from commit d4ea1edd2c )
2018-06-04 13:01:18 +10:00
Evan Hunt
fb9e5221bc
Merge branch 'serve-stale-doc-and-logging' into 'v9_12'
...
Serve stale doc and logging
See merge request isc-projects/bind9!323
2018-05-28 17:26:22 -07:00
Evan Hunt
876d544a1c
CHANGES
...
(cherry picked from commit 049777d6c5 )
2018-05-28 17:26:07 -07:00
Tony Finch and Evan Hunt
c4494458ae
Move serve-stale logging to its own category, so that its verbosity can be curtailed.
...
(cherry picked from commit 4b442c309d )
2018-05-28 17:25:38 -07:00
Evan Hunt
3d2de8e776
clarify serve-stale documentation, and add a floor for max-stale-ttl
...
- added a 1-second floor to max-stale-ttl similar to stale-answer-ttl;
if set to 0, it will be silently updated to 1.
- fixed the ARM entry on max-stale-ttl, which incorrectly suggested that
the default was 0 instead of 1 week.
- clarified rndc serve-stale documentation.
(cherry picked from commit d1ca21d50a )
2018-05-28 17:25:37 -07:00
Mark Andrews
bb7c075cbe
Merge branch '286-new-cppcheck-detected-errors-v9_12' into 'v9_12'
...
Resolve "New cppcheck-detected errors"
See merge request isc-projects/bind9!324
2018-05-29 09:44:48 +10:00
Mark Andrews
9fc2eb9554
add CHANGES note
...
(cherry picked from commit e9134b15eb )
2018-05-29 09:44:41 +10:00
Mark Andrews
3bbcba405b
work around cppcheck false positive
...
(cherry picked from commit cb5802e854 )
2018-05-29 09:44:02 +10:00
Evan Hunt
35488bec21
Merge branch '245-fix-test-color' into 'v9_12'
...
Resolve "rpz test fails to launch ns2 on openbsd"
Closes #245
See merge request isc-projects/bind9!321
2018-05-25 13:01:31 -07:00
Evan Hunt
59715255cf
fix openbsd color-display problem in system test output
...
(cherry picked from commit 1e31fdb76d )
2018-05-25 13:01:25 -07:00
Mark Andrews
cc443821e6
Merge branch '290-documentation-error-missing-v9_12' into 'v9_12'
...
Resolve "Documentation error - missing "};""
Closes #290
See merge request isc-projects/bind9!318
2018-05-25 13:11:43 +10:00
Mark Andrews
2e9f0fb026
add closing '};'
...
(cherry picked from commit ab22160a1c )
2018-05-25 13:11:43 +10:00
Evan Hunt
6acdb87b3b
Merge branch 'fix-catz-test' into 'v9_12'
...
fix catz test
See merge request isc-projects/bind9!317
2018-05-24 16:18:29 -07:00
Evan Hunt
3e57b352be
files were left in place after catz run because of non-portable bracket use
...
(cherry picked from commit af73e16c9c )
2018-05-24 16:18:24 -07:00
Evan Hunt
fc407f3f94
Merge branch 'fix-copyrights' into v9_12
2018-05-23 18:08:20 -07:00
Evan Hunt
5875dda277
restore accidentally deleted copyright lines
2018-05-23 18:07:50 -07:00
Evan Hunt
8bfcb03ae5
Merge branch '283-ensure-there-is-a-blank-line-before-a-changes-entry-and-a-release-marker' into 'v9_12'
...
Resolve "ensure there is a blank line before a changes entry and a release marker."
Closes #283
See merge request isc-projects/bind9!311
2018-05-23 17:58:17 -07:00
Mark Andrews and Evan Hunt
d87eb5804d
ensure there is a blank line before a changes entry and a release marker
...
(cherry picked from commit c91770549f )
2018-05-23 17:57:32 -07:00
Evan Hunt
9a08b1f912
Merge branch 'generate-notes-txt' into 'v9_12'
...
use w3m to generate notes.txt as part of the doc build
See merge request isc-projects/bind9!310
2018-05-23 09:54:07 -07:00
Evan Hunt
61de568197
copyrights
2018-05-23 09:52:09 -07:00
Evan Hunt
5b2390e016
use w3m to generate notes.txt as part of the doc build
...
(cherry picked from commit 7c955e0eb8 )
2018-05-23 09:50:10 -07:00
Mark Andrews
b847410f3a
Merge branch '273-add-home-arpa-to-list-of-empty-zones-rfc-8375-v9_12' into 'v9_12'
...
Resolve "Add "HOME.ARPA" to list of empty zones (RFC 8375)"
Closes #273
See merge request isc-projects/bind9!297
2018-05-23 11:13:25 +10:00
Mark Andrews
8ad96c7a76
add HOME.ARPA to the list of empty zones
...
(cherry picked from commit 10dd0b3efe )
2018-05-23 11:13:10 +10:00
Mark Andrews
a14ecc9e46
fix handling of failed tests
...
(cherry picked from commit 4283f9552f )
2018-05-23 11:08:14 +10:00
Evan Hunt
175062a8ba
Merge branch 'fix-kit-v9_12' into 'v9_12'
...
use the correct repository, and get archive by tag not hash
See merge request isc-projects/bind9!304
2018-05-21 13:57:11 -07:00
Evan Hunt
988d4ac1a5
use the correct repository, and get archive by tag not hash
...
(cherry picked from commit 999e3233f3 )
2018-05-21 13:57:10 -07:00
Evan Hunt
6cf0a45228
Merge branch '185-fix-changes-entry-v9_12' into v9_12
2018-05-21 10:36:06 -07:00
Evan Hunt
af047f39c9
Fix CHANGES entry
2018-05-21 10:35:48 -07:00
Evan Hunt
6b5853dd34
Merge branch '185-security-fix' into v9_12
2018-05-21 10:00:30 -07:00
Evan Hunt
1b1b8e6d41
update CHANGES
...
(cherry picked from commit 4b67376e42 )
2018-05-21 10:00:09 -07:00
Evan Hunt
3de0910bc7
Detect recursion loops during query processing
...
Interrupt query processing when query_recurse() attempts to ask the same
name servers for the same QNAME/QTYPE tuple for two times in a row as
this indicates that query processing may be stuck for an indeterminate
period of time, e.g. due to interactions between features able to
restart query_lookup().
(cherry picked from commit d1de99bc587480eb51a38b23c8aaf4d34c0c92d2)
2018-05-21 09:59:41 -07:00
Evan Hunt
f6884e0ca5
Prevent check_stale_header() from leaking rdataset headers
...
check_stale_header() fails to update the pointer to the previous header
while processing rdataset headers eligible for serve-stale, thus
enabling rdataset headers to be leaked (i.e. disassociated from a node
and left on the relevant TTL heap) while iterating through a node. This
can lead to several different assertion failures. Add the missing
pointer update.
(cherry picked from commit cf9cb7cd0013610c8978808aab9d6bae9fe57a4b)
2018-05-21 09:58:44 -07:00
Mark Andrews
0083ce2c52
Merge branch '238-isc_net_recvoverflow-support-is-broken-v9_12' into 'v9_12'
...
Resolve "ISC_NET_RECVOVERFLOW support is broken."
Closes #238
See merge request isc-projects/bind9!226
2018-05-18 15:59:23 +10:00
Mark Andrews
24bb79f9fc
ISC_SOCKEVENTATTR_TRUNC was not be set
...
(cherry picked from commit 6bff1768cf )
2018-05-18 15:59:14 +10:00
Evan Hunt
d66c548295
Merge branch '251-documentation-of-rpz-min-update-interval-is-inconsistent-with-implementation' into 'v9_12'
...
Resolve "Documentation of RPZ min-update-interval is inconsistent with implementation"
Closes #251
See merge request isc-projects/bind9!277
2018-05-17 20:23:18 -07:00
Mukund Sivaraman and Evan Hunt
84640d2e04
Fix ARM about min-update-interval default for RPZ zones
...
Also, use variable names consistent with catz for rpz configuration functions
(cherry picked from commit 975afc508d )
2018-05-17 20:23:08 -07:00
Mark Andrews
ab570e7953
Merge branch '274-print-c-9-12-and-earlier' into 'v9_12'
...
Resolve "print.c 9.12 and earlier"
See merge request isc-projects/bind9!298
2018-05-17 22:42:16 -04:00
Mark Andrews
3f3d424a70
add CHANGES note
2018-05-18 12:19:26 +10:00
Mark Andrews
d03a81c265
look for '\0'
2018-05-18 12:17:31 +10:00
Mark Andrews
f5233ba5de
add some %f format tests
2018-05-18 12:17:31 +10:00
Mark Andrews
800012de23
don't produce a false negative for %z with CFLAGS=-Werror
2018-05-18 12:17:31 +10:00
Mark Andrews
906565a274
Merge branch '267-iscpk11libs-is-not-defined-anywhere-resulting-in-dstrandom_test-not-being-built-v9_12' into 'v9_12'
...
Resolve "ISCPK11LIBS is not defined anywhere resulting in dstrandom_test not being built"
See merge request isc-projects/bind9!294
2018-05-17 02:39:31 -04:00
Mark Andrews
de2d23db2a
alphabetize and remove ISCPK11LIBS
2018-05-17 16:32:43 +10:00
Ondřej Surý
3fffd5de63
Merge branch '209-glue-is-no-longer-included-v9_12' into 'v9_12'
...
Resolve "Glue is no longer included for non-DNSSEC-signed zones since CHANGE 4596"
See merge request isc-projects/bind9!285
2018-05-16 03:11:25 -04:00
Mukund Sivaraman and Ondřej Surý
e661831199
Add CHANGES entry
...
(cherry picked from commit dfd73d7e16 )
2018-05-16 08:30:07 +02:00
Mukund Sivaraman and Ondřej Surý
d6a4760031
Add system test
...
(cherry picked from commit 303391ea41 )
2018-05-16 08:29:25 +02:00
Mukund Sivaraman and Ondřej Surý
753d0aee03
Don't validate non-pending glue when adding to the additional section
...
(cherry picked from commit 31bd3147d1 )
2018-05-16 08:29:25 +02:00
Evan Hunt
dcf0d95ee5
Merge branch '233-clarify-documentation-of-update-policy-tcp-self-and-6to4-self' into 'v9_12'
...
Resolve "Clarify documentation of update-policy tcp-self and 6to4-self"
Closes #233
See merge request isc-projects/bind9!227
2018-05-15 13:20:01 -07:00
Evan Hunt
117ad14ddb
rewrite the update-policy documentation
...
- clarify the behavior of the name and identity fields for various
rule types, particularly tcp-self and 6to4-self.
(cherry picked from commit dea89f2a52 )
2018-05-15 13:19:55 -07:00
Michał Kępień
db909bcb58
Merge branch '258-address-ubsan-warnings-v9_12' into 'v9_12'
...
[v9_12] Address issues found by ubsan
See merge request isc-projects/bind9!280
2018-05-15 03:51:23 -04:00
Michał Kępień
18824a084b
isc_buffer_*(): if source can be NULL, only call memmove() when length is non-zero
...
Certain isc_buffer_*() functions might call memmove() with the second
argument (source) set to NULL and the third argument (length) set to 0.
While harmless, it triggers an ubsan warning:
runtime error: null pointer passed as argument 2, which is declared to never be null
Modify all memmove() call sites in lib/isc/include/isc/buffer.h and
lib/isc/buffer.c which may potentially use NULL as the second argument
(source) so that memmove() is only called if the third argument (length)
is non-zero.
(cherry picked from commit 6ddbca6f2b )
2018-05-15 09:28:17 +02:00
Michał Kępień
046f10ae99
dns_rdataslab_merge(): use dns_rdata_compare() instead of compare_rdata()
...
compare_rdata() was meant to be used as a qsort() callback. Meanwhile,
dns_rdataslab_merge() calls compare_rdata() for a pair of dns_rdata_t
structures rather than a pair of struct xrdata structures, which is
harmless, but triggers an ubsan warning:
rdataslab.c:84:33: runtime error: member access within address <address> with insufficient space for an object of type 'const struct xrdata'
Use dns_rdata_compare() instead of compare_rdata() to prevent the
warning from being triggered.
(cherry picked from commit 9bc6ba0be9 )
2018-05-15 09:28:17 +02:00
Michał Kępień
7c272294b6
Merge branch '252-9-9-sigs_test-updatesigs-is-failing-v9_12' into 'v9_12'
...
[v9_12] Skip lib/dns/tests/sigs_test for builds without DNSSEC support
See merge request isc-projects/bind9!273
2018-05-14 03:38:35 -04:00
Michał Kępień
f26ae1ea9f
Extend the list of headers included by lib/dns/tests/sigs_test.c
...
(cherry picked from commit f98e145c5b )
2018-05-14 09:31:18 +02:00
Mark Andrews and Michał Kępień
8d93b77c31
return untested if not built with OPENSSL or PKCS11CRYPTO
...
(cherry picked from commit 2420320b96 )
2018-05-14 09:31:18 +02:00
Ondřej Surý
95757c842f
Merge branch '9-remove-dolar-ids-and-other-cruft-v9_12' into 'v9_12'
...
Remove $Id$s and other cruft as a batch operation
See merge request isc-projects/bind9!267
2018-05-11 08:29:41 -04:00
Ondřej Surý
c35de9b383
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
...
(cherry picked from commit 55a10b7acd )
2018-05-11 14:19:35 +02:00
Ondřej Surý
8ab1551a3a
Merge branch 'redirect-stderr-to-dev-null-v9_12' into 'v9_12'
...
Update tests to not use '>&-' that closes file descriptor, but instead use…
See merge request isc-projects/bind9!264
2018-05-11 07:18:10 -04:00
Ondřej Surý
1c003f1230
Update tests to not use '>&-' that closes file descriptor, but instead use correct redirection to '>/dev/null'
...
(cherry picked from commit 3f66b8acb0 )
2018-05-11 13:11:10 +02:00
Michał Kępień
ef3fae305c
Merge branch '239-don-t-use-null-as-a-argument-to-a-varargs-function-as-it-may-not-be-promoted-properly-v9_12' into 'v9_12'
...
[v9_12] don't use NULL as a argument to a varargs function as it may not be promoted properly
See merge request isc-projects/bind9!261
2018-05-11 02:41:53 -04:00
Mark Andrews and Michał Kępień
438395086c
silence cppcheck portability warning
...
(cherry picked from commit 6aae115d15 )
2018-05-11 08:30:13 +02:00
Mark Andrews
f30e93853c
Merge branch '248-named-9-12-uses-too-much-memory-with-tuning-large-regression-vs-9-11-v9_12' into 'v9_12'
...
Resolve "named 9.12 uses too much memory with `--tuning=large` (regression vs. 9.11)"
Closes #248
See merge request isc-projects/bind9!251
2018-05-11 11:31:27 +10:00
Mark Andrews
6e88bbde2d
add CHANGES note
...
(cherry picked from commit 30e58374a3 )
2018-05-11 11:31:18 +10:00
Mukund Sivaraman and Mark Andrews
224244227c
Don't keep around debuglist structs when done
...
(cherry picked from commit 3adcc033f6 )
2018-05-11 11:29:58 +10:00
Mukund Sivaraman and Mark Andrews
36277f7a63
Reduce number of buckets in tracklines debuglink table
...
With 1044 res contexts, each with 65536 debuglink structs of 16 bytes
each, the debuglink table itself was consuming 1GB+ of memory.
(cherry picked from commit b9886abd86 )
2018-05-11 11:29:58 +10:00
Michał Kępień
091d0f1041
Merge branch '249-address-gcc-8-compilation-warnings-v9_12' into 'v9_12'
...
[v9_12] Address GCC 8 compilation warnings
See merge request isc-projects/bind9!259
2018-05-10 04:59:53 -04:00
Ondřej Surý and Michał Kępień
fa846bbed0
Address GCC 8 -Wstringop-truncation warning
...
(cherry picked from commit 9845c4c4a7 )
2018-05-10 10:52:00 +02:00
Michał Kępień
6e26fab6b8
Address GCC 8 -Wformat-truncation warnings
...
(cherry picked from commit 172d0c401e )
2018-05-10 10:52:00 +02:00
Ondřej Surý
3593360928
Merge branch 'gitlab-ci-amd64-v9_12' into 'v9_12'
...
Tag docker images with appropriate architectures
See merge request isc-projects/bind9!255
2018-05-10 03:36:54 -04:00
Ondřej Surý
9b795c34b9
Tag docker images with appropriate architectures
...
(cherry picked from commit ab112d2c4f )
2018-05-10 09:27:23 +02:00
Evan Hunt
b1ef7d8ecd
Merge branch '135-add-basic-unit-tests-for-update_sigs' into 'v9_12'
...
Add basic unit tests for update_sigs()
Closes #135
See merge request isc-projects/bind9!112
2018-05-10 00:02:06 -07:00
Michał Kępień and Evan Hunt
1f9b0cbc63
Add CHANGES entry
...
4939. [test] Add basic unit tests for update_sigs(). [GL #135 ]
(cherry picked from commit 4885809eb9 )
2018-05-10 00:01:56 -07:00
Michał Kępień and Evan Hunt
3e93e4bb62
Define basic test cases for dns__zone_updatesigs()
...
Add some basic test cases ensuring dns__zone_updatesigs() behaves as
expected.
(cherry picked from commit 8b9d2c27b4 )
2018-05-10 00:01:41 -07:00
Michał Kępień and Evan Hunt
3dde7c42db
Add a framework for dns__zone_updatesigs() unit tests
...
Add a new ATF test, sigs_test, containing everything required to start
defining test cases for dns__zone_updatesigs(). The framework is
written in a way which ensures that changes to zone database applied by
any dns__zone_updatesigs() invocation are preserved between subsequent
checks.
(cherry picked from commit 1f10186476 )
2018-05-10 00:01:41 -07:00
Michał Kępień and Evan Hunt
fc0e99c7d7
Move find_zone_keys() to lib/dns/zone_p.h
...
Rename find_zone_keys() to dns__zone_findkeys() and move it to
lib/dns/zone_p.h, so that it can be used in unit tests. Add a comment
describing the purpose of this function.
(cherry picked from commit d7143986b1 )
2018-05-10 00:01:41 -07:00
Michał Kępień and Evan Hunt
4d06f50ba8
Move update_sigs() to lib/dns/zone_p.h
...
Rename update_sigs() to dns__zone_updatesigs() and move it to
lib/dns/zone_p.h, so that it can be unit tested. Add a comment
describing the purpose of this function.
(cherry picked from commit b1947cee82 )
2018-05-10 00:01:38 -07:00
Michał Kępień and Evan Hunt
ea15c54d8a
Move zonediff_t to lib/dns/zone_p.h
...
Rename zonediff_t to dns__zonediff_t and move it to lib/dns/zone_p.h, so
that unit tests can be written for functions taking pointers to
structures of this type as arguments.
(cherry picked from commit ace465a9f9 )
2018-05-10 00:00:31 -07:00
Michał Kępień and Evan Hunt
2b0add6d1a
Add lib/dns/zone_p.h
...
Add a new private header file, lib/dns/zone_p.h, which will hold type
definitions and function prototypes not meant to be exported by libdns,
but required by zone-related unit tests.
(cherry picked from commit c1bc3be806 )
2018-05-10 00:00:31 -07:00
Michał Kępień and Evan Hunt
d4c603eb8a
Add a helper function to facilitate preparing dns_diff_t structures
...
Implement dns_test_difffromchanges(), a function which enables preparing
a dns_diff_t structure from a mostly-textual representation of zone
database changes to be applied. This will improve readability of test
case definitions by allowing contents of a dns_diff_t structure, passed
e.g. to update_sigs(), to be represented in a human-friendly manner.
(cherry picked from commit 3c22af0d35 )
2018-05-10 00:00:31 -07:00
Michał Kępień and Evan Hunt
107102d333
Rename dns_test_rdata_fromstring() to dns_test_rdatafromstring()
...
Remove the underscore from "rdata_fromstring" so that all helper
functions for libdns tests use a common naming covention.
(cherry picked from commit 2980cbd55f )
2018-05-10 00:00:31 -07:00
Michał Kępień and Evan Hunt
f70c02d2c2
Rework dns_test_makezone()
...
The dns_test_makezone() helper function always assigns the created zone
to some view, which is not always necessary and complicates cleanup of
non-managed zones as they are required not to be assigned to any view.
Rework dns_test_makezone() in order to make it easier to use in unit
tests operating on non-managed zones. Use dns_name_fromstring() instead
of dns_name_fromtext() to simplify code. Do not use the CHECK() macro
and add comments to make code flow simpler to follow. Use
dns_test_makeview() instead of dns_view_create().
Adjust existing unit tests using this function so that they still pass.
(cherry picked from commit bfbeef3609 )
2018-05-10 00:00:31 -07:00
Ondřej Surý
420e00ffa9
Merge branch '191-misc-improvements-v9_12' into 'v9_12'
...
[v9_12] Miscelaneous improvements found when working on #191
See merge request isc-projects/bind9!244
2018-05-03 15:44:06 -04:00
Ondřej Surý
311fbf3f5b
Use standard OPENSSL_NO_ENGINE instead of custom USE_ENGINE define
...
(cherry picked from commit 8d648e7a8a )
2018-05-03 21:36:46 +02:00
Ondřej Surý
5af60f69fd
Use BN_hex2bn instead of custom BN_fromhex function
...
(cherry picked from commit 8bf192b4d1 )
2018-05-03 21:35:21 +02:00
Ondřej Surý
30b308e2e3
Fix extra ] in configure.in
...
(cherry picked from commit 35d2dbb9f5 )
2018-05-03 21:35:21 +02:00
Ondřej Surý
da5186cdd6
Merge branch '236-silence-cppcheck-issues-in-lib-dns-dst_parse-c-v9_12' into 'v9_12'
...
[v9_12] Resolve "silence cppcheck issues in lib/dns/dst_parse.c"
See merge request isc-projects/bind9!240
2018-05-03 11:22:03 -04:00
Mark Andrews and Ondřej Surý
9b20819dd6
simplify mask construction
...
(cherry picked from commit 22fab3199f )
2018-05-03 17:13:42 +02:00
Ondřej Surý
9f15463752
Merge branch '234-add-prerequisite-check-to-rootkeysentinel-for-dnssec-support-v9_12' into 'v9_12'
...
Resolve "add prerequisite check to rootkeysentinel for dnssec support"
See merge request isc-projects/bind9!239
2018-05-03 10:51:32 -04:00
Mark Andrews and Ondřej Surý
390a1d3988
add bin/tests/system/rootkeysentinel/prereq.sh
...
(cherry picked from commit 0fedfcafb5 )
2018-05-03 16:42:47 +02:00
Mark Andrews and Ondřej Surý
03e4dc4c6b
add dnssec prerequisite test to rootkeysentinel
...
(cherry picked from commit e713f83064 )
2018-05-03 16:42:47 +02:00
Ondřej Surý
6f07572ef7
Merge branch 'random-test-improvement-v9_12' into 'v9_12'
...
[v9_12] Improve random_test to also test the high bound of the confidence interval
See merge request isc-projects/bind9!237
2018-05-03 09:12:53 -04:00
Ondřej Surý
36efa304e6
Also test the higher part of the confidence interval
...
(cherry picked from commit 8d3220643c )
2018-05-03 15:04:15 +02:00
Ondřej Surý
b329a7e674
Merge branch '191-add-LibreSSL-2.7-support-v9_12' into 'v9_12'
...
[v9_12] Add LibreSSL 2.7.0 support
See merge request isc-projects/bind9!234
2018-05-03 08:34:55 -04:00
Ondřej Surý
0b54e46c79
Add CHANGES entry
...
4935. [func] Add support for LibreSSL >= 2.7.0 (some OpenSSL 1.1.0
call were added). [GL #191 ]
(cherry picked from commit 30488dddf0 )
2018-05-03 14:27:10 +02:00
Ondřej Surý
e3a318e8d3
Workaround LibreSSL 2.7.0-2.7.2 quirk in DH_set0_key
...
(cherry picked from commit 6b9e3b7b06 )
2018-05-03 14:26:40 +02:00
Ondřej Surý
1e64b869b5
Add support for LibreSSL 2.7
...
(cherry picked from commit 29ff62a149 )
2018-05-03 14:26:40 +02:00
Evan Hunt
1f3124d76c
Merge branch '208-dig-doc' into 'v9_12'
...
Resolve "Added -t TYPEnn description to dig"
Closes #208
See merge request isc-projects/bind9!221
2018-04-26 23:59:03 -07:00
Paul Hoffman and Evan Hunt
cd09144b17
add -t type### description to the dig man page
...
(cherry picked from commit 2d957c6b9f )
2018-04-26 23:58:58 -07:00
Evan Hunt
ed985bea41
Merge branch '159-improve-handling-of-inline-signed-zones-with-missing-signing-keys' into 'v9_12'
...
Improve handling of inline signed zones with missing signing keys
Closes #159
See merge request isc-projects/bind9!133
2018-04-25 12:09:38 -07:00
Michał Kępień and Evan Hunt
e4995efe24
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 )
2018-04-25 12:09:22 -07:00
Michał Kępień and Evan Hunt
8a58a60772
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 )
2018-04-25 12:09:04 -07:00
Michał Kępień and Evan Hunt
cdc7ab42b1
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 )
2018-04-25 12:09:03 -07:00
Evan Hunt
5cef06f8d0
Merge branch '171-lgtm-issues-v9_12' into 'v9_12'
...
Resolve "problems detected by LGTM static analyzer"
Closes #171
See merge request isc-projects/bind9!213
2018-04-22 12:57:52 -07:00
Evan Hunt
493a8b53ed
remove unnecessary comparison
...
(cherry picked from commit 8b1baa10ee )
2018-04-22 12:57:52 -07:00
Evan Hunt
fe27dfa9fd
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 )
2018-04-22 12:57:52 -07:00
Evan Hunt
19be8866d8
add header guards in files that were missing them
...
(cherry picked from commit 4247477b61 )
2018-04-22 12:57:52 -07:00
Evan Hunt
b8aec550c4
add header guard when generating bind.keys.h
...
(cherry picked from commit bfbe6925df )
2018-04-22 12:57:52 -07:00
Evan Hunt
982ddf4012
change "key" to "tsigkey" to silence "short global name" warning
...
(cherry picked from commit 0cc7aa250e )
2018-04-22 12:57:52 -07:00
Evan Hunt
97cbc27ed7
fix shadowed global variables
...
(cherry picked from commit 9ca3ab1168 )
2018-04-22 12:57:52 -07:00
Evan Hunt
62c64cfe85
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 )
2018-04-22 12:57:52 -07:00
Evan Hunt
d44d594219
Merge branch '37-implement-geoff-huston-s-trusted-key-sentinel-feature-v9_12' into 'v9_12'
...
Implement Geoff Huston's trusted key sentinel feature
Closes #37
See merge request isc-projects/bind9!123
2018-04-22 12:48:12 -07:00
Mark Andrews and Evan Hunt
af267c4da9
CHANGES entry for root-key-sentinel
...
(cherry picked from commit 2845d7160e )
2018-04-22 12:48:10 -07:00
Mark Andrews and Evan Hunt
edb761b08c
add release note for root-key-sentinel
...
(cherry picked from commit e20790c956 )
2018-04-22 12:47:31 -07:00
Mark Andrews and Evan Hunt
b9e6b124aa
add system test for root-key-sentinel
...
(cherry picked from commit a23b305e6b )
2018-04-22 12:46:03 -07:00
Mark Andrews and Evan Hunt
ee763ef281
add named.conf option root-key-sentinel
...
(cherry picked from commit 68e9315c7d )
2018-04-22 12:46:03 -07:00
Mark Andrews and Evan Hunt
7111eff80c
detect and processes root-key-sentinel labels.
...
(cherry picked from commit 8fc9f64df9 )
2018-04-22 12:46:03 -07:00
Ondřej Surý
0071c0400f
Merge branch '202-cppcheck-reporting-miscellaneous-issues-v9_12' into 'v9_12'
...
Resolve "cppcheck reporting miscellaneous issues"
See merge request isc-projects/bind9!216
2018-04-20 18:20:11 -04:00
Mark Andrews and Ondřej Surý
77643775c5
remove exit calls after FATAL_ERROR
...
(cherry picked from commit f8d2a46daa )
2018-04-20 15:13:12 -07:00
Mark Andrews and Ondřej Surý
53e39ca0ea
remove dead code
...
(cherry picked from commit 686edad5c5 )
2018-04-20 15:13:12 -07:00
Mark Andrews and Ondřej Surý
ba238ab374
use %u instead of %d for unsigned int arguments
...
(cherry picked from commit 49f8e9571c )
2018-04-20 15:13:12 -07:00
Ondřej Surý
5e11b261f4
Merge branch '206-nslookup-accepts-any-bogus-option-interpret-it-as-vc-v9_12' into 'v9_12'
...
Resolve "nslookup accepts any -bogus -option, interpret it as -vc"
See merge request isc-projects/bind9!214
2018-04-20 18:01:02 -04:00
Mukund Sivaraman and Ondřej Surý
a36f89341f
Remove bogus comparison
...
(cherry picked from commit 89cf503880 )
2018-04-20 14:51:26 -07:00
Ondřej Surý
7c830940b9
Merge branch '189-fix-win32-build-v9_12' into 'v9_12'
...
[v9_12] Fix runtime assertion on Windows due isc_file_template being out-of-sync
See merge request isc-projects/bind9!194
2018-04-12 03:00:44 -04:00
Ondřej Surý
6171037403
Sync isc_file_template functions between unix and win32, so they are same
...
(cherry picked from commit 8c99d104e3 )
2018-04-12 08:47:11 +02:00
Ondřej Surý
c4a7fbcc36
Merge branch '189-fix-tsig-dump-keyfile-name-generation-issues-v9_12' into 'v9_12'
...
[v9_12] Fix TSIG dump keyfile name generation issues
See merge request isc-projects/bind9!191
2018-04-11 08:45:17 -04:00
Mukund Sivaraman and Ondřej Surý
c932fd2d49
Fix TSIG dump keyfile name buffer size issues
...
(cherry picked from commit 44b84cb5a6 )
2018-04-11 14:37:46 +02:00
Ondřej Surý
e052e7f427
Define PATH_MAX on Windows as _MAX_PATH, so we can use it everywhere
...
(cherry picked from commit 7467735258 )
2018-04-11 14:37:46 +02:00
Evan Hunt
5ce20e4928
Merge branch '193-fix-variable-definitions-in-bin-tests-Makefile.in-v9_12' into 'v9_12'
...
Fix variable definitions in bin/tests/Makefile.in
Closes #193
See merge request isc-projects/bind9!183
2018-04-10 20:04:31 -07:00
Evan Hunt
a6cbac45eb
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:04:31 -07:00
Michał Kępień and Evan Hunt
a7f8268833
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:31 -07:00
Evan Hunt
b26a269b42
Merge branch '197-dnstap-sockaddr-v9_12' into 'v9_12'
...
Resolve "dnstap: log actual local IPv6 address, not :: listening address"
Closes #197
See merge request isc-projects/bind9!188
2018-04-10 17:21:08 -07:00
Evan Hunt
fde64f3fe4
CHANGES note
...
(cherry picked from commit 330b26c9df )
2018-04-10 17:21:08 -07:00
Tony Finch and Evan Hunt
58aac41b7e
dnstap: log actual local IPv6 address, not :: listening address
...
(cherry picked from commit ccff953c25 )
2018-04-10 17:21:08 -07:00
Evan Hunt
011968a6d4
Merge branch '183-add-dns_fixedname_initname-v9_12' into 'v9_12'
...
Add and use dns_fixedname_initname()
Closes #183
See merge request isc-projects/bind9!161
2018-04-10 13:10:29 -07:00
Mukund Sivaraman and Evan Hunt
d7676d0fa8
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 ]
(cherry picked from commit d7faee2566 )
2018-04-10 13:10:23 -07:00
Michał Kępień and Evan Hunt
706f865a20
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.
(cherry picked from commit 39ddf9991f )
2018-04-10 13:09:37 -07:00
Michał Kępień and Evan Hunt
0041aeb751
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.
(cherry picked from commit 4df4a8e731 )
2018-04-10 13:09:24 -07:00
Mukund Sivaraman and Evan Hunt
cee4fef7c5
Add a dns_fixedname_initname() helper function
...
This also turns the dns_fixedname macros into functions.
(cherry picked from commit 0d2a03c290 )
2018-04-10 13:06:43 -07:00
Mark Andrews
38d5e47881
Merge branch 'ssl-double-free-v9_12' into 'v9_12'
...
Fix double free after keygen error in dnssec-keygen
Closes #109
See merge request isc-projects/bind9!70
2018-04-06 14:23:01 +10:00
Ondřej Surý and Mark Andrews
24ea156f9e
Add CHANGES entry
...
(cherry picked from commit ef2b2a6c92 )
2018-04-06 14:22:46 +10:00
Ondřej Surý and Mark Andrews
cd6d3fbf07
A couple of more cleanups after free in opensslrsa_generate()
...
(cherry picked from commit d2b3188c61 )
2018-04-06 14:21:11 +10:00
Petr Mensik and Mark Andrews
d27c7940d9
Do not assign NULL conditionally in OpenSSL < 1.1, make it always explicit.
...
(cherry picked from commit edaafacf36 )
2018-04-06 14:21:11 +10:00
Petr Mensik and Mark Andrews
587452f830
Fix double free on RSA_generate_key_ex failure
...
(cherry picked from commit 01cc622e7b )
2018-04-06 14:21:11 +10:00
Mark Andrews
342e146fe3
system should only be in SUBDIRS
2018-04-06 13:04:15 +10:00
Ondřej Surý and Mark Andrews
9cf1468b77
Update libtool files to 2.4.6
...
(cherry picked from commit fe06778be7 )
2018-04-06 12:36:39 +10:00
Ondřej Surý
c2f32eba34
Merge branch 'pemensik/bind9-no-idn2-export-v9_12' into 'v9_12'
...
Don't include -lidn2 in isc-config.sh output
See merge request isc-projects/bind9!179
2018-04-05 06:15:41 -04:00
Ondřej Surý
40e5ba9cc5
Print information about LIBIDN2 in Configuration summary ( Closes : #163 )
...
(cherry picked from commit 8da5e5290f )
2018-04-05 12:07:53 +02:00
Petr Menšík and Ondřej Surý
8e8c195f94
Remove -lidn2 from exported LIBS. Do not propagate it from isc-config.sh --libs isc.
...
(cherry picked from commit 21c2871667 )
2018-04-05 12:07:51 +02:00
Ondřej Surý
2c1fdbbb36
Merge branch 'kchen/bind9-test-prereqs-v9_12' into 'v9_12'
...
Add a Net::DNS prereq for couple of tests
See merge request isc-projects/bind9!176
2018-04-04 17:07:36 -04:00
Kevin Chen and Ondřej Surý
a8d7b3a12b
Add a Net::DNS prereq for digdelv, fetchlimit, rpzrecurse, and zero
...
tests to avoid failed tests when Net::DNS is not present.
(cherry picked from commit 8b1b809ab4 )
2018-04-04 23:00:56 +02:00
Stephen Morris
5fafa7303c
Merge branch '139-tests-for-idna2008-libidn2-merge-v9_12' into 'v9_12'
...
Resolve "Tests for IDNA2008 (libidn2)" - Merge into 9.12
See merge request isc-projects/bind9!174
2018-04-04 10:05:05 -04:00
Stephen Morris
7f6d484d76
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.
2018-04-04 09:47:53 -04:00
Ondřej Surý and Stephen Morris
5b9975e38f
Use C.UTF-8 if available, and en_US.UTF-8 is available, otherwise do nothing and let the test break
2018-04-04 09:47:53 -04:00
Stephen Morris
5633f8afda
Set known locale prior to running tests.
2018-04-04 09:47:53 -04:00
Stephen Morris
38fe1ce60f
Fix check for the presence of IDNA.
2018-04-04 09:47:53 -04:00
Stephen Morris
5f00b9dad7
Added additional tests for invalid punycode strings.
2018-04-04 09:47:53 -04:00
Stephen Morris
2df1a2ef20
Initial set of IDNA tests.
2018-04-04 09:47:53 -04:00
Michał Kępień
286cad891a
Merge branch '188-remove-duplicate-named_g_conffile-init-v9_12' into 'v9_12'
...
Remove redundant named_g_conffile initialization
Closes #188
See merge request isc-projects/bind9!166
2018-04-04 12:33:09 +02:00
Ondřej Surý and Michał Kępień
2301f0562e
Remove redundant named_g_conffile initialization from bin/named/win32/os.c
...
(cherry picked from commit c727f0797b )
2018-04-04 12:33:09 +02:00
Ondřej Surý
505b8a2931
Merge branch '26-fix-normalization-for-non-IDN-v9_12' into 'v9_12'
...
Don't use the IDN translated name if no conversion took a place
See merge request isc-projects/bind9!156
2018-03-22 10:03:50 -04:00
Ondřej Surý
722152db8b
Don't use the IDN traslated name if no conversion took a place
...
(cherry picked from commit 08f66d8509 )
2018-03-22 13:54:30 +00:00
Mark Andrews
cf8787b6ac
Merge branch '167-coverity-dereferencing-a-null-pointer-in-lib-dns-tests-rbt_test-c-v9_12' into 'v9_12'
...
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:54:08 +11:00
Mukund Sivaraman and Mark Andrews
d2dea05356
Check return value of isc_mem_get()
...
(cherry picked from commit de3a4af1bf )
2018-03-20 09:54:08 +11:00
Mark Andrews
da23698286
fix temporary file name to have subtest number
...
(cherry picked from commit e12453f43c88bac722fb511b62f12303735b788c)
2018-03-19 23:13:44 +11:00
Mark Andrews
10f04106fb
Merge branch 'fixtypo-v9_12' into 'v9_12'
...
fix typo
See merge request isc-projects/bind9!148
2018-03-19 22:51:14 +11:00
Mark Andrews
a296346e48
fix typo
...
(cherry picked from commit 6e4b5f2345 )
2018-03-19 22:51:13 +11:00
Mark Andrews
987e31cc3e
Merge branch '166-statistics-system-test-numbering-is-bad-v9_12' into 'v9_12'
...
Resolve "statistics system test numbering is bad"
Closes #166
See merge request isc-projects/bind9!146
2018-03-19 20:19:08 +11:00
Mark Andrews
d4978012c2
fix numbering of tests and make consistent
...
(cherry picked from commit dd5dff3096 )
2018-03-19 20:19:07 +11:00
Ondřej Surý
9a1cfc88a7
Merge branch '164-remove-openssl-warning-v9_12' into 'v9_12'
...
[v9_12] Remove useless OpenSSL warning from configure script
See merge request isc-projects/bind9!140
2018-03-17 10:50:24 -04:00
Ondřej Surý
285e30b1e1
Remove obsolete OpenSSL version check
...
(cherry picked from commit e9571d29af )
2018-03-17 14:31:02 +00:00
Ondřej Surý
74ff9065f2
Merge branch '26-switch-to-IDNA2008-non-transitional-processing-v9_12' into 'v9_12'
...
Resolve "Switch to IDNA2008 non-transitional processing (and use libidn2 for that)"
Closes #26
See merge request isc-projects/bind9!124
2018-03-17 13:29:15 +00:00
Ondřej Surý
a6afebe852
Add release notes for IDNA2008
...
(cherry picked from commit e7590c7528 )
2018-03-17 13:29:11 +00:00
Ondřej Surý
895f54e5f3
Add CHANGES for idn2 support
...
(cherry picked from commit 8f44ef7d59 )
2018-03-17 13:26:05 +00:00
Ondřej Surý
5c62e0bcf9
Enable --with-libidn2 in GitLab CI checks
...
(cherry picked from commit 1c075646f5 )
2018-03-17 13:26:05 +00:00
Ondřej Surý
52b09a6e78
Simplify the libidn2 configure checks
...
(cherry picked from commit 76c05a71fc )
2018-03-17 13:26:05 +00:00
Petr Menšík and Ondřej Surý
3ed7706fde
Sanitize IDN initialization
...
Signed-off-by: Petr Menšík <pemensik@redhat.com >
(cherry picked from commit 29b94bbb04 )
2018-03-17 13:26:05 +00:00
Petr Menšík and Ondřej Surý
8e2629d4be
Remove support for libidn (IDN 2003)
...
Signed-off-by: Petr Menšík <pemensik@redhat.com >
(cherry picked from commit 8254cf69d3 )
2018-03-17 13:26:05 +00:00
Petr Menšík and Ondřej Surý
01daa72ab3
Remove conversion from locale to utf8 from public API
...
Emit fatal failures on locale to ACE encoding
Separate idnout support, disable it for libidn2 < 2.0
Add custom path to libidn. Leave default path for multilib support.
Allow turning off IDN input processing by dig option
Improve documentation, fix support in host
Fix configure changes to adjust help text
Use strlcpy with size guard
Improve IDN variants choosing. Fix idn2 function name.
Remove immediate idn_locale_to_ace and idn_ace_to_locale.
Signed-off-by: Petr Menšík <pemensik@redhat.com >
(cherry picked from commit 94757c1545 )
2018-03-17 13:26:05 +00:00
Tomas Hozza and Ondřej Surý
cce358c2e0
Add support for libidn2
...
Added two new configure options:
--with-libidn2 - to enable IDN using GNU libidn2
idnkit, libidn and libidn2 support can not be used at the same time.
NOTE: libidn2 does not support punycode back to Unicode
characters, so support for this is missing.
Signed-off-by: Tomas Hozza <thozza@redhat.com >
Removed iconv, convert directly from locale to ACE
Fix libidn2 and idnkit origin appending
Make IDN options in help less different
Signed-off-by: Petr Menšík <pemensik@redhat.com >
(cherry picked from commit 505f673451 )
2018-03-17 13:26:05 +00:00
Tomas Hozza and Ondřej Surý
32dc52571d
Add support for GNU libidn
...
Added new configure option:
--with-libidn - to enable IDN using GNU libidn
Renamed configure option:
--with-idn to --with-idnkit to make the option usage more clear
idnkit and libidn support can not be used at the same time.
Signed-off-by: Tomas Hozza <thozza@redhat.com >
(cherry picked from commit 2320443f63 )
2018-03-17 13:26:04 +00:00
Evan Hunt
2c24af2c85
Merge branch 'copyrights' into v9_12
2018-03-15 18:40:51 -07:00
Evan Hunt
19b5249028
update file headers
2018-03-15 18:40:21 -07:00
Evan Hunt
d698d64713
ensure COPYRIGHT file retains years; edit file headers for consistency
2018-03-15 18:40:09 -07:00
Evan Hunt
ca221d3dd3
Merge branch '157-cleanup-win-libtests-v9_12' into 'v9_12'
...
Resolve "Windows build fails"
Closes #157
See merge request isc-projects/bind9!131
2018-03-15 13:47:16 -07:00
Evan Hunt
439b968972
remove references to lib/tests in the windows build
...
(cherry picked from commit e2bb9824f8 )
2018-03-15 13:47:16 -07:00
Evan Hunt
221a06b3a0
Merge branch '154-fix-atomic-test-v9_12' into 'v9_12'
...
Resolve "Build failure on OSX with --disable-atomic --enable-developer"
Closes #154
See merge request isc-projects/bind9!130
2018-03-15 12:09:34 -07:00
Evan Hunt
a61afa750f
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:33 -07:00
Ondřej Surý
661364c8cf
Fix whitespace
2018-03-15 00:14:23 +01:00
Evan Hunt
ef4f433c37
Merge branch 'branchsync' into 'v9_12'
...
update branchsync to deal with merge commits
See merge request isc-projects/bind9!127
2018-03-14 14:42:53 -07:00
Evan Hunt
b1d52fa1b5
updated branchsync to deal with merge commits
...
(cherry picked from commit fccf8ca2f6 )
2018-03-14 14:42:15 -07:00
Ondřej Surý
c0a760ac3e
[v9_12] Enable GitLab CI
2018-03-14 12:37:17 +01:00
Evan Hunt
77a59b1b4d
Merge branch '134-fix-zone-db-reference-counting' into 'v9_12'
...
Fix a zone database reference counting bug in dump_done()
Closes #134
See merge request isc-projects/bind9!122
2018-03-13 10:52:14 -07:00
Michał Kępień and Evan Hunt
e000efa6fd
Add CHANGES entry
...
4914. [bug] A bug in zone database reference counting could lead to
a crash when multiple versions of a slave zone were
transferred from a master in close succession.
[GL #134 ]
(cherry picked from commit 6f3cc75364 )
2018-03-13 10:52:01 -07:00
Michał Kępień and Evan Hunt
f2838e68e8
Fix a zone database reference counting bug in dump_done()
...
A typo in commit d39ab7440e introduced a bug in zone database reference
counting which leads to a crash if dumping one version of a slave zone
is not finished by the time transferring a newer version from a master
completes. Correct the typo to fix reference counting, thus preventing
crashes.
(cherry picked from commit fbd5658db7 )
2018-03-13 10:52:01 -07:00
Evan Hunt
165bcaf1a3
Merge branch 'clean-xfer' into 'v9_12'
...
clean up dig.out files that were left behind after xfer test
See merge request isc-projects/bind9!120
2018-03-10 13:12:26 -08:00
Evan Hunt
b52199271a
clean up dig.out files that were left behind after xfer test
...
(cherry picked from commit 733086cc67 )
2018-03-10 13:12:20 -08:00
Evan Hunt
b337c62aaa
Merge branch 'nothreads-fix' into 'v9_12'
...
Fix compiler warnings and test failures when building without threads
See merge request isc-projects/bind9!119
2018-03-10 10:37:32 -08:00
Evan Hunt
09fade72a0
Fix compiler warnings and test failures when building without threads
...
(cherry picked from commit 56353aaf42 )
2018-03-10 10:37:12 -08:00
Evan Hunt
674ec1d566
Merge branch 'missing-print-h' into 'v9_12'
2018-03-09 16:56:30 -08:00
Evan Hunt
07e2e20868
add missing includes
...
(cherry picked from commit a173c9c18f )
2018-03-09 16:55:56 -08:00
Evan Hunt
3cf91223b3
Merge branch 'copyrights' into v9_12
2018-03-09 16:53:20 -08:00
Evan Hunt
11ab3146e7
fix copyrights
2018-03-09 16:52:56 -08:00
Evan Hunt
7bc7557df9
Merge branch 'clean-bin-tests-v9_12' into 'v9_12'
...
clean up bin/tests, convert unit tests to ATF
Closes #115
See merge request isc-projects/bind9!93
2018-03-09 14:40:12 -08:00
Evan Hunt
80834b5b90
final cleanup
...
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note
(cherry picked from commit 86e00cbb71 )
2018-03-09 14:40:12 -08:00
Evan Hunt
7f4e62d902
reduce race risk in parallel builds
...
(cherry picked from commit 74347f4a55 )
2018-03-09 14:40:10 -08:00
Evan Hunt
d35f62434a
remove lib/tests as nothing uses it anymore
...
(cherry picked from commit d132f73497 )
2018-03-09 14:39:57 -08:00
Evan Hunt
289836a066
shorten ht_test and random_test
...
(cherry picked from commit 9b753aa154 )
2018-03-09 14:39:56 -08:00
Evan Hunt
4439c471d1
migrate t_dst signature test to lib/dns/tests/dst_test
...
(cherry picked from commit a4ebe83cdb )
2018-03-09 14:39:56 -08:00
Evan Hunt
56da937399
migrate t_db to lib/dns/tests/db_test
...
(cherry picked from commit f58ac8ada3 )
2018-03-09 14:39:56 -08:00
Evan Hunt
aefad99e1e
migrate t_names to lib/dns/tests/name_test
...
(cherry picked from commit 8ecf69ef7b )
2018-03-09 14:39:56 -08:00
Evan Hunt
c505afd183
migrate t_rbt to lib/dns/tests/rbt_test
...
(cherry picked from commit 109546cbda )
2018-03-09 14:39:56 -08:00
Evan Hunt
88bfe56876
migrate t_tasks to lib/isc/tests/task_test
...
(cherry picked from commit c6c1e99252 )
2018-03-09 14:39:56 -08:00
Evan Hunt
30e157f6e4
migrate t_resolver to lib/dns/tests/resolver_test
...
(cherry picked from commit d80825c40b )
2018-03-09 14:39:56 -08:00
Evan Hunt
efccdad0ea
migrate t_timers to lib/isc/tests/timer_test
...
(cherry picked from commit e2b8699df9 )
2018-03-09 14:39:56 -08:00
Evan Hunt
c7fa56e8db
migrate t_atomic to lib/isc/tests/atomic_test
...
(cherry picked from commit 874e2fc70c )
2018-03-09 14:39:55 -08:00
Evan Hunt
af48544b75
migrate t_mem to lib/isc/tests/mem_test
...
(cherry picked from commit 979f054702 )
2018-03-09 14:39:55 -08:00
Evan Hunt
af0c9b2cee
migrate t_net to lib/isc/tests
...
(cherry picked from commit 05b7251d51 )
2018-03-09 14:39:55 -08:00
Evan Hunt
fadb93cf43
migrate t_sockaddr to lib/isc/tests
...
(cherry picked from commit 62f650078a )
2018-03-09 14:39:55 -08:00
Evan Hunt
e686b9c297
remove hashes test (duplicates lib/isc/tests/hash_test)
...
(cherry picked from commit 6ad1a042bc )
2018-03-09 14:39:55 -08:00
Evan Hunt
36d08442bc
remove master test (duplicates lib/isc/tests/master_test)
...
(cherry picked from commit 6717f31e10 )
2018-03-09 14:39:55 -08:00
Evan Hunt
d8f8eee381
migrate tests from bin/tests/dnssec-signzone to bin/tests/system/dnssec
...
- added tests to the dnssec system test that duplicate the ones
from bin/tests/dnssec-signzone
- changed cleanall.sh so it doesn't automatically remove all
key files, because there are now some of those that are part of the
distribution
(cherry picked from commit ccfe778c01 )
2018-03-09 14:39:55 -08:00
Evan Hunt
dafdf2c09b
move all optional tests from bin/tests to bin/tests/optional
...
- some of these tests are obsolete and should be cleared up,
others overlap with ATF tests and may be removed later.
for now, let's just tidy up the bin/tests directory by
moving these files down a level.
(cherry picked from commit 344ab0eb7d )
2018-03-09 14:39:54 -08:00
Evan Hunt
10efb4ff07
remove some old and obsolete test files
...
(cherry picked from commit a633f6c5dd )
2018-03-09 14:39:54 -08:00
Evan Hunt
d66e66ff95
Merge branch 'parallel-unit-tests' into 'v9_12'
...
capture more info from unit tests, run in parallel
See merge request isc-projects/bind9!117
2018-03-09 14:37:10 -08:00
Evan Hunt
787c5d1394
allow ATF tests to run in parallel
...
(cherry picked from commit ef0b4c91bc )
2018-03-09 14:36:06 -08:00
Evan Hunt
81c23fecda
capture more information from unit tests
...
- preserve kyua results database when using kyua
2018-03-09 14:35:21 -08:00
Evan Hunt
c54e379267
Merge branch 'v9_12_1_patch' into v9_12
2018-03-08 14:26:15 -08:00
Evan Hunt
b523f7dae6
Merge branch 'rm-contrib-md' into v9_12
2018-03-08 12:58:41 -08:00
Evan Hunt
3d06eedf87
remove doc/dev/contrib.md now that CONTRIBUTING.md exists
2018-03-08 12:58:06 -08:00
Evan Hunt
b2307b2546
Merge branch 'remove-bind9-bugs-references' into 'v9_12_1_patch'
...
Update documentation to remove obsolete bind9-bugs@isc.org email address
See merge request isc-projects/bind9!111
2018-03-08 12:56:40 -08:00
Ondřej Surý and Evan Hunt
b6a5a9b29e
Update documentation to remove obsolete bind9-bugs@isc.org email address
...
(cherry picked from commit efc9bc5d8d )
(cherry picked from commit 486e79050f )
2018-03-08 12:51:19 -08:00
Michał Kępień
707e538a42
Merge branch '136-tweak-timestamp-checking-in-the-cds-system-test-v9_12' into 'v9_12'
...
Tweak timestamp checking in the cds system test
Closes #136
See merge request isc-projects/bind9!114
2018-03-08 21:00:57 +01:00
Michał Kępień
1eae5f544b
Add CHANGES entry
...
4912. [test] Improved the reliability of the 'cds' system test.
[GL #136 ]
(cherry picked from commit c92bacec63 )
2018-03-08 21:00:57 +01:00
Michał Kępień
be1262c066
Tweak timestamp checking in the cds system test
...
Given the characteristics of the three timestamps involved in file
modification time checks in the cds system test (each one is an hour
apart from the next), reduce the resolution of these checks to 1 minute.
This will prevent intermittent false negatives caused by exceeding the
currently allowed difference of 9 seconds between file modification
times without making the test moot.
Also note that by using abs(), checkmtime.pl allows the cds system test
to pass when the modification time of the checked file is less than an
hour (or two hours for the second check) in the past. This should never
happen, so remove abs() from the condition checked by checkmtime.pl.
(cherry picked from commit ab2913a29f )
2018-03-08 21:00:56 +01:00
Evan Hunt
d45f656d82
Merge branch 'remove-bind9-bugs-references' into 'v9_12'
...
Update documentation to remove obsolete bind9-bugs@isc.org email address
See merge request isc-projects/bind9!111
2018-03-08 10:40:44 -08:00
Ondřej Surý and Evan Hunt
486e79050f
Update documentation to remove obsolete bind9-bugs@isc.org email address
...
(cherry picked from commit efc9bc5d8d )
2018-03-08 10:39:36 -08:00
Michał Kępień
e205025ace
Merge branch '128-fix-mkeys-system-test-race-v9_12' into 'v9_12'
...
Fix a race in the mkeys system test
Closes #128
See merge request isc-projects/bind9!103
2018-03-08 13:35:34 +01:00
Michał Kępień
508b35fcbc
Add CHANGES entry
...
4911. [test] Improved the reliability of the 'mkeys' system test.
[GL #128 ]
(cherry picked from commit 32f875f9fc )
2018-03-08 13:35:33 +01:00
Michał Kępień
8e01609014
Fix a race between "rndc reconfig" and waiting for a ./DNSKEY fetch to complete
...
Calling nextpart() after reconfiguring ns1 is not safe, because the
expected log message may appear in ns5/named.run before nextpart() is
run. With the TTL for ./DNSKEY set to 20 seconds, ns5 will refresh it
after 10 seconds, by which time wait_for_log() will already have failed.
This results in a false negative.
However, just calling nextpart() before reconfiguring ns1 would
introduce a different problem: if ns5 refreshed ./DNSKEY between these
two steps, the subsequent wait_for_log() call would return immediately
as it would come across the log message about a failure while refreshing
./DNSKEY instead of the expected success. This in turn would result in
a different false negative as the root key would still be uninitialized
by the time "rndc secroots" is called.
Prevent both kinds of false negatives by:
- calling nextpart() before reconfiguring ns1, in order to prevent the
first case described above,
- looking for a more specific log message, in order to prevent the
second case described above.
Also look for a more specific log message in the first part of the
relevant check, not to fix any problem, but just to emphasize that a
different fetch result is expected in that case.
With these tweaks in place, if a (failed) ./DNSKEY refresh is scheduled
between nextpart() and reconfiguring ns1, wait_for_log() will just wait
for two more seconds (one "hour"), at which point another refresh
attempt will be made that will succeed.
(cherry picked from commit 012ca0a27d )
2018-03-08 13:35:33 +01:00
Mark Andrews
2145e72644
Merge branch '133-update-util-check-changes-to-work-on-release-branches-v9_12' into 'v9_12'
...
Resolve "Update util/check-changes to work on release branches."
Closes #133
See merge request isc-projects/bind9!110
2018-03-08 16:18:37 +11:00
Mark Andrews
b8d8f846fa
update util/check-changes to handle non master branched (util/check-changes master=0 CHANGES)
...
(cherry picked from commit 88a2202093 )
2018-03-08 16:18:36 +11:00
Mark Andrews
586b547a7d
fix changes number
2018-03-08 12:40:28 +11:00
Mark Andrews
802f41db30
Merge branch '125-in-view-duplicate-zone-not-detected-by-named-checkconf-v9_12' into 'v9_12'
...
Resolve "in-view duplicate zone not detected by named-checkconf"
Closes #125
See merge request isc-projects/bind9!97
2018-03-08 12:15:50 +11:00
Mark Andrews
9c056b8fda
add changes note for 'named-checkconf did not detect in-view zone collisions'
...
(cherry picked from commit 83f85817aa )
2018-03-08 12:15:34 +11:00
Mark Andrews
a395ee02d3
check for in-view zones colliding with other zone definitions; also check the syntax of the in-view zone name
...
(cherry picked from commit 3e7e280040 )
2018-03-08 12:15:29 +11:00
Mark Andrews
119f626ffa
add test configuration where a in-view zone collides with a existing zone
...
(cherry picked from commit ca55c672b0 )
2018-03-08 12:09:03 +11:00
Tinderbox User
77a22353b2
Merge branch 'prep-release' into v9_12_1_patch
2018-03-08 00:55:33 +00:00
Tinderbox User
71f67a0bf6
prep 9.12.1
2018-03-08 00:51:07 +00:00
Evan Hunt
033c1767aa
Merge branch 'test-names-v9_12' into 'v9_12'
...
use the test name in the -D string for each name server
See merge request isc-projects/bind9!107
2018-03-07 14:51:06 -08:00
Evan Hunt
105c8a8cd3
use the test name in the -D string for each name server
...
(cherry picked from commit 1eff695f33 )
2018-03-07 14:51:06 -08:00
Evan Hunt
fcea5b8870
Merge branch 'longopts-v9_12' into 'v9_12'
...
restore long options for run.sh
See merge request isc-projects/bind9!104
2018-03-07 14:35:24 -08:00
Evan Hunt
602533aace
restore long options for run.sh
...
(cherry picked from commit 4a714bffbc )
2018-03-07 14:35:24 -08:00
Evan Hunt
f8d096ec3c
Merge branch 'allow-query' into 'v9_12'
...
speed up allow_query test
Closes #81
See merge request isc-projects/bind9!76
2018-03-07 14:20:05 -08:00
Evan Hunt
bbbf2418e9
eliminate unnecessary waiting in allow-query test
...
- grep in the log to see if configuration is finished rather
than sleeping for 5 seconds
(cherry picked from commit a9b6bed6af )
2018-03-07 13:59:32 -08:00
Evan Hunt
f6f6a80c4a
rename allow_query to allow-query
...
(cherry picked from commit ffc3e73c36 )
2018-03-07 13:59:32 -08:00
Evan Hunt
18d2368f98
Merge branch '116-dnsrpz-enable-log-message-appears-to-be-broken-v9_12' into 'v9_12'
...
Resolve "dnsrpz-enable log message appears to be broken"
Closes #116
See merge request isc-projects/bind9!98
2018-03-07 12:56:07 -08:00
Mark Andrews and Evan Hunt
9354d3443b
fix log message about 'dnsrps-enable yes;' when not configured (this will only ever be emitted if the parser is incorrectly updated as the error is normally caught there)
...
(cherry picked from commit d24fb6b032 )
2018-03-07 12:56:07 -08:00
Evan Hunt
229c5b169e
Merge branch '119-remove-unnecessary-insist-in-code-v9_12' into 'v9_12'
...
Remove unnecessary INSIST
Closes #119
See merge request isc-projects/bind9!101
2018-03-07 12:32:17 -08:00
Mark Andrews and Evan Hunt
573b33b6c2
check insist on every call; make conditional block constistent with rest of code
...
(cherry picked from commit f1def91625 )
2018-03-07 12:32:17 -08:00
Evan Hunt
8bd3a1c737
Merge branch 'fix-notify-v9_12' into 'v9_12'
...
fix notify test
See merge request isc-projects/bind9!77
2018-03-06 11:46:15 -08:00
Evan Hunt
ad32553c1d
address a possible notify test failure
...
- wait for the transfer completion message to apear in the log instead
of the notify message. this ensures we don't check for the presense of
transfered records during the time between the notify and the
transfer.
2018-03-06 11:45:43 -08:00
Michał Kępień
b09cbb3954
Merge branch '110-libirs-do-not-ignore-resolv.conf-syntax-errors-v9_12' into 'v9_12'
...
libirs: Do not ignore resolv.conf syntax errors
Closes #110
See merge request isc-projects/bind9!78
2018-03-06 09:24:13 +01:00
Michał Kępień
ecc0d5d10c
Add CHANGES entry
...
4905. [bug] irs_resconf_load() ignored resolv.conf syntax errors
when "domain" or "search" options were present in that
file. [GL #110 ]
(cherry picked from commit 1f18d33804 )
2018-03-06 09:24:09 +01:00
Michał Kępień
b873806cae
Remove duplicate irs_resconf_load() unit test
...
The "sortlist-v4.conf" unit test for irs_resconf_load() is always run
twice due to a duplicate entry in the "tests" table. Remove one of them
to prevent this.
(cherry picked from commit 6c09f305ae )
2018-03-06 09:23:49 +01:00
Michał Kępień
c437451566
Do not ignore resolv.conf syntax errors
...
irs_resconf_load() stores the value returned by add_search() into ret
without consulting its current value first. This causes any previous
errors raised while parsing resolv.conf to be ignored as long as any
"domain" or "search" statement is present in the file.
Prevent this by returning early in case an error is detected while
parsing resolv.conf. Ensure that "searchlist" and "magic" members of
the created irs_resconf_t structure are always initialized before
isc_resconf_destroy() is called.
(cherry picked from commit 1f400b68a8 )
2018-03-06 09:23:48 +01:00
Mark Andrews
d798b092ef
Merge branch '126-make-distclean-fail-v9_12' into 'v9_12'
...
Resolve ""make distclean" fail."
Closes #126
See merge request isc-projects/bind9!102
2018-03-06 16:11:12 +11:00
Mark Andrews
e9969b6d9d
don't allow a macro to end in '\'
...
(cherry picked from commit 57f7cf211c )
2018-03-06 16:11:12 +11:00
Tinderbox User
44f2796dd6
Merge branch 'prep-release' into v9_12_1_patch
2018-03-02 21:57:33 +00:00
Tinderbox User
38be7f6d9b
prep 9.12.1rc2
2018-03-02 21:53:26 +00:00
Evan Hunt
f8efc9c0a4
Merge branch '124-revert-deadlock-check' into 'v9_12_1_patch'
...
revert cname loop test due to effects on apex CNAMEs under insecure delegations
See merge request isc-projects/bind9!95
2018-03-02 12:18:50 -08:00
Evan Hunt
06b52cc939
temporarily revert change #4859
2018-03-02 12:14:20 -08:00
Evan Hunt
31ea795d08
Merge branch '124-revert-deadlock-check-v9_12' into 'v9_12'
...
revert cname loop test due to effects on apex CNAMEs under insecure delegations
See merge request isc-projects/bind9!95
2018-03-02 12:02:18 -08:00
Evan Hunt
84ec07999f
temporarily revert change #4859
2018-03-02 12:01:55 -08:00
Michał Kępień
cb2fd43e46
Merge branch 'fix-fetchlimit-v9_12' into 'v9_12'
...
Improve failure logging in fetchlimit system test
See merge request isc-projects/bind9!81
2018-03-01 15:40:50 +01:00
Evan Hunt and Michał Kępień
8011165d76
revise soft limit test
...
- don't bail out of the loop if clients are exceeded, just count incidents
- verbosely describe expectations and results
(cherry picked from commit 86838b2a02 )
2018-03-01 15:40:50 +01:00
Michał Kępień
e088d7aac5
Merge branch '121-views-system-test-has-wrong-test-strings-for-reload-completion-v9_12' into 'v9_12'
...
Resolve "views system test has wrong test strings for reload completion."
Closes #121
See merge request isc-projects/bind9!88
2018-02-28 14:55:47 +01:00
Mark Andrews and Michał Kępień
dd1579877f
wait for 'all zones loaded' rather than 'reloading zones succeeded' which just indicates that everything kicked off ok
...
(cherry picked from commit 4cb0873a0a )
2018-02-28 14:55:47 +01:00
Evan Hunt
c406a8182b
Merge branch '113-minor-testsummary.sh-improvements-v9_12' into 'v9_12'
...
Minor testsummary.sh improvements (handling colored output, failure summary)
Closes #113
See merge request isc-projects/bind9!80
2018-02-27 10:04:14 -08:00
Evan Hunt
fe8bec4b31
Do not destroy systests.output if there are no test.output files
...
(cherry picked from commit 38940619c6 )
2018-02-27 10:04:13 -08:00
Michał Kępień and Evan Hunt
791f26b2c9
Use echoinfo for printing test summary
...
This ensures testsummary.sh is consistent with other scripts belonging
to the test framework.
(cherry picked from commit 642e20db8a )
2018-02-27 10:04:13 -08:00
Michał Kępień and Evan Hunt
3bd658f561
Make testsummary.sh print a list of failed system tests
...
Print a list of failed system tests, if any, below the system test
summary to avoid the need to manually search through the test log.
(cherry picked from commit 28068857e7 )
2018-02-27 10:04:13 -08:00
Michał Kępień and Evan Hunt
4a5754705d
Tweak the regular expression used for extracting system test results
...
The current regular expression used for extracting system test results
from systests.output, "^R:", is anchored at the start of a line, which
prevents colored system test output from being properly processed. As
just "R:" would arguably be too general, extend the pattern a bit to
ensure it will only match lines containing system test results.
(cherry picked from commit 9006d6dbbd )
2018-02-27 10:04:13 -08:00
Evan Hunt
a699e68e75
Merge branch 'test-output-v9_12' into 'v9_12'
...
Clean up test output
See merge request isc-projects/bind9!66
2018-02-27 09:41:38 -08:00
Evan Hunt
5053a56072
clean up test output
...
- removed a few remaing places where output wasn't being passed
through echo_i or cat_i
- added a "digcomp" function to conf.sh.in to send digcomp.pl output
through cat_i and return the correct exit value
- set SYSTESTDIR when calling echo_i from nsX directories, so that
the test name will always be printed correctly
- fixed a test name typo in conf.sh.in
(cherry picked from commit 0e52fbd0b3 )
2018-02-27 09:41:38 -08:00
Michał Kępień
173907df58
Merge branch '98-add-util-git-replay-merge.sh-v9_12' into 'v9_12'
...
Put git-replay-merge in source tree
Closes #98
See merge request isc-projects/bind9!83
2018-02-27 10:42:58 +01:00
Michał Kępień
61d02465cb
Add util/git-replay-merge.sh
...
git-replay-merge.sh is a script whose purpose is to make backporting
merge requests more convenient by automating the process as much as
possible.
For more information, including usage examples, see:
https://gitlab.isc.org/isc-projects/bind9/wikis/Backporting-a-Merge-Request
(cherry picked from commit f7fe1e3098 )
2018-02-27 10:42:58 +01:00
Evan Hunt
4ead1640e3
Merge branch '112-fix-mx-checks-for-dynamic-updates-v9_12' into 'v9_12'
...
Fix MX checks for dynamic updates
Closes #112
See merge request isc-projects/bind9!79
2018-02-26 15:16:33 -08:00
Michał Kępień and Evan Hunt
71a35bc8e5
Add CHANGES entry
...
4903. [bug] "check-mx fail;" did not prevent MX records containing
IP addresses from being added to a zone by a dynamic
update. [GL #112 ]
(cherry picked from commit 1d403f9d3c )
2018-02-26 15:15:56 -08:00
Michał Kępień and Evan Hunt
590f092e00
Fix MX checks for dynamic updates
...
The check_mx() function in lib/ns/update.c incorrectly tests whether the
DNS_RDATA_CHECKMX/DNS_RDATA_CHECKMXFAIL flags are set for each applied
MX record update as these flags are never set in code paths related to
dynamic updates; they can only be set when loading a zone from a master
file (DNS_ZONEOPT_CHECKMX -> DNS_MASTER_CHECKMX -> DNS_RDATA_CHECKMX).
This flaw allows MX records containing IP addresses to be added to a
zone even when "check-mx fail;" is used.
Ensure correct behavior by modifying the relevant tests in check_mx() so
that they use DNS_ZONEOPT_CHECKMX/DNS_ZONEOPT_CHECKMXFAIL instead.
(cherry picked from commit 857a40c87b )
2018-02-26 15:15:27 -08:00
Evan Hunt
537d5cc191
Merge branch 'check-for-test-interfaces-before-running-system-tests-v9_12' into 'v9_12'
...
Check for test interfaces before running system tests
See merge request isc-projects/bind9!19
2018-02-26 15:10:18 -08:00
Evan Hunt
bf4c798819
test interfaces directly in runall.sh and parallel.mk
...
(cherry picked from commit a8b583e78b )
2018-02-26 15:10:18 -08:00
Michał Kępień and Evan Hunt
9cd1a41f31
Check for test interfaces before running system tests
...
Prevent runall.sh and "make test" from even attempting to run system
tests when "ifconfig.sh up" has not been run beforehand. This ensures
the user is not flooded with error messages in such a case.
(cherry picked from commit e0221f2d25 )
2018-02-26 15:10:18 -08:00
Evan Hunt
a11b44e17e
Merge branch '66-ixfr-system-test-fails-intermittently-v9_12' into 'v9_12'
...
chg: dev: Improved the reliability of the 'ixfr' system test. [GL #66 ]
Closes #66
See merge request isc-projects/bind9!67
2018-02-26 14:59:17 -08:00
Evan Hunt
70f37ce833
wait for synchronization; re-notify slave if the transfer doesn't happen
...
(cherry picked from commit 67a8b5ec17 )
2018-02-26 14:59:09 -08:00
Mark Andrews
660c307a97
Merge branch '51-fix-cppcheck-detected-source-code-errors-v9_12' into 'v9_12'
...
Resolve "Fix cppcheck-detected source code errors"
Closes #51
See merge request isc-projects/bind9!46
2018-02-26 10:39:45 +11:00
Evan Hunt and Mark Andrews
26b1e37f87
minor cleanup and addressed a sprintf format warning
...
(cherry picked from commit ab0fe63f07 )
2018-02-26 10:39:44 +11:00
Mark Andrews
a29f564e1f
update printf format to match type
...
(cherry picked from commit 48ca11df5f )
2018-02-26 10:39:44 +11:00
Mark Andrews
7adbccfb6d
improve the conditional declaration and use of variable to silence cppcheck
...
(cherry picked from commit a04bb76973 )
2018-02-26 10:39:44 +11:00
Mark Andrews
a7c51e8c79
remove deadcode
...
(cherry picked from commit b71a1386ed )
2018-02-26 10:39:44 +11:00
Mark Andrews
c5b7bdf0cb
silence unread assignment warning by using POST macro
...
(cherry picked from commit e8249dcd49 )
2018-02-26 10:39:44 +11:00
Mark Andrews
1470774f9c
update the sscanf format strings so they match the pointer types
...
(cherry picked from commit 70d192eb97 )
2018-02-26 10:39:44 +11:00
Mark Andrews
efb8880d1b
redefine CHECK so cppcheck see the definition
...
(cherry picked from commit a4186b1867 )
2018-02-26 10:39:44 +11:00
Mark Andrews
4fd6458326
remove unused struct dst_context declaration
...
(cherry picked from commit f2c22662cc )
2018-02-26 10:39:44 +11:00
Mark Andrews
b34931bd49
conditionally typedef fstrmtable
...
(cherry picked from commit dcd309bea1 )
2018-02-26 10:39:43 +11:00
Mark Andrews
65bf254fc8
adjust goto target and conditional compilation so that cleanup_spillattimer and cleanup_alglock labels match the element to be cleanup and so that they are always used
...
(cherry picked from commit 7b27be54ee )
2018-02-26 10:39:43 +11:00
Evan Hunt
2a5cc9dd85
Merge branch 'note-v9_12' into 'v9_12'
...
add missing release note
See merge request isc-projects/bind9!73
2018-02-25 14:39:45 -08:00
Evan Hunt
c170745f8c
added missing release note
...
(cherry picked from commit cc5432cea5 )
2018-02-25 14:39:45 -08:00
Evan Hunt
992a964d38
Merge branch 'upforwd-error-v9_12' into 'v9_12'
...
Resolve "upforwd test error"
See merge request isc-projects/bind9!72
2018-02-25 13:55:59 -08:00
Evan Hunt
26c1d47e88
fixed an upforwd test error.
...
(cherry picked from commit 54e010d51e )
2018-02-25 13:55:59 -08:00
Evan Hunt
4a84773a22
Merge branch 'tidy-runall.sh-environment-variables-v9_12' into 'v9_12'
...
Tidy runall.sh environment variables
See merge request isc-projects/bind9!18
2018-02-24 17:35:57 -08:00
Michał Kępień and Evan Hunt
62ae94478c
Preserve values of environment variables which are already set
...
This enables the environment variables controlling run.sh behavior to be
permanently set in a working environment (e.g. to automatically force
colored output without using "-c" in each runall.sh invocation).
Relevant runall.sh command line arguments still have a higher priority.
(cherry picked from commit d989d20fe5 )
2018-02-24 17:35:57 -08:00
Michał Kępień and Evan Hunt
1ff4ee81e0
Allow forcing colored system test output
...
As parallel.mk and runsequential.sh both pipe system test output through
"tee" (for the purpose of creating test.output), run.sh invoked from
these two files detects it is not writing to a terminal, which prevents
colored output from being generated. Allow forcing colored output using
a new command line argument for runall.sh, "-c", which sets an
environment variable (SYSTEMTEST_FORCE_COLOR) causing conf.sh to
unconditionally enable colored output.
The same environment variable can also be used directly to force colored
output when using "make test" instead of runall.sh.
(cherry picked from commit a324031a82 )
2018-02-24 17:35:57 -08:00
Michał Kępień and Evan Hunt
3c9384eebb
Allow retaining system test output using an environment variable
...
Instead of exporting an environment variable containing a command line
argument (NOCLEAN="-n"), extend run.sh to handle a "boolean" environment
variable (SYSTEMTEST_NO_CLEAN) itself. The former method is buggy
because the value of NOCLEAN is set in parallel.mk when that file is
first created, but it is not subsequently updated upon each test run
(because make considers parallel.mk to be up to date).
To retain backward compatibility, the "-n" command line argument for
run.sh is still supported (and has a higher priority than the relevant
environment variable).
The SYSTEMTEST_NO_CLEAN environment variable can also be used directly
to prevent cleanup when using "make test" instead of runall.sh.
Apart from fixing a bug, this simplifies the way runall.sh controls
run.sh behavior due to the Makefile being bypassed. Direct processing
of environment variables in run.sh is more scalable in the long run,
given that the previously utilized technique, even with its
implementation fixed, would still require Makefile.in to be modified in
two places each time a new flag needed to be passed from runall.sh to
run.sh.
(cherry picked from commit 3862043879 )
2018-02-24 17:35:57 -08:00
Evan Hunt
bf1928c30a
Merge branch '71-xfer-system-test-fails-intermittently-v9_12' into 'v9_12'
...
chg: dev: Improve the resilience of the xfer system test, which could be flaky under load.
Closes #71
See merge request isc-projects/bind9!61
2018-02-24 01:45:49 -08:00
Evan Hunt
09a1a261dc
improve reliability of xfer test
...
(cherry picked from commit 5d7d6881a1 )
2018-02-24 01:45:46 -08:00
Evan Hunt
ed64c0f619
Merge branch 'kyua-oot-v9_12' into 'v9_12'
...
chg: dev: Unit tests were broken in out-of-tree builds.
See merge request isc-projects/bind9!57
2018-02-23 15:45:20 -08:00
Petr Menšík and Evan Hunt
eb5c7e91fa
unit/unittest.sh is generated by configure. It will always be
...
generated into builddir. If out-of-tree build is used, make unit
will always fail. Kyuafiles and testdata still have to be copied
manually into the builddir.
(cherry picked from commit 95cde3608a )
2018-02-23 15:45:19 -08:00
Evan Hunt
2505871105
Merge branch 'master-v9_12' into 'v9_12'
...
Code cleanups
See merge request isc-projects/bind9!36
2018-02-23 13:51:29 -08:00
Petr Menšík and Evan Hunt
d04af52222
Reduce repeated detection of mysql lib directory.
...
Use common part once a bit later.
(cherry picked from commit 2a70eae04f )
2018-02-23 13:51:23 -08:00
Petr Menšík and Evan Hunt
cb98ce8e67
Reuse new function from rt46864 for similar block elsewhere.
...
(cherry picked from commit e7a93321f0 )
2018-02-23 13:51:23 -08:00
Evan Hunt
574475539d
Merge branch '95-fix-dyndb-v9_12' into 'v9_12'
...
Resolve "dyndb system test fails intermittently"
Closes #95
See merge request isc-projects/bind9!63
2018-02-23 13:39:55 -08:00
Evan Hunt
b41d27d2a2
improve dyndb test resilience
...
- no longer grep for specific line numbers when checking
parameter logging, as those can change
- report the failure immediatey if parameter check fails
(cherry picked from commit 749df056be )
2018-02-23 13:39:55 -08:00
Michał Kępień and Ondřej Surý
59c637c019
Fix dyndb system test after copyright information update
...
(cherry picked from commit b20ff30a79 )
2018-02-23 16:02:48 +01:00
Ondřej Surý
06dd7555e5
Merge branch 'year-2018-copyright-update-in-master-v9_12' into 'v9_12'
...
Remove copyright years from individual source files (and keep them only in the COPYRIGHT file)
Closes #55
See merge request isc-projects/bind9!37
2018-02-23 10:38:10 +01:00
Ondřej Surý
557a5c3f78
Update license headers to not include years in copyright in all applicable files
...
(cherry picked from commit 843d389661 )
2018-02-23 10:38:02 +01:00
Ondřej Surý
b1fb05bead
Update scripts in util/ to drop the year information from the individual source files.
...
(cherry picked from commit c8efcca408 )
2018-02-23 10:34:51 +01:00
Ondřej Surý
6454e7169f
Merge branch '91-parallel-tests-v9_12' into 'v9_12'
...
chg: dev: Convert most of the remaining system tests to be able to run in parallel [GL #91 ]
Closes #91
See merge request isc-projects/bind9!59
2018-02-23 08:34:40 +01:00
Evan Hunt and Ondřej Surý
7f1039d8d0
final cleanup
...
- add CHANGES note
- update copyrights and license headers
- add -j to the make commands in .gitlab-ci.yml to take
advantage of parallelization in the gitlab CI process
(cherry picked from commit 0c559199bf )
2018-02-23 08:34:37 +01:00
Evan Hunt and Ondřej Surý
a5015d7791
improve reliability of the xfer test on slow systems
...
- lengthed the wait loop for the transfers to complete
(cherry picked from commit b9246ce773 )
2018-02-23 08:32:03 +01:00
Evan Hunt and Ondřej Surý
7971873639
remove v6synth
...
- this was a test for the allow-v6-synthesis option, which was
deprecated and no longer works. the test was removed
from conf.sh.in long ago.
(cherry picked from commit 474b10a133 )
2018-02-23 08:32:03 +01:00
Evan Hunt and Ondřej Surý
17245b86d5
removed some unnecessary greps
...
(cherry picked from commit 731ad28be2 )
2018-02-23 08:32:03 +01:00
Evan Hunt and Ondřej Surý
4429f8b291
reorder tests to get better use of parallelism
...
(cherry picked from commit 56e440f65f )
2018-02-23 08:32:03 +01:00
Evan Hunt and Ondřej Surý
2b81f322cb
parallelize most system tests
...
(cherry picked from commit c032c54dda )
2018-02-23 08:31:59 +01:00
Mark Andrews
9554107d15
Merge branch 'cherry-pick-14388a4a' into 'v9_12'
...
Merge branch '68-rpz-system-test-fails-intermittently' into 'v9_12'
See merge request isc-projects/bind9!54
2018-02-21 23:10:50 -05:00
Mark Andrews
dc445b7d8a
Merge branch '68-rpz-system-test-fails-intermittently' into 'master'
...
Prevent rpz system test from wiping out forensic data
See merge request isc-projects/bind9!51
(cherry picked from commit 14388a4ad6 )
034450ba add test numbers as use them in file names
05f9deba use symbolic test modes native/dnsrps
b98a9207 perform rpz testing with a loop rather that recursion
f7172cf2 add CHANGES note
2018-02-21 23:10:12 -05:00
Mark Andrews
c50bae4a04
Merge branch 'cherry-pick-aa7964dd' into 'v9_12'
...
Merge branch '82-cacheclean-test-is-not-robust' into 'v9_12'
See merge request isc-projects/bind9!52
2018-02-21 20:33:58 -05:00
Mark Andrews
d7cd9fe95b
Merge branch '82-cacheclean-test-is-not-robust' into 'master'
...
Resolve "cacheclean test is not robust."
Closes #82
See merge request isc-projects/bind9!50
(cherry picked from commit aa7964dd4b )
146c16c0 check that sed selects a non zero range of lines
8c8ad74a add CHANGES entry
2018-02-21 20:17:21 -05:00
Stephen Morris
b3c84d31ac
Merge branch 'rt46602-v9_12' into 'v9_12'
...
Allow parallel run of system tests
See merge request isc-projects/bind9!7
2018-02-21 15:47:16 +00:00
Stephen Morris
13a89cf671
[rt46602] Update CHANGES for parallel tests
2018-02-21 15:47:03 +00:00
Stephen Morris
1d1b37d838
[rt46602] Changes to get tests running on Windows
...
1. Track changes to conf.sh.in in conf.sh.win32
2. Modifications to prevent Windows "Configure" script replacing
the sed "@PORT@" substitution tokens in conf.sh.win32.
3. runall.sh now runs Windows tests sequentially
(cherry picked from commit 7bb9a97904 )
2018-02-21 15:44:40 +00:00
Stephen Morris
a9e25e9686
[rt46602] Miscellaneous changes to fix rebase issues
...
(cherry picked from commit 7222c9fc76 )
2018-02-21 15:44:40 +00:00
Stephen Morris
2b0b035571
[rt46602] Change name of shell variable holding current test directory
...
It was TESTNAME, but this is an obvious name and was used in one of
the system tests, something that interfered with the content of
progress messages. It is now SYSTESTDIR.
(cherry picked from commit 30cd931a0d )
2018-02-21 15:44:40 +00:00
Michał Kępień and Stephen Morris
8fc6d51b0d
[rt46602] Export environment variables in a portable manner
...
(cherry picked from commit 2c519531a7 )
2018-02-21 15:44:40 +00:00
Michał Kępień and Stephen Morris
a8b10e9b3a
[rt46602] Sanitize test names to fix "make check" on Solaris
...
(cherry picked from commit e005fb948d )
2018-02-21 15:44:40 +00:00
Stephen Morris
9078c24900
[rt46602] Add .gitignore file for catz
...
(cherry picked from commit 3dfb7c17eb )
2018-02-21 15:44:40 +00:00
Stephen Morris
121be65138
[rt46602] Pass noclean option to Makefile via exported variable
...
(cherry picked from commit 59d88ee192 )
2018-02-21 15:44:40 +00:00
Stephen Morris
b98e011dc6
[rt46602] Mention conf.sh.win32 in instructions for adding a test.
...
(cherry picked from commit 23dfa27a84 )
2018-02-21 15:44:40 +00:00
Michał Kępień and Stephen Morris
c6b66a406d
[rt46602] Fix various typos, formatting issues and stylistic nits
...
(cherry picked from commit f0721de624 )
2018-02-21 15:44:39 +00:00
Michał Kępień and Stephen Morris
18b0ad81ec
[rt46602] Remove redundant variable assignment
...
(cherry picked from commit 42cf18d239 )
2018-02-21 15:44:39 +00:00
Michał Kępień and Stephen Morris
63bbbb936a
[rt46602] named.port is no longer created by setup.sh for allow_query
...
(cherry picked from commit 1ac4c3e4e5 )
2018-02-21 15:44:39 +00:00
Michał Kępień and Stephen Morris
933bba9d73
[rt46602] Consistently print usage for runall.sh to stderr
...
(cherry picked from commit fe1ccafc34 )
2018-02-21 15:44:39 +00:00
Michał Kępień and Stephen Morris
9ff064089b
[rt46602] Clean up getopts usage
...
Ensure case clauses are in sync with the string passed to getopts.
Remove catch-all clauses as they will never be evaluated.
(cherry picked from commit 0dcee1cad3 )
2018-02-21 15:44:39 +00:00
Michał Kępień and Stephen Morris
815820b3a9
[rt46602] Assign default values to variables set by command line options and consistently treat them as integers
...
(cherry picked from commit fe51c34df3 )
2018-02-21 15:44:39 +00:00
Michał Kępień and Stephen Morris
3c7784b745
[rt46602] named.port cannot be ignored by git because it is required to be present by notify/ns4
...
(cherry picked from commit 1960de5530 )
2018-02-21 15:44:39 +00:00
Michał Kępień and Stephen Morris
5b0a99e291
[rt46602] Re-add clean.sh invocation to catz/setup.sh
...
Commit 57aa7b60fd caused catz/setup.sh to no longer call clean.sh, which
results in the catz system test failing on subsequent runs if the first
run is interrupted or fails.
(cherry picked from commit 344d05063f )
2018-02-21 15:44:39 +00:00
Stephen Morris
6f341ed6cd
[rt46602] Remove option to format the printed start time of a test
...
There was too much incompatibility between operating systems as to
the allowed options for "date".
(cherry picked from commit 451b7309ca )
2018-02-21 15:44:39 +00:00
Stephen Morris
d59a3f1c82
[rt46602] Escape line ends in shell script variable assignment
...
Escape the line ends in a multi-line variable assignment. Under some
circumstances, substituting the variable caused syntax errors when
used as the list of values in a shell script "for" statement.
(cherry picked from commit 462766cd76 )
2018-02-21 15:44:39 +00:00
Stephen Morris
c18241451b
[rt46602] Fix EXTRAPORT substitutions in copy_setport
...
Fix problems where all EXTRAPORT macros were being replaced by
the EXTRAPORT1 value. (Copy and paste issue.)
(cherry picked from commit fb78f82ba1 )
2018-02-21 15:44:39 +00:00
Stephen Morris
33394a55e4
[rt46602] Minor documentation changes
...
(cherry picked from commit cdf18a5009 )
2018-02-21 15:44:39 +00:00
Stephen Morris
3906b1778f
[rt46602] Correct way allow_query test produces RNDC output
...
(cherry picked from commit 7f2d41d4c4 )
2018-02-21 15:44:39 +00:00
Stephen Morris
7cb5722c49
[rt46602] Simplify the cleanup code
...
(cherry picked from commit 0855a8a6cc )
2018-02-21 15:44:39 +00:00
Stephen Morris
269858ac02
[rt46602] Extensions to README
...
Added descriptions of how nameservers are started and stopped
during the tests, and how the framework cleans up the files created.
(cherry picked from commit f606b17dfb )
2018-02-21 15:44:39 +00:00
Stephen Morris
34a8e43ac1
[rt46602] Miscellenous small changes
...
(cherry picked from commit b88b508b22 )
2018-02-21 15:44:39 +00:00
Stephen Morris
820c47b137
[rt46602] Handle echoing of multi-line output from tests
...
(cherry picked from commit 1f07c69f25 )
2018-02-21 15:44:38 +00:00
Stephen Morris
f6d8f9cdcb
[rt46602] Rename "test" variable to "systest"
...
... to avoid confusion between the variable and the command of the
same name.
(cherry picked from commit c12e06755f )
2018-02-21 15:44:38 +00:00
Stephen Morris
ec063cdc99
[rt46602] Add ability to prevent deletion of output files when running all tests
...
Some tests may need to examine all output files from all system tests.
Allow the deletion of these files to be inhibited if required.
(cherry picked from commit 00bc29640b )
2018-02-21 15:44:38 +00:00
Stephen Morris
d150fe27ed
[rt46602] Error messages before start of test are output to stderr
...
Error messages concerning the invocation of run.sh are output to
stderr. Messages after the test has started are output to stdout.
(cherry picked from commit 244d1c30e2 )
2018-02-21 15:44:38 +00:00
Stephen Morris
3859c55031
[rt46602] Ensure that output sent to stderr is routed to the output file
...
(cherry picked from commit a5cf6bd12a )
2018-02-21 15:44:38 +00:00
Stephen Morris
626bd48214
[rt46602] Minor tidying up of documentation
...
(cherry picked from commit ce66752adc )
2018-02-21 15:44:38 +00:00
Stephen Morris
4dc368a837
[rt46602] Check prerequsities before network interfaces when running test.
...
(cherry picked from commit 549a6c6bc8 )
2018-02-21 15:44:38 +00:00
Stephen Morris
d737040fcf
[rt46602] Minor formatting changes to Perl files
...
(cherry picked from commit f0f5b5f045 )
2018-02-21 15:44:38 +00:00
Stephen Morris
9e176a0a34
[rt46603] Provide echostart() and echoend() to output test start/end messages.
...
(cherry picked from commit c344e1d768 )
2018-02-21 15:44:38 +00:00
Stephen Morris
62652988ed
[rt46602] Ensure test output in systests.output is not mixed up
...
When running all the system tests, output from a test is sent to a
test.output file in the test directory. These are combined in to
systests.output when the run finishes.
(cherry picked from commit 055e5be9fd )
2018-02-21 15:44:38 +00:00
Stephen Morris
0a372b07a9
[rt46602] Miscellaneous minor fixes
...
... for misspellings, typos, trailing spaces, duplicated lines etc.
(cherry picked from commit 3c25e5fa02 )
2018-02-21 15:44:38 +00:00
Stephen Morris
0d9b1190ce
[rt46602] Allocate 100 ports to each test
...
(cherry picked from commit edc7a18d84 )
2018-02-21 15:44:38 +00:00
Stephen Morris
21e48340b3
[rt46602] Pass port numbers to tests via environment variables
...
(cherry picked from commit f5d8f07900 )
2018-02-21 15:44:38 +00:00
Stephen Morris
32b4e0ce4d
[rt46602] Ensure parallel tests are in alphabetical order
...
(cherry picked from commit b2d90da0c2 )
2018-02-21 15:44:38 +00:00
Stephen Morris
353ab4dc69
[rt46602] Expanded system tests README
...
Add more information on running the tests, together with a section
on how the tests are organised, aimed at new developers.
(cherry picked from commit af005cdbcf )
2018-02-21 15:44:38 +00:00
Stephen Morris
a807f8a77a
[rt46602] More updates to the test running framework
...
Tidy up the stop/start files and make switch usage consistent. Also
tidy up the various "clean" targets in the Makefile.
(cherry picked from commit b24c2e11d8 )
2018-02-21 15:44:37 +00:00
Stephen Morris
cbe20bcc1f
[rt46602] Modify some test files to cope with the "-p" flag
...
(cherry picked from commit 517d990bd4 )
2018-02-21 15:44:37 +00:00
Stephen Morris
499e768d07
[rt46602] Tidy up run management
...
Miscellaneous tidying up of run management. The most significant
change is that "runall.sh" now runs _all_ the tests, even the
ones that can run in parallel. runsequential.sh is the script
to run tests that have not been converted to parallel running.
(cherry picked from commit 32fe6f7682 )
2018-02-21 15:44:37 +00:00
Stephen Morris
b2f2c67fd9
[rt46602] Assign block of ports for each test
...
Some tests use more ports than just the query and control ports.
Each test that can run in parallel with other tests is now assigned
a unique block of 10 ports.
(cherry picked from commit e0ff77f9d3 )
2018-02-21 15:44:37 +00:00
Stephen Morris
60945507d8
[rt46602] Allow catz system test to run in parallel with other tests
...
(cherry picked from commit 07341693e1 )
2018-02-21 15:44:37 +00:00
Stephen Morris
2ed6a072c9
[rt46602] Miscellaneous changes to existing parallelised tests
...
Currently these tests are allow_query, rpzrecurse and serve-stale
1. Function to copy files and set port numbers renamed from copy_config
to copy_setports, as this is used to change the ports in Perl and Python
test scripts as well.
2. Changes to rpzrecurse/tests.sh to handle two calls to getopts (one to
parse port numbers, the other to parse rpzrecurse-specific options). Also
fixed various commands to use correct ports.
3. Updates to "clean.sh" scripts to ensure that all files created in the
test are removed.
(cherry picked from commit 78f2b9ca01 )
2018-02-21 15:44:37 +00:00
Stephen Morris
6fbf96c112
[rt46602] Ensure that tests running in parallel use unique ports
...
Via an intermediate make file, tests that have been modified to be able
to run in parallel are assigned unique query and control port numbers
(other than 5300 and 9953 respectively). Tests that have not yet been
modified all use ports 5300 and 9953, so must be run sequentially.
(cherry picked from commit e7429b124b )
2018-02-21 15:44:37 +00:00
Stephen Morris
f396d62285
[rt46602] Miscellaneous tidying up of code cherry-picked from experimental branch
...
(cherry picked from commit e1a69e5d1f )
2018-02-21 15:44:37 +00:00
Ondřej Surý and Stephen Morris
e34bd38f69
[rt46602] Allow parallel run of new dynamic port tests and the old ones
...
(cherry picked from commit 3b14d54fd7 )
2018-02-21 15:44:37 +00:00
Ondřej Surý and Stephen Morris
79fe35af4a
[rt46602] Put back original .gitignore files in the system tests
...
(cherry picked from commit caaec1ef6d )
2018-02-21 15:44:37 +00:00
Ondřej Surý and Stephen Morris
4465749695
[rt46602] Adjust rpzrecurse for dynamic port usage
...
Resolve conflict in run.sh during cherry-pick from an experimental branch.
(cherry picked from commit 2a435708e4 )
2018-02-21 15:44:37 +00:00
Ondřej Surý and Stephen Morris
6890a3b63e
[rt46602] Add $SEDPORTS variable to help with @PORT@ and @CONTROLPORT@ replacement
...
(cherry picked from commit e6802badc0 )
2018-02-21 15:44:37 +00:00
Ondřej Surý and Stephen Morris
e00c4c1b66
[rt46602] Move most of ignored files to top of system tests directory
...
(cherry picked from commit d2c8286163 )
2018-02-21 15:44:37 +00:00
Ondřej Surý and Stephen Morris
2d41a16ba9
[rt46602] Fix output from rndc reload
...
(cherry picked from commit 53bade5ece )
2018-02-21 15:44:37 +00:00
Ondřej Surý and Stephen Morris
5dc741cd3e
[rt46602] Add .gitignore to allow_query
...
(cherry picked from commit bc276f6c05 )
2018-02-21 15:44:37 +00:00
Ondřej Surý and Stephen Morris
c707a93f6d
[rt46602] Utilize echo_i to allow mixed test output
...
(cherry picked from commit 7e3c96c867 )
2018-02-21 15:44:36 +00:00
Ondřej Surý and Stephen Morris
2c99184849
[rt46602] Prefix R:<result> as R:<test>:<result>
...
Resolve conflict in run.sh during cherry-pick from experimental branch.
(cherry picked from commit 278c72fef6 )
2018-02-21 15:44:36 +00:00
Ondřej Surý and Stephen Morris
3be9b6078f
[rt46602] Add echo_i function to print I:<testname>:string
...
(cherry picked from commit f7ac41757a )
2018-02-21 15:44:36 +00:00
Ondřej Surý and Stephen Morris
9974e247ff
[rt46602] Add serve-stale working files to .gitignore
...
(cherry picked from commit cba162e70e )
2018-02-21 15:44:36 +00:00
Ondřej Surý and Stephen Morris
0b174d71d3
[rt46602] Convert allow_query to dynamic port
...
(cherry picked from commit 992a2bafec )
2018-02-21 15:44:36 +00:00
Ondřej Surý and Stephen Morris
8a107c58f2
[rt46602] Update server-stale test to run on port passed from run.sh script
...
(cherry picked from commit f83ebd34b9 )
2018-02-21 15:44:36 +00:00
Ondřej Surý and Stephen Morris
0b1a5a586f
[rt46602] Change the system tests script to support running individual tests on different ports
...
Resolved conflict in run.sh.
(cherry picked from commit fb00f18005 )
2018-02-21 15:44:36 +00:00
Mark Andrews
01ec64fc76
Merge branch 'cherry-pick-643c8c27' into 'v9_12'
...
Merge branch '67-stabilize-cacheclean-system-test' into 'v9_12'
See merge request isc-projects/bind9!48
2018-02-20 16:08:23 -05:00
Mark Andrews
e5fcbe5f26
Merge branch '67-stabilize-cacheclean-system-test' into 'master'
...
Stabilize cacheclean system test
Closes #67
See merge request isc-projects/bind9!43
(cherry picked from commit 643c8c27ff )
01de79b3 Assign an index to each check in the cacheclean system test
aeea1faf Do not overwrite cache dumps
2bbff06d Wait until a cache dump completes instead of waiting for a fixed amount of time
ca1049b2 Improve the way cache contents are searched for "ns.flushtest.example"
2018-02-20 16:02:34 -05:00
Evan Hunt
cd8d44403b
[v9_12] copyrights
2018-02-17 21:26:12 -08:00
Tinderbox User
c964a71c76
regen v9_12
2018-02-18 04:13:10 +00:00
Evan Hunt
5254978eec
[v9_12] re-prep 9.12.1rc1 to include needed fixes; update README
2018-02-17 19:54:52 -08:00
Michał Kępień
ba787b3a57
Merge branch 'fix-dnstap-output-file-rolling-v9_12' into v9_12
2018-02-16 11:39:16 +01:00
Michał Kępień
bc22789bcb
Add CHANGES entry
...
4894. [bug] named could crash while rolling a dnstap output file.
[RT #46942 ]
2018-02-16 09:38:48 +01:00
Michał Kępień
5f12985f0b
Make dns_dt_send() call dns_dt_reopen() asynchronously
...
Instead of checking current dnstap output file size and potentially
synchronously calling dns_dt_reopen() upon every call to dns_dt_send():
- call dns_dt_reopen() asynchronously by queuing an event to the task
specified at dnstap environment creation time,
- ensure no roll event is outstanding before checking dnstap output
file size and potentially queuing another roll event.
This causes dnstap output files to exceed their configured size limits,
but prevents any two threads from performing the roll simultaneously
(which causes crashes).
2018-02-16 09:37:23 +01:00
Michał Kępień
2c1307f061
Make dns_dt_reopen() request task-exclusive mode on its own
...
Instead of relying on the caller to set up task-exclusive mode, make
dns_dt_reopen() enforce task-exclusive mode itself, using the task
specified at dnstap environment creation time.
2018-02-16 09:37:23 +01:00
Michał Kępień
e26c5df16f
Add dns_dt_create2()
...
Implement a new variant of dns_dt_create() to enable a dnstap
environment structure to hold the task in the context of which
dns_dt_reopen() will be executed.
2018-02-16 09:37:23 +01:00
Michał Kępień
fba6c2e982
Merge branch 'fix-loadpending-handling-v9_12' into v9_12
2018-02-16 08:55:23 +01:00
Michał Kępień
3235c3b2e4
Add CHANGES entry
...
4892. [bug] named could leak memory when "rndc reload" was invoked
before all zone loading actions triggered by a previous
"rndc reload" command were completed. [RT #47076 ]
2018-02-16 08:48:05 +01:00
Michał Kępień
840c9348bf
Do not recheck DNS_ZONEFLG_LOADPENDING in zone_asyncload()
...
Remove a block of code which dates back to commit 8a2ab2b920 , when
dns_zone_asyncload() did not yet check DNS_ZONEFLG_LOADPENDING.
Currently, no race in accessing DNS_ZONEFLG_LOADPENDING is possible any
more, because:
- dns_zone_asyncload() is still the only function which may queue
zone_asyncload(),
- dns_zone_asyncload() accesses DNS_ZONEFLG_LOADPENDING under a lock
(and potentially queues an event under the same lock),
- DNS_ZONEFLG_LOADPENDING is not cleared until the load actually
completes.
Thus, the rechecking code can be safely removed from zone_asyncload().
Note that this also brings zone_asyncload() to a state in which the
completion callback is always invoked. This is required to prevent
leaking memory in case something goes wrong in zone_asyncload() and a
zone table the zone belongs to is indefinitely left with a positive
reference count.
2018-02-16 08:47:40 +01:00
Michał Kępień
3395f6fac3
Asynchronous zone load events have no way of getting canceled
...
Code handling cancellation of asynchronous zone load events was likely
copied over from other functions when asynchronous zone loading was
first implemented in commit 8a2ab2b920 . However, unlike those other
functions, asynchronous zone loading events currently have no way of
getting canceled once they get posted, which means the aforementioned
code is effectively dead. Remove it to prevent confusion.
2018-02-16 08:47:40 +01:00
Michał Kępień
7c64547d95
Only clear DNS_ZONEFLG_LOADPENDING in zone_asyncload() if zone loading is completed immediately
...
zone_load() is not always synchronous, it may only initiate an
asynchronous load and return DNS_R_CONTINUE, which means zone loading
has not yet been completed. In such a case, zone_asyncload() must not
clear DNS_ZONEFLG_LOADPENDING immediately and leave that up to
zone_postload().
2018-02-16 08:47:40 +01:00
Michał Kępień
93c176d2d6
Lock zone before checking whether its asynchronous load is already pending
...
While this is not an issue in named, which only calls
dns_zone_asyncload() from task-exclusive mode, this function is exported
by libdns and thus may in theory be concurrently called for the same
zone by multiple threads. It also does not hurt to be consistent
locking-wise with other DNS_ZONEFLG_LOADPENDING accesses.
2018-02-16 08:47:40 +01:00
Mark Andrews
44d995992a
Merge branch 'fix-cpp-check-errors' into 'v9_12'
...
Fix cpp check errors v9_12
See merge request isc-projects/bind9!29
2018-02-15 22:15:49 -05:00
Mark Andrews
a5ea45f9f6
s/cppchecker/cppcheck
2018-02-16 14:09:10 +11:00
Mark Andrews
171843167b
add GL issue number
2018-02-16 14:09:09 +11:00
Mark Andrews
6ab800a82b
add CHANGES note
2018-02-16 14:09:09 +11:00
Mark Andrews
3208b02910
add POST(len);
2018-02-16 14:08:26 +11:00
Mark Andrews
736cbc97d7
conditionally declare stacksize
2018-02-16 14:08:26 +11:00
Mark Andrews
58c141e9b6
add POST(len);
2018-02-16 14:08:26 +11:00
Mark Andrews
494a3b33a2
Clarify calculation precedence for '&' and '?'
2018-02-16 14:08:26 +11:00
Mark Andrews
d6b79d3d43
add POST(tl)
2018-02-16 14:08:26 +11:00
Mark Andrews
57fbc03b11
return failure count
2018-02-16 14:08:26 +11:00
Mark Andrews
6a896a0247
conditionally declare strbuf
2018-02-16 14:08:26 +11:00
Mark Andrews
13e2a127f2
test for == 0 rather than <= as value is unsigned
2018-02-16 14:08:26 +11:00
Mark Andrews
5aba593545
add brackets
2018-02-16 14:08:26 +11:00
Mark Andrews
cf53ca27d5
reorder test to silence cppcheck
2018-02-16 14:08:26 +11:00
Mark Andrews
e416b6f57c
remove event which is only used for sizeof
2018-02-16 14:08:26 +11:00
Mark Andrews
a87296cb7b
remember the masters count
2018-02-16 14:08:26 +11:00
Mark Andrews
6fc28063f1
reorder test to silence cppcheck
2018-02-16 14:08:26 +11:00
Mark Andrews
fb93276320
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
3b412a0634
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
d23375e5b3
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
e34eec79a8
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
7670515fac
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
14e5f05a5e
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
5a21fe753d
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
1e943e3f3a
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
ade6a20c56
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
cf063314f2
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
bf74665d5c
case to unsigned; reorder expression
2018-02-16 14:08:26 +11:00
Mark Andrews
800c5a61a2
simplify expression
2018-02-16 14:08:26 +11:00
Mark Andrews
2f859b6f9e
use %u and preserve unsigned property
2018-02-16 14:08:26 +11:00
Mark Andrews
a4d75d92aa
make declaration and use of setnocookie fully conditional
2018-02-16 14:08:26 +11:00
Mark Andrews
c178a8e904
cast to unsigned
2018-02-16 14:08:26 +11:00
Mark Andrews
19ef6d7b21
preserve unsigned property
2018-02-16 14:08:26 +11:00
Mark Andrews
d76f6a67dd
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
585a420c64
make both arguments of & unsigned
2018-02-16 14:08:26 +11:00
Mark Andrews
d177c5ffc1
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
000eec7831
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
eaae1216b3
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
1bca37c8e1
shift unsigned (~0U) rather than signed (~0) contant
2018-02-16 14:08:26 +11:00
Mark Andrews
684424a6fe
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
f691251b95
unsigned constants
2018-02-16 14:08:26 +11:00
Mark Andrews
df835b580b
unsigned constants
2018-02-16 14:08:25 +11:00
Mark Andrews
615822391e
use %u instead of %d
2018-02-16 14:08:25 +11:00
Mark Andrews
ef957e6d25
use %u instead of %d
2018-02-16 14:08:25 +11:00
Mark Andrews
9e2a1ba979
use %u instead of %d
2018-02-16 14:08:25 +11:00
Mark Andrews
da38b41d83
prevent implict conversion to signed
2018-02-16 14:07:35 +11:00
Mark Andrews
c132205eb2
use %u instead of %d
2018-02-16 14:07:35 +11:00
Mark Andrews
e25d38c68b
INSIST ipnum6 != NULL
2018-02-16 14:07:35 +11:00
Mark Andrews
bb426bb13a
use %u instead of %d
2018-02-16 14:07:35 +11:00
Mark Andrews
fa7f2ef594
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
571b3a4005
test for >= 0 and use %d instead of %u
2018-02-16 14:07:34 +11:00
Mark Andrews
c4c2d94e61
formally cast to int; use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
e71e7673b3
formally cast to int
2018-02-16 14:07:34 +11:00
Mark Andrews
5c2ea775c4
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
059ff0206b
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
90f7a76891
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
7aab54de6f
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
cc0b343e78
copyrights
2018-02-16 14:07:34 +11:00
Mark Andrews
2e0129aba4
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
018cb006e1
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
4230e366b4
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
a6c47e456e
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
aaac93da3c
make declarations consistent
2018-02-16 14:07:34 +11:00
Mark Andrews
51e274b187
report argument error in human form
2018-02-16 14:07:34 +11:00
Mark Andrews
191ebf1076
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
4f6706e0ed
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
ef5ecb3e6d
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
599d257fad
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
7aa9ea8709
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
0a9b55e23e
use %u instead of %i
2018-02-16 14:07:34 +11:00
Mark Andrews
6a2292d0f4
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
a014677c1f
use %u rather than %d; pass a unsigned int pointer
2018-02-16 14:07:34 +11:00
Mark Andrews
ef3b87e15a
clear *logp
2018-02-16 14:07:34 +11:00
Mark Andrews
5e29734aee
use %u instead of %d
2018-02-16 14:07:34 +11:00
Mark Andrews
dddb3e2976
signed vs unsigned fixes
2018-02-16 14:07:34 +11:00
Tinderbox User
a85fdc1c5b
regen v9_12
2018-02-15 19:30:53 +00:00
Evan Hunt
d37fb4625c
[v9_12] prep 9.12.1rc1
2018-02-15 11:12:45 -08:00
Evan Hunt
d44775b859
[v9_12] copyrights
2018-02-10 16:30:58 -08:00
Mark Andrews
dc089b3339
check warning text
...
(cherry picked from commit c6cd108838 )
2018-02-09 14:05:20 +11:00
Mark Andrews
06da554649
get the correct test file
...
(cherry picked from commit ae09500989 )
2018-02-09 13:57:39 +11:00
Evan Hunt
cbd58053e6
[v9_12] fix test error
2018-02-08 18:45:56 -08:00
Evan Hunt and Mark Andrews
b032182b8a
[rt43670] more emphatic warning
2018-02-09 12:29:02 +11:00
Mark Andrews
303f4e8b5d
4889. [func] Warn about the use of old root keys without the new
...
root key being present. Warn about dlv.isc.org's
key being present. Warn about both managed and
trusted root keys being present. [RT #43670 ]
(cherry picked from commit baef0ca988 )
2018-02-09 12:11:10 +11:00
Evan Hunt
e19f246994
[v9_12] fix typo
2018-02-08 16:16:03 -08:00
Evan Hunt
ed829a6ba4
[v9_12] copyrights
2018-02-08 14:30:02 -08:00
Tinderbox User
7c95fa1c87
regen v9_12
2018-02-08 22:22:04 +00:00
Evan Hunt
b979f79037
[v9_12] update README and notes
2018-02-08 14:15:37 -08:00
Tinderbox User
42f67ba196
regen v9_12
2018-02-08 21:56:13 +00:00
Evan Hunt
988f5de10a
[v9_12] prep 9.12.1b1
2018-02-08 13:47:56 -08:00
Evan Hunt
8fb952e6ab
[v9_12] copyrights
2018-02-08 13:40:50 -08:00
Mark Andrews and Evan Hunt
e79cb31fdf
[v9_12] fix nsupdate test on windows
...
4888. [test] Initialize sockets correctly in sample-update so
that nsupdate system test will will run on Windows.
[RT #47097 ]
(cherry picked from commit 6757dc6488 )
2018-02-08 13:35:11 -08:00
Mark Andrews and Evan Hunt
e59f44f51d
[v9_12] fix rpzrecurse test on windows
...
4887. [test] Enable the rpzrecurse test to run on Windows.
[RT #47093 ]
(cherry picked from commit ecf6dcc5c6 )
2018-02-08 13:29:17 -08:00
Tony Finch and Mukund Sivaraman
30c86d5649
Document dig -u in manpage ( #47150 )
...
(cherry picked from commit cc82b5aa3c )
2018-02-09 00:52:25 +05:30
Tinderbox User
9f91102603
regen v9_12
2018-02-08 01:18:14 +00:00
Tinderbox User
85fec73a21
update copyright notice / whitespace
2018-02-07 23:47:00 +00:00
Tinderbox User
5294428582
newcopyrights
2018-02-07 23:31:36 +00:00
Mark Andrews
fe8d9962d2
add note for update-policy rules changes
...
(cherry picked from commit ff8f2a584d )
2018-02-07 14:03:51 +11:00
Mark Andrews
b329876bf1
4885. [security] update-policy rules that otherwise ignore the name
...
field now require that it be set to "." to ensure
that any type list present is properly interpreted.
[RT #47126 ]
(cherry picked from commit ec771bbdc8 )
2018-02-07 13:36:45 +11:00
Tinderbox User
4c0adf3d56
update copyright notice / whitespace
2018-02-05 23:47:17 +00:00
Tinderbox User
5d6a5c810c
newcopyrights
2018-02-05 23:30:15 +00:00
Michał Kępień
5c33d89ff1
[v9_12] Prevent crashing due to a race during server shutdown
...
4884. [bug] named could crash on shutdown due to a race between
shutdown_server() and ns__client_request(). [RT #47120 ]
(cherry picked from commit af1937c35a )
2018-02-05 20:25:41 +01:00
Mark Andrews
b480d1eaa8
look for #! to determine if the file is PYTHON or PYTHON-BIN
...
(cherry picked from commit 4fcc550877 )
2018-02-05 11:40:34 +11:00
Tinderbox User
5c36169128
regen v9_12
2018-02-03 01:20:16 +00:00
Evan Hunt
d6a3fbe09d
[v9_12] spelling, release note
...
(cherry picked from commit c34680cf3b )
2018-02-02 10:32:35 -08:00
Tinderbox User
042b8c6f08
update copyright notice / whitespace
2018-02-01 23:47:39 +00:00
Mark Andrews
1a22ae18fe
Update license to 'MPL' [RT #47101 ]
...
(cherry picked from commit a97ca00ce8 )
2018-02-02 10:38:34 +11:00
Tinderbox User
5681b48b5d
newcopyrights
2018-02-01 23:30:14 +00:00
Michał Kępień
5a03cc6d01
[v9_12] Silence compiler warnings about comparisons between signed and unsigned integers [RT #46980 ]
...
(cherry picked from commit a3c2b8831e )
2018-02-01 21:29:03 +01:00
Tinderbox User
072b32faf0
update copyright notice / whitespace
2018-01-31 23:46:36 +00:00
Tinderbox User
27fb719fd5
newcopyrights
2018-01-31 23:30:25 +00:00
Evan Hunt
69b5fafb03
[v9_12] improve debugging output from dnssec-cds
...
4883. [cleanup] Improved debugging output from dnssec-cds. [RT #47026 ]
Patch submitted by Tony Finch (dot@dotat.at )
2018-01-31 10:23:54 -08:00
Tinderbox User
fd7a1d9cb9
update copyright notice / whitespace
2018-01-30 23:46:57 +00:00
Tinderbox User
4cc09536a6
newcopyrights
2018-01-30 23:30:47 +00:00
Mark Andrews
9bf7f18d02
handle different eol coventions
...
(cherry picked from commit a2c693ab3b )
2018-01-31 10:06:37 +11:00
Evan Hunt
78f761222a
[v9_12] use 'command' instead of 'type' to find atf-run and kyua paths
2018-01-30 10:33:31 -08:00
Evan Hunt
53fad7791c
[v9_12] typo
2018-01-30 09:13:03 -08:00
Mark Andrews
d52acebeb8
4882. [bug] Address potential memory leak in
...
dns_update_signaturesinc. [RT #47084 ]
(cherry picked from commit 7817caa3c7 )
2018-01-30 15:27:51 +11:00
Mark Andrews
0e24c4d100
4881. [bug] Only include dst_openssl.h when OpenSSL is required.
...
[RT #47068 ]
(cherry picked from commit a64503c736 )
2018-01-30 15:21:29 +11:00
Mark Andrews
33132cbfc8
4880. [bug] Named wasn't returning the target of a cross zone
...
CNAME between to served zones when recursion was
desired and available (RD=1, RA=1). Don't return
the CNAME target otherwise to prevent accidental
cache poisoning. [RT #47078 ]
(cherry picked from commit d26f90241d )
2018-01-30 13:12:18 +11:00
Mark Andrews
36d1e278c1
4879. [bug] dns_rdata_caa:value_len is was small. [RT #47086 ]
...
(cherry picked from commit 3ae586b857 )
2018-01-30 11:00:34 +11:00
Tinderbox User
89961ad9e5
update copyright notice / whitespace
2018-01-29 23:46:55 +00:00
Tinderbox User
9c36e9c90d
newcopyrights
2018-01-29 23:30:14 +00:00
Mark Andrews
bd08ea42dd
4878. [bug] List 'ply' as a requirement for the 'isc' python
...
package. [RT #47065 ]
(cherry picked from commit 6e08af82ed )
2018-01-29 13:28:50 +11:00
Tinderbox User
4c8cd59241
regen v9_12
2018-01-26 01:19:47 +00:00
Tinderbox User
9ded20d5e9
update copyright notice / whitespace
2018-01-25 23:47:18 +00:00
Tinderbox User
16c46c3167
newcopyrights
2018-01-25 23:30:19 +00:00
Evan Hunt
6475d08439
[v9_12] clarify dnssec-cds man page
...
(cherry picked from commit cbd46e23cb )
2018-01-25 10:21:41 -08:00
Mark Andrews
7a58c9d770
remove Bv9ARM.ch13.html
2018-01-25 11:01:37 +11:00
Tinderbox User
d59b79c94f
update copyright notice / whitespace
2018-01-24 23:46:37 +00:00
Tinderbox User
96ed39d2d0
newcopyrights
2018-01-24 23:30:11 +00:00
Evan Hunt
bb0a05e72b
[v9_12] change uint to isc_uint
2018-01-24 11:02:57 -08:00
Evan Hunt
7e7a5bb189
[v9_12] update 9.11 api range
2018-01-24 10:23:11 -08:00
Evan Hunt
67b1e54716
[v9_12] address overflow in retry backoff
...
4877. [bug] Address integer overflow when exponentially
backing off retry intervals. [RT #47041 ]
(cherry picked from commit 8b440753b6 )
2018-01-24 09:45:55 -08:00
Mark Andrews
c34b3b98ab
4876. [bug] Address deadlock with accessing a keytable. [RT #47000 ]
...
(cherry picked from commit b575c4ec42 )
2018-01-24 18:56:28 +11:00
Mark Andrews
d4d3eeaa6f
4875. [bug] Address compile failures on older systems. [RT #47015 ]
...
(cherry picked from commit 99178b6329 )
2018-01-24 13:10:39 +11:00
Tinderbox User
4a91af9bbf
newcopyrights
2018-01-23 23:30:10 +00:00
Mark Andrews
132e7795f9
4874. [bug] Wrong time display when reporting new keywarntime.
...
[RT #47042 ]
(cherry picked from commit 83d005de61 )
2018-01-24 08:00:25 +11:00
Evan Hunt
941db929d3
[v9_12] renumber chapters now that the former chapter 5 is gone
2018-01-23 17:59:45 +00:00
Tinderbox User
14dc904052
regen v9_12
2018-01-23 00:56:08 +00:00
Tinderbox User
6774dbb0ab
update copyright notice / whitespace
2018-01-22 23:46:35 +00:00
Tinderbox User
ba1c79564b
newcopyrights
2018-01-22 23:39:20 +00:00
Mark Andrews
3b86824ac0
doc/misc/*.zoneopt are X
...
(cherry picked from commit 7f4dfa539c )
2018-01-23 10:36:43 +11:00
Evan Hunt
1773b2c7cc
[v9_12] fix test failure by sorting "type" to the top of zone clauses
2018-01-22 13:19:11 -08:00
Evan Hunt
4404974d84
[v9_12] silence warning
2018-01-22 13:07:33 -08:00
Evan Hunt
cb5101969f
[v9_12] regenerate
2018-01-22 19:48:04 +00:00
Evan Hunt
9b9f790a8b
[v9_12] fix unresolved externals for win32
2018-01-22 11:45:47 -08:00
Evan Hunt
f662d5484e
[v9_12] automatically generate named.conf grammars for the ARM
...
4873. [doc] Grammars for named.conf included in the ARM are now
automatically generated by the configuration parser
itself. As a side effect of the work needed to
separate zone type grammars from each other, this
also makes checking of zone statements in
named-checkconf more correct and consistent.
[RT #36957 ]
(cherry picked from commit 129c4414cb )
2018-01-22 11:08:49 -08:00
Evan Hunt
2aa30a80b1
[v9_12] remove dangling doc reference to the lightweight resolver
...
(cherry picked from commit 4d6800942c )
2018-01-22 10:58:43 -08:00
Mukund Sivaraman
c8eb726046
Don't permit loading meta RR types such as TKEY from master files ( #47009 )
...
(cherry picked from commit 8a4ce20172 )
2018-01-22 14:31:05 +05:30
Mukund Sivaraman
7e1ed15762
Fix configure issue detecting stdatomic.h support ( #46959 )
...
(cherry picked from commit 63d0c6a3fc )
2018-01-22 13:50:07 +05:30
Mark Andrews
8e369ab833
remove old entries
...
(cherry picked from commit 54c4adef80 )
2018-01-22 11:26:10 +11:00
Tinderbox User
5088140fc7
update copyright notice / whitespace
2018-01-21 23:46:29 +00:00
Tinderbox User
a4e58f73b5
newcopyrights
2018-01-21 23:31:42 +00:00
Mark Andrews
4d06005eae
4870. [test] Update included ATF library to atf-0.21 preserving
...
the ATF tool. [RT #46967 ]
(cherry picked from commit 23d77c8747 )
2018-01-22 10:00:40 +11:00
Mark Andrews
9bc567aad7
silence clang static analyser warning. [RT #46881 ]
...
(cherry picked from commit af034ef188 )
2018-01-22 09:48:37 +11:00
Mark Andrews
f6911d4295
4869. [bug] Address some cases where NULL with zero length could
...
be passed to memmove which is undefined behaviour and
can lead to bad optimisation. [RT #46888 ]
(cherry picked from commit fdd8838bf9 )
2018-01-22 09:37:30 +11:00
Tinderbox User
9a521b1359
newcopyrights
2018-01-19 23:30:14 +00:00
Tinderbox User
747bceba00
regen v9_12
2018-01-19 01:14:38 +00:00
Tinderbox User
ec8e6c1f44
update copyright notice / whitespace
2018-01-18 23:46:35 +00:00
Tinderbox User
99567a8e1a
newcopyrights
2018-01-18 23:30:15 +00:00
Evan Hunt
6d527f5439
[v9_12] normalize rndc on/off commands
...
4867. [cleanup] Normalize rndc on/off commands (validation,
querylog, serve-stale) so they all accept the
same synonyms for on/off (yes/no, true/false,
enable/disable). Thanks to Tony Finch. [RT #47022 ]
(cherry picked from commit cf8f4241e7 )
2018-01-18 10:50:24 -08:00
Tinderbox User
574dd7e2a9
regen v9_12
2018-01-18 01:14:03 +00:00
Tinderbox User
c2140b163e
update copyright notice / whitespace
2018-01-17 23:46:24 +00:00
Tinderbox User
493c6da5ee
newcopyrights
2018-01-17 23:30:13 +00:00
Francis Dupont
48e0471f97
bcmp -> memcmp
2018-01-17 15:32:09 +01:00
Francis Dupont
fd1f64696e
Applied #46125 fix (hardcoded "pkcs11")
2018-01-17 15:20:02 +01:00
Francis Dupont
5075f3faef
Merged rt46864 (check MD5 amd SHA1 support)
2018-01-17 14:36:06 +01:00
Mark Andrews
ee74cc4d67
sync CHANGES with 9.12.0rc3
2018-01-17 15:58:58 +11:00
Tinderbox User
b1ef8c1d9c
update copyright notice / whitespace
2018-01-15 23:46:48 +00:00
Tinderbox User
d58a9a8b0e
newcopyrights
2018-01-15 23:30:09 +00:00
Michał Kępień
893517ec31
[v9_12] Ensure all master definitions in a catalog zone contain an IP address
...
4864. [bug] named acting as a slave for a catalog zone crashed if
the latter contained a master definition without an IP
address. [RT #45999 ]
(cherry picked from commit ae51a676c9 )
2018-01-15 20:52:37 +01:00
Mark Andrews
f4c1681dad
silence coverity false positive. [RT #46841 ]
...
(cherry picked from commit fa22351a7c )
2018-01-15 12:03:24 +11:00
Tinderbox User
416b1cec1d
update copyright notice / whitespace
2018-01-13 23:47:25 +00:00
Tinderbox User
40121b345d
newcopyrights
2018-01-13 23:30:14 +00:00
Mark Andrews
7a3fcfe34c
ret was not being set to 1 on dig error. [RT #46990 ]
...
(cherry picked from commit 69c4c987f6 )
2018-01-13 13:15:22 +11:00
Tinderbox User
eee54aab6e
update copyright notice / whitespace
2018-01-12 23:46:21 +00:00
Tinderbox User
8ed2ff2ef0
newcopyrights
2018-01-12 23:30:08 +00:00
Mukund Sivaraman
0374e1c3fd
Fix various bugs reported by valgrind --tool=memcheck ( #46978 )
...
(cherry picked from commit f96133826e )
2018-01-13 00:37:28 +05:30
Tinderbox User
7e3fc6aa03
update copyright notice / whitespace
2018-01-11 23:46:21 +00:00
Tinderbox User
bbf18146c6
newcopyrights
2018-01-11 23:30:08 +00:00
Evan Hunt
a847e6d035
[v9_12] go three section levels deep in the ARM table of contents
...
(cherry picked from commit 0c061ce614 )
2018-01-11 13:41:59 -08:00
Tinderbox User
5f73c315d0
update copyright notice / whitespace
2018-01-10 23:48:07 +00:00
Tinderbox User
76616f708b
newcopyrights
2018-01-10 23:30:20 +00:00
Mark Andrews
d9a382fe4b
grammar
...
(cherry picked from commit a35b95acb1 )
2018-01-11 09:54:06 +11:00
Mark Andrews
b69bb481cf
4862. [bug] The rdata flags for RRSIG was not being properly set
...
when constructing a rdataslab. [RT #46978 ]
(cherry picked from commit 7befb67af4 )
2018-01-11 09:54:06 +11:00
Tinderbox User
7001d93870
update copyright notice / whitespace
2018-01-09 23:46:10 +00:00
Tinderbox User
98bbc626bc
newcopyrights
2018-01-09 23:30:06 +00:00
Mark Andrews
3eab3b21ec
4861. [bug] The isc_crc64 unit test was not endian independent.
...
[RT #46973 ]
(cherry picked from commit 0ce212b9f5 )
2018-01-10 09:46:47 +11:00
Mark Andrews
607423e5a6
4860. [bug] isc_int8_t should be signed char. [RT #46973 ]
...
(cherry picked from commit 21f708c88c )
2018-01-10 08:42:15 +11:00
Tinderbox User
f546a77f77
update copyright notice / whitespace
2018-01-08 23:46:22 +00:00
Tinderbox User
7ffcfb1981
newcopyrights
2018-01-08 23:30:09 +00:00
Mark Andrews
2cb473514f
add ns5/
...
(cherry picked from commit 3a4ea455ed )
2018-01-08 16:28:17 +11:00
Mark Andrews
2af6a352ec
write nextpart to disk so that it is available when tests fail
...
(cherry picked from commit 02d3f1e855 )
2018-01-08 16:21:09 +11:00
Tinderbox User
3ab43d029b
newcopyrights
2018-01-06 23:30:07 +00:00
Tinderbox User
53a5106d21
regen v9_12
2018-01-06 01:16:38 +00:00
Mark Andrews
f09733999c
test devent->sigrdataset rather than devent->rdataset before calling query_putrdataset
...
(cherry picked from commit 67faaa41c9 )
2018-01-05 12:39:19 +11:00
Mark Andrews
879e17b77d
mem.c failed to compile if ISC_MEM_CHECKOVERRUN=0
...
(cherry picked from commit 4c33e133ca7eb0aa65986f0ea5d788007e70aaa9)
2018-01-05 12:10:21 +11:00
Tinderbox User
77caf49c98
update copyright notice / whitespace
2018-01-04 23:45:53 +00:00
Tinderbox User
d1f3eab8a3
newcopyrights
2018-01-04 23:30:16 +00:00
Mark Andrews
b1e6c5d922
unconditionally typedef summarystat_t for coverity
...
(cherry picked from commit a0e66ef6dd )
2018-01-05 10:11:13 +11:00
Evan Hunt
1da3a1fc67
[v9_12] typo
2018-01-03 19:30:05 -08:00
Evan Hunt
2b51d5874c
[v9_12] block validator deadlock and prevent use-after-free
...
4859. [bug] A loop was possible when attempting to validate
unsigned CNAME responses from secure zones;
this caused a delay in returning SERVFAIL and
also increased the chances of encountering
CVE-2017-3145. [RT #46839 ]
4858. [security] Addresses could be referenced after being freed
in resolver.c, causing an assertion failure.
(CVE-2017-3145) [RT #46839 ]
2018-01-03 19:18:29 -08:00
Mark Andrews
0ed1d4154d
use RESTORE rather than SAVE as is better describes the operation
...
(cherry picked from commit 9e6b394410 )
2018-01-04 13:12:09 +11:00
Mark Andrews
749598d94f
4857. [bug] Maintain attach/detach semantics for event->db,
...
event->node, event->rdataset and event->sigrdataset
in query.c. [RT #46891 ]
(cherry picked from commit eed2f6cef0 )
2018-01-04 10:51:27 +11:00
Tinderbox User
82820349cb
update copyright notice / whitespace
2018-01-03 23:45:49 +00:00
Tinderbox User
8a7c841aed
newcopyrights
2018-01-03 23:30:05 +00:00
Mark Andrews
96d9eed2ac
4856. [bug] 'rndc zonestatus' reported the wrong underlying type
...
for a inline slave zone. [RT #46875 ]
(cherry picked from commit 0b27aa0712 )
2018-01-04 10:11:41 +11:00
Mark Andrews
4a63f0253c
4855. [bug] isc_time_formatshorttimestamp produced incorrect
...
output. [RT #46938 ]
(cherry picked from commit 1e10ef06ce )
2018-01-04 09:58:02 +11:00
Mark Andrews
c0749224c8
4849 and 4850 are now released in 9.12.0
2018-01-04 09:53:44 +11:00
Mark Andrews
84499d7f41
missing newline in comment
...
(cherry picked from commit 7258b852cf )
2018-01-03 17:11:39 +11:00
Mark Andrews
e12ba790a1
wait for status: line to be readable, before checking status
...
(cherry picked from commit 4674127443 )
2018-01-03 13:55:27 +11:00
Tinderbox User
99a488899e
update copyright notice / whitespace
2018-01-02 23:45:46 +00:00
Tinderbox User
a980141495
newcopyrights
2018-01-02 23:30:06 +00:00
Mark Andrews
be2380edf9
4854. [bug] query_synthcnamewildcard should stop generating the
...
response if query_synthwildcard fails. [RT #46939 ]
(cherry picked from commit c9ee9718ae )
2018-01-03 10:08:16 +11:00
Tinderbox User
ef6247f49d
regen v9_12
2018-01-02 01:15:58 +00:00
Mark Andrews
5cf9dc5eb2
4853. [bug] Add REQUIRE's and INSIST's to isc_time_formatISO8601L
...
and isc_time_formatISO8601Lms. [RT #46916 ]
(cherry picked from commit 0645f8f1ce )
2018-01-02 10:58:03 +11:00
Mark Andrews
fe00fac13c
4852. [bug] Handle strftime() failing in isc_time_formatISO8601ms.
...
Add REQUIRE's and INSIST's to isc_time_formattimestamp,
isc_time_formathttptimestamp, isc_time_formatISO8601,
isc_time_formatISO8601ms. [RT #46892 ]
2018-01-02 10:47:27 +11:00
Tinderbox User
0113327dd2
update copyright notice / whitespace
2018-01-01 23:45:43 +00:00
Tinderbox User
cb37b4aae0
newcopyrights
2018-01-01 23:30:09 +00:00
Mark Andrews
298f3d5340
4851. [port] Support using kyua as well as atf-run to run the unit
...
tests. [RT #46853 ]
(cherry picked from commit ccb5678066 )
2018-01-02 10:21:32 +11:00
Tinderbox User
d7095706e9
newcopyrights
2017-12-29 23:30:47 +00:00
Mark Andrews
81f3fdadac
X Kyuafile's
...
(cherry picked from commit fa0caa1f85 )
2017-12-29 13:34:52 +11:00
Tinderbox User
251446d350
regen v9_12
2017-12-29 02:16:29 +00:00
Mark Andrews
cb68b39428
4850. [bug] Named failed to restart with multiple added zones in
...
lmdb database. [RT #46889 ]
(cherry picked from commit 9bec7facfb )
2017-12-27 16:25:01 +11:00
Mark Andrews
f3f3480ed2
save why ydump.py failed
...
(cherry picked from commit f5d429e7c3 )
2017-12-22 16:03:42 +11:00
Mark Andrews
5a248803e3
silence clang static analysis
...
(cherry picked from commit f933be6d45 )
2017-12-22 13:09:28 +11:00
Mark Andrews
d8cb1587ec
initalize sigsize to zero; ATF_CHECK_EQ(sigsize, tsig.siglen);
...
(cherry picked from commit 9f61f6b46b )
2017-12-22 08:58:59 +11:00
Mark Andrews
0163c3b813
add POST(argc);
...
(cherry picked from commit be5a0eaa7a )
2017-12-22 08:48:57 +11:00
Mark Andrews
5b419ede19
add POST(argv); and POST(argc);
...
(cherry picked from commit d11ada1376 )
2017-12-22 08:44:15 +11:00
Tinderbox User
e552233bf6
regen v9_12
2017-12-21 01:15:46 +00:00
Mark Andrews
2cc7c4d62c
lowercase m in macOS
2017-12-21 10:54:53 +11:00
Tinderbox User
7274c956e2
update copyright notice / whitespace
2017-12-20 23:46:17 +00:00
Tinderbox User
d8f38bba3d
newcopyrights
2017-12-20 23:30:24 +00:00
Mark Andrews
22a32060c1
4849. [bug] Duplicate zones could appear in the .nzf file if
...
addzone failed. [RT #46435 ]
(cherry picked from commit 2d7f89b9c7 )
2017-12-20 17:15:23 +11:00
Tinderbox User
67b7334b62
regen v9_12
2017-12-20 01:15:42 +00:00
Mark Andrews
7d1bf2cc8d
set AC_INIT to 9.11
2017-12-20 09:26:35 +11:00
Francis Dupont
993a57a5eb
Fixed embedded atf code warning (RT 46833)
2017-12-18 16:18:21 +01:00
Tinderbox User
bfb76ec3a4
regen v9_12
2017-12-16 01:18:48 +00:00
Evan Hunt
ef2bfc219c
[v9_12] clear release notes so they can be repopulated for 9.12.1
2017-12-15 01:36:26 -08:00
Mark Andrews
cd11163b6d
fix case
...
(cherry picked from commit 68a2932f75 )
2017-12-15 14:54:16 +11:00
Mark Andrews
469254ba3e
add MacOS to contents
...
(cherry picked from commit 13508261e0 )
2017-12-15 14:46:33 +11:00
Mark Andrews
cb2533d0c1
add MacOS note
...
(cherry picked from commit 91e4700bcc )
2017-12-15 14:39:00 +11:00
Tinderbox User
67df162ebd
regen v9_12
2017-12-15 01:15:23 +00:00
Mark Andrews
62563bdc74
add 9.12.0 release marker
2017-12-14 14:38:37 +11:00
Mark Andrews
16d9d739b5
9.12.1-dev
2017-12-14 14:37:25 +11:00
Tinderbox User
a6e307c5f1
update copyright notice / whitespace
2017-12-13 23:45:37 +00:00
Tinderbox User
8fc65f3954
newcopyrights
2017-12-13 23:30:15 +00:00
Mark Andrews
9bad78cbc2
test for key != NULL on error path
2017-12-13 15:11:22 +11:00
Mark Andrews
4d1bbe308d
4847. [bug] dnssec-dnskey-kskonly was not being honoured for
...
CDS and CDNSKEY. [RT #46755 ]
2017-12-13 12:40:36 +11:00
Tinderbox User
e5ac12b76d
regen master
2017-12-13 01:08:15 +00:00
Mark Andrews
c67180f09b
4846. [test] Adjust timing values in runtime system test. Address
...
named.pid removal races in runtime system test.
[RT #46800 ]
2017-12-13 10:20:09 +11:00
Michał Kępień
e8bbb76620
[master] Correct the default value of print-time in ARM
2017-12-12 11:47:18 +01:00
Mark Andrews
940449fc72
4845. [bug] Dig (non iOS) should exit on malformed names.
...
[RT #46806 ]
2017-12-12 13:43:55 +11:00
Mark Andrews
cb8650d875
don't attempt to call isc_buffer_free(&buf) twice; don't attempt to call dns_message_destroy(&msg) twice; don't test for key != NULL
2017-12-12 13:20:56 +11:00
Tinderbox User
71eec55e0d
regen master
2017-12-09 01:09:51 +00:00
Tinderbox User
7491ce5c90
newcopyrights
2017-12-08 23:30:07 +00:00
Mark Andrews
e5c2cfdbf9
increment test number
2017-12-08 14:48:31 +11:00
Evan Hunt
5ea0100639
[master] document "fixedpoint"
2017-12-07 18:59:52 -08:00
Mark Andrews
1c794002f5
4844. [test] Address memory leaks in libatf-c. [RT #46798 ]
2017-12-08 12:33:53 +11:00
Mark Andrews
8444b4856a
4843. [bug] dnssec-signzone free hashlist on exit. [RT #46791 ]
2017-12-07 19:29:21 +11:00
Mark Andrews
63459cdc05
4842. [bug] Conditionally compile opensslecdsa_link.c to avoid
...
warnings about unused function. [RT #46790 ]
2017-12-07 13:26:21 +11:00
Tinderbox User
f9c3aba9b3
regen master
2017-12-06 17:32:49 +00:00
Evan Hunt
c4f9d720eb
[master] copyrights
2017-12-06 09:24:36 -08:00
Evan Hunt
4bef07fd01
[master] move "released" tag for rc1 respin
2017-12-06 09:23:34 -08:00
Mark Andrews
9d5a0abe81
4841. [bug] Address -fsanitize=undefined warnings. [RT #46786 ]
2017-12-06 21:00:14 +11:00
Mark Andrews
a89f416017
remove autosign/ns3/inacksk3.example.db
2017-12-06 20:39:42 +11:00
Mark Andrews
32d09cd7e0
4840. [test] Add tests to cover fallback to using ZSK on inactive
...
KSK. [RT #46787 ]
2017-12-06 20:26:43 +11:00
Tinderbox User
7308316d92
regen master
2017-12-06 01:09:54 +00:00
Tinderbox User
69f5e5f815
update copyright notice / whitespace
2017-12-05 23:45:42 +00:00
Tinderbox User
cb056c84f3
newcopyrights
2017-12-05 23:30:13 +00:00
Curtis Blackburn
c7f663ca80
clarify "stage 1" and "stage 2" in autosign test
2017-12-05 09:59:21 -08:00
Mark Andrews
ecafa2ae50
set the DNSKEY deletion time to now+5 once we got all the zones into their initial state
2017-12-05 21:38:28 +11:00
Mark Andrews
77f9623439
add [RT #46774 ]
2017-12-05 16:14:15 +11:00
Mark Andrews
00f5ea91cf
4839. [bug] zone.c:zone_sign was not properly determining
...
if there were active KSK and ZSK keys for
a algorithm when update-check-ksk is true
(default) leaving records unsigned with one or
more DNSKEY algorithms. [RT #46774 ]
2017-12-05 16:09:47 +11:00
Tinderbox User
6074bd498f
regen master
2017-12-05 01:08:12 +00:00
Evan Hunt
f30019645c
[master] fix test descriptions
2017-12-04 15:46:56 -08:00
Evan Hunt
b695f77533
[master] revised release note
2017-12-04 15:37:09 -08:00
Tinderbox User
c912c10346
newcopyrights
2017-12-04 23:30:17 +00:00
Mark Andrews
9ff34db455
add note for [RT #46743 ] and [RT #46754 ]
2017-12-05 09:52:12 +11:00
Mark Andrews
6fa2a0691e
4838. [bug] zone.c:add_sigs was not properly determining
...
if there were active KSK and ZSK keys for
a algorithm when update-check-ksk is true
(default) leaving records unsigned with one or
more DNSKEY algorithms. [RT #46754 ]
2017-12-05 09:25:09 +11:00
Tinderbox User
a855b8d231
update copyright notice / whitespace
2017-12-03 23:45:35 +00:00
Tinderbox User
79398706f4
newcopyrights
2017-12-03 23:30:10 +00:00
Mark Andrews
196e01da5f
4837. [bug] dns_update_signatures{inc} (add_sigs) was not
...
properly determining if there were active KSK and
ZSK keys for a algorithm when update-check-ksk is
true (default) leaving records unsigned. [RT #46743 ]
2017-12-04 10:03:51 +11:00
Ondřej Surý
1b0ca5d5bb
[master] Fix minor memory leak in rndc [RT #46739 ]
2017-12-01 14:48:32 +01:00
Evan Hunt
61c843815e
[master] copyrights/whitespace
2017-11-30 14:51:50 -08:00
Tinderbox User
a30f8d214d
regenerate
2017-11-30 22:51:12 +00:00
Tinderbox User
0b315a0b25
regen master
2017-11-30 22:46:39 +00:00
Evan Hunt
2f855055ed
[master] prep 9.12.0rc1
2017-11-30 14:39:16 -08:00
Evan Hunt
49a8cd6c01
[master] silence compiler warning
2017-11-30 13:55:34 -08:00
Evan Hunt
f29ca5db28
[master] fix incorrect comment
2017-11-30 13:35:20 -08:00
Evan Hunt
e197a2bd15
[master] fix "allow-transfer" inheritance and clean up ACL configuration
...
4836. [bug] Zones created using "rndc addzone" could
temporarily fail to inherit an "allow-transfer"
ACL that had been configured in the options
statement. [RT #46603 ]
2017-11-30 12:37:08 -08:00
Ondřej Surý
a4a148cf9a
[master] Type the shifted values to isc_uint32_t so the top bit is unsigned (found by UBSAN) [RT #46740 ]
2017-11-30 18:23:35 +01:00
Michał Kępień
2c20fc0d13
[master] Fix LMDB support on OpenBSD; clean up and refactor LMDB-related code
...
4835. [cleanup] Clean up and refactor LMDB-related code. [RT #46718 ]
4834. [port] Fix LMDB support on OpenBSD. [RT #46718 ]
2017-11-30 14:34:04 +01:00
Tinderbox User
dc66c4a49c
update copyright notice / whitespace
2017-11-29 23:45:31 +00:00
Mark Andrews
9ddf7d6c4c
4833. [bug] isc_event_free should check that the event is not
...
linked when called. [RT #46725 ]
4832. [bug] Events were not being removed from zone->rss_events.
[RT #46725 ]
2017-11-30 10:31:44 +11:00
Tinderbox User
6cc3c22534
newcopyrights
2017-11-29 23:30:06 +00:00
Mark Andrews
0579a11658
4831. [bug] Convert the RRSIG expirytime to 64 bits for
...
comparisions in diff.c:resign. [RT #46710 ]
2017-11-29 15:20:23 +11:00
Tinderbox User
3a12b43245
regen master
2017-11-29 01:07:59 +00:00
Tinderbox User
34075107ba
update copyright notice / whitespace
2017-11-28 23:45:35 +00:00
Tinderbox User
9b1f74fa3a
newcopyrights
2017-11-28 23:30:11 +00:00
Michał Kępień
376d5996a1
[master] Bail out of "./configure --with-atf" if "./configure" inside unit/atf-src fails
...
4830. [bug] Failure to configure ATF when requested did not cause
an error in top-level configure script. [RT #46655 ]
2017-11-28 13:36:57 +01:00
Mark Andrews
65a483106e
4829. [bug] isc_heap_delete did not zero the index value when
...
the heap was created with a callback to do that.
[RT #46709 ]
2017-11-28 18:49:52 +11:00
Mark Andrews
5f308740df
allow 10 seconds when checking mtime
2017-11-28 16:32:07 +11:00
Mark Andrews
a8c1bfd673
map more entry points to <name>64
2017-11-28 14:08:14 +11:00
Mark Andrews
18c7fa2f93
#define update_recordsandbytes update_recordsandbytes64
2017-11-28 13:58:49 +11:00
Tinderbox User
3f8c9d92af
regen master
2017-11-28 01:07:49 +00:00
Tinderbox User
393135d693
update copyright notice / whitespace
2017-11-27 23:46:24 +00:00
Tinderbox User
82354deeb1
newcopyrights
2017-11-27 23:30:10 +00:00
Mark Andrews
c22b540e4c
restore setting header->heap_index to zero in setsigningtime
2017-11-28 06:46:33 +11:00
Ray Bellis
d92d70ac5d
fix warning under Xcode for iOS
2017-11-27 10:16:55 +00:00
Michał Kępień
00ff44c7c2
[master] Stabilize nsupdate system test [RT #46673 ]
2017-11-27 10:10:42 +01:00
Michał Kępień
2f13e0ef98
[master] Minor mkeys system test tweaks [RT #46649 ]
2017-11-27 10:04:11 +01:00
Michał Kępień
a80dc538bd
[master] Only look for mysql_config if --with-dlz-mysql is used [RT #46647 ]
2017-11-27 10:00:38 +01:00
Michał Kępień
40a90fbf89
[master] Do not use thread-local storage for storing LMDB reader locktable slots
...
4828. [bug] Do not use thread-local storage for storing LMDB reader
locktable slots. [RT #46556 ]
2017-11-27 09:48:10 +01:00
Michał Kępień
31b6ae485e
[master] Fix OPTIONS formatting
2017-11-27 09:35:08 +01:00
Mark Andrews
19f6a63184
More:
...
4819. [bug] Fully backout the transaction when adding a RRset
to the resigning / removal heaps fails. [RT #46473 ]
2017-11-27 15:15:41 +11:00
Mark Andrews
14e9925868
add missing entries to .def files [RT #46215 ]
2017-11-27 13:49:39 +11:00
Mark Andrews
7bc5d7f5e8
4827. [misc] Add a precommit check script util/checklibs.sh
...
[RT #46215 ]
2017-11-27 13:47:36 +11:00
Mark Andrews
1dc8208a89
silence %lu vs size_t warning by casting to (unsigned long)
2017-11-24 10:25:37 +11:00
Mark Andrews
6ead410268
in rdbdb.c:setsigningtime stop breaking heap invariant property unless we are going to restore the invariant property
2017-11-24 08:47:52 +11:00
Michał Kępień
a573b93b46
[master] Disable parallel make inside bin/confgen/ and bin/named/
...
4826. [cleanup] Prevent potential build failures in bin/confgen/ and
bin/named/ when using parallel make. [RT #46648 ]
2017-11-23 11:44:33 +01:00
Michał Kępień
165df18f75
[master] Prevent bogus warning from being logged
...
4825. [bug] Prevent a bogus "error during managed-keys processing
(no more)" warning from being logged. [RT #46645 ]
2017-11-23 09:36:04 +01:00
Mark Andrews
9bb32395b2
silence compiler warning [RT #46471 ]
2017-11-23 17:01:40 +11:00
Ray Bellis and Mark Andrews
8993ecd06a
4824. [port] Add iOS hooks to dig. [RT #42011 ]
2017-11-23 16:58:12 +11:00
Mark Andrews
2f4e0e5a81
initalise serve_stale_ttl
2017-11-23 16:11:49 +11:00
Mark Andrews
78e1d7cdde
style
2017-11-23 16:09:27 +11:00
Mark Andrews
ba613d22bf
remove bin/tests/system/reclimit/ans4/ans.pl
2017-11-23 12:09:23 +11:00
Tinderbox User
858228febe
update copyright notice / whitespace
2017-11-21 23:45:29 +00:00
Tinderbox User
5b2b9340fe
newcopyrights
2017-11-21 23:30:08 +00:00
Michał Kępień
6035d557c4
[master] Refactor reclimit system test
...
4823. [test] Refactor reclimit system test to improve its
reliability and speed. [RT #46632 ]
2017-11-21 10:32:45 +01:00
Mark Andrews
900215654b
#include <isc/util.h> [RT #46626 ]
2017-11-18 11:22:44 +11:00
Tinderbox User
445cabb392
update copyright notice / whitespace
2017-11-17 23:45:28 +00:00
Mark Andrews
a197094d76
remove out of date comment
2017-11-18 08:50:58 +11:00
Mark Andrews
f975d0acaa
4822. [bug] Use resign_sooner in dns_db_setsigningtime. [RT #46473 ]
2017-11-18 07:50:43 +11:00
Mark Andrews
656eed7c9b
4821. [bug] When resigning ensure that the SOA's expire time is
...
always later that the resigning time of other records.
[RT #46473 ]
4820. [bug] dns_db_subtractrdataset should transfer the resigning
information to the new header. [RT #46473 ]
4819. [bug] Fully backout the transaction when adding a RRset
to the resigning / removal heaps fail. [RT #46473 ]
2017-11-18 07:11:12 +11:00
Michał Kępień
7a0188774f
[master] Stabilize logfileconfig system test
...
4818. [test] The logfileconfig system test could intermittently
report false negatives on some platforms. [RT #46615 ]
2017-11-16 08:06:57 +01:00
Mark Andrews
bcce55197a
whitespace
2017-11-14 14:48:41 +11:00
Tinderbox User
3bfc28a0d0
update copyright notice / whitespace
2017-11-13 23:45:33 +00:00
Tinderbox User
6f5cc4206d
newcopyrights
2017-11-13 23:30:10 +00:00
Mark Andrews
e2f9dcfd86
more DNS_NAME_INITABSOLUTE cases
2017-11-14 00:21:50 +11:00
Mark Andrews
31975d85de
remove out of date comment
2017-11-14 00:18:20 +11:00
Mark Andrews
3d905e0533
4817. [cleanup] Use DNS_NAME_INITABSOLUTE and DNS_NAME_INITNONABSOLUTE.
...
[RT #45433 ]
2017-11-13 16:58:12 +11:00
Mark Andrews
3def40b01b
4816. [bug] Don't use a common array for storing EDNS options
...
in DiG as it could fill up. [RT #45611 ]
2017-11-13 16:10:35 +11:00
Mark Andrews
04934b28ea
4815. [bug] rbt_test.c:insert_and_delete needed to call
...
dns_rbt_addnode instead of dns_rbt_addname. [RT #46553 ]
2017-11-13 15:26:35 +11:00
Mark Andrews
8c1b8dd55d
fix merge error
2017-11-13 13:06:12 +11:00
Mark Andrews
6bbbf12936
4814. [cleanup] Use AS_HELP_STRING for consistent help text. [RT #46521 ]
2017-11-13 11:36:45 +11:00
Mark Andrews
9eb5aa40aa
set SAMPLEUPDATE under windows; test if SAMPLEUPDATE exists and only run tests if it does
2017-11-11 09:23:44 +11:00
Mark Andrews
f581ac4726
allow more time for journal to sync
2017-11-10 18:18:04 +11:00
Mark Andrews
c0e3e1fe44
4813. [bug] Address potential read after free errors from
...
query_synthnodata, query_synthwildcard and
query_synthnxdomain. [RT #46547 ]
2017-11-10 13:33:18 +11:00
Michał Kępień
312c84c73a
[master] Minor improvements to code handling managed keys
...
4812. [bug] Minor improvements to stability and consistency of code
handling managed keys. [RT #46468 ]
2017-11-09 15:18:39 +01:00
Mark Andrews
b231ddc65d
fix the IPv6 address length in compute_cookie. [RT #46538 ]
2017-11-09 23:59:20 +11:00
Tinderbox User
0cba7ca6af
regen master
2017-11-09 01:07:39 +00:00
Evan Hunt
f4b2356359
[master] remove extra comma
2017-11-08 09:31:25 -08:00
Tinderbox User
a1aa42b9cd
regenerate
2017-11-08 17:28:38 +00:00
Tinderbox User
c999531fa4
regen master
2017-11-08 17:26:53 +00:00
Evan Hunt
00827f59d2
[master] revise incorrect release note
2017-11-08 09:18:29 -08:00
Mark Andrews
e03e455cd5
whitespace
2017-11-08 23:30:46 +11:00
Mark Andrews
a1a5145867
4811. [bug] Revert api changes to use <isc/buffer.h> inline
...
macros. Provide a alternative mechanism to turn
on the use of inline macros when building BIND.
[RT #46520 ]
2017-11-08 23:28:10 +11:00
Michał Kępień
4034b098d8
[master] Prevent junk from being logged when using "also-notify { <ip> key <keyname>; };"
2017-11-08 09:21:23 +01:00
Michał Kępień
27bf48327c
[master] Do not NOTIFY back the master view from slave views in notify system test
...
This prevents a Linux kernel bug discussed in RT #32355 from being
triggered and thus makes "checking notify to multiple views using tsig"
stable.
2017-11-08 09:21:16 +01:00
Mark Andrews
c652213857
4810. [test] The chain system test failed if the IPv6 interfaces
...
were not configured. [RT #46508 ]
2017-11-08 10:17:03 +11:00
Evan Hunt
5b1e929b8b
[master] Merge branch 'master' of ssh://repo.isc.org/proj/git/prod/bind9
2017-11-07 13:48:37 -08:00
Tinderbox User
a41e41d6a4
regenerate
2017-11-07 21:48:23 +00:00
Tinderbox User
0e29543a3d
regen master
2017-11-07 21:42:32 +00:00
Evan Hunt
f13c1c09e9
[master] move release tag
2017-11-07 13:33:24 -08:00
Evan Hunt
e3d9aafff0
[master] Check if -latomic is needed to handle 64-bit stdatomic.h types
...
4809. [port] Check at configure time whether -latomic is needed
for stdatomic.h. [RT #46324 ]
2017-11-07 13:27:14 -08:00
Evan Hunt
23b81977fe
[master] minor doc fixes
2017-11-07 13:23:41 -08:00
Tinderbox User
2a390b2537
regen master
2017-11-07 01:08:53 +00:00
Tinderbox User
e6801bf89e
update copyright notice / whitespace
2017-11-06 23:45:48 +00:00
Tinderbox User
3300f6aeda
newcopyrights
2017-11-06 23:30:12 +00:00
Mark Andrews
b819a478b7
4808. [bug] Properly test for zlib.h. [RT #46504 ]
2017-11-07 10:11:55 +11:00
Mukund Sivaraman and Evan Hunt
7e1df5182c
[master] isc_rng_randombytes()
...
4807. [cleanup] isc_rng_randombytes() returns a specified number of
bytes from the PRNG; this is now used instead of
calling isc_rng_random() multiple times. [RT #46230 ]
2017-11-06 10:44:37 -08:00
Tinderbox User
72ddd51e74
regen master
2017-11-03 01:08:09 +00:00
Evan Hunt
c3d0ccdc8f
[master] update logging categories in doc
2017-11-02 12:53:33 -07:00
Tinderbox User
f305a705c4
regenerate
2017-11-02 18:59:07 +00:00
Tinderbox User
490c321e25
regen master
2017-11-02 18:58:45 +00:00
Evan Hunt
e7b53943fe
[master] copyrights
2017-11-02 11:50:43 -07:00
Evan Hunt
8d23105547
[master] prep 9.12.0b2
2017-11-02 11:50:07 -07:00
Evan Hunt
95dce4e68c
[master] clarify doc on zone refresh and expiry
2017-11-01 23:06:20 -07:00
Evan Hunt
9bb007fd2d
[master] "zoneload" logging category
...
4806. [func] Log messages related to loading of zones are now
directed to the "zoneload" logging category.
[RT #41640 ]
2017-11-01 22:48:12 -07:00
Evan Hunt
3b5718a8c9
[master] removed references to obsolete versions in documentation
2017-11-01 22:19:11 -07:00
Tinderbox User
40298d8bee
regen master
2017-11-02 01:09:26 +00:00
Mark Andrews
92bbc9914c
4805. [bug] TCP4Active and TCP6Active weren't being updated
...
correctly. [RT #46454 ]
2017-11-02 10:42:42 +11:00
Evan Hunt
4359be18f4
[master] update secroots doc in rndc man page
2017-11-01 15:37:12 -07:00
Mark Andrews
0698ad8503
don't use the ERR macro as GCC 7 only does a partial static analysis which generates false positives for fallthrough. [RT #46115 ]
2017-11-01 19:11:48 +11:00
Tinderbox User
9b3fc207df
regen master
2017-11-01 01:09:07 +00:00
Tinderbox User
db15f78ad7
update copyright notice / whitespace
2017-10-31 23:45:54 +00:00
Mark Andrews
ff30290b48
4804. [port] win32: access() does not work on directories as
...
required by POSIX. Supply a alternative in
isc_file_isdirwritable. [RT #46394 ]
2017-11-01 09:29:24 +11:00
Evan Hunt
7bbb034952
[master] doc was incorrect about SIG(0)
2017-10-31 13:09:58 -07:00
Evan Hunt
a51352c4a4
[master] typo
2017-10-31 13:02:41 -07:00
Michał Kępień
37039792cb
[master] Replace FNR with NR in the awk script used by nextpart()
...
awk on Solaris does not support the FNR variable. As nextpart() only
reads from one file, replace FNR with NR.
2017-10-31 14:57:52 +01:00
Michał Kępień
41b1a98545
[master] Copy nextpart() from conf.sh.in to conf.sh.win32
2017-10-31 12:03:04 +01:00
Michał Kępień
dd61c4ad3e
[master] Add placeholder
2017-10-31 07:54:56 +01:00
Tinderbox User
85bd975d3d
update copyright notice / whitespace
2017-10-30 23:45:50 +00:00
Tinderbox User
ee42f734d5
Merge branch 'master' of /proj/git/prod/bind9
2017-10-30 23:45:16 +00:00
Mark Andrews
6e02359034
tmp should be a (struct in_addr) not (struct in_addr *)
2017-10-31 10:35:07 +11:00
Tinderbox User
0ed0c4b1a5
newcopyrights
2017-10-30 23:30:10 +00:00
Michał Kępień
facf811847
[master] Refactor mkeys system test
...
4802. [test] Refactor mkeys system test to make it quicker and more
reliable. [RT #45293 ]
2017-10-30 09:41:24 +01:00
Tinderbox User
4ae8f28711
regen master
2017-10-30 01:08:21 +00:00
Tinderbox User
2658ebbcba
update copyright notice / whitespace
2017-10-29 23:45:51 +00:00
Evan Hunt
45d4d62a0c
[master] copyrights
2017-10-29 16:44:55 -07:00
Tinderbox User
63d83632d7
newcopyrights
2017-10-29 23:30:15 +00:00
Mark Andrews
40e1e659b6
add missing test number increment
2017-10-30 08:50:00 +11:00
Mark Andrews
f5e1b555c5
4801. [func] 'dnssec-lookaside auto;' and 'dnssec-lookaside .
...
trust-anchor dlv.isc.org;' now elicit warnings rather
than being fatal configuration errors. [RT #46410 ]
2017-10-30 07:40:59 +11:00
Mark Andrews
4e2ba60f3c
don't add copyright notices
2017-10-29 18:53:07 +11:00
Mukund Sivaraman
625f656aa8
When processing delzone, write one zone config per line to the NZF ( #46323 )
2017-10-29 07:40:20 +05:30
Tinderbox User
278b68ced5
update copyright notice / whitespace
2017-10-28 23:45:38 +00:00
Michał Kępień
c6c1193e39
[master] Improve clarity of keytable unit tests
...
4799. [cleanup] Improve clarity of keytable unit tests. [RT #46407 ]
2017-10-28 19:59:40 +02:00
Evan Hunt
8f532a13cb
[master] update xsl version number
2017-10-27 19:19:04 -07:00
Tinderbox User
497f3f913e
regen master
2017-10-28 01:12:35 +00:00
Mark Andrews
01139573bc
update copyrights
2017-10-28 10:56:21 +11:00
Mark Andrews
4cbaa08602
allow for numbered namedX.args
2017-10-28 10:53:20 +11:00
Evan Hunt
c9f8165a06
[master] tag initializing keys
...
4798. [func] Keys specified in "managed-keys" statements
are tagged as "initializing" until they have been
updated by a key refresh query. If initialization
fails it will be visible from "rndc secroots".
[RT #46267 ]
2017-10-27 15:49:44 -07:00
Evan Hunt
1d57d460d4
[master] change rndc-confgen default algorithm
...
this completes change 4785. the CHANGES note has been revised:
4785. [func] The hmac-md5 algorithm is no longer recommended for
use with RNDC keys. The default in rndc-confgen
is now hmac-sha256. [RT #42272 ]
2017-10-27 10:56:43 -07:00
Evan Hunt
959d294067
[master] remove isc-hmac-fixup
...
4797. [func] Removed "isc-hmac-fixup", as the versions of BIND that
had the bug it worked around are long past end of
life. [RT #46411 ]
2017-10-27 09:56:11 -07:00
Brian Conry and Ondřej Surý
864bc6b56e
[master] Increase the maximum TCP keepalive timeout to 65535
...
4796. [bug] Increase the maximum configurable TCP keepalive
timeout to 65535. [RT #44710 ]
2017-10-27 14:58:48 +02:00
Evan Hunt
06049b1c6c
[master] stats counter for priming queries
...
4795. [func] A new statistics counter has been added to track
priming queries. [RT #46313 ]
2017-10-26 21:38:43 -07:00
Evan Hunt
3b4f23cdbf
[master] dnssec-checkds -s
...
4794. [func] "dnssec-checkds -s" specifies a file from which
to read a DS set rather than querying the parent.
[RT #44667 ]
2017-10-26 21:05:11 -07:00
Tinderbox User
08f18efba2
update copyright notice / whitespace
2017-10-26 23:45:58 +00:00
Mark Andrews
f808b5e0d2
.md for MKD
2017-10-27 10:40:32 +11:00
Tinderbox User
a4bf990ed7
newcopyrights
2017-10-26 23:30:10 +00:00
Mark Andrews
c341e524dc
address resource leak [RT #46413 ]
2017-10-27 09:58:55 +11:00
Evan Hunt
63270d33f1
[master] some improvements in doc/dev [RT #46011 ]
...
- add info about rdatasets, etc, to dev.md (thanks to Tony Finch)
- convert rdata.html to markdown
2017-10-25 23:30:10 -07:00
Mark Andrews
09baa0cbb1
use 'grep -w' to reduce false negatives
2017-10-26 16:14:30 +11:00
Mark Andrews
87387d8a41
4793. [bug] nsupdate -[46] could overflow the array of server
...
addresses. [RT #46402 ]
2017-10-26 16:00:24 +11:00
Evan Hunt
5c76f3664c
[master] enable ISC_BUFFER_USEINLINE to be overridden
2017-10-25 21:42:56 -07:00
Evan Hunt
5b69d3da83
[master] check file and tree headers when loading map files
...
4792. [bug] Fix map file header correctness check. [RT #38418 ]
2017-10-25 21:37:00 -07:00
Evan Hunt
89d1777560
[master] clean up DNS_MESSAGETEXTFLAG comments
2017-10-25 21:33:24 -07:00
Tinderbox User
d3e8e9bdbb
regen master
2017-10-26 01:09:30 +00:00
Mark Andrews
3056d6f532
use consistent filename
2017-10-26 11:43:20 +11:00
Mark Andrews
96ebb55501
update
2017-10-26 11:38:34 +11:00
Tinderbox User
8e2a8a3855
update copyright notice / whitespace
2017-10-25 23:47:47 +00:00
Evan Hunt
81570e84a2
[master] fix some documentation errors [RT #45527 ]
2017-10-25 11:02:26 -07:00
Evan Hunt
6a59e53a69
[master] fixed libdns doc
...
4791. [doc] Fixed outdated documentation about export libraries.
[RT #46341 ]
2017-10-25 10:55:34 -07:00
Mark Andrews
2bbca9594f
4790. [bug] nsupdate could trigger a require when sending a
...
update to the second address of the server.
[RT #45731 ]
2017-10-26 00:29:52 +11:00
Evan Hunt
eb2ef7b53e
[master] check new-zones-directory
...
4789. [cleanup] Check writability of new-zones-directory. [RT #46308 ]
2017-10-25 01:19:46 -07:00
Evan Hunt
aebdc6cd7d
[master] log when update-policy local gets a key match from a remote host
...
4788. [cleanup] When using "update-policy local", log a warning
when an update matching the session key is received
from a remote host. [RT #46213 ]
- this completes change #4762 .
2017-10-25 00:58:11 -07:00
Michał Kępień
910a01550a
[master] Rename nsec3param_salt_totext() to dns_nsec3param_salttotext(), make it public, add unit tests
...
4786. [cleanup] Turn nsec3param_salt_totext() into a public function,
dns_nsec3param_salttotext(), and add unit tests for it.
[RT #46289 ]
2017-10-25 09:46:18 +02:00
Evan Hunt
65314b0fd8
[master] "enable-filter-aaaa" no longer optional
...
4786. [func] The "filter-aaaa-on-v4" and "filter-aaaa-on-v6"
options are no longer conditionally compiled.
[RT #46340 ]
2017-10-25 00:33:51 -07:00
Mark Andrews
80739779fc
read dig.out.ns3.test$n rather than dig.out.ns2.test$n
2017-10-25 15:02:36 +11:00
Tinderbox User
a53e03205a
regen master
2017-10-25 01:08:58 +00:00
Tinderbox User
ea055a82cd
update copyright notice / whitespace
2017-10-24 23:47:14 +00:00
Tinderbox User
89c95e7141
newcopyrights
2017-10-24 23:30:30 +00:00
Mark Andrews
79e78994d0
add missing semicolon
2017-10-25 10:29:10 +11:00
Evan Hunt
21761bfe79
[master] deprecate HMAC in dnssec-keygen, MD5 in rndc-confgen
...
4785. [func] The hmac-md5 algorithm is no longer recommended for
use with RNDC keys. For compatibility reasons, it
it is still the default algorithm in rndc-confgen,
but this will be changed to hmac-sha256 in a future
release. [RT #42272 ]
4784. [func] The use of dnssec-keygen to generate HMAC keys is
deprecated in favor of tsig-keygen. dnssec-keygen
will print a warning when used for this purpose.
All HMAC algorithms will be removed from
dnssec-keygen in a future release. [RT #42272 ]
2017-10-24 15:35:13 -07:00
Mark Andrews
969d923536
4783. [test] dnssec: 'check that NOTIFY is sent at the end of
...
NSEC3 chain generation failed' required more time
on some machines for the IXFR to complete. [RT #46388 ]
2017-10-25 09:21:14 +11:00
Mark Andrews
6b8e4d6e69
4782. [test] dnssec: 'checking positive and negative validation
...
with negative trust anchors' required more time to
complete on some machines. [RT #46386 ]
2017-10-25 09:13:05 +11:00
Michał Kępień
a94d68ce43
[master] Remove REQUIRE preventing change 4592 from working
...
Change 4592 was supposed to replace a REQUIRE with a conditional return.
While the latter was added, the former was not removed. Remove the
relevant REQUIRE to fix RT #43822 for good.
2017-10-24 21:11:31 +02:00
Evan Hunt
7810817b71
[master] update B.ROOT-SERVERS.NET
2017-10-24 09:17:08 -07:00
Mark Andrews
b49042a6a5
report test number
2017-10-24 15:02:00 +11:00
Evan Hunt
b1042e011c
[master] zone "file" option was undocumented
2017-10-23 19:39:56 -07:00
Evan Hunt
0207f6ff9e
[master] omit NS from authority section if it was in answer
...
4780. [bug] When answering ANY queries, don't include the NS
RRset in the authority section if it was already
in the answer section. [RT #44543 ]
2017-10-23 19:16:27 -07:00
Mark Andrews
65f8b51893
remove named.memstats and named.run
2017-10-24 12:51:03 +11:00
Mark Andrews
5bead588b7
report if named.run or named.memstats not removed after successful test
2017-10-24 12:45:13 +11:00
Mark Andrews
3f2e5f840a
update
2017-10-24 10:41:13 +11:00
Mark Andrews
c9438ee2e0
4779. [bug] Expire NTA at the start of the second. Don't update
...
the expiry value if the record has already expired
after a successful check. [RT #46368 ]
2017-10-24 09:54:25 +11:00
Mark Andrews
a59d687db4
4778. [test] Improve synth-from-dnssec testing. [RT #46352 ]
2017-10-24 09:49:07 +11:00
Evan Hunt
89636d8f30
[master] clean up a redundancy
...
4777. [cleanup] Removed a redundant call to configure_view_acl().
[RT #46369 ]
2017-10-23 11:11:19 -07:00
Michał Kępień
34ee1cdb56
[master] Extend hooks documentation
2017-10-23 14:17:44 +02:00
Michał Kępień
6853af8fc5
[master] Deconstify hook tables as replacing single entries is allowed
2017-10-23 14:17:07 +02:00
Tinderbox User
2e662cf514
regen master
2017-10-22 01:10:28 +00:00
Evan Hunt
321b8429f5
[master] doc nit: Base64 is capitalized and not hyphenated
2017-10-21 13:28:38 -07:00
Evan Hunt
172aa40e8f
[master] add DNS_RPZ_MAX_ZONES to OPTIONS
2017-10-21 13:27:55 -07:00
Tinderbox User
0fc861dea9
regen master
2017-10-21 01:13:05 +00:00
Evan Hunt
b284857f96
[master] mapapi should have been bumped when rbtdb changed
2017-10-20 09:39:55 -07:00
Mark Andrews
807ad469fe
use correct tag
...
(cherry picked from commit 317330c25a )
2017-10-20 19:06:28 +11:00
Mark Andrews
5ff48dca18
#include <inttypes.h>
2017-10-20 16:36:07 +11:00
Mark Andrews
66258ca349
4776. [bug] Improve portability of ht_test. [RT #46333 ]
2017-10-20 16:04:59 +11:00
Tinderbox User
2115e319ba
regen master
2017-10-20 01:09:53 +00:00
Tinderbox User
429a43b720
update copyright notice / whitespace
2017-10-19 23:46:02 +00:00
Tinderbox User
bf9b90f977
newcopyrights
2017-10-19 23:30:21 +00:00
Mark Andrews
d8442c1a15
s/made/may/
2017-10-20 10:29:24 +11:00
Mark Andrews
9e5439a6d8
note removal of <isc/util.h> from other header files
2017-10-20 10:25:45 +11:00
Mark Andrews
0fab171196
s/REQUIRE/ISC_REQUIRE/; include <isc/assertions.h> if ISC_REQUIRE is used; include <isc/likely.h> if ISC_{UN}LIKELY is used
2017-10-19 16:39:53 +11:00
Mark Andrews
583e355951
4775. [bug] Address Coverity warnings in ht_test.c and mem_test.c
...
[RT #46281 ]
2017-10-19 13:08:31 +11:00
Mark Andrews
fe79e2efbf
4774. [bug] <isc/util.h> was incorrectly included in several
...
header files. [RT #46311 ]
2017-10-19 12:26:32 +11:00
Tinderbox User
b7b8e298f6
regen master
2017-10-19 01:09:18 +00:00
Evan Hunt
d99d5249b7
[master] clarify releates notes about deprecated/ineffective options
2017-10-18 12:41:25 -07:00
Tinderbox User
208abf3fc7
regen master
2017-10-18 01:10:52 +00:00
Tinderbox User
6e87e723a4
update copyright notice / whitespace
2017-10-17 23:47:21 +00:00
Tinderbox User
4f554c2445
newcopyrights
2017-10-17 23:30:15 +00:00
Evan Hunt
30419509dd
[master] README and relnote fixes
2017-10-17 13:47:33 -07:00
Michał Kępień
2361003a88
[master] Doxygen fixes and cleanups
...
4773. [doc] Fixed generating Doxygen documentation for functions
annotated using certain macros. Miscellaneous
Doxygen-related cleanups. [RT #46276 ]
2017-10-17 06:56:46 +02:00
Tinderbox User
94d96121b9
regen master
2017-10-17 01:08:55 +00:00
Evan Hunt
31275c3f39
[master] fixes to release notes
...
- some typos
- call out removed features in a "Removed Features" section
- mention TAT logging
2017-10-16 17:46:12 -07:00
Evan Hunt
d63943f063
[master] fixes to release notes
...
- fixed some typos
- call out feature removals in a "Removed Features" section
- TAT logging
2017-10-16 17:45:08 -07:00
Tinderbox User
ebf5459c44
newcopyrights
2017-10-16 23:30:10 +00:00
Michał Kępień
9d47a267c4
[master] Regenerate presigned zone for the filter-aaaa system test [RT #46283 ]
...
This change is only applied to master for consistency with other
branches, where it is required to fix the filter-aaaa system test for
builds without DNSSEC support.
2017-10-16 09:38:34 +02:00
Evan Hunt
10c8c23739
[master] add newline
2017-10-12 16:10:36 -07:00
Evan Hunt
08a3dedda1
[master] also need to add lib directory reference
2017-10-12 16:08:03 -07:00
Evan Hunt
a341252fdd
[master] missing reference to libns
2017-10-12 15:46:32 -07:00
Tinderbox User
4b1eb6a502
regenerate
2017-10-12 18:28:32 +00:00
Tinderbox User
29d9488d16
regen master
2017-10-12 18:23:36 +00:00
Evan Hunt
838a7c6c6b
[master] Revert "add dns_keynode_initial, dns_keynode_trust, and dns_keytable_add2"
...
This reverts commit 8422d43dbc .
2017-10-12 11:06:29 -07:00
Evan Hunt
a8496f51a8
[master] copyrights
2017-10-12 10:57:39 -07:00
Evan Hunt
3abcd7cd8a
[master] Revert "[master] tag initializing keys so they can't be used for normal validation"
...
This reverts commit 560d8b833e .
This change created a potential race between key refresh queries and
root zone priming queries which could leave the root name servers in
the bad-server cache.
2017-10-12 10:53:35 -07:00
Evan Hunt
5daa633313
[master] typo
2017-10-11 23:25:46 -07:00
Evan Hunt
28c58f39e9
[master] fix sfcache test failures [rt46264]
2017-10-11 23:24:28 -07:00
Mark Andrews
8422d43dbc
add dns_keynode_initial, dns_keynode_trust, and dns_keytable_add2
2017-10-12 05:26:55 +00:00
Mark Andrews
b856e695d0
copyrights
2017-10-12 16:01:23 +11:00
Mark Andrews
5b60d0608a
test for Net::DNS::Nameserver
2017-10-12 15:33:47 +11:00
Tinderbox User
2bd2487f51
regenerate
2017-10-12 04:21:52 +00:00
Mark Andrews
fa644181f5
add Net::DNS prerequiste test
2017-10-12 15:19:45 +11:00
Tinderbox User
cac4114e9d
regen master
2017-10-12 04:19:20 +00:00
Evan Hunt
d0c3272eaa
[master] copyrights
2017-10-11 21:11:37 -07:00
Evan Hunt
99ab7127e1
[master] prep 9.12.0b1
2017-10-11 21:10:49 -07:00
Evan Hunt
560d8b833e
[master] tag initializing keys so they can't be used for normal validation
...
4773. [bug] Keys specified in "managed-keys" statements
can now only be used when validating key refresh
queries during initialization of RFC 5011 key
maintenance. If initialization fails, DNSSEC
validation of normal queries will also fail.
Previously, validation of normal queries could
succeed using the initializing key, potentially
masking problems with managed-keys. [RT #46077 ]
2017-10-11 21:01:13 -07:00
Tinderbox User
77c7d1c555
regen master
2017-10-12 01:08:20 +00:00
Evan Hunt
9f1e715a64
[master] X_OK bit not supported on windows
2017-10-11 17:43:16 -07:00
Evan Hunt
025f606463
[master] copyrights
2017-10-11 17:08:21 -07:00
Evan Hunt
89b2fc092d
[master] use NUL instead of /dev/null for KRB5_CONFIG on windows
2017-10-11 16:03:13 -07:00
Evan Hunt
94f022ec02
[master] fix AFL compile error
2017-10-11 15:26:35 -07:00
Mark Andrews
a9a983781e
reserve subscription flags
2017-10-12 09:19:37 +11:00
Michał Kępień
defa292088
[master] expanded libns unit tests
...
4772. [test] Expanded unit testing framework for libns, using
hooks to interrupt query flow and inspect state
at specified locations. [RT #46173 ]
2017-10-11 15:02:50 -07:00
Evan Hunt
b2597ce86b
[master] ignore cache when sending 5011 refresh queries
...
4771. [bug] When sending RFC 5011 refresh queries, disregard
cached DNSKEY rrsets. [RT #46251 ]
2017-10-11 14:24:29 -07:00
Evan Hunt
800fbdfc9c
[master] change to func tag
2017-10-11 10:21:10 -07:00
Michał Kępień
0d61fe5dfd
[master] Remove non-portable isc_buffer_printf() unit test
2017-10-11 09:30:48 +02:00
Ondřej Surý
5de02a075b
[master] reduce unnecessary priming queries
...
4770. [bug] Cache additional data from priming queries as glue.
Previously they were ignored as unsigned
non-answer data from a secure zone, and never
actually got added to the cache, causing hints
to be used frequently for root-server
addresses, which triggered re-priming. [RT #45241 ]
2017-10-11 09:11:47 +02:00
Ondřej Surý
1ca7e01aa7
[master] make writable directory and managed-keys directory mandatory - check in load_configuration (cherry-picked from rt46077b)
2017-10-11 08:44:26 +02:00
Ondřej Surý
b4c8cab0e2
Move KRB5_CONFIG=/dev/null to conf.sh.* so the named run in the tests gets the setting
2017-10-11 06:30:53 +00:00
Evan Hunt and Ondřej Surý
16d6fab2e5
[master] make writable directory and managed-keys directory mandatory
...
4769. [bug] The working directory and managed-keys directory has
to be writeable (and seekable). [RT #46077 ]
2017-10-11 08:21:23 +02:00
Mark Andrews
9492533d46
ignore Makefile
2017-10-11 10:59:46 +11:00
Ondřej Surý
74f46c45b0
Move KRB5_CONFIG=/dev/null to conf.sh.* so it gets applied to named and not only the tsiggss test
2017-10-10 12:22:10 +02:00
Mark Andrews
23a4f70be0
remove unused variable
2017-10-10 20:02:35 +11:00
Tinderbox User
005bdf067b
regen master
2017-10-10 01:08:02 +00:00
Tinderbox User
5414e48606
update copyright notice / whitespace
2017-10-09 23:45:53 +00:00
Tinderbox User
971503762e
newcopyrights
2017-10-09 23:30:15 +00:00
Evan Hunt
4c368378fc
[master] print.h; add missing win32 declaration
2017-10-09 15:01:46 -07:00
Evan Hunt
bd08d94f8b
[master] add dnssec-cds man page to ARM
2017-10-09 10:58:27 -07:00
Evan Hunt
c89f1bf1b6
[master] turn off memory fill by default
...
4768. [func] By default, memory is no longer filled with tag values
when it is allocated or freed; this improves
performance but makes debugging of certain memory
issues more difficult. "named -M fill" turns memory
filling back on. (Building "configure
--enable-developer", turns memory fill on by
default again; it can then be disabled with
"named -M nofill".) [RT #45123 ]
2017-10-09 09:55:37 -07:00
Michał Kępień
6cdff94830
[master] Remove unused variable "len" from buildfilename()
2017-10-09 13:53:02 +02:00
Michał Kępień
077f9626c2
[master] Add isc_buffer_printf()
...
4767. [func] Add a new function, isc_buffer_printf(), which can be
used to append a formatted string to the used region of
a buffer. [RT #46201 ]
2017-10-09 11:43:07 +02:00
Michał Kępień
c0f78692ee
[master] Sync draft-durand-doa-over-dns snippet in lib/dns/tests/rdata_test.c with draft version -03
2017-10-09 10:52:50 +02:00
Mark Andrews
5df3f839b2
4766. [cleanup] Addresss Coverity warnings. [RT #46150 ]
...
4765. [bug] Address potential INSIST in dnssec-cds. [RT #46150 ]
2017-10-09 18:34:31 +11:00
Mark Andrews
2d22725336
4764. [bug] Address portability issues in cds system test.
...
[RT #46214 ]
2017-10-09 12:58:14 +11:00
Tinderbox User
8c3ee6e6a5
regen master
2017-10-09 01:08:14 +00:00
Mark Andrews
42ed778b94
cleanup
2017-10-09 11:05:46 +11:00
Evan Hunt
cd20cbc9c0
[master] add DOA to ARM
2017-10-07 19:34:13 -07:00
Tinderbox User
7623f92536
regen master
2017-10-08 01:08:55 +00:00
Tinderbox User
3b5e75c07a
update copyright notice / whitespace
2017-10-07 23:45:58 +00:00
Tinderbox User
2e3b69a800
newcopyrights
2017-10-07 23:30:20 +00:00
Mark Andrews
fa512bc524
ignore Makefile
...
(cherry picked from commit 65d59e1418 )
2017-10-08 06:53:12 +11:00
Mark Andrews
02a669a9a6
don't force souce port
2017-10-08 06:42:39 +11:00
Mark Andrews
e09b9e7a91
silence VC compiler warning
2017-10-07 14:04:23 +11:00
Mark Andrews
fb5c7e04d3
add lib\ns to link directories
2017-10-07 13:41:10 +11:00
Evan Hunt
fd140b1261
[master] use mysql_config if available
...
4763. [contrib] Improve compatibility when building MySQL DLZ
module by using mysql_config if available.
[RT #45558 ]
2017-10-06 19:09:30 -07:00
Mark Andrews
352185e9a8
map tat to trust-anchor-telemetry
2017-10-07 12:11:02 +11:00
Tinderbox User
0f91b4097f
regen master
2017-10-07 01:09:38 +00:00
Evan Hunt
4c6df1653c
[master] add missing names
2017-10-06 17:38:35 -07:00
Mark Andrews
f28498dca1
add dependancies on libns
2017-10-07 11:14:36 +11:00
Mark Andrews
ec0a9c0525
check* depend on libns
2017-10-07 10:59:32 +11:00
Tinderbox User
6636beb00b
update copyright notice / whitespace
2017-10-06 23:45:54 +00:00
Tinderbox User
81198ca4b8
newcopyrights
2017-10-06 23:30:23 +00:00
Evan Hunt
995c41e8f0
[master] further restrict update-policy local
...
4762. [func] "update-policy local" is now restricted to updates
from local addresses. (Previously, other addresses
were allowed so long as updates were signed by the
local session key.) [RT #45492 ]
2017-10-06 15:43:31 -07:00
Evan Hunt
7baa39fc96
[master] it's okay if dns_db_setgluecachestats() returns ISC_R_NOTIMPLEMENTED
2017-10-06 12:52:21 -07:00
Evan Hunt
4101e6d31d
[master] incorrect goto label
2017-10-06 12:21:27 -07:00
Michał Kępień
417218837e
[master] Add support for DOA
...
4761. [protocol] Add support for DOA. [RT #45612 ]
2017-10-06 12:22:08 +02:00
Mukund Sivaraman
6bdb69aca4
Update CHANGES For #46028
2017-10-06 15:49:19 +05:30
Mukund Sivaraman
a0c408c90d
Add statistics for glue cache usage ( #46028 )
2017-10-06 15:44:37 +05:30
Mark Andrews
fffbe14289
add S
2017-10-06 21:10:42 +11:00
Mark Andrews
de4d6c4a2d
add ns include
2017-10-06 19:59:45 +11:00
Mark Andrews
2833d094b3
remove unmatched
2017-10-06 17:23:54 +11:00
Mark Andrews
b386a826a6
call ns_log_init so that the categories there are registered
2017-10-06 16:41:30 +11:00
Evan Hunt
6e52e19e3b
[master] use backquotes not $()
2017-10-05 20:17:24 -07:00
Mark Andrews
b41c1aacbc
4759. [func] Add logging channel "trust-anchor-telementry" to
...
record trust-anchor-telementry in incoming requests.
Both _ta-XXXX.<anchor>/NULL and EDNS KEY-TAG options
are logged. [RT #46124 ]
2017-10-06 13:01:14 +11:00
Evan Hunt
99e0079380
[master] fix topology doc
...
4758. [doc] Remove documentation of unimplemented "topology".
[RT #46161 ]
2017-10-05 18:49:33 -07:00
Tinderbox User
26cde05da4
regen master
2017-10-06 01:08:15 +00:00
Tinderbox User
ddcf6c7d2b
update copyright notice / whitespace
2017-10-05 23:45:49 +00:00
Tinderbox User
5f55e84a76
newcopyrights
2017-10-05 23:30:33 +00:00
Evan Hunt
94f3abed4c
[master] remove no-longer-needed check for nonexistence
2017-10-05 11:35:23 -07:00
Evan Hunt
1e14ea024a
[master] revise style guide information on bracing
2017-10-05 11:28:00 -07:00
Evan Hunt
3f3b51e7af
[master] fix error reporting on fclose() failure [RT #46199 ]
2017-10-05 11:07:21 -07:00
Evan Hunt
c6a63672d1
[master] remove reference to lwresd
2017-10-05 10:00:22 -07:00
Evan Hunt
6e51774a60
[master] remove cds test that fails with --enable-fixed-rrset
2017-10-05 09:58:52 -07:00
Evan Hunt
ba37674d03
[master] dnssec-cds
...
4757. [func] New "dnssec-cds" command creates a new parent DS
RRset based on CDS or CDNSKEY RRsets found in
a child zone, and generates either a dsset file
or stream of nsupdate commands to update the
parent. Thanks to Tony Finch. [RT #46090 ]
2017-10-05 01:04:18 -07:00
Michał Kępień
14afc8425b
[master] Prevent dig INSIST failures and hangs in some failure modes
...
4756. [bug] Interrupting dig could lead to an INSIST failure after
certain errors were encountered while querying a host
whose name resolved to more than one address. Change
4537 increased the odds of triggering this issue by
causing dig to hang indefinitely when certain error
paths were evaluated. dig now also retries TCP queries
(once) if the server gracefully closes the connection
before sending a response. [RT #42832 , #45159 ]
2017-10-05 09:42:31 +02:00
Evan Hunt
d7ee3ed488
[master] don't log when NZF file doesn't exist
...
4755. [cleanup] Silence unnecessary log message when NZF file doesn't
exist. [RT #46186 ]
2017-10-05 00:12:14 -07:00
Evan Hunt
c370305901
[master] 4754. [bug] dns_zone_setview needs a two stage commit to properly
...
handle errors. [RT #45841 ]
2017-10-04 23:44:15 -07:00
Evan Hunt
abaa9755d2
[master] fix tag
2017-10-04 18:43:35 -07:00
Tinderbox User
7ac51a8380
update copyright notice / whitespace
2017-10-04 23:45:46 +00:00
Evan Hunt
bdf8fee0e9
[master] Merge branch 'master' of ssh://repo.isc.org/proj/git/prod/bind9
2017-10-04 16:39:23 -07:00
Evan Hunt
319aad330d
[master] remove nslint, query-loc and zkt from contrib
...
4753. [contrib] Software obtainable from known upstream locations
(i.e., zkt, nslint, query-loc) has been removed.
Links to these and other packages can be found at
https://www.isc.org/community/tools [RT #46182 ]
2017-10-04 16:38:54 -07:00
Tinderbox User
653ca094e8
newcopyrights
2017-10-04 23:30:13 +00:00
Evan Hunt
9a28f66610
[master] copy the color-coded test functions to conf.sh.win32
2017-10-04 09:27:40 -07:00
Mark Andrews
34efd9ad93
cast to unsigned int
2017-10-04 20:55:23 +11:00
Mark Andrews
055d310e54
add L for wide
2017-10-04 20:44:01 +11:00
Mark Andrews
4615bc5408
stderr to /dev/null also
2017-10-04 19:26:44 +11:00
Mark Andrews
d1e823af15
test for 'printf'
2017-10-04 19:18:56 +11:00
Mark Andrews
e541ee4599
silence compiler warning
2017-10-04 18:07:01 +11:00
Mark Andrews
396125eefe
#undef inet_ntop
2017-10-04 17:50:01 +11:00
Mark Andrews
5fcdb09126
4752. [test] Add unit test for isc_net_pton. [RT #46171 ]
2017-10-04 14:10:40 +11:00
Evan Hunt
0bb0890867
[master] missing declaration of INSIST
2017-10-03 20:02:38 -07:00
Evan Hunt
d227e15567
[master] remove spurious control character
2017-10-03 19:41:44 -07:00
Evan Hunt
e1c96ad444
[master] tag mismatches
2017-10-03 19:38:59 -07:00
Tinderbox User
ca0ae70046
update copyright notice / whitespace
2017-10-03 23:45:48 +00:00
Tinderbox User
0218bd7957
newcopyrights
2017-10-03 23:30:15 +00:00
Evan Hunt
a5a60037e5
[master] fix out-of-order synchronization that affected the dnssec test
2017-10-03 14:07:08 -07:00
Mark Andrews
57c04ec865
address shadowed warning
2017-10-04 07:29:13 +11:00
Evan Hunt
9510de7849
[master] fix a test error in smartsign
2017-10-03 12:19:36 -07:00
Evan Hunt
b47814be1c
[master] address shadowed variable warning
2017-10-03 11:53:46 -07:00
Evan Hunt
e515fae2ae
[master] dnssec-signzone can now add sync records
...
4751. [func] "dnssec-signzone -S" can now automatically add parent
synchronization records (CDS and CDNSKEY) according
to key metadata set using the -Psync and -Dsync
options to dnssec-keygen and dnssec-settime.
[RT #46149 ]
2017-10-03 01:11:36 -07:00
Evan Hunt
762dc8b871
[master] rndc managed-keys destroy
...
4750. [func] "rndc managed-keys destroy" shuts down RFC 5011 key
maintenance and deletes the managed-keys database.
If followed by "rndc reconfig" or a server restart,
key maintenance is reinitialized from scratch.
This is primarily intended for testing. [RT #32456 ]
2017-10-03 01:05:46 -07:00
Evan Hunt
f29359299a
[master] de-DLV
...
4749. [func] The ISC DLV service has been shut down, and all
DLV records have been removed from dlv.isc.org.
- Removed references to ISC DLV in documentation
- Removed DLV key from bind.keys
- No longer use ISC DLV by default in delv
[RT #46155 ]
2017-10-03 00:41:57 -07:00
Mark Andrews
a009d03a1a
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132 ]
2017-10-03 14:54:19 +11:00
Tinderbox User
7cb14b610e
regen master
2017-10-03 01:07:20 +00:00
Mark Andrews
c85b467dc0
4747. [func] Synthesis of responses from DNSSEC-verified records.
...
Stage 3 - synthesize NODATA responses. [RT #40138 ]
2017-10-03 11:16:37 +11:00
Tinderbox User
af3f476e77
regen master
2017-10-01 01:08:38 +00:00
Evan Hunt
c0f8a8f30a
[master] add configured prefixes to summary
...
4746. [cleanup] Add configured prefixes to configure summary
output. [RT #46153 ]
2017-09-30 10:01:01 -07:00
Tinderbox User
a57a6dbe62
update copyright notice / whitespace
2017-09-29 23:45:51 +00:00
Tinderbox User
bf50a60e39
newcopyrights
2017-09-29 23:30:10 +00:00
Evan Hunt
3bb6150cae
[master] color-coded test output
...
4745. [test] Add color-coded pass/fail messages to system
tests when running on terminals that support them.
[RT #45977 ]
2017-09-29 12:20:55 -07:00
Tinderbox User
5fbc5c9225
regen master
2017-09-29 01:08:37 +00:00
Tinderbox User
791aa3e9be
update copyright notice / whitespace
2017-09-28 23:45:49 +00:00
Mark Andrews
dc0a792d94
4744. [bug] Suppress trust-anchor-telementry queries if
...
validation is disabled. [RT #46131 ]
2017-09-29 09:33:06 +10:00
Tinderbox User
83b5464a1f
newcopyrights
2017-09-28 23:30:08 +00:00
Evan Hunt
24172bd2ee
[master] completed and corrected the crypto-random change
...
4724. [func] By default, BIND now uses the random number
functions provided by the crypto library (i.e.,
OpenSSL or a PKCS#11 provider) as a source of
randomness rather than /dev/random. This is
suitable for virtual machine environments
which have limited entropy pools and lack
hardware random number generators.
This can be overridden by specifying another
entropy source via the "random-device" option
in named.conf, or via the -r command line option;
however, for functions requiring full cryptographic
strength, such as DNSSEC key generation, this
cannot be overridden. In particular, the -r
command line option no longer has any effect on
dnssec-keygen.
This can be disabled by building with
"configure --disable-crypto-rand".
[RT #31459 ] [RT #46047 ]
2017-09-28 10:09:22 -07:00
Mark Andrews
86e5d14e82
improve forensics
2017-09-28 22:14:30 +10:00
Mark Andrews
768f6c995f
add dns_name_istat to lib/dns/win32/libdns.def.in
2017-09-28 17:52:09 +10:00
Mark Andrews
f735293431
4743. [func] Exclude trust-anchor-telementry queries from
...
synth-from-dnssec processing. [RT #46123 ]
2017-09-28 16:40:45 +10:00
Mark Andrews
e00fdad191
4742. [func] Synthesis of responses from DNSSEC-verified records.
...
Stage 2 - synthesis of records from wildcard data.
If the dns64 or filter-aaaa* is configured then the
involved lookups are currently excluded. [RT #40138 ]
2017-09-28 15:16:26 +10:00
Tinderbox User
e880197f31
update copyright notice / whitespace
2017-09-27 23:45:52 +00:00
Tinderbox User
6d5608c14d
newcopyrights
2017-09-27 23:30:08 +00:00
Mark Andrews
d386eb54c6
switch to using snprintf from sprintf
2017-09-28 07:15:46 +10:00
Mukund Sivaraman
abb8813a33
Make isc_refcount_current() atomically read the counter value ( #46074 )
2017-09-27 15:09:04 +05:30
Mark Andrews
2495de04a5
use %u and cast to unsigned int
2017-09-27 17:57:07 +10:00
Mark Andrews
42ee853c23
check for ISC_R_EOF
2017-09-27 16:19:07 +10:00
Mark Andrews
73074e954a
4740. [cleanup] Avoid triggering format-truncated warnings. [RT #46107 ]
2017-09-27 16:02:02 +10:00
Mark Andrews
b4c31c8795
tcp test got reversed
2017-09-27 15:19:34 +10:00
Mark Andrews
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Mark Andrews
744061a03b
4738. [port] win32: strftime mishandles %Z. [RT #46039 ]
2017-09-26 23:32:40 +10:00
Mark Andrews
08151d7fce
4737. [cleanup] Address Coverity warnings. [RT #46012 ]
2017-09-26 23:21:49 +10:00
Michał Kępień
acc3728c47
[master] Comment NSEC3-related code and fix a few minor issues
...
4736. [cleanup] (a) Added comments to NSEC3-related functions in
lib/dns/zone.c. (b) Refactored NSEC3 salt formatting
code. (c) Minor tweaks to lock and result handling.
[RT #46053 ]
2017-09-26 11:28:28 +02:00
Mukund Sivaraman
eb1e4cce6c
Refactor
...
Reviewed on Jabber by Evan.
2017-09-26 14:54:36 +05:30
Mark Andrews
2919a6d34b
4735. [bug] Add @ISC_OPENSSL_LIBS@ to isc-config. [RT #46078 ]
2017-09-23 14:57:27 +10:00
Evan Hunt
e02abf7ed8
[master] contrib: dns-over-tls sample configurations
...
4734. [contrib] Added sample configuration for DNS-over-TLS in
contrib/dnspriv.
2017-09-22 15:11:44 -07:00
Mukund Sivaraman
fb9712f639
Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
2017-09-22 15:14:04 +05:30
Mark Andrews
6138c5a5e4
#include <isc/string.h> as it includes both <string.h> and <strings.h> if they both exist
2017-09-22 18:08:54 +10:00
Mark Andrews
3148dee766
correct ./.gitattributes
2017-09-22 14:32:02 +10:00
Tinderbox User
81c9fdd472
regen master
2017-09-22 01:07:54 +00:00
Tinderbox User
8200eb4c60
update copyright notice / whitespace
2017-09-21 23:47:11 +00:00
Tinderbox User
83df1994f2
newcopyrights
2017-09-21 23:30:17 +00:00
Evan Hunt
2278a14b52
[master] fix typos
2017-09-21 10:12:53 -07:00
Mark Andrews
af7ded82e0
alphabetise
2017-09-21 17:48:26 +10:00
Tinderbox User
243b3ec486
regen master
2017-09-21 07:23:48 +00:00
Mark Andrews
f8c82bbf39
#include <stdint.h>
2017-09-21 14:18:59 +10:00
Mark Andrews
e8703033c5
atomic_compare_exchange_strong_explicit's second argument should not be atomic_*
2017-09-21 13:41:22 +10:00
Mark Andrews
d17cf1cade
explicitly list test programs
2017-09-21 12:56:33 +10:00
Tinderbox User
cd8e7e8bf8
regen master
2017-09-21 01:10:02 +00:00
Evan Hunt
7300f231d6
[master] remove duplicated word
2017-09-20 12:16:30 -07:00
Evan Hunt
7a2112ff7d
[master] fix memory growth problem
...
4733. [bug] Change #4706 introduced a bug causing TCP clients
not be reused correctly, leading to unconstrained
memory growth. [RT #46029 ]
2017-09-20 12:12:02 -07:00
Mukund Sivaraman
924d93d4e7
Update configure message to be same as for older branches
2017-09-20 13:40:03 +05:30
Mukund Sivaraman
0c03a0fb2d
Show configure message for "checking whether to use OpenSSL hash functions..."
2017-09-20 13:37:52 +05:30
Tinderbox User
db22b3ea1f
regen master
2017-09-20 01:08:59 +00:00
Tinderbox User
ffbe6b9537
update copyright notice / whitespace
2017-09-19 23:46:23 +00:00
Tinderbox User
39a967ff0e
newcopyrights
2017-09-19 23:30:23 +00:00
Evan Hunt
d12179dd98
[master] remove duplication
2017-09-19 12:56:57 -07:00
Mukund Sivaraman
c750533ce1
Fix changeset numbers
2017-09-19 19:52:18 +05:30
Mukund Sivaraman
32bcafc316
Change default minimal-responses setting to no-auth-recursive ( #46016 )
2017-09-19 19:49:02 +05:30
Mukund Sivaraman
e2ed24aa4d
Fix use after free when closing an LMDB ( #46000 )
2017-09-19 19:42:13 +05:30
Mukund Sivaraman
98998f3ddd
Fix out of bounds access in DHCID totext() method ( #46001 )
2017-09-19 19:30:28 +05:30
Mukund Sivaraman
d5707676e4
Don't use memset() to wipe memory ( #45947 )
2017-09-19 16:16:45 +05:30
Mukund Sivaraman
404c9b1c53
Use C11's stdatomic.h instead of isc_atomic where available
2017-09-19 15:43:45 +05:30
Mark Andrews
fb088a00cf
remove unimplement rate-limit option [RT #46030 ]
2017-09-19 13:15:24 +10:00
Tinderbox User
0e35e567d1
regen master
2017-09-19 01:08:19 +00:00
Tinderbox User
cb5bc50c91
update copyright notice / whitespace
2017-09-18 23:48:50 +00:00
Tinderbox User
a9631d156a
newcopyrights
2017-09-18 23:30:32 +00:00
Evan Hunt
49740fb0f2
[master] add I: when echoing information about failed tests
2017-09-18 14:15:37 -07:00
Michał Kępień
f665c724e4
[master] Prevent possible infinite signing loop after retransferring an inline-signed slave using NSEC3
...
4727. [bug] Retransferring an inline-signed slave using NSEC3
around the time its NSEC3 salt was changed could result
in an infinite signing loop. [RT #45080 ]
2017-09-18 09:18:45 +02:00
Michał Kępień
c2179857de
[master] Improve handling of TCP_FASTOPEN on FreeBSD
...
4726. [port] Prevent setsockopt() errors related to TCP_FASTOPEN
from being logged on FreeBSD if the kernel does not
support it. Notify the user when the kernel does
support TCP_FASTOPEN, but it is disabled by sysctl.
Add a new configure option, --disable-tcp-fastopen, to
disable use of TCP_FASTOPEN altogether. [RT #44754 ]
2017-09-18 08:34:41 +02:00
Mark Andrews
0bcb8b0b7c
4725. [bug] Nsupdate: "recvsoa" was incorrectly reported for
...
failures in sending the update message. The correct
location to be reported is "update_completed".
[RT #46014 ]
2017-09-18 14:28:39 +10:00
Mark Andrews
c3506e8d75
update copyrights
2017-09-18 13:30:46 +10:00
Francis Dupont
8a98277811
Made RAND_status check optional (broke --disable-crypto-rand)
2017-09-17 12:02:09 +02:00
Francis Dupont
c43ed04d37
DNS_OPENSSL_LIBS -> DST_OPENSSL_LIBS
2017-09-17 11:52:49 +02:00
Francis Dupont
aed87173fd
Moved last occurrence of ns_g_entropy to named_g_entropy
2017-09-17 09:50:10 +02:00
Evan Hunt
6e5ae91479
[master] silence compiler warning
2017-09-16 21:01:06 -07:00
Tinderbox User
e98d70750c
regen master
2017-09-17 01:09:06 +00:00
Tinderbox User
0b115f3b55
update copyright notice / whitespace
2017-09-16 23:46:04 +00:00
Evan Hunt
61996344fe
[master] clarify CHANGES, add relnote
2017-09-16 12:06:54 -07:00
Francis Dupont
ad67f0bb42
Added isc_entropy_sethook in exported symbols
2017-09-16 15:57:06 +02:00
Francis Dupont
5fc7163211
Added isc_entropy_usehook in exported symbols
2017-09-16 15:56:13 +02:00
Francis Dupont
06a8051d24
Finished merge of rt31459d (openssl random)
2017-09-16 14:06:06 +02:00
Francis Dupont
9c829f4f96
Merged rt31459d (openssl random)
2017-09-16 13:53:29 +02:00
Evan Hunt
1b186f7aac
[master] use <command> consistently instead of occasionally using <option>
2017-09-15 23:11:23 -07:00
Evan Hunt
8bcd080677
[master] display < and > correctly
2017-09-15 23:09:39 -07:00
Tinderbox User
c0cc899496
update copyright notice / whitespace
2017-09-15 23:46:07 +00:00
Mark Andrews
dc71aa898a
don't use strlcat with non NUL terminated strings rt45981_stage3
2017-09-15 13:14:16 +10:00
Tinderbox User
bdd3edceb9
regen master
2017-09-15 01:08:50 +00:00
Mark Andrews
3128cd21e3
4723. [bug] Statistics counter DNSTAPdropped was misidentified
...
as DNSSECdropped. [RT #46002 ]
2017-09-14 23:51:19 +00:00
Tinderbox User
f54a365aeb
update copyright notice / whitespace
2017-09-14 23:46:40 +00:00
Tinderbox User
741fe699dc
newcopyrights
2017-09-14 23:30:13 +00:00
Evan Hunt
0199666d39
[master] add thanks to APNIC and add missing note for serve-stale
2017-09-14 11:48:21 -07:00
Evan Hunt
364cabf431
[master] revert dlzexternal changes for portability
2017-09-14 11:33:24 -07:00
Mark Andrews
c59bf663e8
silence warning
2017-09-14 19:02:27 +10:00
Mark Andrews
bace03316c
#include <isc/string.h>
...
(cherry picked from commit 7eb73f6288 )
2017-09-14 18:59:04 +10:00
Mark Andrews
5fb0c09a5e
#include <isc/string.h>
2017-09-14 18:54:46 +10:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Mukund Sivaraman
bbe9f1dd95
Link dlzexternal system test's driver against libisc
2017-09-14 13:23:41 +05:30
Evan Hunt
077d9d2838
[master] cast char *
2017-09-13 22:03:56 -07:00
Evan Hunt
9b729a06b0
[master] clean up bufsize errors
2017-09-13 21:18:26 -07:00
Tinderbox User
e3bd90ee1b
regen master
2017-09-14 01:12:10 +00:00
Tinderbox User
33987cb5fd
update copyright notice / whitespace
2017-09-13 23:48:32 +00:00
Tinderbox User
603a4815b0
newcopyrights
2017-09-13 23:31:06 +00:00
Mark Andrews
21c12d0107
fix filenamelen so it has the buffer length rather than buffer length - 1
2017-09-14 09:29:28 +10:00
Evan Hunt
54c5723e31
[master] fix incorrect comment
2017-09-13 13:53:49 -07:00
Mukund Sivaraman
e5eca6eebb
Fix output string size in GOST unittest
2017-09-14 01:36:08 +05:30
Mukund Sivaraman
93f7384928
Fix gost unittest failure
2017-09-14 00:29:04 +05:30
Mukund Sivaraman
188fa6ea68
Add missing <isc/print.h>
2017-09-13 19:44:47 +05:30
Mukund Sivaraman
8997fc0a3f
Tweak hash_test.c further, passing sizeof(str)
2017-09-13 19:30:03 +05:30
Mukund Sivaraman
a2873eabf6
Tweak
2017-09-13 19:22:03 +05:30
Mukund Sivaraman
bc5e0a6868
Fix size of output string in hash tests
2017-09-13 19:21:08 +05:30
Mark Andrews
4c9ba9ded8
add #include <isc/string.h>
2017-09-13 23:43:43 +10:00
Francis Dupont
804ca1d926
Added isc/string.h to shutdown_test which got strlcpy
2017-09-13 14:34:54 +02:00
Evan Hunt
114f95089c
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
2017-09-13 00:14:37 -07:00
Evan Hunt
e0fc12185d
[rt31459d] silence compiler warning
2017-09-13 00:02:53 -07:00
Evan Hunt
06b082c230
[rt31459d] fix first if test in setoption
...
(cherry picked from commit abda73147d )
2017-09-12 23:51:51 -07:00
Evan Hunt
20502f35dd
[master] allow CDS/CDNSKEY records to be signed with only KSK
...
4721. [func] 'dnssec-signzone -x' and 'dnssec-dnskey-kskonly'
options now apply to CDNSKEY and DS records as well
as DNSKEY. Thanks to Tony Finch. [RT #45689 ]
2017-09-12 23:09:48 -07:00
Evan Hunt
dcbe6a66d7
[rt31459d] setup entropy in dns_lib_init()
2017-09-12 23:03:49 -07:00
Evan Hunt
cc24a8725f
[rt31459d] update the newer tools
2017-09-12 22:49:35 -07:00
Mark Andrews
e930487ce7
give more time for the initial signing of bits in the inline signing test to complete
2017-09-13 12:18:59 +10:00
Mark Andrews
84feab03a9
add dns_name_towire2 to lib/dns/win32/libdns.def.in
2017-09-13 12:10:24 +10:00
Evan Hunt
586e65ea5c
[rt31459d] rebased rt31459c
2017-09-12 19:05:46 -07:00
Mark Andrews
abda73147d
fix first if test in setoption
2017-09-13 11:57:00 +10:00
Evan Hunt
30973087a0
[master] add prefetch stat counter
...
4720. [func] Added a statistics counter to track prefetch
queries. [RT #45847 ]
2017-09-12 18:41:47 -07:00
Mark Andrews
34130ee25a
4719. [bug] Address PVS static analyzer warnings. [RT #45946 ]
2017-09-13 09:50:51 +10:00
Tinderbox User
1e33899f86
update copyright notice / whitespace
2017-09-12 23:46:14 +00:00
Tinderbox User
7aa2965ab1
newcopyrights
2017-09-12 23:31:07 +00:00
Mark Andrews
4a258c3c42
4718. [func] Avoid seaching for a owner name compression pointer
...
more than once when writing out a RRset. [RT #45802 ]
2017-09-13 09:24:34 +10:00
Evan Hunt
25b33bede4
[master] improve handling of qcount=0 replies
...
4717. [bug] Treat replies with QCOUNT=0 as truncated if TC=1,
FORMERR if TC=0, and log the error correctly.
[RT #45836 ]
2017-09-12 15:26:30 -07:00
Mark Andrews
88d3c4a228
add placeholder
2017-09-13 06:36:10 +10:00
Evan Hunt
d2d9f1e31e
[master] move timermgr shutdown to prevent test crashes
2017-09-12 12:56:00 -07:00
Evan Hunt
7ffd6934ba
[master] install include files
2017-09-12 10:38:22 -07:00
Evan Hunt
a9dfb7ef6e
[master] update copyrights, bump release tag
2017-09-11 22:06:05 -07:00
Mark Andrews
0a1359034d
4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax
...
in the Json cache statistics. [RT #45980 ]
2017-09-12 14:55:03 +10:00
Mark Andrews
c75e9c7630
4714. [port] openbsd/libressl: add support for building with
...
--enable-openssl-hash. [RT #45982 ]
2017-09-12 14:19:10 +10:00
Mark Andrews
9dd9d36efd
update
2017-09-12 12:47:50 +10:00
Evan Hunt
fddd82bdb1
[master] add crypto libs
2017-09-11 17:49:58 -07:00
Evan Hunt
534c43860e
[master] update copyrights
2017-09-11 17:47:12 -07:00
Tinderbox User
28e80dd3bb
regenerate
2017-09-12 00:44:10 +00:00
Tinderbox User
c6885311b7
regen master
2017-09-12 00:37:02 +00:00
Evan Hunt
0c9683cff8
[master] prep 9.12.0a1
2017-09-11 17:30:39 -07:00
Tinderbox User
8e58ea7157
regenerate
2017-09-12 00:26:30 +00:00
Tinderbox User
ce4c658f65
regen master
2017-09-12 00:16:47 +00:00
Mark Andrews
b96554b82e
add missing end </command> tags
2017-09-12 10:05:16 +10:00
Evan Hunt
f3ce87e1a1
[master] copyrights
2017-09-11 17:01:09 -07:00
Tinderbox User
37d053bce6
Merge branch 'master' of ssh://repo.isc.org/proj/git/prod/bind9
2017-09-11 23:52:47 +00:00
Tinderbox User
c7eb55a064
regenerate
2017-09-11 23:52:26 +00:00
Tinderbox User
0d9572e437
update copyright notice / whitespace
2017-09-11 23:46:33 +00:00
Evan Hunt
d3ac0bcdb7
[master] clean up release notes and README for alpha
2017-09-11 16:44:39 -07:00
Evan Hunt
de1591889a
[master] fix memory leak in notify test
2017-09-11 16:10:49 -07:00
Evan Hunt
7fb611d331
[master] fix prototypes
2017-09-11 15:48:20 -07:00
Evan Hunt
b103b0c011
[master] remap getaddrinfo() to irs_getgetaddrinfo()
...
The libirs version of getaddrinfo() cannot be called from within BIND9.
2017-09-11 15:03:57 -07:00
Evan Hunt
a507cc4892
[master] whitespace
2017-09-11 13:30:40 -07:00
Evan Hunt
2e0493c046
[master] add print.h
2017-09-11 12:37:58 -07:00
Evan Hunt
3363f3147a
[master] DNS Response Policy Service API
...
4713. [func] Added support for the DNS Response Policy Service
(DNSRPS) API, which allows named to use an external
response policy daemon when built with
"configure --enable-dnsrps". Thanks to Vernon
Schryver and Farsight Security. [RT #43376 ]
2017-09-11 11:57:43 -07:00
Evan Hunt
8e014c45ae
[master] dig: retain domain when retrying with tcp
...
4712. [bug] "dig +domain" and "dig +search" didn't retain the
search domain when retrying with TCP. [RT #45547 ]
2017-09-11 10:10:16 -07:00
Evan Hunt
3e66721b35
[master] add missing rrtypes to genzones
...
4711. [test] Some RR types were missing from genzones.sh.
[RT #45782 ]
2017-09-11 09:34:41 -07:00
Tinderbox User
8334115783
regen master
2017-09-10 01:10:23 +00:00
Tinderbox User
672586440b
update copyright notice / whitespace
2017-09-09 23:46:01 +00:00
Tinderbox User
ee442df216
newcopyrights
2017-09-09 23:30:20 +00:00
Evan Hunt
e06d728f13
[master] removed outdated library reference
2017-09-09 11:49:04 -07:00
Mark Andrews
fc39a3b9b9
add @ISC_OPENSSL_LIBS@
2017-09-09 20:40:05 +10:00
Francis Dupont
90f6140832
Finished merge of rt45019 (openssl hash default)
2017-09-09 10:30:16 +02:00
Evan Hunt
bcb7c7fdad
[master] fix tag
2017-09-08 18:22:12 -07:00
Tinderbox User
24926303e4
update copyright notice / whitespace
2017-09-08 23:46:05 +00:00
Evan Hunt
f13385770e
[master] change hash function for RRL
...
4709. [cleanup] Use dns_name_fullhash() to hash names for RRL.
[RT #45435 ]
2017-09-08 15:46:15 -07:00
Evan Hunt
8eb88aafee
[master] add libns and remove liblwres
...
4708. [cleanup] Legacy Windows builds (i.e. for XP and earlier)
are no longer supported. [RT #45186 ]
4707. [func] The lightweight resolver daemon and library (lwresd
and liblwres) have been removed. [RT #45186 ]
4706. [func] Code implementing name server query processing has
been moved from bin/named to a new library "libns".
Functions remaining in bin/named are now prefixed
with "named_" rather than "ns_". This will make it
easier to write unit tests for name server code, or
link name server functionality into new tools.
[RT #45186 ]
2017-09-08 13:47:34 -07:00
Mark Andrews
164616cb9c
don't attempt to link -lcrypto multiple times
2017-09-08 16:15:37 +10:00
Evan Hunt
509ba96497
[rt45019] separate DNS_CRYPTO_LIBS from ISC_OPENSSL_LIBS and use both
2017-09-07 22:05:20 -07:00
Evan Hunt
60387eb495
[master] windows can't cope with #ifdef in a macro expansion
2017-09-07 21:02:17 -07:00
Mark Andrews
b6b33d0f48
ISCLIBS should be after DNSLIBS
2017-09-08 12:52:48 +10:00
Tinderbox User
7bd8900aa8
update copyright notice / whitespace
2017-09-07 23:46:43 +00:00
Tinderbox User
eaad53d4c5
newcopyrights
2017-09-07 23:30:28 +00:00
Mark Andrews
e01d88e885
don't disturb search->chain when calling find_coveringnsec
2017-09-08 06:48:41 +10:00
Evan Hunt
1fd1c0b027
[rt45019] fix some library ordering problems
2017-09-06 23:01:54 -07:00
Mark Andrews
5bbf111a03
placeholder
2017-09-07 13:11:59 +10:00
Mark Andrews
6adc40b3ce
4704. [cleanup] Silence Visual Studio compiler warnings. [RT #45898 ]
2017-09-07 12:57:55 +10:00
Mark Andrews
7e40d6274e
4703. [bug] BINDInstall.exe was missing some buffer length checks.
...
[RT #45898 ]
2017-09-07 12:56:16 +10:00
Mark Andrews
d1f34ef400
4702. [func] Update function declarations to use
...
dns_masterstyle_flags_t for style flags. [RT #45924 ]
2017-09-07 12:48:16 +10:00
Tinderbox User
40780aa36f
update copyright notice / whitespace
2017-09-06 23:46:23 +00:00
Tinderbox User
28b644f5d6
newcopyrights
2017-09-06 23:30:50 +00:00
Mark Andrews
86c86693e3
move declaration to start of block
2017-09-07 06:39:24 +10:00
Evan Hunt
e90926bb9e
[master] refactor tsig.c
...
4701. [cleanup] Refactored lib/dns/tsig.c to reduce code
duplication and simplify the disabling of MD5.
[RT #45490 ]
2017-09-06 10:57:40 -07:00
Francis Dupont
86e15a0b59
Changed --enable-openssl-hash default
2017-09-06 11:28:02 +02:00
Mark Andrews
023ab19634
add quotes arount $send_response
2017-09-06 19:26:10 +10:00
Mark Andrews
eeb29e6ef9
add PYTHON_INSTALL_DIR
2017-09-06 12:23:50 +10:00
Mark Andrews
b56021f0be
silence 'staleanswersok' may be used uninitialized in this function warning. [RT #14147
2017-09-06 12:16:10 +10:00
Mark Andrews
09ccb70e11
add missing defines
2017-09-06 11:17:46 +10:00
Tinderbox User
95bbb75143
regen master
2017-09-06 01:11:43 +00:00
Mark Andrews
45df736f88
add missing functions
2017-09-06 10:39:53 +10:00
Mark Andrews
d1cd273b7b
fix merge error
2017-09-06 10:04:17 +10:00
Mark Andrews
df50751585
4700. [func] Serving of stale answers is now supported. This
...
allows named to provide stale cached answers when
the authoritative server is under attack.
See max-stale-ttl, stale-answer-enable,
stale-answer-ttl. [RT #44790 ]
2017-09-06 09:58:29 +10:00
Tinderbox User
e8a4edf0ed
regen master
2017-09-05 01:10:49 +00:00
Tinderbox User
421f833b67
update copyright notice / whitespace
2017-09-04 23:46:16 +00:00
Tinderbox User
a09cf3ef4c
newcopyrights
2017-09-04 23:30:44 +00:00
Mark Andrews
e2a737bcb8
4699. [func] Multiple cookie-secret clauses can now be specified.
...
The first one specified is used to generate new
server cookies. [RT #45672 ]
2017-09-05 09:19:45 +10:00
Mark Andrews
a322a0f31c
silence converity warning [RT #45891 ]
2017-09-05 07:38:13 +10:00
Mark Andrews
10076239f6
missing (const)
2017-09-04 18:22:52 +10:00
Michał Kępień
a5dc1bc395
[master] Add --with-python-install-dir configure option
...
4698. [port] Add --with-python-install-dir configure option to allow
specifying a nonstandard installation directory for
Python modules. [RT #45407 ]
2017-09-04 08:40:23 +02:00
Mark Andrews
39a7292aab
check for dnssec support
2017-09-04 10:23:03 +10:00
Tinderbox User
24036b61f6
update copyright notice / whitespace
2017-09-01 23:45:56 +00:00
Mukund Sivaraman
cdabd36dc7
Tweak code (reviewed by Mark)
2017-09-01 12:41:13 +05:30
Mark Andrews
eb7c571e93
specify algorithm
2017-09-01 15:34:38 +10:00
Mark Andrews
0f1fc8f421
specify algorithm; remove partial duplicate test; add missing test numbers
2017-09-01 14:52:26 +10:00
Mark Andrews
5c269d84c2
remove development logging
2017-09-01 14:45:26 +10:00
Mark Andrews
a8a20462b5
4697. [bug] Restore workaround for Microsoft Windows TSIG hash
...
computation bug. [RT #45854 ]
2017-09-01 11:17:59 +10:00
Tinderbox User
e640ea9343
regen master
2017-09-01 01:11:29 +00:00
Mark Andrews
0996c94099
update
2017-09-01 09:46:01 +10:00
Evan Hunt
5999f1ebd6
[master] initialize result and rdataset variables
2017-08-31 14:20:00 -07:00
Mark Andrews
b4eb8b9656
4696. [port] Enable filter-aaaa support by default on Windows
...
builds. [RT #45883 ]
2017-08-31 13:37:36 +10:00
Mark Andrews
2e743d9bdc
Squashed commit of the following:
...
commit 2a0e5695da2e0f701191e2783209ac05c9d01e6c
Author: Mark Andrews <marka@isc.org >
Date: Thu Aug 31 12:15:05 2017 +1000
remove 'on' from error message
commit f18a8d699b69be35b938cfe2b30ebb30cd78e814
Author: Mark Andrews <marka@isc.org >
Date: Thu Aug 31 11:58:41 2017 +1000
add more cookie-secret named-checkconf tests
commit ca8f5f5f57ccbeb970310866523a909eb411a554
Author: Mark Andrews <marka@isc.org >
Date: Thu Aug 31 11:31:57 2017 +1000
properly check algorithm names
2017-08-31 12:19:37 +10:00
Evan Hunt
5c8de9e2ae
[master] fix uninitialized memory in mem_test.c
2017-08-30 19:02:52 -07:00
Evan Hunt
45afdb2672
[master] remove default algorithm in dnssec-keygen
...
4594. [func] dnssec-keygen no longer uses RSASHA1 by default;
the signing algorithm must be specified on
the command line with the "-a" option. Signing
scripts that rely on the existing default behavior
will break; use "dnssec-keygen -a RSASHA1" to
repair them. (The goal of this change is to make
it easier to find scripts using RSASHA1 so they
can be changed in the event of that algorithm
being deprecated in the future.) [RT #44755 ]
2017-08-30 18:51:11 -07:00
Tinderbox User
2bfc294f0a
regen master
2017-08-31 01:11:54 +00:00
Tinderbox User
587f005032
update copyright notice / whitespace
2017-08-30 23:46:18 +00:00
Mark Andrews
e8ff51eb3e
update
2017-08-31 09:33:45 +10:00
Mark Andrews
89d841c16f
sort view_clauses
2017-08-31 08:40:33 +10:00
Mark Andrews
0aed466565
4693. [func] Synthesis of responses from DNSSEC-verified records.
...
Stage 1 covers NXDOMAIN synthesis from NSEC records.
This is controlled by synth-from-dnssec and is enabled
by default. [RT #40138 ]
2017-08-31 07:57:50 +10:00
Mark Andrews
c26370fc69
4692. [bug] Fix build failures with libressl introduced in 4676.
...
[RT #45879 ]
2017-08-30 17:11:20 +10:00
Tinderbox User
a5d6b4c4c8
regen master
2017-08-30 01:12:14 +00:00
Tinderbox User
731ec8ce9b
update copyright notice / whitespace
2017-08-29 23:46:16 +00:00
Tinderbox User
67a9cf9fa7
newcopyrights
2017-08-29 23:30:19 +00:00
Michał Kępień
efe7977c4d
[master] Add -4/-6 command line options to nsupdate and rndc
...
4691. [func] Add -4/-6 command line options to nsupdate and rndc.
[RT #45632 ]
2017-08-29 10:21:54 +02:00
Michał Kępień
d6814700de
[master] Ensure consistent handling of -4/-6 command line options in all tools
...
4690. [bug] Command line options -4/-6 were handled inconsistently
between tools. [RT #45632 ]
2017-08-29 10:19:38 +02:00
Mark Andrews
503223b800
fix changes number
2017-08-26 13:25:56 +10:00
Evan Hunt
391a3a2f20
[master] turn on minimal responses for CDS/CDNSKEY
...
4678. [cleanup] Turn on minimal responses for CDNSKEY and CDS in
addition to DNSKEY and DS. Thanks to Tony Finch.
[RT #45690 ]
2017-08-25 13:31:53 -07:00
Tinderbox User
07675caf4f
regen master
2017-08-25 01:10:48 +00:00
Tinderbox User
f562de3f71
update copyright notice / whitespace
2017-08-24 23:47:03 +00:00
Tinderbox User
72ab5d8a69
newcopyrights
2017-08-24 23:30:17 +00:00
Mark Andrews
07741d43c8
4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
...
messages. [RT #44804 ]
2017-08-25 08:38:19 +10:00
Mukund Sivaraman
af4b4bef7a
Refactor tracklines code ( #45126 )
2017-08-24 10:58:55 +05:30
Tinderbox User
2a08a599ee
regen master
2017-08-22 01:11:12 +00:00
Tinderbox User
a08f49ae17
update copyright notice / whitespace
2017-08-21 23:48:07 +00:00
Tinderbox User
7c29eaf91a
newcopyrights
2017-08-21 23:30:15 +00:00
Michał Kępień
330365566d
[master] Prevent dnssec-settime from printing a bogus warning
...
4686. [bug] dnssec-settime -p could print a bogus warning about
key deletion scheduled before its inactivation when a
key had an inactivation date set but no deletion date
set. [RT #45807 ]
2017-08-21 10:20:10 +02:00
Michał Kępień
5201b96d03
[master] Fix calculation of dates for a successor key
...
4685. [bug] dnssec-settime incorrectly calculated publication and
activation dates for a successor key. [RT #45806 ]
2017-08-21 09:55:36 +02:00
Michał Kępień
367fcd7454
[master] Prevent delv from sending bogus queries for provided server address
...
4684. [bug] delv could send bogus DNS queries when an explicit
server address was specified on the command line along
with -4/-6. [RT #45804 ]
2017-08-21 09:18:13 +02:00
Tinderbox User
5fbe52fbce
regen master
2017-08-18 01:11:45 +00:00
Tinderbox User
22eb446339
update copyright notice / whitespace
2017-08-17 23:46:21 +00:00
Tinderbox User
0a8e5c9db7
newcopyrights
2017-08-17 23:30:30 +00:00
Michał Kępień
1aa583b5a5
[master] Prevent nsupdate from immediately exiting on invalid user input in interactive mode
...
4683. [bug] Prevent nsupdate from immediately exiting on invalid
user input in interactive mode. [RT #28194 ]
2017-08-17 08:29:12 +02:00
Mark Andrews
615b961e02
4682. [bug] Don't report errors on records below a DNAME.
...
[RT #44880 ]
2017-08-17 15:49:59 +10:00
Tinderbox User
7655cd1fe5
regen master
2017-08-17 01:10:36 +00:00
Mark Andrews
1fe9f65dbb
add more details
2017-08-16 13:22:35 +10:00
Tinderbox User
7df675188c
regen master
2017-08-16 01:10:34 +00:00
Tinderbox User
6a14924454
update copyright notice / whitespace
2017-08-15 23:47:19 +00:00
Tinderbox User
f034916801
newcopyrights
2017-08-15 23:30:14 +00:00
Mark Andrews
52fd57c989
4681. [bug] Log messages from the validator now include the
...
associated view unless the view is "_default/IN"
or "_dnsclient/IN". [RT #45770 ]
2017-08-16 09:29:20 +10:00
Mark Andrews
e85a2c5624
'uname -o' is not portable, suppress error message; remove spurious cat tmp.out; provide forensics for failure analysis
2017-08-15 18:02:24 +10:00
Tinderbox User
9ce1a8e93b
regen master
2017-08-15 01:12:22 +00:00
Tinderbox User
1c3b9b7666
update copyright notice / whitespace
2017-08-14 23:48:00 +00:00
Tinderbox User
786b6c5517
newcopyrights
2017-08-14 23:30:11 +00:00
Mark Andrews
bf1ab06a48
request-nsid/request-sit out of order
2017-08-14 23:47:30 +10:00
Michał Kępień
b55ec74eaa
[master] Fix master address failover when GSS-API is used
...
4680. [bug] Fix failing over to another master server address when
nsupdate is used with GSS-API. [RT #45380 ]
2017-08-14 15:00:25 +02:00
Michał Kępień
877c264edc
[master] Make dnssec-verify suggest using -o when appropriate
...
4679. [cleanup] Suggest using -o when dnssec-verify finds a SOA record
not at top of zone and -o is not used. [RT #45519 ]
2017-08-14 14:01:27 +02:00
Mark Andrews
00f067539a
sort options
2017-08-14 21:40:59 +10:00
Mark Andrews
60fd71ec66
alphabetize options_clauses
2017-08-14 07:22:20 +00:00
Mark Andrews
9697129ae2
tcp-only and tcp-keepalive where out of alphabetical order
2017-08-14 07:00:02 +00:00
Mark Andrews
fa7bacca7d
sit-secret was out of alphabetical order
2017-08-14 06:50:24 +00:00
Mark Andrews
cc88df4f01
4678. [bug] geoip-use-ecs has the wrong type when geoip support
...
is disabled at configure time. [RT #45763 ]
2017-08-14 06:18:26 +00:00
Mark Andrews
5e9d9aa9d0
use isc_thread_self instead of pthread_self
2017-08-14 13:51:20 +10:00
Evan Hunt
7239308b36
[master] fix CHANGES note
2017-08-10 22:52:59 -07:00
Evan Hunt
b2bf8de2a3
[master] split up main and add callback function pointers to support iOS
...
4677. [port] Split up the main function in dig to better support
the iOS app version. [RT #45508 ]
2017-08-10 22:51:24 -07:00
Tinderbox User
4e22c61020
regen master
2017-08-11 01:12:23 +00:00
Evan Hunt
f8786917ac
[master] revise CHANGES and release notes to say glue-cache is on by default
2017-08-09 21:48:51 -07:00
Mukund Sivaraman
b9532d9cf3
Turn on glue-cache by default
...
- We decided to do this on the weekly BIND dev meeting
- Mark reviewed patch on Jabber
2017-08-10 09:06:54 +05:30
Tinderbox User
20809d0a5a
regen master
2017-08-10 01:11:49 +00:00
Mark Andrews
cbc80a42d3
4676. [cleanup] Allow BIND to be built using OpenSSL 1.0.X with
...
deprecated functions removed. [RT #45706 ]
2017-08-10 10:16:26 +10:00
Tinderbox User
f4eb664ce3
update copyright notice / whitespace
2017-08-09 23:47:50 +00:00
Tinderbox User
a960e954bf
Merge branch 'master' of /proj/git/prod/bind9
2017-08-09 23:45:42 +00:00
Tinderbox User
0acb21c354
newcopyrights
2017-08-09 23:30:11 +00:00
Mark Andrews
ff8d856db0
4675. [cleanup] Don't use C++ keyword class. [RT #45726 ]
2017-08-10 08:42:04 +10:00
Evan Hunt
b2a5df8d4b
[master] grammar error and missing reference to filter-aaaa-on-v6
2017-08-09 15:02:56 -07:00
Evan Hunt
c8b76b0168
[master] remove sigchase reference in system test
2017-08-09 13:25:15 -07:00
Evan Hunt
c4cfb0b4dc
[master] remove dig +sigchase
...
4674. [func] "dig +sigchase", and related options "+topdown" and
"+trusted-keys", have been removed. Use "delv" for
queries with DNSSEC validation. [RT #42793 ]
2017-08-09 11:03:27 -07:00
Evan Hunt
cdacec1dcb
[master] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
2017-08-09 00:17:44 -07:00
Mark Andrews and Mukund Sivaraman
31605091b4
add comment
2017-08-09 08:42:10 +05:30
Evan Hunt and Mukund Sivaraman
6bba066302
style
2017-08-09 08:41:51 +05:30
Tinderbox User
be8f1da296
update copyright notice / whitespace
2017-08-09 00:42:40 +00:00
Tinderbox User
b03fb7992f
newcopyrights
2017-08-09 00:14:29 +00:00
Mark Andrews
bcb2df226f
style changes from [RT #45321 ]
2017-08-09 07:48:57 +10:00
Evan Hunt
2013c9751d
[master] address coverity warning about uninitialized variable
2017-08-08 10:46:49 -07:00
Mukund Sivaraman
a6ed0b587b
Add placeholder
2017-08-08 20:48:28 +05:30
Mukund Sivaraman
f2b6eef899
Fix tsig_test.c unittest (OK'd by Mark on Jabber)
2017-08-08 19:45:07 +05:30
Mukund Sivaraman
c88efb83b3
Fix a race in resume_dslookup() ( #45168 )
2017-08-08 12:20:48 +05:30
Evan Hunt
0ad72b96d2
[master] ensure verified_sig
...
4670. [cleanup] Ensure that a request MAC is never sent back
in an XFR response unless the signature was
verified. [RT #45494 ]
2017-08-07 18:54:05 -07:00
Mark Andrews
d5cb164074
conditionally declare fctx
2017-08-08 00:51:37 +10:00
Mark Andrews
13053ff906
remove bin/tests/system/dnssec/ns4/named5.conf
2017-08-05 12:36:31 +10:00
Mark Andrews
73cc289e79
remove unused variable 'fctx' from rctx_next
2017-08-05 12:31:45 +10:00
Tinderbox User
e1a2da2259
regen master
2017-08-05 01:14:25 +00:00
Tinderbox User
12ed5d34b9
update copyright notice / whitespace
2017-08-04 23:46:19 +00:00
Tinderbox User
925e261f56
newcopyrights
2017-08-04 23:30:11 +00:00
Evan Hunt
61367c604c
[master] refactor resquery_response() and related functions
...
4669. [func] Iterative query logic in resolver.c has been
refactored into smaller functions and commented,
for improved readability, maintainability and
testability. [RT #45362 ]
2017-08-04 16:08:11 -07:00
Curtis Blackburn
592d2ea98c
fix pthread_np.h detection
...
[rt45680]
2017-08-03 18:02:04 -07:00
Tinderbox User
be33f4ead1
update copyright notice / whitespace
2017-08-03 23:46:14 +00:00
Tinderbox User
9fbaa4eec7
newcopyrights
2017-08-02 23:47:04 +00:00
Mark Andrews
2019cf29e2
4668. [bug] Use localtime_r and gmtime_r for thread safety.
...
[RT #45664 ]
2017-08-03 08:42:27 +10:00
Mark Andrews
b9e4835f4b
remove bin/tests/rdata_test.c
2017-08-02 12:40:58 +10:00
Tinderbox User
7f18709b08
regen master
2017-08-02 01:09:18 +00:00
Tinderbox User
b74e1c3b50
update copyright notice / whitespace
2017-08-01 23:46:29 +00:00
Tinderbox User
dadcb7dfb5
newcopyrights
2017-08-01 23:30:13 +00:00
Michał Kępień
712825d755
[master] Refactor RDATA unit tests
...
4667. [cleanup] Refactor RDATA unit tests. [RT #45610 ]
2017-08-01 12:15:21 +02:00
Mark Andrews
433af1819b
copyrights
2017-08-01 12:25:31 +10:00
Mark Andrews
3c4dffefe8
handle .key and .private files
2017-08-01 12:09:34 +10:00
Tinderbox User
8cc38b581c
regen master
2017-08-01 01:08:53 +00:00
Evan Hunt
681deaaa39
[master] parse numeric domain names correctly
...
4666. [bug] dnssec-keymgr: Domain names beginning with digits (0-9)
could cause a parser error when reading the policy
file. This now works correctly so long as the domain
name is quoted. [RT #45641 ]
2017-07-31 10:43:57 -07:00
Evan Hunt
913f7528fe
[master] revise CHANGES note and add release note
2017-07-31 10:34:19 -07:00
Francis Dupont
9b9182fe00
Added Ed25519 support ( #44696 )
2017-07-31 15:26:00 +02:00
Tinderbox User
93ae9a09a9
regen master
2017-07-29 01:10:15 +00:00
Tinderbox User
9edeb0f922
update copyright notice / whitespace
2017-07-28 23:46:10 +00:00
Tinderbox User
9e627e30dc
newcopyrights
2017-07-28 23:30:28 +00:00
Evan Hunt
268cea9c12
[master] glue-cache option
...
4664. [func] Add a "glue-cache" option to enable or disable the
glue cache. The default is "no" to reduce memory
usage, but enabling this option will improve
performance in delegation-heavy zones. [RT #45125 ]
2017-07-28 12:57:50 -07:00
Evan Hunt
cee0d603a3
[master] remove unnecessary acronym expansions
2017-07-28 12:22:31 -07:00
Michał Kępień
c150f68609
[master] Clarify error message printed by dnssec-dsfromkey
...
4663. [cleanup] Clarify error message printed by dnssec-dsfromkey.
[RT #21731 ]
2017-07-28 10:29:22 +02:00
Evan Hunt
e924155211
[master] Maintain ZEROTTL cache entries at the tail of the LRU lists
...
4662. [performance] Improve cache memory cleanup of zero TTL records
by putting them at the tail of LRU header lists.
[RT #45274 ]
2017-07-28 00:13:05 -07:00
Evan Hunt
036305f00d
[master] race condition when reloading while resigning
...
4661. [bug] A race condition could occur if a zone was reloaded
while resigning, triggering a crash in
rbtdb.c:closeversion(). [RT #45276 ]
2017-07-28 00:02:17 -07:00
Mark Andrews
5140501a0b
4660. [bug] Remove spurious "peer" from Windows socket log
...
messages. [RT #45617 ]
2017-07-28 16:06:51 +10:00
Mark Andrews
71cd6910ba
4659. [bug] Remove spurious log message about lmdb-mapsize
...
not being supported when parsing builtin
configuration file. [RT #45618 ]
2017-07-28 16:02:52 +10:00
Mark Andrews
c91e61f57e
add semicolon
2017-07-28 15:59:22 +10:00
Mark Andrews
e54f256bb4
4658. [bug] Clean up build directory created by "setup.py install"
...
immediately. [RT #45628 ]
2017-07-28 15:54:45 +10:00
Tinderbox User
c03e9eb43d
update copyright notice / whitespace
2017-07-27 23:48:36 +00:00
Tinderbox User
3550c8b722
newcopyrights
2017-07-27 23:39:36 +00:00
Evan Hunt
7ff9d3a962
[master] fix typo in BADCDS
2017-07-27 15:41:58 -07:00
Tinderbox User
f192875d12
update copyright notice / whitespace
2017-07-26 23:46:18 +00:00
Tinderbox User
1a711408a3
newcopyrights
2017-07-26 23:30:30 +00:00
Michał Kępień
984a28c771
[master] Properly handle errors in rrchecker system test
...
4657. [bug] rrchecker system test result could be improperly
determined. [RT #45602 ]
2017-07-26 10:40:06 +02:00
Evan Hunt
bd5b0b39e6
[master] add print.h
2017-07-26 01:24:25 -07:00
Michał Kępień
383240d572
[master] Process "port" and "dscp" for "default-masters"
...
4656. [bug] Apply "port" and "dscp" values specified in catalog
zone's "default-masters" option to the generated
configuration of its member zones. [RT #45545 ]
2017-07-26 09:28:28 +02:00
Mark Andrews
cdc5e0cea0
fix RT number
2017-07-26 16:39:26 +10:00
Tinderbox User
fd0039f465
update copyright notice / whitespace
2017-07-24 23:46:35 +00:00
Tinderbox User
6eee89ec76
newcopyrights
2017-07-24 23:30:20 +00:00
Mark Andrews
803a5b767b
add model for atf_tc_fail_requirement
2017-07-24 11:36:10 +10:00
Mark Andrews
4f4b94a042
4655. [bug] Lack of seccomp could be falsely reported. [RT #45599 ]
2017-07-23 07:11:37 +10:00
Tinderbox User
9ab5ec1d72
update copyright notice / whitespace
2017-07-21 23:46:06 +00:00
Tinderbox User
bd9d540b9f
newcopyrights
2017-07-21 23:30:17 +00:00
Mark Andrews
4bf32aa587
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
2017-07-21 11:52:24 +10:00
Tinderbox User
0297ebcc89
update copyright notice / whitespace
2017-07-20 23:45:27 +00:00
Tinderbox User
0fd278fc18
newcopyrights
2017-07-20 23:30:07 +00:00
Mark Andrews
124712666e
4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
...
@ISC_OPENSSL_INC@ after shipped include directories.
[RT #45581 ]
2017-07-20 11:52:03 +10:00
Tinderbox User
b55ae9abd2
update copyright notice / whitespace
2017-07-19 23:45:23 +00:00
Mark Andrews
a5a4cf96c6
4653. [bug] Reorder includes in bin/nsupdate/Makefile.in.
...
[RT #45581 ]
2017-07-20 09:34:23 +10:00
Tinderbox User
c15d4d1104
newcopyrights
2017-07-19 23:30:10 +00:00
Mark Andrews
80abf9a8ec
add placeholder
2017-07-19 16:13:51 +10:00
Mark Andrews
aed501fb88
use 'test "constant" <condition> "$variable"' [RT #45486 ]
2017-07-19 15:53:01 +10:00
Mark Andrews
cda91a09e4
4651. [bug] Nsupdate could attempt to use a zeroed address on
...
server timeout. [RT #45417 ]
(cherry picked from commit dac36869f3 )
2017-07-19 15:36:41 +10:00
Mark Andrews
6375d42bae
4651. [bug] Nsupdate could attempt to use a zeroed address on
...
server timeout. [RT #45417 ]
(cherry picked from commit 38edf586f9 )
2017-07-19 15:36:41 +10:00
Mark Andrews
c0ac259940
4650. [test] Silence coverity warnings in tsig_test.c. [RT #45528 ]
2017-07-19 14:34:15 +10:00
Evan Hunt
4aafa833ec
[master] update api ranges
2017-07-16 13:56:30 -07:00
Tinderbox User
2f575e645b
regen master
2017-07-16 01:07:52 +00:00
Evan Hunt
8abc9db6bf
[master] update relnotes to mention termination of windows XP support
2017-07-15 13:56:34 -07:00
Tinderbox User
a28cf7bfb5
regen master
2017-07-12 01:09:15 +00:00
Mark Andrews
56d8312a48
note change in AD setting on some truncated answers
2017-07-11 13:29:19 +10:00
Mark Andrews
9987992232
add note about .local
2017-07-11 12:43:31 +10:00
Mark Andrews
df1297cd0c
sort *_test@EXEEXT@ rule sets
2017-07-11 12:12:12 +10:00
Tinderbox User
a9404a04a5
update copyright notice / whitespace
2017-07-11 01:46:41 +00:00
Tinderbox User
6518668d47
newcopyrights
2017-07-11 01:45:43 +00:00
Mark Andrews
abe5cf42b3
4649. [bug] The wrong zone was logged when a catalog zone is added.
...
[RT #45520 ]
2017-07-10 10:36:56 +10:00
Tinderbox User
7c655c5b24
update copyright notice / whitespace
2017-07-09 23:45:34 +00:00
Tinderbox User
9719af5633
newcopyrights
2017-07-09 23:30:09 +00:00
Mark Andrews
1e9b39fe26
4648. [bug] "rndc reconfig" on a slave no longer causes all member
...
zones of configured catalog zones to be removed from
configuration. [RT #45310 ]
2017-07-10 09:06:13 +10:00
Tinderbox User
5063516fd7
regen master
2017-07-08 01:12:04 +00:00
Tinderbox User
63582913c9
update copyright notice / whitespace
2017-07-07 23:45:38 +00:00
Tinderbox User
650c3552b8
newcopyrights
2017-07-07 23:30:11 +00:00
Mark Andrews
00a235c8e6
add #include <isc/print.h>
2017-07-08 00:47:59 +10:00
Mark Andrews
58f0fb325b
4647. [bug] Change 4643 broke verification of TSIG signed TCP
...
message sequences where not all the messages contain
TSIG records. These may be used in AXFR and IXFR
responses. [RT #45509 ]
2017-07-07 23:19:05 +10:00
Mukund Sivaraman
5f88472fd1
Fix typo in configure output
2017-07-07 17:32:36 +05:30
Mark Andrews
afa3cf3b10
placeholder
2017-07-05 12:05:07 +10:00
Ray Bellis
70676a01eb
fixed new warning with previous iOS patch
2017-07-04 12:12:11 +01:00
Ray Bellis
03a4e4381e
fix warnings from iOS build of dig
2017-07-04 11:51:36 +01:00
Mark Andrews
f7a22ae512
loop waiting for ns4/managed-keys.bind to be written
2017-07-04 15:53:12 +10:00
Tinderbox User
67fa096a59
update copyright notice / whitespace
2017-06-30 23:45:35 +00:00
Tinderbox User
79a0b3ffbb
newcopyrights
2017-06-30 23:30:08 +00:00
Evan Hunt
b05b3fab3c
[master] fix RSA parsing when md5 disabled
...
4645. [bug] Fix PKCS#11 RSA parsing when MD5 is disabled.
[RT #45300 ]
2017-06-29 15:53:35 -07:00
Mark Andrews
916234485b
placeholder
2017-06-30 08:40:43 +10:00
Evan Hunt
b2018b7cff
[master] complete change #4643
2017-06-28 09:11:49 -07:00
Tinderbox User
c6a2d3a9e6
regen master
2017-06-28 01:09:32 +00:00
Tinderbox User
b6a4f7937e
update copyright notice / whitespace
2017-06-27 23:45:38 +00:00
Tinderbox User
6f128cbfaa
newcopyrights
2017-06-27 23:30:07 +00:00
Evan Hunt
2fe77b611a
[master] fix API ranges (170-179 was used for two branches)
2017-06-27 12:18:33 -07:00
Evan Hunt
581c1526ab
[master] address TSIG bypass/forgery vulnerabilities
...
4643. [security] An error in TSIG handling could permit unauthorized
zone transfers or zone updates. (CVE-2017-3142)
(CVE-2017-3143) [RT #45383 ]
2017-06-27 11:39:19 -07:00
Evan Hunt
0d90835d2a
[master] enhanced rfc 5011 logging
...
4642. [cleanup] Add more logging of RFC 5011 events affecting the
status of managed keys: newly observed keys,
deletion of revoked keys, etc. [RT #45354 ]
2017-06-27 10:49:43 -07:00
Tinderbox User
90a6f5a701
update copyright notice / whitespace
2017-06-26 23:45:38 +00:00
Tinderbox User
21975873a3
newcopyrights
2017-06-26 23:30:08 +00:00
Mark Andrews
accadd4083
copyrights
2017-06-26 12:22:13 +10:00
Mark Andrews
eb346d7098
'name' should be on isc_thread_setname argument not isc_thread_create
...
(cherry picked from commit 15471a63a2 )
2017-06-26 12:21:33 +10:00
Mark Andrews
1be7580be7
4641. [cleanup] Parallel builds (make -j) could fail with --with-atf /
...
--enable-developer. [RT #45373 ]
2017-06-26 10:00:42 +10:00
Mark Andrews
b551ee14bd
4640. [bug] If query_findversion failed in query_getdb due to
...
memory failure the error status was incorrectly
discarded. [RT #45331 ]
2017-06-23 17:17:28 +10:00
Michał Kępień
77a95c35b9
4639. [bug] Fix a regression in --with-tuning reporting introduced
...
by change 4488. [RT #45396 ]
2017-06-23 08:16:33 +02:00
Tinderbox User
f62eb5f112
update copyright notice / whitespace
2017-06-20 23:45:25 +00:00
Tinderbox User
d1b9016fc6
newcopyrights
2017-06-20 23:30:08 +00:00
Mark Andrews
da0df9367d
fix attribute name in DNS_NAME_INITABSOLUTE [RT #45409 ]
2017-06-20 12:37:58 +10:00
Mark Andrews
5aa648e8f4
add const
2017-06-17 16:13:27 +10:00
Mark Andrews
94eff196e4
4637 broke old style command line with a salt of '-' [RT #45388 ]
2017-06-16 12:45:36 +10:00
Tinderbox User
d6b626e9a7
regen master
2017-06-14 01:08:21 +00:00
Tinderbox User
a00838da96
update copyright notice / whitespace
2017-06-13 23:45:34 +00:00
Tinderbox User
a207bb09d1
newcopyrights
2017-06-13 23:30:15 +00:00
Evan Hunt
19a72397da
[master] put in a missing #ifdef section
2017-06-13 14:50:49 -07:00
Evan Hunt
bf05e66bb3
[master] prevent reload failure due to LMDB database perms
...
4638. [bug] Reloading or reconfiguring named could fail on
some platforms when LMDB was in use. [RT #45203 ]
2017-06-13 10:15:34 -07:00
Evan Hunt
0471530aae
[master] nsec3hash -r
...
4637. [func] "nsec3hash -r" option ("rdata order") takes arguments
in the same order as they appear in NSEC3 or
NSEC3PARAM records, so that NSEC3 parameters can
be cut and pasted from an existing record. Thanks
to Tony Finch for the contribution. [RT #45183 ]
2017-06-13 00:39:10 -07:00
Mark Andrews
e85e95c19e
4636. [bug] Normalize rpz policy zone names when checking for
...
existence. [RT #45358 ]
2017-06-13 13:06:47 +10:00
Mukund Sivaraman
2c11da8441
Don't log NSDNAME failures as NSIP ( #45052 )
2017-06-12 14:04:15 +05:30
Tinderbox User
255f5ba5b2
newcopyrights
2017-06-11 23:30:06 +00:00
Mark Andrews
ed2659c974
4634. [contrib] check5011.pl needs to handle optional space before
...
semi-colon in +multi-line output. [RT #45352 ]
2017-06-11 22:03:51 +10:00
Tinderbox User
3e7ed60f99
update copyright notice / whitespace
2017-06-08 23:45:23 +00:00
Tinderbox User
435aae69a5
newcopyrights
2017-06-08 23:30:05 +00:00
Michał Kępień
9e94f388a7
Revert "4634. [test] Avoid races in mkeys test. [RT #45293 ]"
...
This reverts commit 54d4737b7f .
2017-06-08 14:19:36 +02:00
Michał Kępień
54d4737b7f
4634. [test] Avoid races in mkeys test. [RT #45293 ]
2017-06-08 13:40:27 +02:00
Tinderbox User
8bd6a7a1a3
update copyright notice / whitespace
2017-06-02 23:45:20 +00:00
Tinderbox User
f6415812da
newcopyrights
2017-06-02 23:30:05 +00:00
Mark Andrews
9c179a5607
4633. [maint] Updated AAAA (2001:500:200::b) for B.ROOT-SERVERS.NET.
2017-06-02 11:46:38 +10:00
Mark Andrews
5e1cedb130
fix changes numbers
2017-05-31 11:50:01 +10:00
Tinderbox User
d37d9a6873
regen master
2017-05-31 01:08:13 +00:00
Tinderbox User
bb01fced12
update copyright notice / whitespace
2017-05-30 23:45:32 +00:00
Tinderbox User
75f393cd82
newcopyrights
2017-05-30 23:30:05 +00:00
Evan Hunt
967a3b9419
[master] quote service registry paths
...
4532. [security] The BIND installer on Windows used an unquoted
service path, which can enable privilege escalation.
(CVE-2017-3141) [RT #45229 ]
2017-05-30 13:35:59 -07:00
Evan Hunt
2648c49be7
[master] fix rpz formerr loop
...
4531. [security] Some RPZ configurations could go into an infinite
query loop when encountering responses with TTL=0.
(CVE-2017-3140) [RT #45181 ]
2017-05-30 12:30:28 -07:00
Mark Andrews
aa3a8979bc
4530. [bug] "dyndb" is dependent on dlopen existing / being
...
enabled. [RT #45291 ]
2017-05-30 11:34:37 +10:00
Mark Andrews
ae903759c2
4530. [bug] "dyndb" is dependent on dlopen existing / being
...
enabled. [RT #45291 ]
2017-05-30 11:31:34 +10:00
Mark Andrews
e51d62ecae
4629. [bug] dns_client_startupdate could not be called with a
...
running client. [RT #45277 ]
2017-05-30 09:47:41 +10:00
Tinderbox User
f8d33c2b2a
update copyright notice / whitespace
2017-05-28 23:45:39 +00:00
Tinderbox User
dce3c30a38
newcopyrights
2017-05-28 23:30:06 +00:00
Evan Hunt
594eadcc34
[master] Add DLZ db version to activeversions
...
4628. [bug] Fixed a potential reference leak in query_getdb().
[RT #45247 ]
2017-05-28 14:26:54 -07:00
Evan Hunt
5f6aa5954c
[master] Use 127.0.0.1 as interface for rndc in logfileconfig test
2017-05-28 14:23:06 -07:00
Mark Andrews
0a78894304
test crypto support
2017-05-26 16:03:49 +10:00
Tinderbox User
e085a5fc5e
update copyright notice / whitespace
2017-05-24 23:45:29 +00:00
Tinderbox User
fb6aedd450
newcopyrights
2017-05-24 23:30:06 +00:00
Mark Andrews
b9c5b37e0c
make chain system test work with python 3
2017-05-24 21:40:41 +10:00
Mark Andrews
a5dc0d5066
use 'python -u' to run python scripts
2017-05-24 15:09:39 +10:00
Evan Hunt
0221bfed7d
[master] copyrights
2017-05-23 16:40:42 -07:00
Mark Andrews
6e8edb46a8
placeholder
2017-05-23 10:32:54 +10:00
Evan Hunt
6d7693c4af
[master] add chain ordering tests
...
4626. [test] Added more tests for handling of different record
ordering in CNAME and DNAME responses. [QA #430 ]
2017-05-22 17:05:55 -07:00
Tinderbox User
243cfadf06
update copyright notice / whitespace
2017-05-21 23:45:29 +00:00
Tinderbox User
f2fed3cba6
newcopyrights
2017-05-21 23:30:05 +00:00
Evan Hunt
9e44639ae0
[master] corrected a possible crash in isc_test_end()
2017-05-21 15:43:44 -07:00
Tinderbox User
a014b329f2
regen master
2017-05-19 01:09:39 +00:00
Evan Hunt
ef9ab10ce0
[master] remove outdated reference to libbind
2017-05-18 15:35:06 -07:00
Evan Hunt
03a7a952c0
[master] don't keep an LMDB transaction open across an exclusive section
...
4625. [bug] Running "rndc addzone" and "rndc delzone" at close
to the same time could trigger a deadlock if using
LMDB. [RT #45209 ]
2017-05-16 08:47:20 -07:00
Tinderbox User
bdf087ba00
regen master
2017-05-12 01:09:53 +00:00
Tinderbox User
dde6dc06b0
update copyright notice / whitespace
2017-05-11 23:45:33 +00:00
Tinderbox User
1f12944920
newcopyrights
2017-05-11 23:30:05 +00:00
Mark Andrews
face92a181
placeholder
2017-05-11 20:28:00 +10:00
Mark Andrews
366cff85a9
4623. [bug] Use --with-protobuf-c and --with-libfstrm to find
...
protoc-c and fstrm_capture. [RT #45187 ]
2017-05-11 18:30:04 +10:00
Mark Andrews
d4d73bca79
add warning about semicolon no longer being escaped
2017-05-11 11:02:35 +10:00
Mark Andrews
1611ceb8b2
4622. [bug] Remove unnecessary escaping of semicolon in CAA and
...
URI records. [RT #45216 ]
2017-05-11 10:54:52 +10:00
Tinderbox User
6c5c871053
update copyright notice / whitespace
2017-05-10 23:45:32 +00:00
Tinderbox User
f0b35c7bef
newcopyrights
2017-05-10 23:30:06 +00:00
Mark Andrews
2fb1a0bdef
4621. [port] Force alignment of oid arrays to silence loader
...
warnings. [RT #45131 ]
2017-05-11 09:24:36 +10:00
Mark Andrews
d352a9db95
4620. [port] Handle EPFNOSUPPORT being returned when probing
...
to see if a socket type is supported. [RT #45214 ]
2017-05-11 07:58:13 +10:00
Mark Andrews
0c18eb4783
4619. [bug] Call isc_mem_put instead of isc_mem_free in
...
bin/named/server.c:setup_newzones. [RT #45202 ]
2017-05-10 11:10:43 +10:00
Mark Andrews
d242bf393c
4618. [bug] Check isc_mem_strdup results in dns_view_setnewzones.
...
Add logging for lmdb call failures. [RT #45204 ]
2017-05-10 10:50:42 +10:00
Tinderbox User
b439455672
update copyright notice / whitespace
2017-05-08 23:45:33 +00:00
Tinderbox User
d87a8b9662
newcopyrights
2017-05-08 23:30:04 +00:00
Mark Andrews
31f4fb98e2
4617. [test] Update rndc system test to be more delay tolerant.
...
[RT #45177 ]
2017-05-09 04:07:48 +10:00
Tinderbox User
f9d602f35c
regen master
2017-05-05 01:08:31 +00:00
Evan Hunt
3a554a444c
[master] fix lmdb delzone
...
4616. [bug] When using LMDB, zones deleted using "rndc delzone"
were not correctly removed from the new-zone
database. [RT #45185 ]
2017-05-04 12:32:32 -07:00
Evan Hunt
9612549071
[master] change index to idx to avoid shadowed-variable warning
2017-05-04 09:34:10 -07:00
Tinderbox User
51da560543
regen master
2017-05-04 01:08:23 +00:00
Evan Hunt
8b8c2650b8
[master] change 'index' to avoid shadowed variable warning
2017-05-03 12:36:54 -07:00
Francis Dupont
b497722f32
Added lmdb in WIN32 Configure (as not supported)
2017-05-03 14:08:25 +02:00
Mark Andrews
071fe723a1
fix tag mismatch
2017-05-03 11:15:14 +10:00
Tinderbox User
b168f3f805
update copyright notice / whitespace
2017-05-02 23:45:36 +00:00
Tinderbox User
be7deefebd
newcopyrights
2017-05-02 23:30:09 +00:00
Mark Andrews
33e94f501f
4615. [bug] AD could be set on truncated answer with no records
...
present in the answer and authority sections.
[RT #45140 ]
2017-05-03 07:51:41 +10:00
Mark Andrews
78551a3f2c
remove unused assignments [RT #45147 ]
2017-05-03 07:45:18 +10:00
Evan Hunt
d73c32c17f
[master] error in sockaddr unit test
...
4614. [test] Fixed an error in the sockaddr unit test. [RT #45146 ]
2017-05-02 13:40:49 -07:00
Evan Hunt
d39ab7440e
[master] automatically tune max-journal-size
...
4613. [func] By default, the maximum size of a zone journal file
is now twice the size of the zone's contents (there
is little benefit to a journal larger than this).
This can be overridden by setting "max-journal-size"
to "unlimited" or to an explicit value up to 2G.
Thanks to Tony Finch. [RT #38324 ]
2017-05-02 13:23:08 -07:00
Evan Hunt
4c97cb13bd
[master] fix win32 build errors
2017-05-02 10:58:41 -07:00
Tinderbox User
1f1c7c3b0a
update copyright notice / whitespace
2017-05-01 23:45:34 +00:00
Tinderbox User
bf551b79da
newcopyrights
2017-05-01 23:30:07 +00:00
Mark Andrews
b09eb48f8a
4612. [bug] Silence 'may be use uninitalised' warning and simplify
...
the code in lwres/getaddinfo:process_answer.
[RT #45158 ]
2017-05-02 09:23:49 +10:00
Evan Hunt
532a001001
[master] add util.h
2017-05-01 13:28:24 -07:00
Mark Andrews
c8abbc4312
complete comment marker change
2017-04-30 20:55:04 +10:00
Tinderbox User
0ac6014fbf
update copyright notice / whitespace
2017-04-28 23:45:32 +00:00
Tinderbox User
74b92c2196
newcopyrights
2017-04-28 23:30:03 +00:00
Evan Hunt
a7dc84cd4b
[master] change markdown comment style for pandoc
2017-04-27 23:43:44 -07:00
Mark Andrews
d1554926d0
silence 'may be used uninitialized' warning. [RT #45139 ]
2017-04-28 11:01:23 +10:00
Mark Andrews
2e65a1905b
add mark_stale_header and rbtdb_zero_header defines
2017-04-27 12:47:08 +10:00
Tinderbox User
57994a07f7
regen master
2017-04-27 00:43:03 +00:00
Mark Andrews
cc3ebbfd91
silence unused-parameter warning
2017-04-27 09:48:29 +10:00
Tinderbox User
08e0f8fcfa
update copyright notice / whitespace
2017-04-26 23:45:32 +00:00
Tinderbox User
8587dc4d87
newcopyrights
2017-04-26 23:30:18 +00:00
Evan Hunt
0bbdd467e7
[master] fix building of markdown output on docs
2017-04-26 16:19:57 -07:00
Mukund Sivaraman
241b49e611
Set a LMDB mapsize and also provide a config option to control it ( #44954 )
2017-04-26 23:51:26 +05:30
Tinderbox User
c118d16a1c
regen master
2017-04-25 01:06:00 +00:00
Tinderbox User
18b7760b29
update copyright notice / whitespace
2017-04-24 23:45:33 +00:00
Tinderbox User
21d5216d00
newcopyrights
2017-04-24 23:30:07 +00:00
Mark Andrews
8296b23426
add dns_view_getnewzonedir, dns_view_setnewzonedir
2017-04-24 17:26:47 +10:00
Evan Hunt
2dfb992349
[master] new-zones-directory option
...
4610. [func] The "new-zones-directory" option specifies the
location of NZF or NZD files for storing
configuration of zones added by "rndc addzone".
Thanks to Petr Menšík. [RT #44853 ]
2017-04-23 23:16:53 -07:00
Evan Hunt
67e1f8fa4e
[master] allow parralel make
...
4609. [cleanup] Rearrange makefiles to enable parallel execution
(i.e. "make -j"). [RT #45078 ]
2017-04-23 23:04:25 -07:00
Mark Andrews
7ef453bf43
4608. [func] DiG now warns about .local queries which are reserved
...
for Multicast DNS. [RT #44783 ]
2017-04-24 11:56:22 +10:00
Mark Andrews
8c6ed0fe5f
4607. [bug] The memory context's malloced and maxmalloced counters
...
were being updated without the appropriate lock being
held. [RT #44869 ]
2017-04-24 11:33:30 +10:00
Mark Andrews
a14562e120
4606. [port] Stop using experimental "Experimental keys on scalar"
...
feature of perl as it has been removed. [RT #45012 ]
2017-04-24 11:17:18 +10:00
Tinderbox User
70698c6d17
regen master
2017-04-24 01:06:39 +00:00
Evan Hunt
6ce8a05f6c
[master] update copyrights that had been missed recently
2017-04-23 17:06:00 -07:00
Evan Hunt
58502352f2
[master] recent_changes script could terminate too early
2017-04-23 17:03:33 -07:00
Mark Andrews
6075bd5cf2
update
2017-04-24 09:41:55 +10:00
Evan Hunt
5490188e22
[master] add allocate_version64 definition
2017-04-22 23:16:23 -07:00
Tinderbox User
f5fa655319
regen master
2017-04-23 01:06:11 +00:00
Tinderbox User
1f6505a424
update copyright notice / whitespace
2017-04-22 23:45:41 +00:00
Tinderbox User
3f11af01b1
newcopyrights
2017-04-22 23:30:07 +00:00
Mukund Sivaraman
b1568eeedc
Add missing types for non-threaded build
2017-04-22 19:58:51 +05:30
Evan Hunt
3a10cf1f07
[master] add a release note for performance improvements
2017-04-21 21:48:50 -07:00
Mukund Sivaraman
03be5a6b4e
Improve performance for delegation heavy answers and also general query performance ( #44029 )
2017-04-22 09:22:44 +05:30
Evan Hunt
4c31eda5e1
[master] openssl backward compatibility fix
...
4604. [bug] Don't use ERR_load_crypto_strings() when building
with OpenSSL 1.1.0. [RT #45117 ]
2017-04-21 18:56:00 -07:00
Evan Hunt
8ee6a6afd8
[master] fix portability issue
2017-04-21 18:16:00 -07:00
Evan Hunt
8e12350a6f
[master] Merge branch 'master' of ssh://repo.isc.org/proj/git/prod/bind9
2017-04-21 16:45:43 -07:00
Tinderbox User
3618b965d1
update copyright notice / whitespace
2017-04-21 23:45:41 +00:00
Tinderbox User
ddad49e937
newcopyrights
2017-04-21 23:30:04 +00:00
Evan Hunt
8a28d9f1d4
[master] auto-generate named.conf.docbook
...
4603. [doc] Automatically generate named.conf(5) man page
from doc/misc/options. Thanks to Tony Finch.
[RT #43525 ]
2017-04-21 16:27:56 -07:00
Evan Hunt
d26ae7fc08
[master] give threads unique names to assist debugging
...
4602. [func] Threads are now set to human-readable
names to assist debugging, when supported by
the OS. [RT #43234 ]
2017-04-21 13:59:40 -07:00
Evan Hunt
b9e736f4f6
[master] typo in rndc doc
2017-04-21 13:16:40 -07:00
Mukund Sivaraman
239e9dc81c
Reject incorrect RSA key lengths during key generation and and sign/verify context creation ( #45043 )
2017-04-21 17:31:59 +05:30
Mukund Sivaraman
f23c10f925
Adjust RPZ trigger counts only when the entry being deleted exists ( #43386 )
2017-04-21 17:06:22 +05:30
Mukund Sivaraman
4176d278e2
Fix inconsistencies in inline signing time comparisons ( #42112 )
2017-04-21 16:43:58 +05:30
Mukund Sivaraman
f7c66b31d4
Update fuzzing support to test validating resolver ( #44787 )
2017-04-21 16:33:18 +05:30
Mukund Sivaraman
5d01eab088
Ignore SHA-1 DS digest type when SHA-384 DS digest type is present ( #45017 )
2017-04-21 16:19:38 +05:30
Mukund Sivaraman
b0dbcba2d2
Validate glue before adding it to the additional section ( #45062 )
2017-04-21 14:51:24 +05:30
Mukund Sivaraman
dd7d1df874
Increase minimum RSA keygen size to 1024 bits ( #36895 )
2017-04-21 12:00:40 +05:30
Evan Hunt
f5c39b072c
[master] hex output mode for dnstap-read
...
4594. [func] "dnstap-read -x" prints a hex dump of the wire
format of each logged DNS message. [RT #44816 ]
2017-04-20 20:22:19 -07:00
Evan Hunt
95f7e98da0
[master] update README, remove FAQ
...
4593. [doc] Update README using markdown, remove outdated FAQ
file in favor of the knowledge base.
2017-04-20 19:21:54 -07:00
Tinderbox User
2d863323b6
regen master
2017-04-21 01:05:18 +00:00
Evan Hunt
1467357a0c
[master] fix change number
2017-04-20 17:43:18 -07:00
Evan Hunt
019132b70c
[master] fix dispatch.c shutdown race
...
4952. [bug] A race condition on shutdown could trigger an
assertion failure in dispatch.c. [RT #43822 ]
2017-04-20 17:41:37 -07:00
Evan Hunt
6d19d975c6
[master] python 3 compatibility
...
4591. [port] Addressed some python 3 compatibility issues.
Thanks to Ville Skytta. [RT #44955 ] [RT #44956 ]
2017-04-20 17:30:35 -07:00
Mark Andrews
88740c7fce
4590. [bug] Support for PTHREAD_MUTEX_ADAPTIVE_NP was not being
...
properly detected. [RT #44871 ]
2017-04-21 10:03:18 +10:00
Tinderbox User
3b443e87a0
update copyright notice / whitespace
2017-04-20 23:45:39 +00:00
Tinderbox User
492e3413ff
newcopyrights
2017-04-20 23:30:13 +00:00
Evan Hunt
bdbdc69a75
[master] correct a mistake in nsupdate help
2017-04-20 16:17:19 -07:00
Evan Hunt
897049d129
[master] some output was not silenced with configure -q
...
4589. [cleanup] "configure -q" is now silent. [RT #44829 ]
2017-04-20 15:09:28 -07:00
Evan Hunt
66b71679b7
[master] nsupdate: send tkey queries to the right server
...
4588. [bug] nsupdate could send queries for TKEY to the wrong
server when using GSSAPI. Thanks to Tomas Hozza.
[RT #39893 ]
2017-04-20 09:28:37 -07:00
Mark Andrews
706c6ac5e2
fix 'minimal-any yes;' to force TCP / UDP
2017-04-20 17:59:45 +10:00
Mark Andrews
600b027731
4587. [bug] named-checkzone failed to handle occulted data below
...
DNAMEs correctly. [RT #44877 ]
2017-04-20 13:28:48 +10:00
Mark Andrews
033a59090c
4586. [func] dig, host and nslookup now use TCP for ANY queries.
...
[RT #44687 ]
2017-04-20 13:20:41 +10:00
Mark Andrews
3742338a7b
4585. [port] win32: Set CompileAS value. [RT #42474 ]
2017-04-20 12:41:40 +10:00
Mark Andrews
ddac00e3e0
4584. [bug] A number of memory usage statistics were not properly
...
reported when they exceeded 4G. [RT #44750 ]
2017-04-20 10:21:00 +10:00
Tinderbox User
a1d1a967da
update copyright notice / whitespace
2017-04-17 23:45:35 +00:00
Tinderbox User
e5447b5cb7
newcopyrights
2017-04-17 23:30:06 +00:00
Evan Hunt
28cff4f924
[master] fix out of tree build error
2017-04-17 14:31:44 -07:00
Tinderbox User
19643a1ded
regen master
2017-04-13 01:05:08 +00:00
Evan Hunt
52e398c0af
[master] formatting
2017-04-12 14:05:54 -07:00
Tinderbox User
e67fe90a1f
regen master
2017-04-12 01:05:15 +00:00
Tinderbox User
b4099ed035
update copyright notice / whitespace
2017-04-11 23:45:37 +00:00
Tinderbox User
b274ee1316
newcopyrights
2017-04-11 23:30:06 +00:00
Evan Hunt
a477a025d5
[master] correct -M in synopsis
2017-04-11 12:24:10 -07:00
Tinderbox User
0a1d79ed8f
regen master
2017-03-30 01:05:19 +00:00
Mark Andrews
fe1ad70e51
add CVE-2017-3138
2017-03-30 02:56:33 +11:00
Mark Andrews
05c2350b21
fix changes number
2017-03-26 17:39:06 +11:00
Tinderbox User
38704ecee9
regen master
2017-03-26 01:05:14 +00:00
Tinderbox User
0d9aa35cac
update copyright notice / whitespace
2017-03-25 23:45:38 +00:00
Tinderbox User
373e35ad23
newcopyrights
2017-03-25 23:30:05 +00:00
Evan Hunt
39eb1d0353
[master] host -A
...
4593. [func] "host -A" returns most records for a name but
omits RRSIG, NSEC and NSEC3. (Thanks to Tony Finch.)
[RT #43032 ]
2017-03-25 12:49:25 -07:00
Evan Hunt
db93f3d4b3
[master] document that delv should be used instead of sigchase
2017-03-25 12:22:51 -07:00
Tinderbox User
5ea0584a94
update copyright notice / whitespace
2017-03-24 23:45:35 +00:00
Tinderbox User
b32a3395fc
newcopyrights
2017-03-24 23:30:06 +00:00
Mark Andrews
8e8dfc5941
4582. [security] 'rndc ""' could trigger a assertion failure in named.
...
(CVE-2017-3138) [RT #44924 ]
2017-03-25 02:00:17 +11:00
Tinderbox User
0fbf291dad
update copyright notice / whitespace
2017-03-16 23:46:35 +00:00
Tinderbox User
b5425ac5bb
newcopyrights
2017-03-16 23:30:08 +00:00
Mark Andrews
f94f3e2791
4581. [port] Linux: Add getpid and getrandom to the list of system
...
calls named uses for seccomp. [RT #44883 ]
2017-03-16 11:21:18 +11:00
Mark Andrews
638c7c635d
4580. [bug] 4578 introduced a regression when handling CNAME to
...
referral below the current domain. [RT #44850 ]
2017-03-14 15:07:00 +11:00
Tinderbox User
ecbef65ae5
regen master
2017-03-13 01:05:40 +00:00
Evan Hunt
d2650297ca
[master] tag mismatch
2017-03-10 17:34:01 -08:00
Tinderbox User
db1010fe82
update copyright notice / whitespace
2017-03-10 23:46:18 +00:00
Francis Dupont
d648e5e82c
Visual Studio 2017 was published
2017-03-10 07:53:37 +01:00
Mark Andrews
786402ec12
fix tag mismatch
2017-03-10 13:05:59 +11:00
Mark Andrews
4b7a69ee71
update
2017-03-10 11:23:25 +11:00
Tinderbox User
d2f2db283b
update copyright notice / whitespace
2017-03-09 23:46:23 +00:00
Evan Hunt
ff711c866c
[master] change strtoll() to isc_string_touint64() for portability
2017-03-09 15:17:10 -08:00
Evan Hunt
612b2e2c0d
[master] timestamp suffixes for log files
...
4579. [func] Logging channels and dnstap output files can now
be configured with a "suffix" option, set to
either "increment" or "timestamp", indicating
whether to use incrementing numbers or timestamps
as the file suffix when rolling over a log file.
[RT #42838 ]
2017-03-08 23:20:40 -08:00
Evan Hunt
aa00b31b17
[master] fix ARM merge error
2017-03-08 22:51:26 -08:00
Mark Andrews
9301c35ae6
adjust range
2017-03-02 12:32:04 +11:00
Mark Andrews
d411448ceb
allow more time for the IPv6 transfer attemt to timeout and fall over to IPv4
2017-03-02 12:19:10 +11:00
Tinderbox User
02716f97c1
regen master
2017-03-02 01:05:06 +00:00
Tinderbox User
1baa50950b
update copyright notice / whitespace
2017-03-01 01:52:56 +00:00
Tinderbox User
08046df1f8
newcopyrights
2017-03-01 01:51:12 +00:00
Mark Andrews
f240f4a5de
Reimplement:
...
4578. [security] Some chaining (CNAME or DNAME) responses to upstream
queries could trigger assertion failures.
(CVE-2017-3137) [RT #44734 ]
2017-03-01 12:01:16 +11:00
Tinderbox User
ed5bf0e581
update copyright notice / whitespace
2017-02-28 23:45:28 +00:00
Tinderbox User
0aa6c1b1ff
newcopyrights
2017-02-28 23:30:04 +00:00
Mark Andrews
02fa49a4d8
fix nsupdate reference
2017-03-01 08:33:09 +11:00
Tinderbox User
a06081491c
regen master
2017-02-24 01:04:54 +00:00
Evan Hunt
a1365a0042
[master] remove unnecessary INSIST
...
4578. [security] Some chaining (CNAME or DNAME) responses to upstream
queries could trigger assertion failures.
(CVE-2017-3137) [RT #44734 ]
2017-02-23 14:34:33 -08:00
Tinderbox User
e04dff4bfd
update copyright notice / whitespace
2017-02-21 23:45:37 +00:00
Tinderbox User
4aa492de85
newcopyrights
2017-02-21 23:30:06 +00:00
Evan Hunt
18d49392fb
[master] use isc_uint32_t instead of uint32_t
2017-02-21 10:45:02 -08:00
Witold Krecicki
0790f8a361
4577. [func] Make qtype of resolver fuzzing packet configurable via command line. [RT #43540 ]
2017-02-21 03:49:55 -08:00
Tinderbox User
c4dbad7b36
regen master
2017-02-21 01:04:58 +00:00
Tinderbox User
e66aaccfd8
update copyright notice / whitespace
2017-02-20 23:45:32 +00:00
Tinderbox User
cc94177d80
newcopyrights
2017-02-20 23:30:05 +00:00
Witold Krecicki
fa9b4de716
4576. [func] The RPZ implementation has been substantially refactored for improved performance and reliability. [RT #43449 ]
2017-02-20 11:57:28 +01:00
Mark Andrews
87ff6241e4
dns_master_styleflags returns dns_masterstyle_flags_t
2017-02-20 17:39:20 +11:00
Tinderbox User
a32fa1246e
regen master
2017-02-16 01:05:00 +00:00
Tinderbox User
42039110be
newcopyrights
2017-02-15 04:43:32 +00:00
Mark Andrews
bd75947af7
reserve block for 9.12
2017-02-15 14:29:33 +11:00
Mark Andrews
009c98a1be
add CVE-2017-3136 note
...
(cherry picked from commit d77eadc261 )
2017-02-15 12:45:38 +11:00
Mark Andrews
06eb85992e
update description
2017-02-15 12:38:08 +11:00
Mark Andrews
3bce12e4b6
4575. [security] Dns64 with break-dnssec yes; can result in a
...
assertion failure. (CVE-2017-3136) [RT #44653 ]
2017-02-15 12:18:51 +11:00
Mark Andrews
af2b20ee3f
4574. [bug] Dig leaked memory with multiple +subnet options.
...
[RT #44683 ]
2017-02-14 15:52:40 +11:00
Evan Hunt
1df7a6fed6
[master] call flow description was incomplete
2017-02-09 13:52:45 -08:00
Evan Hunt
d16500cece
[master] restore some code from change 4556
2017-02-08 17:33:13 -08:00
Tinderbox User
a95dc83de5
regen master
2017-02-09 01:04:58 +00:00
Tinderbox User
f929677ed8
update copyright notice / whitespace
2017-02-08 23:45:32 +00:00
Tinderbox User
8262a144ec
newcopyrights
2017-02-08 23:30:05 +00:00
wpk
96912e44b0
4573. [func] Query logic has been substantially refactored (e.g. query_find function has been split into smaller functions) for improved readability, maintainability
2017-02-08 22:15:01 +01:00
Evan Hunt
7fcd72f574
[master] mismatched tag
2017-02-07 18:28:40 -08:00
Mark Andrews
dc9ed164e6
update
2017-02-08 13:11:42 +11:00
Evan Hunt
ef0ddc8ba3
[master] doc style
2017-02-07 08:18:15 -08:00
Evan Hunt
d8339932af
[master] fix memory leak from dnstap-output parsing
2017-02-06 22:13:51 -08:00
Mark Andrews
63f8c891d8
add dns_dt_setupfile
2017-02-07 13:21:20 +11:00
Mark Andrews
009aabd2e5
fix tag mismatch
2017-02-07 12:11:45 +11:00
Evan Hunt
c4e4bd6a09
[master] dnstap size and versions options
...
4572. [func] The "dnstap-output" option can now take "size" and
"versions" parameters to indicate the maximum size
a dnstap log file can grow before rolling to a new
file, and how many old files to retain. [RT #44502 ]
2017-02-06 16:34:58 -08:00
Evan Hunt
5b4d6d2ff8
[master] removed extra note about bind.keys update
2017-02-06 14:19:53 -08:00
Evan Hunt
56cccde22b
[master] fix build errors from inline macros (change 4565)
2017-02-06 10:41:45 -08:00
Tinderbox User
88ee987de6
update copyright notice / whitespace
2017-02-06 02:58:07 +00:00
Mark Andrews
3793e93fd9
remove redirect.db
2017-02-06 13:56:56 +11:00
Mark Andrews
3e48466e0a
4571. [bug] Out-of-tree builds of backtrace_test failed.
2017-02-06 13:46:00 +11:00
Tinderbox User
513cec7786
regen master
2017-02-05 01:04:55 +00:00
Tinderbox User
61f11922d3
update copyright notice / whitespace
2017-02-04 23:45:35 +00:00
Tinderbox User
85f41d0b00
newcopyrights
2017-02-04 23:30:05 +00:00
Evan Hunt
0f91e968c7
[master] fall back to builtin keys if bind.keys is empty
...
4570. [cleanup] named did not correctly fall back to the built-in
initializing keys if the bind.keys file was present
but empty. [RT #44531 ]
2017-02-04 00:37:37 -08:00
Evan Hunt
44e087b646
[master] revised comment
2017-02-04 00:24:06 -08:00
Evan Hunt
650b5e7592
[master] store local and remote addresses in dnstap
...
4569. [func] Store both local and remote addresses in dnstap
logging, and modify dnstap-read output format to
print them. [RT #43595 ]
2017-02-03 17:05:58 -08:00
Evan Hunt
adcdff94d9
[master] add "configure --with-bind" option to dnsperf
...
4568. [contrib] Added a --with-bind option to the dnsperf configure
script to specify BIND prefix path.
2017-02-03 16:28:45 -08:00
Tinderbox User
39f68aa480
update copyright notice / whitespace
2017-02-03 23:45:33 +00:00
Tinderbox User
90f82c95ac
newcopyrights
2017-02-03 23:30:04 +00:00
Tinderbox User
2cd2e915c3
regen
2017-02-03 23:30:02 +00:00
Evan Hunt
f4d20b15a2
[master] silence "unused value" warning
2017-02-03 11:26:37 -08:00
Mark Andrews
8562f6f9f4
set copyright type to zone
2017-02-03 22:14:47 +11:00
Mark Andrews
04ed4dd4db
wait longer for the transfer to complete
2017-02-03 17:51:16 +11:00
Mark Andrews
c550e75ade
4567. [port] Call getprotobyname and getservbyname prior to calling
...
chroot so that shared libraries get loaded. [RT #44537 ]
2017-02-03 14:22:03 +11:00
Mark Andrews
4a85cab586
mem_put/mem_get were inconsistent in updating ctx->malloced if ISC_MEM_CHECKOVERRUN was defined
2017-02-03 12:39:35 +11:00
Tinderbox User
04241eba68
regen master
2017-02-03 01:04:52 +00:00
Tinderbox User
194f07c628
update copyright notice / whitespace
2017-02-02 23:45:47 +00:00
Tinderbox User
ba1e3d1e50
newcopyrights
2017-02-02 23:30:27 +00:00
Evan Hunt
4ecfa356d1
[master] silence warning
2017-02-02 13:24:17 -08:00
Evan Hunt
aace5d0fb3
[master] include ECS in query logging
...
4566. [func] Query logging now includes the ECS option if one
was included in the query. [RT #44476 ]
2017-02-02 11:54:28 -08:00
Evan Hunt
7769c92946
[master] support autore in inline macro buffer functions
...
4565. [cleanup] The inline macro versions of isc_buffer_put*()
did not implement automatic buffer reallocation.
[RT #44216 ]
2017-02-02 11:32:39 -08:00
Mark Andrews
e5fe0d7823
fix not HAVE_LMDB case
2017-02-03 06:18:07 +11:00
Evan Hunt
2899fa37d2
[master] Remove obsolete Id lines that showed old date on generated bind.keys.h
2017-02-02 11:16:23 -08:00
Mark Andrews
294d73d990
new root KSK
2017-02-02 18:26:52 +11:00
Mark Andrews
00a83c64d7
4564. [maint] Update the built in managed keys to include the
...
upcoming root KSK. [RT #44579 ]
2017-02-02 17:32:23 +11:00
Mark Andrews
2f5444972a
perform more testing on rndc <op> -redirect
2017-02-02 17:25:54 +11:00
Mark Andrews
dfe3068ef3
4563. [bug] Modified zones would occasionally fail to reload.
...
[RT #39424 ]
2017-02-02 17:11:15 +11:00
Mark Andrews
f783c2d579
4562. [func] Add additional memory statistics currently malloced
...
and maxmalloced per memory context. [RT #43593 ]
2017-02-02 15:36:38 +11:00
Evan Hunt
4b0cd81a85
[master] Merge branch 'master' of ssh://repo.isc.org/proj/git/prod/bind9
2017-02-01 17:53:26 -08:00
Evan Hunt
6cb5e36ca3
[master] Squashed commit of the following:
...
4561. [port] Silence a warning in strict C99 compilers. [RT #44414 ]
2017-02-01 17:31:11 -08:00
Tinderbox User
59297922ce
regen master
2017-02-02 01:04:40 +00:00
Evan Hunt
caf7f57771
[master] clarify client logging doc
2017-02-01 14:51:02 -08:00
Tinderbox User
ed1f93cc24
update copyright notice / whitespace
2017-01-31 23:45:34 +00:00
Tinderbox User
f3dcaf37e0
newcopyrights
2017-01-31 23:30:10 +00:00
Tinderbox User
1f691c3d22
regen master
2017-01-31 01:05:39 +00:00
Evan Hunt
a2bd99a959
[master] address portability issues
2017-01-30 16:52:18 -08:00
Mark Andrews
1d8995d226
add a REQUIRE to catch the NULL pointer dereference that triggered CVE-2017-3135
2017-01-31 11:20:03 +11:00
Evan Hunt
cd668ea57f
[master] change 4558 was incomplete
2017-01-30 14:10:30 -08:00
Tinderbox User
ff52f52a31
regen master
2017-01-25 01:04:56 +00:00
Tinderbox User
b5808abc69
update copyright notice / whitespace
2017-01-24 23:45:30 +00:00
Tinderbox User
b8c28f1ec4
newcopyrights
2017-01-24 23:30:04 +00:00
Evan Hunt
7f6797a22d
[master] CHANGES typo
2017-01-24 13:09:38 -08:00
Mark Andrews
3e9f874e1f
win32: add consts
2017-01-24 22:44:25 +11:00
Mark Andrews
615d2f4bbd
fix changes note
2017-01-24 17:53:38 +11:00
Mark Andrews
25da687db7
4560. [bug] mdig: add -m option to enable memory debugging rather
...
than have in on all the time. [RT #44509 ]
4559. [bug] Openssl_link.c didn't compile if ISC_MEM_TRACKLINES
was turned off. [RT #44509 ]
2017-01-24 17:48:31 +11:00
Mark Andrews
9f4bf43b79
4558. [bug] Synthesised CNAME before matching DNAME was still
...
being cached when it should have been. [RT #44318 ]
2017-01-24 17:40:12 +11:00
Evan Hunt
afa0ff0cbb
[master] expand relnote
2017-01-23 20:04:04 -08:00
Mark Andrews
a9451f37a7
fix changes number
2017-01-24 12:38:39 +11:00
Tinderbox User
431ed6eede
regen master
2017-01-24 01:04:59 +00:00
Mark Andrews
b1b5229a47
4556. [security] Combining dns64 and rpz can result in dereferencing
...
a NULL pointer (read). (CVE-2017-3135) [RT#44434]
(cherry picked from commit 5abe80ef13 )
2017-01-24 09:55:51 +11:00
Tinderbox User
4502e3c5dd
regen master
2017-01-21 01:04:48 +00:00
Tinderbox User
96f5064e3c
update copyright notice / whitespace
2017-01-20 23:45:34 +00:00
Tinderbox User
b5ff64319e
newcopyrights
2017-01-20 23:30:04 +00:00
Evan Hunt
4f744a027f
[master] fix dig +ednsopt padding error
...
4556. [bug] Sending an EDNS Padding option using "dig
+ednsopt" could cause a crash in dig. [RT #44462 ]
2017-01-19 23:52:41 -08:00
Evan Hunt
25a9b90369
[master] symbolic option names for dig +ednsopt
...
4555. [func] dig +ednsopt: EDNS options can now be specified by
name in addition to numeric value. [RT #44461 ]
2017-01-19 23:46:37 -08:00
Tinderbox User
31c2480cd4
update copyright notice / whitespace
2017-01-19 23:45:37 +00:00
Tinderbox User
661183a323
newcopyrights
2017-01-19 23:30:03 +00:00
Mark Andrews
bf0b649993
whitespace
2017-01-19 13:16:04 +11:00
Tinderbox User
6084b738bc
update copyright notice / whitespace
2017-01-14 23:45:36 +00:00
Tinderbox User
1ea8dbb493
newcopyrights
2017-01-14 23:30:03 +00:00
Mark Andrews
5dfa5221d5
4554. [bug] Remove double unlock in dns_dispatchmgr_setudp.
...
[RT #44336 ]
2017-01-14 13:12:00 +11:00
Tinderbox User
7b665158e9
update copyright notice / whitespace
2017-01-13 23:45:35 +00:00
Tinderbox User
1ecf531ee6
newcopyrights
2017-01-13 23:30:03 +00:00
Mark Andrews
b8eee0f48d
make e's declaration unconditional. [RT #44324 ]
2017-01-13 16:10:25 +11:00
Mark Andrews
bcfaac260a
remove false negatives (add eol to grep patterns; add missing ret=0)
2017-01-13 15:59:52 +11:00
Tinderbox User
89e63ad516
regen master
2017-01-13 01:04:59 +00:00
Tinderbox User
a9e8198788
update copyright notice / whitespace
2017-01-12 23:45:41 +00:00
Tinderbox User
ae2b524f25
newcopyrights
2017-01-12 23:30:14 +00:00
Evan Hunt
364f064837
[master] fix function/prototype mismatch in dns_dt_send()
2017-01-12 09:22:53 -08:00
Evan Hunt
66b61a029d
[master] more specific date for DLV shutdown warning
2017-01-12 09:10:41 -08:00
Mark Andrews
d2e1b47d4f
4553. [bug] Named could deadlock there were multiple changes to
...
NSEC/NSEC3 parameters for a zone being processed at
the same time. [RT #42770 ]
2017-01-12 14:25:45 +11:00
Mark Andrews
42924b40af
4552. [bug] Named could trigger a assertion when sending notify
...
messages. [RT #44019 ]
2017-01-12 14:17:43 +11:00
Mark Andrews
7b9e28f1a5
4552. [bug] Named could trigger a assertion when sending notify
...
messages. [RT #44019 ]
2017-01-12 14:12:05 +11:00
Mark Andrews
434477aa02
--enable-developer now compiles bin/tests's XTARGETS [RT #44205 ]
2017-01-12 14:02:51 +11:00
Mark Andrews
0c43d50368
remove false positives due to bad grep [RT #44178 ]
2017-01-12 13:59:10 +11:00
Mark Andrews
260ca42f96
win2utils/Configure report modify file list [RT #43994 ]
2017-01-12 13:47:19 +11:00
Mark Andrews
750619b7a8
4551. [test] Add system tests for integrity checks of MX and
...
SRV records. [RT #43953 ]
2017-01-12 13:29:45 +11:00
Tinderbox User
052551c423
update copyright notice / whitespace
2017-01-10 23:45:34 +00:00
Tinderbox User
95b5ee062d
newcopyrights
2017-01-10 23:30:03 +00:00
Evan Hunt
2e703d7b61
[master] expand the flags field in dns_master_style
...
4550. [cleanup] Increased the number of available master file
output style flags from 32 to 64. [RT #44043 ]
2017-01-10 10:40:47 -08:00
Tinderbox User
86b7ae6b77
regen master
2017-01-10 01:04:52 +00:00
Tinderbox User
0908664518
newcopyrights
2017-01-09 23:30:03 +00:00
Evan Hunt
53febd7cf4
[master] update to 9.12.0-pre-alpha
2017-01-09 13:31:42 -08:00
Tinderbox User
9748633ce6
update copyright notice / whitespace
2017-01-06 23:45:26 +00:00
Tinderbox User
b7633ef208
newcopyrights
2017-01-06 23:30:02 +00:00
Mark Andrews
ea7d5332a6
address memory leak [RT #44072 ]
2017-01-06 18:48:37 +11:00
Tinderbox User
2067cfdb46
regen master
2017-01-06 01:05:20 +00:00
Tinderbox User
f557aeef7c
update copyright notice / whitespace
2017-01-05 23:45:24 +00:00
Tinderbox User
225ab92747
newcopyrights
2017-01-05 23:30:03 +00:00
Tinderbox User
37ae137942
regen master
2017-01-05 01:05:07 +00:00
Mark Andrews
2002188f83
update
2017-01-05 10:51:52 +11:00
Evan Hunt
6d25cd0502
[master] remove inline variable declaration (broke win32)
2017-01-04 11:17:06 -08:00
Evan Hunt
8dd5224034
[master] update libdns.def
2017-01-04 10:46:33 -08:00
Evan Hunt
5804332588
[master] EDNS padding and keepalive support
...
4549. [func] Added support for the EDNS TCP Keepalive option
(RFC 7828). [RT #42126 ]
4548. [func] Added support for the EDNS Padding option (RFC 7830).
[RT #42094 ]
2017-01-04 09:16:30 -08:00
Tinderbox User
e0d4e0ee8e
regen master
2017-01-04 01:05:09 +00:00
Evan Hunt
185d680e1a
[master] add support for native pkcs11 on keyper
...
4547. [port] Add support for --enable-native-pkcs11 on the AEP
Keyper HSM. [RT #42463 ]
2017-01-03 16:42:18 -08:00
Mark Andrews
1015ce24fc
address discards const warnings; address shadow warning
2016-12-31 14:30:50 +11:00
Tinderbox User
ed07d7a8f5
update copyright notice / whitespace
2016-12-30 23:46:36 +00:00
Tinderbox User
781caaeefd
newcopyrights
2016-12-30 23:30:16 +00:00
Mark Andrews
52e2aab392
4546. [func] Extend the use of const declarations. [RT #43379 ]
2016-12-30 15:45:08 +11:00
Evan Hunt
25f3b58edb
[master] don't use binmode when setting up files for VS2005 (XP build)
2016-12-29 14:22:05 -08:00
Mark Andrews
813ff2d277
remove #!/usr/bin/python
2016-12-29 23:37:53 +11:00
Mark Andrews
da40ddaeca
add copyright notice
2016-12-29 23:10:37 +11:00
Mark Andrews
b789eec98c
fix ProjectGuid
2016-12-29 19:47:07 +11:00
Mark Andrews
81ff80e0cd
fix ProjectGuid
2016-12-29 19:46:42 +11:00
Mark Andrews
965c1e910e
fix ProjectGuid
2016-12-29 19:45:56 +11:00
Tinderbox User
fdc6f64030
regen master
2016-12-29 04:58:08 +00:00
Evan Hunt
8f2b2012a4
[master] release notes
2016-12-28 20:19:47 -08:00
Evan Hunt
b3aebb5890
[master] silence warning
2016-12-28 17:54:16 -08:00
Mark Andrews
91a54c63bb
spelling
2016-12-29 12:06:43 +11:00
Tinderbox User
6ce6801f3f
regen master
2016-12-29 01:05:39 +00:00
Mark Andrews
6adf421e7e
4510. [security] Named mishandled some responses where covering RRSIG
...
records are returned without the requested data
resulting in a assertion failure. (CVE-2016-9147)
[RT #43548 ]
2016-12-29 11:47:19 +11:00
Mark Andrews
2c1c4b99a1
4508. [security] Named incorrectly tried to cache TKEY records which
...
could trigger a assertion failure when there was
a class mismatch. (CVE-2016-9131) [RT #43522 ]
2016-12-29 11:07:40 +11:00
Tinderbox User
4ef83f4333
update copyright notice / whitespace
2016-12-28 23:48:39 +00:00
Mark Andrews
f3bf3905c3
4517. [security] Named could mishandle authority sections that were
...
missing RRSIGs triggering an assertion failure.
(CVE-2016-9444) [RT # 43632]
(cherry picked from commit 1df30cfd27c5a3c57fce357c54aaf6c702227d51)
2016-12-29 10:39:51 +11:00
Tinderbox User
7b1835c467
newcopyrights
2016-12-28 23:30:27 +00:00
Mark Andrews
d376792dae
4531. [security] 'is_zone' was not being properly updated by redirect2
...
and subsequently preserved leading to an assertion
failure. (CVE-2016-9778) [RT #43837 ]
2016-12-29 10:25:01 +11:00
Evan Hunt
eff07b51df
[master] release notes
2016-12-28 12:05:08 -08:00
Evan Hunt
c1d04f115a
[master] spelling
2016-12-28 11:51:50 -08:00
Evan Hunt
cc1a796b78
[master] release note
2016-12-28 11:07:27 -08:00
wpk
c4ecf87d21
[master] Remove spurious entry in lib/dns/win32/libdns.def.in
2016-12-28 19:21:36 +01:00
wpk
e910d18007
4545. [func] Make dnstap-read output more functionally usable.
...
[RT #43642 ]
4544. [func] Add message/payload size to dnstap-read YAML output.
[RT #43622 ]
2016-12-28 11:57:28 +01:00
Mark Andrews
6f94747270
4543. [bug] dns_client_startupdate now delays sending the update
...
request until isc_app_ctxrun has been called.
[RT #43976 ]
2016-12-28 15:50:22 +11:00
Tinderbox User
190ea9e6b8
regen master
2016-12-28 01:05:39 +00:00
Mark Andrews
5093e8d482
4542. [func] Allow rndc to manipulate redirect zones with using
...
-redirect as the zone name (use "-redirect." to
manipulate a zone named "-redirect"). [RT #43971 ]
2016-12-28 11:36:31 +11:00
Tinderbox User
d029dfe95c
update copyright notice / whitespace
2016-12-27 23:46:44 +00:00
Tinderbox User
ddd52e1c40
newcopyrights
2016-12-27 23:30:22 +00:00
Mark Andrews
e20db12918
4541. [bug] rndc addzone should properly reject non master/slave
...
zones. [RT #43665 ]
2016-12-28 10:27:56 +11:00
Tinderbox User
dd0e617038
regen master
2016-12-27 01:05:51 +00:00
Evan Hunt
c5b8b74113
[master] clarify auth ECS is not meant for production use
2016-12-26 16:52:30 -08:00
Tinderbox User
c43f150d0a
update copyright notice / whitespace
2016-12-26 23:46:20 +00:00
Tinderbox User
a04f600b46
newcopyrights
2016-12-26 23:30:28 +00:00
Mark Andrews
8e333f42ef
4540. [bug] Correctly handle ecs entries in dns_acl_isinsecure.
...
[RT #43601 ]
2016-12-27 09:49:02 +11:00
Mark Andrews
762c4fc5a8
4539. [bug] Referencing a nonexistant zone with rpz could lead
...
to a assertion failure when configuring. [RT #43787 ]
2016-12-27 08:59:07 +11:00
Mark Andrews
aceabacdb8
4538. [bug] Call dns_client_startresolve from client->task.
...
[RT #43896 ]
2016-12-27 07:02:33 +11:00
Mark Andrews
e17d2f98be
if gen fails remove the file [RT #43949 ]
2016-12-23 09:19:31 +11:00
Mark Andrews
c1870d0e44
freeaddrinfo is called too early.
2016-12-15 09:38:12 +11:00
Mark Andrews
6089c8df71
4537. [bug] Handle timouts better in dig/host/nslookup. [RT #43576 ]
2016-12-14 15:42:43 +11:00
Tinderbox User
29916e6d7c
update copyright notice / whitespace
2016-12-13 23:46:28 +00:00
Mark Andrews
a678e70481
4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared
...
when reusing the event structure. [RT #43885 ]
2016-12-14 10:42:38 +11:00
Mark Andrews
37a8db0ba4
4535. [bug] Address race condition in setting / testing of
...
DNS_REQUEST_F_SENDING. [RT #43889 ]
2016-12-14 10:31:26 +11:00
Tinderbox User
45f03878c9
newcopyrights
2016-12-13 23:30:25 +00:00
Mark Andrews
def6b33bad
4534. [bug] Only set RD, RA and CD in QUERY responses. [RT #43879 ]
2016-12-13 16:27:18 +11:00
Mark Andrews
3105d9c9f3
spelling
2016-12-13 16:18:44 +11:00
Mark Andrews
8ca45ba01a
4533. [bug] dns_client_update should terminate on prerequiste
...
failures (NXDOMAIN, YXDOMAIN, NXRRSET, YXRRSET)
and also on BADZONE. [RT #43865 ]
2016-12-13 15:47:03 +11:00
Mark Andrews
4914e3ddc6
number all resolver tests
2016-12-13 15:02:32 +11:00
Tinderbox User
1ee9a6eb0d
newcopyrights
2016-12-12 23:30:16 +00:00
Evan Hunt
76a26842a9
[master] tweak logfileconfig test so it can pass on slower machines
2016-12-12 12:12:40 -08:00
Mark Andrews
043ae106d2
4532. [contrib] Make gen-data-queryperf.py python 3 compatible.
...
[RT #43836 ]
2016-12-12 17:46:03 +11:00
Mark Andrews
78cd99bb9e
placeholder
2016-12-09 15:17:11 +11:00
Mark Andrews
60cb462c56
4530. [bug] Change 4489 broke the handling of CNAME -> DNAME
...
in responses resulting in SERVFAIL being returned.
[RT #43779 ]
2016-12-09 12:50:18 +11:00
Evan Hunt
f2c7ae114a
[master] silence DSCP probing error
...
4529. [cleanup] Silence noisy log warning when DSCP probe fails
due to firewall rules. [RT #43847 ]
2016-12-08 08:44:20 -08:00
Mark Andrews
c1619b8420
4528. [bug] Only set the flag bits for the i/o we are waiting
...
for on EPOLLERR or EPOLLHUP. [RT #43617 ]
2016-12-08 16:59:46 +11:00
Tinderbox User
16fde7f0b3
regen master
2016-12-07 01:05:34 +00:00
Mark Andrews
1b8ce3b330
4527. [doc] Support DocBook XSL Stylesheets v1.79.1. [RT #43831 ]
2016-12-07 10:49:55 +11:00
Tinderbox User
8b22817d17
update copyright notice / whitespace
2016-12-05 23:46:20 +00:00
Tinderbox User
61736a516e
newcopyrights
2016-12-05 23:30:27 +00:00
Tinderbox User
807bf70d07
regenerate
2016-12-05 19:19:01 +00:00
Tinderbox User
b06a5726eb
regen master
2016-12-05 18:24:42 +00:00
Evan Hunt
ca58c1ea25
[master] fixed ARM grammars
...
4526. [doc] Corrected errors and improved formatting of
grammar defintiions in the ARM. [RT #43739 ]
2016-12-05 00:43:10 -08:00
Mark Andrews
24b7aa3df5
look $UNLIMITEDFILE.4 as $UNLIMITEDFILE.5 may not exist yet
2016-12-05 18:20:31 +11:00
Evan Hunt
e1ba21bd58
[master] fix managed-keys doc
...
4525. [doc] Fixed outdated documentation on managed-keys.
[RT #43810 ]
2016-12-04 20:22:20 -08:00
Mark Andrews
df372d967e
4524. [bug] The net zero test was broken causing IPv4 servers
...
with addresses ending in .0 to be rejected. [RT #43776 ]
2016-12-05 10:46:43 +11:00
Mark Andrews
c9ee977f31
added -T keepstderr to keep stderr open when daemonizing [RT #43736 ]
2016-12-05 10:38:16 +11:00
Evan Hunt
b4d70a933c
[master] expanded time unit test
2016-12-02 12:32:34 -08:00
Mukund Sivaraman
5c843b384d
Add doc function for cfg_type_querysource4 and cfg_type_querysource6 ( #43768 )
2016-12-02 11:16:08 +05:30
Mark Andrews
e7e20e577d
update
2016-12-01 10:39:00 +11:00
Tinderbox User
09c44ec7f1
regen master
2016-11-30 01:06:25 +00:00
Mark Andrews
cab871f1bc
4522. [bug] Handle big gaps in log file version numbers better.
...
[RT #38688 ]
2016-11-30 10:55:21 +11:00
Tinderbox User
1d7d7cdcda
update copyright notice / whitespace
2016-11-29 23:46:09 +00:00
Evan Hunt
6bdb70057d
[master] log as error if entropy unavailable
...
4521. [cleanup] Log it as an error if an entropy source is not
found and there is no fallback available. [RT #43659 ]
2016-11-29 11:30:31 -08:00
Mark Andrews
4352551d23
4520. [cleanup] Alphabetise more of the grammar when printing it
...
out. Fix unbalanced indenting. [RT #43755 ]
2016-11-29 15:28:28 +11:00
Mark Andrews
a611e44f9a
4519. [port] win32: handle ERROR_MORE_DATA. [RT #43534 ]
2016-11-29 11:28:26 +11:00
Tinderbox User
c8b6065dde
regen master
2016-11-25 21:01:07 +00:00
Mark Andrews
e527dcdb00
automate insertion of copyright year list into Bv9ARM-book.xml
2016-11-26 07:49:23 +11:00
Francis Dupont
3941801b72
Added VS 2017 RC
2016-11-24 17:11:44 +01:00
Tinderbox User
ee2c593635
regen master
2016-11-24 01:05:57 +00:00
Mark Andrews
e0c102d9ee
copyrights/whitespace
2016-11-24 11:04:30 +11:00
Tinderbox User
ee47b6607a
update copyright notice / whitespace
2016-11-23 23:46:11 +00:00
Evan Hunt
62c85a4a52
[master] allow different time formats: local, iso8601, iso8601-utc
...
4518. [func] The "print-time" option in the logging configuration
can now take arguments "local", "iso8601" or
"iso8601-utc" to indicate the format in which the
date and time should be logged. For backward
compatibility, "yes" is a synonym for "local".
[RT #42585 ]
2016-11-22 23:34:47 -08:00
Evan Hunt
f26fab1103
[master] clean up relnotes
2016-11-22 23:32:37 -08:00
Mark Andrews
de1c149326
placeholder
2016-11-22 12:14:29 +11:00
Mark Andrews
358c6ecd26
4516. [bug] isc_socketmgr_renderjson was missing from the
...
windows build. [RT #43602 ]
2016-11-22 12:07:42 +11:00
Tinderbox User
735e9fcadb
update copyright notice / whitespace
2016-11-19 23:46:27 +00:00
Curtis Blackburn
15fd942514
Merge branch 'master' of repo.isc.org:/proj/git/prod/bind9
2016-11-18 11:13:01 -08:00
Curtis Blackburn
eb4ffd6685
4515. [port] FreeBSD: Find readline headers when they are in
...
edit/readline/ instead of readline/. [RT #43658 ]
2016-11-18 11:12:42 -08:00
ckb
00084dd2e2
4515. [port] FreeBSD: Find readline headers when they are in
...
edit/readline/ instead of readline/. [RT #43658 ]
2016-11-18 11:08:06 -08:00
Mark Andrews
cbd3082c62
add rfc7477 and rfc8020
2016-11-16 19:12:09 +11:00
Mark Andrews
28f344c18a
check the value of s
2016-11-15 16:51:36 +11:00
Mukund Sivaraman
ea3c3afadc
Update CHANGES entry to match KB article
2016-11-14 14:23:29 +09:00
Mark Andrews
02c341f282
fix ISC_FORMAT_PRINTF paramaters for socket_log
2016-11-12 02:54:51 +11:00
Mark Andrews
415eeebda4
add --ipv6only=no test
2016-11-11 09:59:58 +11:00
Mark Andrews
69e77384fa
4514. [port] NetBSD: strip -WL, from ld command line. [RT #43204 ]
2016-11-10 11:31:21 +11:00
Mark Andrews
472e99cfa6
4513. [cleanup] Minimum Python versions are now 2.7 and 3.2.
...
[RT #43566 ]
2016-11-10 09:49:12 +11:00
Mark Andrews
1106845b4e
don't call dst_lib_destroy in t2_vfy
2016-11-09 17:03:34 +11:00
Mark Andrews
e49d93c22d
locks are only need in OpenSSL < 1.1
2016-11-09 10:05:50 +11:00
Mark Andrews
56c6fc0dac
only call dns_test_begin once
...
(cherry picked from commit f13c7b01746a07bef87a386ceff93ccb2a7488a9)
2016-11-09 10:03:21 +11:00
Mark Andrews
fed2f7e4c1
remove spurious newline [RT #43585 ]
2016-11-09 08:26:39 +11:00
Evan Hunt
3ac0165723
[master] typo in comment
2016-11-08 09:06:23 -08:00
Mark Andrews
084d88f67b
4512. [bug] win32: @GEOIP_INC@ missing from delv.vcxproj.in.
...
[RT #43556 ]
2016-11-07 10:03:24 +11:00
Mark Andrews
3119ae3699
4511. [bug] win32: mdig.exe-BNFT was missing Configure. [RT #43554 ]
2016-11-07 09:53:27 +11:00
Mark Andrews
af55bdd182
4511. [bug] win32: mdig.exe-BNFT was missing Configure. [RT #43554 ]
2016-11-07 09:52:08 +11:00
Francis Dupont
7f56936dc7
Fixed filter-aaaa prereq.sh
2016-11-04 14:55:59 +01:00
Mark Andrews
607f6d3169
placeholder
2016-11-04 15:56:42 +11:00
Evan Hunt
1e2aca8d90
[master] make rrl system test more robust
...
4509. [test] Make the rrl system test more reliable on slower
machines by using mdig instead of dig. [RT #43280 ]
2016-11-02 20:56:02 -07:00
Mark Andrews
c99d977674
placeholder
2016-11-03 14:33:06 +11:00
Mark Andrews
aa44b4682a
copyrights/whitespace
2016-11-03 12:41:00 +11:00
Curtis Blackburn
66b00b1e06
Merge branch 'master' of repo.isc.org:/proj/git/prod/bind9
2016-11-02 18:11:06 -07:00
Curtis Blackburn
f621b255d9
corrected typo in nsupdate test (DIG-->$DIG)
2016-11-02 18:09:37 -07:00
Tinderbox User
8d8839b3a0
regen master
2016-11-03 01:06:32 +00:00
Tinderbox User
e37bc34b31
update copyright notice / whitespace
2016-11-02 23:46:39 +00:00
Evan Hunt
c23255316e
[master] typo
2016-11-02 09:43:11 -07:00
Francis Dupont
18056151bf
Name -> Named
2016-11-02 09:27:06 +01:00
Francis Dupont
1c5861fa7b
Fixed IP_PMTUDISC_OMIT typos
2016-11-02 09:18:14 +01:00
Mark Andrews
aee76db9e3
add dns_db_getsize, dns_rdataslab_count, dns_zone_getmaxrecords, dns_zone_setmaxrecords
2016-11-02 18:49:02 +11:00
Mark Andrews
a0caf66c97
remove review fprintf
2016-11-02 18:03:33 +11:00
Mark Andrews
2b2b85c897
4507. [bug] Name could incorrectly log 'allows updates by IP
...
address, which is insecure' [RT #43432 ]
2016-11-02 17:53:19 +11:00
Mark Andrews
61747916ed
4506. [func] 'named-checkconf -l' will now list the zones found in
...
named.conf. [RT #43154 ]
2016-11-02 17:47:51 +11:00
Mark Andrews
a61f252391
4505. [port] Use IP_PMTUDISC_OMIT if available. [RT #35494 ]
2016-11-02 17:39:52 +11:00
Mark Andrews
5f8412a4cb
4504. [security] Allow the maximum number of records in a zone to
...
be specified. This provides a control for issues
raised in CVE-2016-6170. [RT #42143 ]
2016-11-02 17:31:27 +11:00
Evan Hunt
1b2e798976
[master] restore dropped #else block
2016-11-01 22:34:33 -07:00
Evan Hunt
be60398405
[master] typo
2016-11-01 20:31:04 -07:00
Evan Hunt
6087f87afb
[master] make uninstall
...
4503. [cleanup] "make uninstall" now removes file installed by
BIND. (This currently excludes Python files
due to lack of support in setup.py.) [RT #42912 ]
2016-11-01 19:17:07 -07:00
Tinderbox User
05caf20a11
regen master
2016-11-02 01:07:10 +00:00
Tinderbox User
d68d29f967
update copyright notice / whitespace
2016-11-01 23:46:15 +00:00
Tinderbox User
b7842079f8
newcopyrights
2016-11-01 23:31:07 +00:00
Mark Andrews
89286906dc
4502. [func] Report multiple and experimental options when printing
...
grammar. [RT #43134 ]
2016-11-02 10:04:57 +11:00
Mark Andrews
e1c93a0f58
'I:exit status: <value>' should be outsied of if
2016-11-02 09:11:40 +11:00
Mark Andrews
847b214e5b
placeholder
2016-11-02 08:57:30 +11:00
Mark Andrews
e200da5044
4500. [bug] Support modifier I64 in isc__print_printf. [RT #43526 ]
2016-11-02 08:46:02 +11:00
Evan Hunt
3fb62a5a4e
[master] use arc4random_stir() when available
...
4499. [port] MacOSX: silence deprecated function warning
by using arc4random_stir() when available
instead of arc4random_addrandom(). [RT #43503 ]
2016-11-01 14:00:46 -07:00
Evan Hunt
7960fc596b
[master] clean up reporting of R:FAIL so it can't spuriously appear mid-test
2016-11-01 13:46:42 -07:00
Mark Andrews
9bfebc4a6a
check for LIBRESSL_VERSION_NUMBER
...
(cherry picked from commit b2c1d6f0a2 )
2016-11-01 12:49:23 +11:00
Mark Andrews
429b543086
add more LIBRESSL_VERSION_NUMBER checks
2016-11-01 12:36:38 +11:00
Mark Andrews
3d38cfaf8a
add more LIBRESSL_VERSION_NUMBER checks
2016-11-01 12:24:22 +11:00
Mark Andrews
f53fc4540a
check for LIBRESSL_VERSION_NUMBER
2016-11-01 12:02:36 +11:00
Evan Hunt
5480a74b70
[master] simplify prereq checks by using feature-test.c
...
4498. [test] Simplify prerequisite checks in system tests.
[RT #43516 ]
2016-10-31 16:53:37 -07:00
Mark Andrews
ace79092b3
update spelling in comment
2016-11-01 10:50:58 +11:00
Tinderbox User
3bd20c8dd4
update copyright notice / whitespace
2016-10-30 23:46:10 +00:00
Mark Andrews
1fce0951ed
4497. [port] Add support for OpenSSL 1.1.0. [RT #41284 ]
2016-10-31 10:04:37 +11:00
Tinderbox User
c970f162b6
regen master
2016-10-29 01:06:53 +00:00
Tinderbox User
e24f9b0a33
update copyright notice / whitespace
2016-10-28 23:45:58 +00:00
Tinderbox User
f5e806807b
newcopyrights
2016-10-28 23:30:21 +00:00
Mark Andrews
bdd2066846
s/it/not/
2016-10-28 15:08:06 +11:00
Mark Andrews
42470b0b87
4496. [func] dig: add +idnout to control whether labels are
...
display in punycode or not. Requires idn support
to be enabled at compile time. [RT #43398 ]
2016-10-28 12:05:19 +11:00
Mark Andrews
49e94dc8d4
update copyrights
2016-10-28 11:27:49 +11:00
Mark Andrews
f21645e137
4495. [bug] A isc_mutex_init call was it being checked. [RT #43391 ]
2016-10-28 11:14:38 +11:00
Francis Dupont
13c1dd922d
Merged rt43345 libisccfg spuriously depended on libisccc
2016-10-27 14:05:54 +02:00
Mark Andrews
6fbb2b51d8
4494. [bug] Look for <editline/readline.h>. [RT #43429 ]
2016-10-27 15:48:51 +11:00
Mark Andrews
c910fc24ce
4493. [bug] bin/tests/system/dyndb/driver/Makefile.in should use
...
SO_TARGETS. [RT# 43336]
2016-10-27 15:37:26 +11:00
Mark Andrews
55b78fff62
4492. [bug] irs_resconf_load failed to initialise sortlistnxt
...
causing bad writes if resolv.conf contained a
sortlist directive. [RT #43459 ]
2016-10-27 13:17:58 +11:00
Mark Andrews
8eaf918adf
4491. [bug] Improve message emitted when testing whether sendmsg
...
works with TOS/TCLASS fails. [RT #43483 ]
2016-10-27 09:02:06 +11:00
Mark Andrews
ecd8e95bb5
change 4487 broke the cacheclean test with old version of perl. [RT #43476 ]
2016-10-27 00:09:21 +11:00
Mark Andrews
856c77cc40
s/,/;/
2016-10-26 22:38:24 +11:00
Mark Andrews
3b7cb2c5b1
4490. [maint] Added AAAA (2001:500:12::d0d) for G.ROOT-SERVERS.NET.
2016-10-21 22:44:06 +11:00
Mark Andrews
bd6f27f5c3
4489. [security] It was possible to trigger assertions when processing
...
a response. (CVE-2016-8864) [RT #43465 ]
2016-10-21 14:55:10 +11:00
Mark Andrews
bcbacc4045
copyrights
2016-10-20 11:03:20 +11:00
Mark Andrews
8d6fefac31
4488. [port] Darwin: use -framework for Kerberos. [RT #43418 ]
2016-10-20 10:26:05 +11:00
Witold Krecicki
358dfaee18
4487. [test] Make system tests work on Windows. [RT #42931 ]
2016-10-19 17:18:42 +02:00
Tinderbox User
0b15ee0705
regen master
2016-10-16 01:06:28 +00:00
Mark Andrews
7551ec1ebe
add managed keys to view section
2016-10-16 08:15:15 +11:00
Mark Andrews
b1b595617b
fix changes numbers
2016-10-12 12:34:14 +11:00
Mark Andrews
09f914d2d4
further readline changes [RT #43139 ]
2016-10-12 11:56:59 +11:00
Tinderbox User
0e2fe405f3
update copyright notice / whitespace
2016-10-11 23:46:16 +00:00
Tinderbox User
a11e9a8402
newcopyrights
2016-10-11 23:30:18 +00:00
Evan Hunt
e91255b006
[master] gitignore python build directory
...
Patch submitted by Tony Finch (dot@dotat.at )
2016-10-11 13:15:24 -07:00
Mark Andrews
ccf0bea98a
don't clobber readline
2016-10-11 17:30:13 +11:00
Mark Andrews
6bb84df34d
fix typo
2016-10-11 17:05:36 +11:00
Mark Andrews
170ced60d8
don't require lctx to be non NULL
...
(cherry picked from commit 3793d848bd )
2016-10-11 17:03:28 +11:00
Mark Andrews
01862dfaa5
4485. [bug] Look in $prefix/lib/pythonX.Y/site-packages for
...
the python modules we install. [RT #43330 ]
2016-10-11 15:20:37 +11:00
Mark Andrews
6caac8d9a9
4484. [bug] Failure to find readline when requested should be
...
fatal to configure. [RT #43328 ]
2016-10-11 15:15:56 +11:00
Mark Andrews
78aa92e5f5
use ISC_LOG_ERROR instead of ISC_LOG_WARNING for bad prefix
2016-10-11 15:06:15 +11:00
Mark Andrews
c5d4cfc8aa
4483. [func] Check prefixes in acls to make sure the address and
...
prefix lengths are consistent. Warn only in
BIND 9.11 and earlier. [RT #43367 ]
2016-10-11 14:52:28 +11:00
Mark Andrews
61463ab7a4
4482. [bug] Address use before require check and remove extraneous
...
dns_message_gettsigkey call in dns_tsig_sign.
[RT #43374 ]
2016-10-11 14:40:29 +11:00
Evan Hunt
676ac3cc82
[master] add cfg_parse_buffer3() function with linenum parameter
...
4482. [cleanup] Change #4455 was incomplete. [RT #43252 ]
2016-10-10 17:11:21 -07:00
Mark Andrews
d3f29e7a4f
sleep 2 to let in progress lookups complete
2016-10-10 14:35:36 +11:00
Tinderbox User
5e32012dcf
regen master
2016-10-10 01:04:44 +00:00
Mark Andrews
3b6aba8dcb
4481. [func] dig: make +class, +crypto, +multiline, +rrcomments,
...
+onesoa, +qr, +ttlid, +ttlunits and -u per lookup
rather than global. [RT #42450 ]
2016-10-10 11:55:59 +11:00
Evan Hunt
ef59039b04
[master] placeholder
2016-10-08 14:26:29 -07:00
Evan Hunt
5396eb0fd4
[master] placeholder
2016-10-05 22:33:35 -07:00
Evan Hunt
af05768c0e
[master] reset ret between NTA tests
2016-10-05 21:06:54 -07:00
Mark Andrews
26d21e2e25
fix long line
2016-10-06 14:23:38 +11:00
Tinderbox User
f925373f21
regen master
2016-10-06 01:05:06 +00:00
Tinderbox User
8657223ebc
update copyright notice / whitespace
2016-10-05 23:45:39 +00:00
Witold Krecicki
551f1e02e6
4478. [func] Add +continue option to mdig, allow continue on socket errors. [RT #43281 ]
2016-10-05 13:50:03 +02:00
Witold Krecicki
5aaf7e3a04
4477. [test] Fix mkeys test timing issues. [RT #41028 ]
2016-10-05 13:42:53 +02:00
Witold Krecicki
a0f9aaa103
4476. [test] Fix reclimit test on slower machines. [RT #43283 ]
2016-10-05 11:54:12 +02:00
Mark Andrews
67cdd2d3a4
4475. [doc] Update named-checkconf documentation. [RT #43153 ]
2016-10-05 14:21:41 +11:00
Mark Andrews
f77ee20a6c
4474. [bug] win32: call WSAStartup in fromtext_in_wks so that
...
getprotobyname and getservbyname work. [RT #43197 ]
(cherry picked from commit 82a50a619a )
2016-10-05 12:29:23 +11:00
Mark Andrews
fe4d0fbc7c
4473. [bug] Only call fsync / _commit on regular files. [RT #43196 ]
2016-10-05 12:20:02 +11:00
Mark Andrews
ca67897bad
grammar
2016-10-05 10:36:22 +11:00
Mark Andrews
7fbe85c6d7
4472. [bug] Named could fail to find the correct NSEC3 records when
...
a zone was update between looking for the answer and
looking for the NSEC3 records proving non-existance
of the answer. [RT #43247 ]
2016-10-05 10:35:18 +11:00
Tinderbox User
ddb166caff
regen master
2016-10-04 22:13:44 +00:00
Mukund Sivaraman
b7d07b861b
Typo
2016-10-01 11:35:13 +05:30
Witold Krecicki
c5a80c9427
[master] Disable dig IPv4-to-IPv6 mapping system test on OpenBSD
2016-09-30 12:19:44 +02:00
Mark Andrews
413e9b90de
sync with 9.11.0
2016-09-30 14:48:13 +10:00
Mark Andrews
966edc2775
make statschannel version number agnostic
...
(cherry picked from commit 1477c19dd9 )
2016-09-29 17:01:53 +10:00
Tinderbox User
f1814f50c9
regen master
2016-09-29 01:05:10 +00:00
Evan Hunt
e9917a51d3
[master] minor cleanup/clarification in dnstap documentation
...
Patch submitted by Tony Finch (dot@dotat.at ).
2016-09-27 20:45:58 -07:00
Witold Krecicki
f78603b534
[master] Fix a minor bug in isc_netaddr_masktoprefixlen
2016-09-27 11:14:56 +02:00
Tinderbox User
03bb19ed38
regen master
2016-09-26 13:42:17 +00:00
Mark Andrews and Mukund Sivaraman
b25638d9be
sync with v9_11 for 9.11.0rc3
...
(cherry picked from commit 47f8b47b8d )
2016-09-26 18:49:24 +05:30
Mark Andrews
ea23a4868c
use repo.isc.org rt43254
2016-09-26 15:25:03 +10:00
Tinderbox User
6caf463209
regen master
2016-09-23 01:05:40 +00:00
Evan Hunt
c4b7db4932
[master] render querylog format consistent, and add a release note
...
4471. [cleanup] Render client/query logging format consistent for
ease of log file parsing. (Note that this affects
"querylog" format: there is now an additional field
indicating the client object address.) [RT #43238 ]
2016-09-22 14:48:56 -07:00
Evan Hunt
a4cc9c9ca2
[master] placeholder
2016-09-20 14:02:56 -07:00
Mark Andrews
d9bc0a865e
4470. [bug] Reset message with intent parse before
...
calling dns_dispatch_getnext. [RT #43229 ]
2016-09-20 21:12:16 +10:00
Mark Andrews
4f713200f8
sync with 9.11.0rc2
2016-09-20 20:54:27 +10:00
Evan Hunt
5b09d7019b
[master] placeholder
2016-09-15 18:47:39 -07:00
Tinderbox User
18c84f3b0b
regen master
2016-09-14 01:04:44 +00:00
Mark Andrews
df17290113
4468. [bug] Address ECS option handling issues. [RT #43191 ]
2016-09-14 08:22:15 +10:00
Mukund Sivaraman
b6f65b0924
Add a missing brace in dnsperf ECS patch that was dropped during cleanup
2016-09-12 16:15:18 +05:30
Tinderbox User
388a578aee
newcopyrights
2016-09-09 23:30:06 +00:00
Mukund Sivaraman
e314df3429
Add contrib patch to dnsperf for sending EDNS CLIENT-SUBNET option
2016-09-09 13:36:13 +05:30
Tinderbox User
91ff2c5a4b
regen master
2016-09-09 02:18:18 +00:00
Mark Andrews
9ffbc3f9b3
reorder
2016-09-09 11:54:19 +10:00
Mark Andrews
d4c8a622c0
add CVE-2016-2776
2016-09-09 11:50:24 +10:00
Mark Andrews
1090e198c4
add CVE-2016-2776
2016-09-09 11:39:19 +10:00
Mark Andrews
9872e3fbd9
add CVE-2016-2776
2016-09-09 11:36:44 +10:00
Mark Andrews
2bd0922cf9
4467. [security] It was possible to trigger a assertion when rendering
...
a message. [RT #43139 ]
2016-09-09 11:29:48 +10:00
Mark Andrews
61ca100b80
4466. [bug] Interface scanning didn't work on a Windows system
...
without a non local IPv6 addresses. [RT #43130 ]
2016-09-08 14:25:20 +10:00
Mark Andrews
f1977af0d3
4465. [bug] Don't use "%z" as Windows doesn't support it.
...
[RT #43131 ]
2016-09-08 14:16:56 +10:00
Mark Andrews
85468d4c81
4464. [bug] Fix windows python support. [RT #43173 ]
2016-09-08 13:55:01 +10:00
Mark Andrews
ed7097fc00
4463. [bug] The dnstap system test failed on some systems.
...
[RT #43129 ]
2016-09-08 11:40:24 +10:00
Mark Andrews
58d622d96d
4462. [bug] Don't describe a returned EDNS COOKIE as "good"
...
when there isn't a valid server cookie. [RT #43167 ]
2016-09-08 11:34:19 +10:00
Francis Dupont
da8353706f
Merge branch 'master' of ssh://repo.isc.org/proj/git/prod/bind9
2016-09-08 01:54:52 +02:00
Francis Dupont
cfa20db199
Fixed obvious typo in t_atomic
2016-09-08 01:54:18 +02:00
Tinderbox User
56b376dd15
newcopyrights
2016-09-07 23:30:04 +00:00
Mark Andrews
5125df6753
restore release marker
2016-09-07 14:13:55 +10:00
Mark Andrews
8eceb0bffe
4461. [bug] win32: not all external data was properly marked
...
as external data for windows dll. [RT #43161 ]
2016-09-07 14:12:11 +10:00
Tinderbox User
1a49346184
regen master
2016-09-02 01:04:40 +00:00
Mark Andrews
fe09d4b609
s/secret_string/algorithm_id/ for cookie-algorithm
2016-09-01 12:04:47 +10:00
Tinderbox User
9465a47983
regen master
2016-09-01 01:04:48 +00:00
Evan Hunt
b46760b373
[master] correct default value of tcp-clients
2016-08-30 23:02:27 -07:00
Mark Andrews
e7bb78349f
sync w/ 9.11.0rc1
2016-08-31 12:15:55 +10:00
Tinderbox User
4c60000629
update copyright notice / whitespace
2016-08-30 23:45:30 +00:00
Tinderbox User
170fcfcda1
newcopyrights
2016-08-30 23:30:09 +00:00
Mark Andrews
9d11e46714
silence unused variable 'pollstate' warning [RT #43109 ]
2016-08-30 14:25:41 +10:00
Mark Andrews
3e1fa8411b
4460. [test] Add system test for dnstap using unix domain sockets.
...
[RT #42926 ]
2016-08-30 11:20:22 +10:00
Mark Andrews
dc449c999c
spelling
2016-08-30 09:54:05 +10:00
Mark Andrews
2272d836ba
whitespace
2016-08-30 09:42:14 +10:00
Evan Hunt
a26a62cef2
[master] fix tcp client memory leak
...
4459. [bug] TCP client objects created to handle pipeline queries
were not cleaned up correctly, causing uncontrolled
memory growth. [RT #43106 ]
2016-08-29 11:56:36 -07:00
Mukund Sivaraman
becac651e8
Update assertions to be more correct, and also remove use of a reserved word ( #43090 )
...
Note: this doesn't actually fix #43090 .
2016-08-29 18:52:55 +05:30
Mark Andrews
5336feefb0
make depend needs to decend into lib/*/test [rt #43105 ]
2016-08-29 10:19:56 +10:00
Mark Andrews
c55b572ccf
4457. [maint] Added AAAA (2001:500:a8::e) for E.ROOT-SERVERS.NET.
2016-08-29 10:15:12 +10:00
Mark Andrews
63fe88e8d8
4456. [doc] Add DOCTYPE and lang attribute to <html> tags.
...
[RT #42587 ]
2016-08-26 15:14:04 +10:00
Mark Andrews
e1f590a59a
remove spurious 'i'
2016-08-26 13:41:57 +10:00
Mark Andrews
8560e8486a
add isc_lex_setsourceline
2016-08-26 03:15:32 +00:00
Evan Hunt
02fb764681
[master] pass source file and line to dyndb load function
...
4455. [cleanup] Allow dyndb modules to correctly log the filename
and line number when processing configuration text
from named.conf. [RT #43050 ]
2016-08-25 18:08:26 -07:00
Tinderbox User
65c09d514e
regen master
2016-08-26 01:04:37 +00:00
Tinderbox User
fba207e51a
update copyright notice / whitespace
2016-08-25 23:45:37 +00:00
Tinderbox User
92ea8326d8
newcopyrights
2016-08-25 23:30:08 +00:00
Jeremy C. Reed
25a13a0861
fix the 8K number
...
from the upstream source:
/** Default `buffer_hint` value. */
2016-08-25 13:55:17 -04:00
Evan Hunt
bfb479d5e3
[master] fix dnssec-policy.conf in notes
2016-08-25 08:19:01 -07:00
Mark Andrews
7535dd93a1
rename ioqversion -> generation; move increment before fstrm_iothr_destroy
2016-08-24 22:06:00 -04:00
Tinderbox User
5883460271
regen master
2016-08-25 01:04:54 +00:00
Mark Andrews
726cddb564
4454. [bug] 'rndc dnstap -reopen' had a race issue. [RT #43089 ]
2016-08-25 10:03:22 +10:00
Mark Andrews
f431bf02a6
4453. [bug] Prefetching of DS records failed to update their
...
RRSIGs. [RT #42865 ]
2016-08-25 09:51:31 +10:00
Tinderbox User
a91ea57cb3
update copyright notice / whitespace
2016-08-24 23:45:33 +00:00
Mark Andrews
e09f18e349
4452. [bug] The default key manager policy file is now
...
<sysdir>/dnssec-policy.conf (usually
/etc/dnssec-policy.conf). [RT #43064 ]
2016-08-25 09:41:50 +10:00
Tinderbox User
1c4ed966a3
newcopyrights
2016-08-24 23:30:09 +00:00
Evan Hunt
864dc79dce
[master] add missing release notes and fix other doc nits
2016-08-24 16:25:20 -07:00
Evan Hunt
9d990968ad
[master] 43076 was missed from CHANGES
2016-08-24 14:09:28 -07:00
Evan Hunt
1e50c0d857
[master] add dnssec-keygen and nslookup man page links to ARM
2016-08-24 20:39:03 +00:00
Mark Andrews
7bb9972a1f
add signing -serial to rndc usage
2016-08-23 13:41:37 +10:00
Mark Andrews
888dc0fb4f
update copyrights / whitespace
2016-08-23 09:48:35 +10:00
Francis Dupont
76a3f42977
Added print.h include
2016-08-22 14:25:10 +02:00
Francis Dupont
fc41d120f0
Merged rt43077 (new RSA verify unit test)
2016-08-22 14:10:21 +02:00
Francis Dupont
2f08617da9
Merged rt43076 (log PKCS#11 provider load failure)
2016-08-22 13:59:53 +02:00
Francis Dupont
228a095c29
regen configure (cannot wait for cron)
2016-08-19 14:54:07 +02:00
Tinderbox User
a1458d47a5
regen master
2016-08-19 01:52:16 +00:00
Mark Andrews
9f800a939e
9.11.0rc1
2016-08-19 11:26:57 +10:00
Tinderbox User
34da98377c
update copyright notice / whitespace
2016-08-19 01:23:21 +00:00
Evan Hunt
dd666442d3
[master] document power of 2 requirement for fstrm-set-input-queue-size
2016-08-18 18:10:32 -07:00
Evan Hunt
b715ad3cdb
[master] missed renaming SIT to COOKIE
2016-08-18 18:08:35 -07:00
Tinderbox User
b297f5cdd5
regen master
2016-08-19 01:04:52 +00:00
Mark Andrews
63bff9f75c
update copyright list
2016-08-19 10:58:09 +10:00
Evan Hunt
6d2963e4d4
[master] clarify README.site
2016-08-18 17:52:49 -07:00
Mark Andrews
8ee6f289d8
4450. [port] Provide more nuanced HSM support which better matches
...
the specific PKCS11 providers capabilities. [RT #42458 ]
2016-08-19 08:02:51 +10:00
Witold Krecicki
85342bec80
4449. [test] Fix catalog zones test on slower systems. [RT #42997 ]
2016-08-18 18:17:56 +02:00
Mark Andrews
dec17fb662
install isc/errno.h
2016-08-18 22:12:14 +10:00
Mark Andrews
6e4788dd12
4448. [bug] win32: ::1 was not being found when iterating
...
interfaces. [RT #42993 ]
2016-08-18 21:58:13 +10:00
Mark Andrews
81ace51190
add dns_dt_getstats
2016-08-18 12:21:28 +10:00
Mark Andrews
934837913f
4447. [tuning] Allow the fstrm_iothr_init() options to be set using
...
named.conf to control how dnstap manages the data
flow. [RT #42974 ]
2016-08-18 11:16:06 +10:00
Tinderbox User
0967d759de
update copyright notice / whitespace
2016-08-17 23:45:32 +00:00
Tinderbox User
35fd81d9b7
newcopyrights
2016-08-17 23:30:12 +00:00
Evan Hunt
46e7763d19
[master] check for STALE rdatasets in cache search
...
4446. [bug] The cache_find() and _findrdataset() functions
could find rdatasets that had been marked stale.
[RT #42853 ]
2016-08-17 11:44:24 -07:00
Evan Hunt
3390d74e33
[master] fix dyndb issues; isc_errno_toresult()
...
4445. [cleanup] isc_errno_toresult() can now be used to call the
formerly private function isc__errno2result().
[RT #43050 ]
4444. [bug] Fixed some issues related to dyndb: A bug caused
braces to be omitted when passing configuration text
from named.conf to a dyndb driver, and there was a
use-after-free in the sample dyndb driver. [RT #43050 ]
Patch for dyndb driver submitted by Petr Spacek at Red Hat.
2016-08-17 11:37:57 -07:00
Mark Andrews
8c2c6b8b42
update dyndb_init inline documentationi [RT #43050 ]
2016-08-17 14:11:57 +10:00
Mark Andrews
4cb2ad343f
use explict casts to silence truncation warnings
2016-08-16 12:29:09 +10:00
Tinderbox User
baa0e04675
update copyright notice / whitespace
2016-08-15 23:45:31 +00:00
Mark Andrews
19a8bd884f
update
2016-08-16 09:44:27 +10:00
Mark Andrews
7872d4d1c0
4443. [func] Set TCP_MAXSEG in addition to IPV6_USE_MIN_MTU on
...
TCP sockets. [RT #42864 ]
2016-08-16 07:42:25 +10:00
Mark Andrews
42a14518ac
don't return void
2016-08-16 07:33:25 +10:00
Francis Dupont
f4288bafe9
Updated WIN32 part of TCP_FASTOPEN doc
2016-08-15 19:43:20 +02:00
Francis Dupont
95f4b49ba1
_MSV_VER -> _MSC_VER
2016-08-15 17:55:27 +02:00
Francis Dupont
fcb2309a9a
Fixed trivial typo
2016-08-15 17:13:13 +02:00
Mukund Sivaraman
131307a70e
Fix RPZ CIDR tree insertion bug ( #43035 )
2016-08-15 14:17:02 +05:30
Mark Andrews
f814343d1b
add dnstap to help. [RT #42928 ]
2016-08-15 11:56:17 +10:00
Mark Andrews
8a98ea9e94
4441. [cleanup] Alphabetize host's help output. [RT #43031 ]
2016-08-15 11:21:52 +10:00
Mark Andrews
301a03d565
update
2016-08-13 12:43:36 +10:00
Tinderbox User
2799701c32
update copyright notice / whitespace
2016-08-12 23:45:28 +00:00
Mark Andrews
a977bc4c8e
4440. [func] Enable TCP fast open support when available on the
...
server side. [RT #42866 ]
2016-08-12 15:31:33 +10:00
Mark Andrews
c7e021e2e6
4439. [bug] Address race conditions getting ownernames of nodes.
...
[RT #43005 ]
2016-08-12 14:08:48 +10:00
Mark Andrews
d260d5ef4c
add isc_ratelimiter_setpushpop
2016-08-12 12:39:25 +10:00
Mark Andrews
5734cd3943
4438. [func] Use LIFO rather than FIFO when processing startup
...
notify and refresh queries. [RT #42825 ]
2016-08-12 11:33:48 +10:00
Tinderbox User
a7115b8b4d
regen master
2016-08-12 01:04:57 +00:00
Mark Andrews
78e31dd187
4437. [func] Minimal-responses now has two additional modes
...
no-auth and no-auth-recursive which suppress
adding the NS records to the authority section
as well as the associated address records for the
nameservers. [RT #42005 ]
2016-08-12 10:48:51 +10:00
Mark Andrews
aaeed646fe
Merge branch 'master' of repo.isc.org:/proj/git/prod/bind9
2016-08-12 10:06:42 +10:00
Mark Andrews
bb900e62bf
4436. [func] Return TLSA records as additional data for MX and SRV
...
lookups. [RT #42894 ]
2016-08-12 10:03:23 +10:00
Tinderbox User
e29263c656
update copyright notice / whitespace
2016-08-11 23:45:29 +00:00
Mark Andrews
31ffec1541
4435. [tuning] Only set IPV6_USE_MIN_MTU for UDP when the message
...
will not fit into a single IPv4 encapsulated IPv6
UDP packet when transmitted over a Ethernet link.
[RT #42871 ]
2016-08-12 09:41:59 +10:00
Mark Andrews
bf2238b064
4434. [protocol] Return EDNS EXPIRE option for master zones in addition
...
to slave zones. [RT #43008 ]
2016-08-12 09:31:41 +10:00
Evan Hunt
c38d989fdd
[master] error on bad parameter to 'rndc dumpdb'
...
4433. [cleanup] Report an error when passing an invalid option or
view name to "rndc dumpdb". [RT #42958 ]
2016-08-11 16:02:57 -07:00
Francis Dupont
7a76be36e7
Reserved 4433 for rt42840
2016-08-11 14:33:52 +02:00
Evan Hunt
46ea7e02a7
[master] correct [testing] tags to [test]
2016-08-10 09:27:54 -07:00
Evan Hunt
d06aed77ff
[master] remove spurious newline in EDNS EXPIRE logging
...
Patch submitted by Tony Finch (dot@dotat.at ).
2016-08-10 09:25:48 -07:00
Mark Andrews
12895c8d6f
4432. [testing] Hide rndc output on expected failures in logfileconfig
...
system test. [RT #27996 ]
2016-08-10 13:06:40 +10:00
Tinderbox User
2f77f658a0
update copyright notice / whitespace
2016-08-09 00:25:45 +00:00
Mark Andrews
859a9ccbd7
update
2016-08-09 10:19:38 +10:00
Mark Andrews
632e67baa6
4431. [bug] named-checkconf now checks the rate-limit clause.
...
[RT #42970 ]
2016-08-08 23:52:40 +10:00
Mark Andrews
3146be6fd6
4430. [bug] Lwresd died if a search list was not defined.
...
Found by 0x710DDDD At Alibaba Security. [RT #42895 ]
2016-08-08 10:22:51 +10:00
Mark Andrews
c1915935cf
4429. [bug] Address potential use after free on fclose() error.
...
[RT #42976 ]
2016-08-08 09:50:34 +10:00
Mark Andrews
c4153b554d
4428. [bug] The "test dispatch getnext" unit test could fail
...
in a threaded build. [RT #42979 ]
2016-08-08 09:35:17 +10:00
Evan Hunt
e9bd1496ed
[master] fix dnstap query/response selectors
...
4427. [bug] The "query" and "response" parameters to the
"dnstap" option had their functions reversed.
2016-08-06 00:21:04 -07:00
Mark Andrews
32b4a9a3e0
sync with 9.11.0b3
2016-07-30 07:44:23 +10:00
Mark Andrews
969e4ba50c
sync with 9.11.0.b3
2016-07-30 07:14:31 +10:00
Mark Andrews
e95391abd4
remove spurious breaks
2016-07-29 23:55:52 +10:00
Witold Krecicki
2830b1d597
Remove spurious isc_stdio_open
2016-07-28 14:30:48 +02:00
Tinderbox User
ac02aaa802
newcopyrights
2016-07-27 23:30:57 +00:00
Witold Krecicki
fe6db06ced
4426. [bug] Addressed Coverity warnings. [RT #42908 ]
2016-07-27 15:46:09 +02:00
Tinderbox User
49834f2f8d
regen master
2016-07-27 01:07:09 +00:00
Witold Krecicki
29d1f6a781
Fix typos in nzd2nzf test
2016-07-26 21:15:18 +02:00
Mark Andrews
915544f389
add mdig, named-nzd2nzf, pkcs11-destroy, pkcs11-list, pkcs11-keygen and pkcs11-tokens manpages
2016-07-27 05:00:20 +10:00
Witold Krecicki
aad10dd583
Fix merge error in bin/tests/system/conf.sh.in, add missing cleanups in tests
2016-07-26 20:29:12 +02:00
Mark Andrews
0408ceba1f
add space in #error message
2016-07-26 11:28:47 +10:00
Mark Andrews
0ac94b80e8
remove comma
2016-07-26 11:17:37 +10:00
Tinderbox User
7ba3e5dc9e
regen master
2016-07-26 01:07:05 +00:00
Mark Andrews
3fdd1a3462
named-rrchecker is also in ${prefix}/bin
2016-07-26 07:12:13 +10:00
Mark Andrews
711aff9fa7
4425. [bug] arpaname and dnstap-read were not being installed
...
into ${prefix}/bin. Tidy up installation issues
with CHANGE 4421. [RT #42910 ]
2016-07-26 06:51:36 +10:00
Witold Krecicki
c854d9c7a8
Fix merge error in bin/tools/Makefile.in
2016-07-25 13:18:47 +02:00
Tinderbox User
e31a24d05b
regen master
2016-07-23 01:08:43 +00:00
Tinderbox User
3e6b0b4931
update copyright notice / whitespace
2016-07-22 23:46:17 +00:00
Tinderbox User
d2a2a4e863
newcopyrights
2016-07-22 23:30:42 +00:00
Mark Andrews
6655b7db13
add dns_keytable_forall
2016-07-22 20:33:51 +10:00
Mark Andrews
f20179857a
4424. [experimental] Named now sends _ta-XXXX.<trust-anchor>/NULL queries
...
to provide feedback to the trust-anchor administrators
about how key rollovers are progressing as per
draft-ietf-dnsop-edns-key-tag-02. This can be
disabled using 'trust-anchor-telemetry no;'.
[RT #40583 ]
2016-07-22 20:02:17 +10:00
Mark Andrews
9616761417
copyrights
2016-07-22 15:58:48 +10:00
Evan Hunt
45cf2311b9
[master] add aaaa for b.root-servers.net
...
4423. [maint] Added missing IPv6 address 2001:500:84::b for
B.ROOT-SERVERS.NET. [RT #42898 ]
Patch submitted by Xoze Vazquez Perez (xose.vazquez@gmail.com ).
2016-07-21 20:01:23 -07:00
Tinderbox User
806ed3a2f1
regen master
2016-07-22 01:05:36 +00:00
Tinderbox User
2bc4d454e1
update copyright notice / whitespace
2016-07-21 23:46:03 +00:00
Evan Hunt
d20f0472df
[master] silence clang warnings
...
4422. [port] Silence clang warnings in dig.c and dighost.c.
[RT #42451 ]
2016-07-21 15:53:43 -07:00
Evan Hunt
02991b6884
[master] add release note
2016-07-21 13:36:28 -07:00
Evan Hunt
6c81b492df
[master] add missing file
2016-07-21 12:45:15 -07:00
Evan Hunt
7914f63011
[master] print.h
2016-07-21 11:25:19 -07:00
Evan Hunt
eca74c52c1
[master] store "addzone" zone config in a NZD database
...
4421. [func] When built with LMDB (Lightning Memory-mapped
Database), named will now use a database to store
the configuration for zones added by "rndc addzone"
instead of using a flat NZF file. This improves
performance of "rndc delzone" and "rndc modzone"
significantly. Existing NZF files will
automatically by converted to NZD databases.
To view the contents of an NZD or to roll back to
NZF format, use "named-nzd2nzf". To disable
this feature, use "configure --without-lmdb".
[RT #39837 ]
2016-07-21 11:13:37 -07:00
Mark Andrews
e7e7efe901
4420. [func] nslookup now looks for AAAA as well as A by default.
...
[RT #40420 ]
2016-07-22 03:27:49 +10:00
Witold Krecicki
e4d4de075a
4419. [bug] Don't cause undefined result if the label of an
...
entry in catalog zone is changed. [RT #42708 ]
2016-07-21 13:08:50 +02:00
Witold Krecicki
2eff13a562
4418. [bug] Fix a compiler warning in GSSAPI code. [RT #42879 ]
2016-07-21 12:15:55 +02:00
Mark Andrews
e3d74bdd7f
copyright
2016-07-21 19:38:52 +10:00
Mark Andrews
592127b7fa
more copyright cleanups
2016-07-21 19:16:05 +10:00
Mark Andrews
ed1a24cc86
update example copyright notice
2016-07-21 19:09:16 +10:00
Mark Andrews
ba99d845a2
update example copyright notice
2016-07-21 19:05:03 +10:00
Mark Andrews
1716e138bf
use articleinfo
2016-07-21 18:17:28 +10:00
Tinderbox User
2ac08fab22
regen master
2016-07-21 07:34:19 +00:00
Mark Andrews
30e4fbdfb5
consolidate copyrights
2016-07-21 17:24:07 +10:00
Tinderbox User
6807a2dc3c
regen master
2016-07-21 07:11:01 +00:00
Mark Andrews
813e9f7ee2
copyright
2016-07-21 17:00:44 +10:00
Mark Andrews
2d8576904d
regen
2016-07-21 15:22:17 +10:00
Evan Hunt
da8ac39a23
[master] remove SIT doc
2016-07-20 21:36:08 -07:00
Tinderbox User
2b1bfbada6
update copyright notice / whitespace
2016-07-20 23:46:50 +00:00
Evan Hunt
f7b5487474
[master] fix keymgr with low prepublication interval
...
4417. [bug] dnssec-keymgr could fail to create successor keys
if the prepublication interval was set to a value
smaller than the default. [RT #42820 ]
Patch submitted by Nis Wechselberg (enbewe@enbewe.de ).
2016-07-20 15:12:56 -07:00
Evan Hunt
a870e4e773
[master] normalize domain names for trailing dots
...
4416. [bug] dnssec-keymgr: Domain names in policy files could
fail to match due to trailing dots. [RT #42807 ]
Patch submitted by Armin Pech (mail@arminpech.de ).
2016-07-20 14:35:10 -07:00
Evan Hunt
c4fa8b75c2
[master] deleted keys not correctly excluded
...
4415. [bug] dnssec-keymgr: Expired/deleted keys were not always
excluded. [RT #42884 ]
Patch submitted by Nis Wechselberg (enewe@enbewe.de ).
2016-07-20 14:28:15 -07:00
Tinderbox User
d4f90b4519
update copyright notice / whitespace
2016-07-19 23:46:05 +00:00
Evan Hunt
ad2611f9af
[master] fix isc_atomic_xadd() on MIPS
...
4414. [bug] Corrected a bug in the MIPS implementation of
isc_atomic_xadd(). [RT #41965 ]
Submitted by Lamont Jones (lamont@debian.org ). Closes Debian issue #406409 .
2016-07-19 11:10:43 -07:00
Mark Andrews
203b6934f4
sync w/ 9.11.0b2
2016-07-14 15:13:57 +10:00
Mark Andrews
63e58ad048
4413. [bug] GSSAPI negotiation could fail if GSS_S_CONTINUE_NEEDED
...
was returned. [RT #42733 ]
2016-07-14 15:06:28 +10:00
Mark Andrews
d937f8e999
Visual Studio 2005 doesn't like named elements, construct addr using isc_netaddr_fromin6
2016-07-14 11:29:18 +10:00
Mark Andrews
fef0080f14
Windows doesn't like LLU use ULL instead
2016-07-14 11:15:46 +10:00
Tinderbox User
bc8c067281
regen master
2016-07-14 01:06:14 +00:00
Tinderbox User
d28022225d
update copyright notice / whitespace
2016-07-13 23:45:50 +00:00
Mark Andrews
8f7881684b
grammar
2016-07-14 09:42:31 +10:00
Mark Andrews
6632922e2b
bug -> security
2016-07-14 09:35:46 +10:00
Mukund Sivaraman
e65cd99461
Some general cleanup ( #42827 )
2016-07-13 14:15:22 +05:30
Mukund Sivaraman
4116177ac4
Make fixes for GCC 6 ( #42721 )
2016-07-13 13:55:50 +05:30
Evan Hunt
ffa622d7a3
[master] rndc dnstap -roll
...
4411. [func] "rndc dnstap -roll" automatically rolls the
dnstap output file; the previous version is
saved with ".0" suffix, and earlier versions
with ".1" and so on. An optional numeric argument
indicates how many prior files to save. [RT #42830 ]
2016-07-13 01:12:47 -07:00
Mark Andrews
a2101037d9
4410. [bug] Address use after free and memory leak with dnstap.
...
[RT #42746 ]
2016-07-13 16:56:11 +10:00
Tinderbox User
b7b2e64450
regen master
2016-07-13 04:45:35 +00:00
Mark Andrews
e55168b7bf
add [RT #42694 ]
2016-07-13 11:37:18 +10:00
Mark Andrews
268f9e6832
issue -> flaw
2016-07-13 11:23:12 +10:00
Mark Andrews
af052fa2ed
add more DNS64 default exclude acl tests
...
(cherry picked from commit d147d56227 )
2016-07-13 10:58:53 +10:00
Mark Andrews
1256b0c344
spelling/grammar
2016-07-13 10:26:59 +10:00
Tinderbox User
98ef4d0786
regen master
2016-07-12 01:05:41 +00:00
Tinderbox User
3e0b34d0ac
update copyright notice / whitespace
2016-07-11 23:46:33 +00:00
Mark Andrews
909d442cc0
add CVE-2016-2775
2016-07-12 01:09:13 +10:00
Mark Andrews
557c7221fd
4409. [bug] DNS64 should exlude mapped addresses by default when
...
a exclude acl is not defined. [RT #42810 ]
2016-07-11 14:11:34 +10:00
Mark Andrews
ec5e01747a
4408. [func] Continue waiting for expected response when we the
...
response we get does not match the request. [RT #41026 ]
2016-07-11 13:36:16 +10:00
Mukund Sivaraman
27038b159b
Use GCC builtin for clz in RPZ lookup code ( #42818 )
2016-07-10 19:47:37 +05:30
Tinderbox User
df52e5c7d5
regen master
2016-07-08 01:05:32 +00:00
Tinderbox User
921633c824
newcopyrights
2016-07-07 04:18:01 +00:00
Mark Andrews
429701008e
add note for rt42694
2016-07-07 13:47:25 +10:00
Mark Andrews
38cc2d14e2
4406. [bug] getrrsetbyname with a non absolute name could
...
trigger a infinite recursion bug in lwresd
and named with lwres configured if when combined
with a search list entry the resulting name is
too long. [RT #42694 ]
2016-07-07 12:52:47 +10:00
Tinderbox User
b3d352f01d
regen master
2016-07-07 01:05:27 +00:00
Mark Andrews
3c88f741c6
ignore bin/tests/system/rndc/ns4/named.conf
2016-07-07 09:55:51 +10:00
Tinderbox User
915994daa9
update copyright notice / whitespace
2016-07-06 23:46:37 +00:00
Tinderbox User
3a9694187f
newcopyrights
2016-07-06 23:30:36 +00:00
Mark Andrews
4d0b0596d9
license section is no longer a list
...
(cherry picked from commit d2647cd5fd )
2016-07-06 13:02:11 +10:00
Mark Andrews
a367a6eb9b
spelling
2016-07-06 12:56:20 +10:00
Tinderbox User
6aba65d9f0
regen master
2016-07-06 01:05:19 +00:00
Mark Andrews
d811a7d9ef
4405. [bug] Change 4342 introduced a regression where you could
...
not remove a delegation in a NSEC3 signed zone using
OPTOUT via nsupdate. [RT #42702 ]
2016-07-06 10:13:15 +10:00
Evan Hunt
44cb1a4859
[master] remove spurious license text
2016-07-05 15:41:09 -07:00
Evan Hunt
5e8732a406
[master] clarify enable-afl comment
2016-07-05 15:37:21 -07:00
Mark Andrews
27505a932f
one -f the -D sync's should have been just -D
2016-07-06 08:33:02 +10:00
Evan Hunt
30ca620976
[master] clarify some comments
2016-07-05 10:54:56 -07:00
Tinderbox User
63f4908b14
regen master
2016-07-05 01:05:04 +00:00
Mark Andrews
96987fd6f7
add 9.11.0b1 release marker to master
2016-07-05 08:19:59 +10:00
Mark Andrews
c8fb7e488a
4404. [misc] Allow krb5-config to be used when configuring gssapi.
...
[RT #42580 ]
2016-07-04 15:46:50 +10:00
Tinderbox User
3257ef2d96
regen master
2016-07-03 01:05:19 +00:00
Evan Hunt
c2d0738d5c
[master] notes formatting, fix a CHANGES tag
2016-07-02 14:06:17 -07:00
Tinderbox User
66cbd6fc69
newcopyrights
2016-06-29 23:30:06 +00:00
Mark Andrews
0dacb6efdf
ignore configure generated files
2016-06-29 23:32:06 +10:00
Mark Andrews
cd734243d4
ignore configure generated files
2016-06-29 23:27:12 +10:00
Mark Andrews
700e08fcc4
#include <stdlib.h>
2016-06-29 11:38:45 +10:00
Mark Andrews
ecfa005085
4403. [bug] Rename variables and arguments that shadow: basename,
...
clone and gai_error.
2016-06-28 21:25:30 -04:00
Mark Andrews
d75bbd0d98
4402. [bug] protoc-c is now a hard requirement for --enable-dnstap.
2016-06-29 09:29:59 +10:00
Mark Andrews
36efcc1aa7
fix typo
2016-06-28 12:10:45 +10:00
Tinderbox User
e95f0bb5c0
regen master
2016-06-28 01:04:44 +00:00
Witold Krecicki
aea7ab20c0
Fix a typo and missing link in notes.xml
2016-06-27 20:11:21 +02:00
Curtis Blackburn
809239a853
cleanup of notes.xml
...
added better text to describe the license change
added information about the following changes to notes.xml
+4396. [func] dnssec-keymgr now takes a '-r randomfile' option.
+ [RT #42455 ]
+4392. [func] Collect statistics for RSSAC02v3 traffic-volume,
+ traffic-sizes and rcode-volume reporting. [RT #41475 ]
+4388. [func] Support for master entries with TSIG keys in catalog
+ zones. [RT #42577 ]
+4385. [func] Add support for allow-query and allow-transfer ACLs
+ to catalog zones. [RT #42578 ]
2016-06-27 09:55:15 -07:00
Witold Krecicki
dbb82fa26c
Fix keymgr test for change 4400 [RT #42718 ]
2016-06-27 12:22:11 +02:00