Michał Kępień
fc967ba092
Add ZLIB_LIBS to ISCLIBS
...
When --with-zlib is passed to ./configure (or when the latter
autodetects zlib's presence), libisc uses certain zlib functions and
thus libisc's users should be linked against zlib in that case. Adjust
Makefile variables appropriately to prevent shared build failures caused
by underlinking.
2020-02-28 15:22:29 +01:00
Witold Krecicki
74030a590f
Merge branch 'wpk/perfwork-3-small-nits' into 'master'
...
Perfwork 3/6 - Various small nits and tunables
See merge request isc-projects/bind9!3067
2020-02-28 08:28:31 +00:00
Evan Hunt
0b76d8a490
comments
2020-02-28 08:46:16 +01:00
Witold Kręcicki
4b6a064972
Don't define NS_CLIENT_TRACE by default
2020-02-28 08:46:16 +01:00
Witold Kręcicki
4791263def
Increase inactivehandles and inactivereqs size for better reuse.
2020-02-28 08:46:16 +01:00
Witold Kręcicki
0344684385
Increase nodelock count for both cache and regular db.
2020-02-28 08:46:16 +01:00
Witold Kręcicki
0d80266f7e
Use RESOLVER_NTASKS_PERCPU - 32 for regular tuning, 8 for small
2020-02-28 08:46:16 +01:00
Witold Kręcicki
517e6eccdf
use SO_INCOMING_CPU for UDP sockets
2020-02-28 08:46:16 +01:00
Witold Kręcicki
8c6c07286f
Remove some stale fields from ns_client_t; make sendbuf allocated on heap
2020-02-28 08:46:16 +01:00
Witold Kręcicki
fe584c01cc
Don't update LRU if the node was recently used.
...
Updating LRU requires write-locking the node, which causes contention.
Update LRU only if time difference is large enough.
2020-02-28 08:46:16 +01:00
Witold Kręcicki
a658f7976c
We don't need to fill udp local address every time since we are bound to it.
2020-02-28 08:46:16 +01:00
Witold Kręcicki
938b61405b
Don't check if the client is on recursing list (requires locking) if it's not RECURSING
2020-02-28 08:46:16 +01:00
Witold Kręcicki
eb874608c1
Use the original threadid when sending a UDP packet to decrease probability of context switching
2020-02-28 08:46:16 +01:00
Mark Andrews
c324230c6f
Merge branch '1638-rrsig-soa-and-re-signing' into 'master'
...
Resolve "RRSIG(SOA) and re-signing."
Closes #1638
See merge request isc-projects/bind9!3114
2020-02-27 22:48:48 +00:00
Mark Andrews
88c828cb9f
capture named-journalprint output
2020-02-27 22:30:14 +00:00
Mark Andrews
a24fd55836
sort RRSIG(SOA) to be last of RRSIGs with a common re-resign time
2020-02-27 22:30:14 +00:00
Mark Andrews
660dc3eba7
use the full sig-validity-interval for RRSIG(SOA)
2020-02-27 22:30:14 +00:00
Mark Andrews
563aff110e
Merge branch 'marka-coverity-stop-taint' into 'master'
...
Simplify hash computation to prevent pointer being classed as tainted.
See merge request isc-projects/bind9!3081
2020-02-27 20:01:04 +00:00
Mark Andrews
8c983a7ebd
Simplify hash computation to prevent pointer being classed as tainted.
...
mem.c:add_trace_entry() -> isc_hash_function() -> isc_siphash24()
129 for (; in != end; in += 8) {
6. byte_swapping: Performing a byte swapping operation on
in implies that it came from an external source, and is
therefore tainted.
130 uint64_t m = U8TO64_LE(in);
2020-02-27 19:41:36 +00:00
Witold Krecicki
ebfb0f7392
Merge branch 'wpk/perfwork-5-isc-result-rwlock' into 'master'
...
Perfwork 5/6 - Use isc_rwlock for isc_result tables
See merge request isc-projects/bind9!3069
2020-02-27 09:48:11 +00:00
Witold Kręcicki
00f2146265
Use isc_rwlock for isc_result tables
2020-02-27 07:58:48 +00:00
Evan Hunt
d434ec89ce
Merge branch 'each-speedup-serve-stale-test' into 'master'
...
Speed up serve-stale test
See merge request isc-projects/bind9!3090
2020-02-27 06:57:56 +00:00
Evan Hunt
195d25b222
send bursts of queries in parallel to reduce test runtime
...
sending each group of queries simultaneously, and then checking the
output after the last one finishes, reduces the runtime of the
serve-stale test by about six minutes.
2020-02-26 22:28:33 -08:00
Evan Hunt
027601cd3e
stop testing 'serve-stale yes' and 'serve-fail no' alternate syntax
...
"yes" and "no" are permissible synonyms for "on" and "off", which
use exactly the same code paths. making sure they work isn't a good
use of 80 seconds of test time.
2020-02-26 22:28:33 -08:00
Evan Hunt
770bf4980f
use "on|off" in rndc -h output to match the man page
2020-02-26 22:28:33 -08:00
Witold Krecicki
027f445c66
Merge branch '1623-assertion-failure-ns-client-endrequest' into 'master'
...
Don't issue ns_client_endrequest on a NS_CLIENTSTATE_READY client.
Closes #1623
See merge request isc-projects/bind9!3077
2020-02-26 12:35:19 +00:00
Witold Kręcicki
b0888ff039
Don't issue ns_client_endrequest on a NS_CLIENTSTATE_READY client.
...
Fix a potential assertion failure on shutdown in ns__client_endrequest.
Scenario:
1. We are shutting down, interface->clientmgr is gone.
2. We receive a packet, it gets through ns__client_request
3. mgr == NULL, return
4. isc_nmhandle_detach calls ns_client_reset_cb
5. ns_client_reset_cb calls ns_client_endrequest
6. INSIST(client->state == NS_CLIENTSTATE_WORKING ||
client->state == NS_CLIENTSTATE_RECURSING) is not met
- we haven't started processing this packet so
client->state == NS_CLIENTSTATE_READY.
As a solution - don't do anything in ns_client_reset_cb if the client
is still in READY state.
2020-02-26 12:15:01 +00:00
Witold Krecicki
6d67e06665
Merge branch 'wpk/perfwork-4-compressctx-arena' into 'master'
...
Perfwork 4/6 - add an arena to compressctx
See merge request isc-projects/bind9!3068
2020-02-26 08:17:28 +00:00
Witold Kręcicki
3a3b5f557a
Add an arena to compressctx
2020-02-26 07:57:44 +00:00
Evan Hunt
9e7c37ba13
Merge branch 'each-cosmetic-fixes' into 'master'
...
minor cosmetic fixes
See merge request isc-projects/bind9!3085
2020-02-25 19:05:53 +00:00
Evan Hunt
beda680f90
minor cosmetic fixes
...
- the configuration summary reported zlib compression was not
supported even when it was.
- when bind.keys.h was regenerated it violated clang-format style.
2020-02-25 18:24:41 +00:00
Matthijs Mekking
9a53720502
Merge branch '103-include-multiple-files' into 'master'
...
Resolve "[RT#43439 'include' a whole directory when creating BIND zone file"
Closes #103
See merge request isc-projects/bind9!2296
2020-02-25 12:17:33 +00:00
Matthijs Mekking
5cc33084af
Make clang-format happy
2020-02-25 09:07:45 +01:00
Diego Fronza
3275e7844b
Update copyrights
2020-02-24 13:53:32 -03:00
Matthijs Mekking
44caa64f39
Add test for checkconf glob include
2020-02-24 13:48:48 -03:00
Diego Fronza
f67ef86048
Update configure to handle glob.h
2020-02-24 13:46:42 -03:00
Diego Fronza
9b4e28e155
Added a isc_glob() function that wraps glob() calls for POSIX systems
...
and implement a custom glob() function on Windows systems.
2020-02-24 13:46:39 -03:00
Diego Fronza
f97ba7a7c2
Added test to verify that both include glob-expression and include
...
non-glob-expression works.
2020-02-24 13:37:55 -03:00
Diego dos Santos Fronza
a50ab3df86
Added tests for include directive + glob expressions.
2020-02-24 13:37:51 -03:00
Diego dos Santos Fronza
fa3fbf62e8
Allowing include directive to use glob expressions, e.g. include
...
"/opt/named.conf/*.conf".
2020-02-24 13:35:20 -03:00
Michał Kępień
e5eac7f117
Merge branch 'michal/misc-9.17-preparations' into 'master'
...
Miscellaneous BIND 9.17 preparations
See merge request isc-projects/bind9!3108
2020-02-24 10:03:07 +00:00
Evan Hunt
89ff6cabf9
Rebuild documentation
2020-02-23 20:48:55 -08:00
Michał Kępień
b273ed8a63
Bump version to 9.17.0
2020-02-24 10:56:47 +01:00
Michał Kępień
9f34e0d5af
Bump library API versions for BIND 9.17
2020-02-24 10:56:47 +01:00
Michał Kępień
5b7a34803f
Add libuv information to win32utils/build.txt
2020-02-24 10:56:47 +01:00
Michał Kępień
9ad9c98021
Fix broken link in configure.ac
2020-02-24 10:56:47 +01:00
Michał Kępień
ca9e0113e7
Update PLATFORMS for BIND 9.17
2020-02-24 10:56:47 +01:00
Michał Kępień
ad8d44ed67
Update README and HISTORY for BIND 9.17
2020-02-24 10:56:47 +01:00
Michał Kępień
9ab9f0dde7
Update release notes for BIND 9.17.0
2020-02-24 10:56:47 +01:00
Evan Hunt
dafa8a3309
Merge branch '1632-spelling-take2' into 'master'
...
some Fossies-reported spelling errors were accidentally left unfixed
Closes #1632
See merge request isc-projects/bind9!3110
2020-02-21 22:14:32 +00:00