Witold Krecicki
1eb7a9e10b
Merge branch '1070-fix-zonemgr-unreachablecache' into 'master'
...
Resolve "Use zonemgr unreachable cache more effectively"
Closes #1070
See merge request isc-projects/bind9!2017
2019-06-11 03:58:22 -04:00
Ondřej Surý and Witold Kręcicki
3dcf121064
Put the items into unreachable LRU cache from first to last, not last to first
2019-06-11 09:38:59 +02:00
Witold Kręcicki
5adc0baaca
Add Gitlab CI job with pthread_rwlock
2019-06-11 09:38:59 +02:00
Witold Kręcicki
68eb9a7c6a
In dns_zonemgr_unreachable use atomics to avoid unnecessary
...
write locking.
Unreachable cache in zonemgr is realized as an static LRU list.
When we 'use' an entry we need to update the last-used time, we
can use atomics to do so without the necessity to upgrading
read-lock to write-lock.
2019-06-11 09:38:59 +02:00
Evan Hunt
34db730ee3
Merge branch '1082-fix-symtab-error' into 'master'
...
allocate memory for symtab keys
Closes #1082
See merge request isc-projects/bind9!2026
2019-06-10 21:56:54 -04:00
Evan Hunt
8136b09fa8
allocate memory for symtab keys
...
this prevents an intermittent failure when conflicts between
static and initializing keys are not detected by named-checkconf.
2019-06-10 18:39:53 -07:00
Witold Krecicki
90ff5a551a
Merge branch 'wpk/git-replay-merge-worktrees' into 'master'
...
util/git-replay-merge.sh: make the tool compatible with git worktrees
See merge request isc-projects/bind9!1985
2019-06-10 10:51:01 -04:00
Witold Kręcicki
db87352742
util/git-replay-merge.sh: make the tool compatible with git worktrees
2019-06-10 16:32:13 +02:00
Evan Hunt
32c86e29e2
Merge branch 'each-pandoc-args' into 'master'
...
specify title metadata and markdown format when calling pandoc
See merge request isc-projects/bind9!2022
2019-06-10 00:29:24 -04:00
Evan Hunt
3663f61e0e
specify title metadata and markdown format when calling pandoc
...
this change silences a warning message and prevents the unwanted
use of smart quotes when using pandoc 2.7.1 to generate human-readable
versions of README and other markdown files.
2019-06-09 21:26:55 -07:00
Evan Hunt
8975a0830b
Merge branch 'michal/minor-doc-fixes' into 'master'
...
Minor doc fixes
See merge request isc-projects/bind9!2018
2019-06-10 00:21:21 -04:00
Stephen Morris and Michał Kępień
d47c1d5dd0
Tweak paragraph style in release notes PDF
2019-06-07 08:37:22 +02:00
Stephen Morris and Michał Kępień
644a2197f4
Fix typos in README and release notes
2019-06-07 08:37:22 +02:00
Mark Andrews
8ceaa19698
Merge branch 'marka-capture-checkconf-output' into 'master'
...
capture named-checkconf output
See merge request isc-projects/bind9!2014
2019-06-06 04:13:56 -04:00
Mark Andrews
36dd373ab4
capture named-checkconf output
2019-06-06 13:04:34 +10:00
Mark Andrews
0a8c47bae5
Merge branch 'marka-rndc-manpage-fix' into 'master'
...
add missing word 'includes'
See merge request isc-projects/bind9!2011
2019-06-05 19:20:28 -04:00
Mark Andrews
c6553eb3fc
add missing word 'includes'
2019-06-06 09:07:18 +10:00
Evan Hunt
fd4e3a650d
Merge branch '1064-fix-pthread-rwlock' into 'master'
...
Resolve "Adding --enable-pthread-rwlock broke Windows build"
Closes #1064
See merge request isc-projects/bind9!2009
2019-06-05 14:29:40 -04:00
Ondřej Surý and Evan Hunt
d45f9e413f
Enforce pthread rwlock to be only enabled in developer mode
2019-06-05 11:17:19 -07:00
Ondřej Surý and Evan Hunt
ac3d9b97a3
Fix Windows build by moving #include <pthread.h> to correct #ifdef block
2019-06-05 11:17:19 -07:00
Ondřej Surý and Evan Hunt
1e2f40d01b
Fixup the atomic code in pthread_rwlock branch of lib/isc/rwlock.c
2019-06-05 11:17:19 -07:00
Evan Hunt
48f16f223c
Merge branch '6-deprecate-trusted-keys' into 'master'
...
Resolve "Merge trusted-key and managed-keys"
Closes #6
See merge request isc-projects/bind9!659
2019-06-05 11:15:43 -04:00
Evan Hunt
a363455b58
CHANGES, release notes
2019-06-05 07:54:27 -07:00
Evan Hunt
3853b3cf6d
update documentation
...
- change references to trusted-keys to dnssec-keys with static-key
- rebuild doc/misc/options and other generated grammar doc
- add a "see MANAGED-KEYS" note when building named.conf.docbook
2019-06-05 07:49:57 -07:00
Evan Hunt
d07053c8f6
fail if using both dnssec-keys and managed-keys in the same config
2019-06-05 07:49:57 -07:00
Evan Hunt
0ef5b8edb7
rename keyfile_to_*_keys system test shell functions
...
- keyfile_to_trusted_keys -> keyfile_to_static_keys
- keyfile_to_managed_keys -> keyfile_to_initial_keys
2019-06-05 07:49:57 -07:00
Evan Hunt
821f041d8c
"dnssec-keys" is now a synonym for "managed-keys"
...
- managed-keys is now deprecated as well as trusted-keys, though
it continues to work as a synonym for dnssec-keys
- references to managed-keys have been updated throughout the code.
- tests have been updated to use dnssec-keys format
- also the trusted-keys entries have been removed from the generated
bind.keys.h file and are no longer generated by bindkeys.pl.
2019-06-05 07:49:57 -07:00
Evan Hunt
fec032588b
update irs_dnsconf_load() to read managed-keys statements
...
- this allows the use of both trusted-keys and managed-keys in files
loaded by libirs, but managed-keys are always treated as static.
2019-06-05 07:49:57 -07:00
Evan Hunt
82f5bce1bb
update key checks in lib/bind9/check.c and fix checkconf test
...
- any use of trusted or static keys for the root zone will now
elicit a warning, regardless of what the keys may be
- ditto for any use of a key for dlv.isc.org, static or managed
2019-06-05 07:49:57 -07:00
Evan Hunt
a00e54cf0e
revise system tests to use "static-key" syntax instead of "trusted-keys"
2019-06-05 07:49:57 -07:00
Evan Hunt
5ab252183b
deprecate "trusted-keys"
...
- trusted-keys is now flagged as deprecated, but still works
- managed-keys can be used to configure permanent trust anchors by
using the "static-key" keyword in place of "initial-key"
- parser now uses an enum for static-key and initial-key keywords
2019-06-05 07:49:23 -07:00
Mark Andrews
977dc54ef6
Merge branch 'u/fanf2/cleanup-cleaning-interval' into 'master'
...
Remove `cleaning-interval` remnants.
See merge request isc-projects/bind9!1731
2019-06-04 23:54:57 -04:00
Tony Finch and Mark Andrews
a9dca5831b
Remove cleaning-interval remnants.
...
Since 2008, the cleaning-interval timer has been documented as
"effectively obsolete" and disabled in the default configuration with
a comment saying "now meaningless".
This change deletes all the code that implements the cleaning-interval
timer, except for the config parser in whcih it is now explicitly
marked as obsolete.
I have verified (using the deletelru and deletettl cache stats) that
named still cleans the cache after this change.
2019-06-05 13:08:12 +10:00
Mark Andrews
e43925f284
Merge branch '1058-also-log-the-tsig-name-when-sending-notify' into 'master'
...
Resolve "Also log the TSIG name when sending notify"
Closes #1058
See merge request isc-projects/bind9!1963
2019-06-04 20:34:58 -04:00
Mark Andrews
e1e800dd40
add CHANGES
2019-06-05 10:18:36 +10:00
Mark Andrews
0dd6c2be70
check that TSIG is logged in sending notify message
2019-06-05 10:18:36 +10:00
Mark Andrews
bb51694d03
log TSIG key name when sending notify
2019-06-05 10:18:36 +10:00
Mark Andrews
9aac7f52f8
Merge branch '884-patches-to-review-6' into 'master'
...
Check all RSA algorithms for weak keys.
Closes #884
See merge request isc-projects/bind9!1535
2019-06-04 19:19:22 -04:00
Mark Andrews
30a50f9be4
check all RSA algorithms for weak keys
2019-06-05 09:00:05 +10:00
Mark Andrews
56106437b0
Merge branch '1066-macports-uses-opt-local-as-its-openssl-location' into 'master'
...
Resolve "MacPorts uses /opt/local as its OpenSSL location"
Closes #1066
See merge request isc-projects/bind9!2005
2019-06-04 04:13:29 -04:00
Mark Andrews
8973d4bd16
add /opt/local to list of locations for OpenSSL
2019-06-04 03:58:25 -04:00
Mark Andrews
9279641496
Merge branch '1063-pkcs11_test-is-not-being-expanded' into 'master'
...
Resolve "@PKCS11_TEST@ is not being expanded"
Closes #1063
See merge request isc-projects/bind9!2000
2019-06-04 03:57:43 -04:00
Mark Andrews
fbd9c5c97f
make PKCS11_TEST unix only
2019-06-04 03:45:41 -04:00
Mark Andrews
56e1b76a88
Merge branch '1017-remove-dead-stores' into 'master'
...
Resolve "remove dead stores"
Closes #1017
See merge request isc-projects/bind9!1926
2019-06-04 01:39:24 -04:00
Mark Andrews
4e97f7dccc
POST(optlen)
2019-06-04 01:23:01 -04:00
Mark Andrews
1bbba52750
Merge branch 'cppcheck-and-cmocka-false-positive' into 'master'
...
teach clang analyser that _assert_int_equal and _assert_int_not_equal don't return on failure
See merge request isc-projects/bind9!1807
2019-06-03 23:24:23 -04:00
Mark Andrews
5d5d751c7f
teach cppcheck that _assert_int_equal and _assert_int_not_equal don't return on failure
2019-06-03 23:04:10 -04:00
Michał Kępień
ce52ac1178
Merge branch '1048-make-isc-endian.h-more-portable' into 'master'
...
Make <isc/endian.h> more portable
Closes #1049 , #1048 , and #856
See merge request isc-projects/bind9!2001
2019-06-03 08:27:06 -04:00
Michał Kępień
c0e0643fc5
Make ifconfig.sh work on DragonFly BSD
...
On DragonFly BSD, use the same commands for configuring network
interfaces used during system tests as on NetBSD and OpenBSD.
2019-06-03 14:13:23 +02:00
Ondřej Surý and Michał Kępień
14ecd7d79e
Revise the Windows section of <isc/endian.h>
...
Add a comment and remove redundant definitions.
2019-06-03 14:13:23 +02:00