Commit Graph

27631 Commits

Author SHA1 Message Date
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
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
c482142518 CHANGES
(cherry picked from commit 72f6fb0697)
2019-02-08 08:32:45 +11:00
Evan Hunt
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ý
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
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
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
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
fb731a4d4e add CHANGES note
(cherry picked from commit 505a1ceda4)
2019-01-31 17:40:31 -08:00
Mark Andrews
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
420c92f619 CHANGES 2019-01-31 10:30:12 -08:00
Matthijs Mekking
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
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
c82eb3b3ca Update CHANGES
(cherry picked from commit f1c6e01a0f)
2019-01-30 12:11:29 -08:00
Matthijs Mekking
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
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
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