]>
git.ipfire.org Git - thirdparty/unbound.git/log
W.C.A. Wijngaards [Fri, 31 Jul 2020 07:32:19 +0000 (09:32 +0200)]
stream reuse, move drop in tcp_reuse test to timeout section of test.
W.C.A. Wijngaards [Fri, 31 Jul 2020 07:11:35 +0000 (09:11 +0200)]
Merge branch 'master' into stream-reuse
W.C.A. Wijngaards [Fri, 31 Jul 2020 07:10:40 +0000 (09:10 +0200)]
- Fix doxygen comment for no ssl for tls session ticket key callback
routine.
W.C.A. Wijngaards [Thu, 30 Jul 2020 15:52:57 +0000 (17:52 +0200)]
stream reuse, disable debug in test
W.C.A. Wijngaards [Thu, 30 Jul 2020 15:51:49 +0000 (17:51 +0200)]
stream reuse, add tls test for stream reuse.
W.C.A. Wijngaards [Thu, 30 Jul 2020 15:51:13 +0000 (17:51 +0200)]
stream reuse, fix tls close by upstream after timeout write event handling.
W.C.A. Wijngaards [Thu, 30 Jul 2020 14:41:28 +0000 (16:41 +0200)]
stream reuse, add a test for close by upstream server after timeout.
W.C.A. Wijngaards [Mon, 27 Jul 2020 15:12:23 +0000 (17:12 +0200)]
stream reuse, defensible wait add and debug log with details for requeue.
W.C.A. Wijngaards [Mon, 27 Jul 2020 14:59:46 +0000 (16:59 +0200)]
stream reuse, send queries one by one when upstream refuses multiple queries,
by closing the connection.
W.C.A. Wijngaards [Mon, 27 Jul 2020 11:16:55 +0000 (13:16 +0200)]
Merge branch 'master' into stream-reuse
George Thessalonikefs [Mon, 27 Jul 2020 11:08:08 +0000 (13:08 +0200)]
- Merge PR #268, draft-ietf-dnsop-serve-stale-10 has become RFC 8767 on
March 2020, by and0x000.
George Thessalonikefs [Mon, 27 Jul 2020 11:07:19 +0000 (13:07 +0200)]
Merge branch 'master' of https://github.com/and0x000/unbound into and0x000-master
W.C.A. Wijngaards [Mon, 27 Jul 2020 11:02:47 +0000 (13:02 +0200)]
Changelog note for PR #270
- Merge PR #270 from cgzones: munin plugin: always exit 0 in autoconf
Wouter Wijngaards [Mon, 27 Jul 2020 11:02:30 +0000 (13:02 +0200)]
Merge pull request #270 from cgzones/munin
munin plugin: always exit 0 in autoconf
Ralph Dolmans [Mon, 27 Jul 2020 10:14:41 +0000 (12:14 +0200)]
Merge branch 'master' of github.com:NLnetLabs/unbound
Ralph Dolmans [Mon, 27 Jul 2020 10:14:08 +0000 (12:14 +0200)]
- Merge PR #269, Fix python module len() implementations, by Torbjörn Lönnemark
Ralph Dolmans [Mon, 27 Jul 2020 10:12:31 +0000 (12:12 +0200)]
Merge pull request #269 from tobbez/python-fix-len
Fix python module len() implementations
W.C.A. Wijngaards [Mon, 27 Jul 2020 10:10:28 +0000 (12:10 +0200)]
- branch now named 1.11.1. 1.11.0rc1 became the 1.11.0 release.
Christian Göttsche [Thu, 23 Jul 2020 14:04:26 +0000 (16:04 +0200)]
munin plugin: always exit 0 in autoconf
The autoconf operation should always exit 0, also in case the answer in "no",
see https://guide.munin-monitoring.org/en/latest/develop/plugins/plugin-concise.html#autoconf
W.C.A. Wijngaards [Thu, 23 Jul 2020 08:29:36 +0000 (10:29 +0200)]
stream reuse, test with connection drops.
W.C.A. Wijngaards [Thu, 23 Jul 2020 08:18:17 +0000 (10:18 +0200)]
stream reuse, test with a list of outstanding queries to the upstream server.
W.C.A. Wijngaards [Wed, 22 Jul 2020 13:40:17 +0000 (15:40 +0200)]
stream reuse, test timeout and simultaneous queries.
W.C.A. Wijngaards [Wed, 22 Jul 2020 13:20:58 +0000 (15:20 +0200)]
stream reuse, fix cleanup with streams in the connection table.
W.C.A. Wijngaards [Wed, 22 Jul 2020 08:30:50 +0000 (10:30 +0200)]
stream reuse, free up elements that are connected in outside network delete.
W.C.A. Wijngaards [Wed, 22 Jul 2020 07:53:57 +0000 (09:53 +0200)]
Merge branch 'master' into stream-reuse
Torbjörn Lönnemark [Wed, 22 Jul 2020 01:05:19 +0000 (03:05 +0200)]
Fix python module len() implementations
They were all missing the 'self.' prefix when accessing the 'obj'
instance variable, causing the following exception when attempting to
call len() on (for example) a ReplyInfo_RRSet:
File "/usr/lib/python3.7/site-packages/unboundmodule.py", line 377, in __len__
def __len__(self): return obj.rrset_count
NameError: name 'obj' is not defined
and0x000 [Mon, 20 Jul 2020 16:10:21 +0000 (18:10 +0200)]
draft-ietf-dnsop-serve-stale-10 has become RFC 8767 on March 2020
W.C.A. Wijngaards [Mon, 20 Jul 2020 11:02:09 +0000 (13:02 +0200)]
- branch now named 1.11.0 and 1.11.0rc1 tag.
W.C.A. Wijngaards [Mon, 20 Jul 2020 09:05:28 +0000 (11:05 +0200)]
- Fix contrib/fastrpz.patch to apply cleanly. It fixes for changes
due to added libdynmod, but it does not compile, it conflicts with
new rpz code.
W.C.A. Wijngaards [Mon, 20 Jul 2020 08:55:13 +0000 (10:55 +0200)]
- Fix contrib/fastrpz.patch to apply cleanly.
W.C.A. Wijngaards [Mon, 20 Jul 2020 08:53:30 +0000 (10:53 +0200)]
- Fix contrib/fastrpz.patch to apply cleanly.
W.C.A. Wijngaards [Mon, 20 Jul 2020 08:34:40 +0000 (10:34 +0200)]
- Fix streamtcp to print packet data to stdout. This makes the
stdout and stderr not mix together lines, when parsing its output.
W.C.A. Wijngaards [Fri, 17 Jul 2020 15:15:55 +0000 (17:15 +0200)]
- Fix lock dependency cycle in rpz zone config setup.
W.C.A. Wijngaards [Fri, 17 Jul 2020 14:53:52 +0000 (16:53 +0200)]
- Fix libnettle compile for session ticket key callback function
changes.
Ralph Dolmans [Fri, 17 Jul 2020 11:07:49 +0000 (13:07 +0200)]
Merge branch 'jcourreges-align-cmsg-buffers'
Ralph Dolmans [Fri, 17 Jul 2020 11:07:03 +0000 (13:07 +0200)]
- Merge PR #234 - Ensure proper alignment of cmsg buffers by Jérémie
Courrèges-Anglas.
- Fix PR #234 log_assert sizeof to use union buffer.
Ralph Dolmans [Fri, 17 Jul 2020 11:01:44 +0000 (13:01 +0200)]
Merge branch 'align-cmsg-buffers' of https://github.com/jcourreges/unbound into jcourreges-align-cmsg-buffers
W.C.A. Wijngaards [Thu, 16 Jul 2020 13:58:20 +0000 (15:58 +0200)]
Merge branch 'master' into stream-reuse
W.C.A. Wijngaards [Thu, 16 Jul 2020 13:41:25 +0000 (15:41 +0200)]
- Fix unused variable warning for clang analyzer.
W.C.A. Wijngaards [Thu, 16 Jul 2020 12:47:15 +0000 (14:47 +0200)]
- Fix check conf test for referencing installation paths.
W.C.A. Wijngaards [Thu, 16 Jul 2020 12:13:24 +0000 (14:13 +0200)]
Merge branch 'master' into stream-reuse
George Thessalonikefs [Thu, 16 Jul 2020 11:01:14 +0000 (13:01 +0200)]
- Changelog entry for PR #265; include-toplevel.
gthess [Thu, 16 Jul 2020 10:57:42 +0000 (12:57 +0200)]
Merge pull request #265 from NLnetLabs/include-toplevel
Introduce include-toplevel configuration option; closes #161.
George Thessalonikefs [Thu, 16 Jul 2020 10:53:29 +0000 (12:53 +0200)]
Merge branch 'master' into include-toplevel
Ralph Dolmans [Thu, 16 Jul 2020 10:31:30 +0000 (12:31 +0200)]
Change unbound-dnstap-socket void cast for unused parameter
Ralph Dolmans [Thu, 16 Jul 2020 09:45:10 +0000 (11:45 +0200)]
- Add changelog entry for bidirectional frame streams support.
Ralph Dolmans [Thu, 16 Jul 2020 09:42:29 +0000 (11:42 +0200)]
Merge pull request #264 from NLnetLabs/fstrm-bidi
Bidirectional frame streams support
Ralph Dolmans [Thu, 16 Jul 2020 08:54:18 +0000 (10:54 +0200)]
correct byte count in comment
Ralph Dolmans [Wed, 15 Jul 2020 21:01:13 +0000 (23:01 +0200)]
remove unused define
Ralph Dolmans [Wed, 15 Jul 2020 15:33:48 +0000 (17:33 +0200)]
dnstap log message typo fix
Ralph Dolmans [Wed, 15 Jul 2020 15:31:18 +0000 (17:31 +0200)]
Log dnstap connection close due to unknown content type.
Ralph Dolmans [Wed, 15 Jul 2020 15:16:14 +0000 (17:16 +0200)]
- Ignore unknown frame streams control fields.
Ralph Dolmans [Wed, 15 Jul 2020 13:49:42 +0000 (15:49 +0200)]
- Handle SSL_ERROR_WANT_WRITE on SSL_read for negotiation
- Close connection when receiving overly large frame
George Thessalonikefs [Wed, 15 Jul 2020 13:17:48 +0000 (15:17 +0200)]
Merge branch 'master' into include-toplevel
Ralph Dolmans [Tue, 14 Jul 2020 12:29:09 +0000 (14:29 +0200)]
Add maximum to received frame streams frames.
Ralph Dolmans [Mon, 13 Jul 2020 15:30:36 +0000 (17:30 +0200)]
Merge branch 'master' into fstrm-bidi
Ralph Dolmans [Mon, 13 Jul 2020 15:28:50 +0000 (17:28 +0200)]
- Add option to send DNSTAP messages over bidirectional frame streams
W.C.A. Wijngaards [Mon, 13 Jul 2020 14:11:52 +0000 (16:11 +0200)]
stream reuse, make reuse possible straight away after first query to address.
W.C.A. Wijngaards [Mon, 13 Jul 2020 13:59:23 +0000 (15:59 +0200)]
stream reuse, update lru when reuse elements are used with lru touch routine.
W.C.A. Wijngaards [Mon, 13 Jul 2020 13:45:16 +0000 (15:45 +0200)]
stream reuse, in callbacks, removed whitespace.
W.C.A. Wijngaards [Mon, 13 Jul 2020 13:16:59 +0000 (15:16 +0200)]
stream reuse, write and read again if more data can go over the channel,
this amortizes the event loop mechanism for busy channels, for performance.
W.C.A. Wijngaards [Fri, 10 Jul 2020 14:06:17 +0000 (16:06 +0200)]
stream reuse, remove debug output
W.C.A. Wijngaards [Fri, 10 Jul 2020 13:37:30 +0000 (15:37 +0200)]
fix that ssl_handle_it() uses tcp_is_reading in tcp_write_and_read mode.
fix that netevent tcp_write_and_read mode does not close due to error from
assert that not both write and read happen at the same time.
W.C.A. Wijngaards [Fri, 10 Jul 2020 13:13:16 +0000 (15:13 +0200)]
stream reuse, fix bad id in reply errors.
W.C.A. Wijngaards [Thu, 9 Jul 2020 14:50:57 +0000 (16:50 +0200)]
stream reuse, neater code for tree by id and use callback routine for timer.
W.C.A. Wijngaards [Thu, 9 Jul 2020 14:37:40 +0000 (16:37 +0200)]
stream reuse, comment improved
W.C.A. Wijngaards [Thu, 9 Jul 2020 14:34:48 +0000 (16:34 +0200)]
stream reuse, fix decommission to first remove from tree and then do the
callbacks and then delete the element.
W.C.A. Wijngaards [Thu, 9 Jul 2020 13:47:24 +0000 (15:47 +0200)]
stream reuse, fix double callback and double delete, items are in the tree.
W.C.A. Wijngaards [Thu, 9 Jul 2020 13:35:32 +0000 (15:35 +0200)]
stream reuse, fix to put id number in waiting tcp packet.
W.C.A. Wijngaards [Thu, 9 Jul 2020 12:29:56 +0000 (14:29 +0200)]
stream reuse, fix to not keep stream when it is in error and closed.
stream reuse, fix to stop listening on the fd before rw mode change.
stream reuse, fix waiting tcp id value stored before tree insert.
stream reuse, fix to not double delete pend.query.
W.C.A. Wijngaards [Thu, 9 Jul 2020 12:06:21 +0000 (14:06 +0200)]
stream reuse, fix to return key pointer from reuse_tcp_by_id_find.
W.C.A. Wijngaards [Thu, 9 Jul 2020 11:58:44 +0000 (13:58 +0200)]
stream reuse, the id for pending stored in waiting_tcp structure, because
there can be multiple messages waiting for reply.
W.C.A. Wijngaards [Thu, 9 Jul 2020 11:49:36 +0000 (13:49 +0200)]
stream reuse, check incoming messages from rbtree in outnet_tcp_cb when
read a reply, and call that callback and remove that entry.
W.C.A. Wijngaards [Thu, 9 Jul 2020 11:41:50 +0000 (13:41 +0200)]
debug prints in verbose output.
W.C.A. Wijngaards [Thu, 9 Jul 2020 11:41:03 +0000 (13:41 +0200)]
stream reuse toggle write and read to only read mode when write is done.
tcp callback from stream read without entry linked.
W.C.A. Wijngaards [Thu, 9 Jul 2020 08:28:47 +0000 (10:28 +0200)]
in outnet_tcptimer: pick up callbacks and clean the struct pending for
use again in tcp_free list; then perform the callbacks in a cleaner state
for reentry into the outside network code. Delete callbacks afterwards.
W.C.A. Wijngaards [Thu, 9 Jul 2020 06:55:19 +0000 (08:55 +0200)]
Merge branch 'master' into stream-reuse
W.C.A. Wijngaards [Wed, 8 Jul 2020 14:22:39 +0000 (16:22 +0200)]
- Fix to use SSL_CTX_set_tlsext_ticket_key_evp_cb in OpenSSL
3.0.0-alpha4.
- Longer keys for the test set, this avoids weak crypto errors.
W.C.A. Wijngaards [Wed, 8 Jul 2020 09:43:50 +0000 (11:43 +0200)]
- Fix add missing DSA header, for compilation without deprecated
OpenSSL APIs.
W.C.A. Wijngaards [Tue, 7 Jul 2020 08:18:56 +0000 (10:18 +0200)]
- Review fixes for checkconf #259 change.
W.C.A. Wijngaards [Tue, 7 Jul 2020 07:00:04 +0000 (09:00 +0200)]
- Fix #259: Fix unbound-checkconf does not check view existence.
unbound-checkconf checks access-control-view, access-control-tags,
access-control-tag-actions and access-control-tag-datas.
- Fix offset of error printout for access-control-tag-datas.
W.C.A. Wijngaards [Mon, 6 Jul 2020 09:33:07 +0000 (11:33 +0200)]
- run_vm cleanup better and removes trailing slash on single argument.
W.C.A. Wijngaards [Tue, 30 Jun 2020 15:22:43 +0000 (17:22 +0200)]
- Fix tcp req info drop due to size call into mesh accounting
removal of mesh state during mesh send reply.
W.C.A. Wijngaards [Tue, 30 Jun 2020 14:35:48 +0000 (16:35 +0200)]
- Review fix for number of detached states due to use of variable
after end of loop.
W.C.A. Wijngaards [Tue, 30 Jun 2020 14:20:09 +0000 (16:20 +0200)]
- Fix for mesh accounting when rpz decides to drop a reply with a
tcp stream waiting for it.
W.C.A. Wijngaards [Tue, 30 Jun 2020 13:48:11 +0000 (15:48 +0200)]
- Also move reply list clean for mesh callbacks to the scrip callback
can see the reply_info.
- Fix for mesh accounting if the reply list already empty to begin
with.
W.C.A. Wijngaards [Tue, 30 Jun 2020 11:41:26 +0000 (13:41 +0200)]
- Move reply list clean for serve expired mesh callback to after
the reply is sent, so that script callbacks have reply_info.
W.C.A. Wijngaards [Fri, 26 Jun 2020 14:05:15 +0000 (16:05 +0200)]
tcp read and write handling of write events in netevent for tcp and ssl.
W.C.A. Wijngaards [Fri, 26 Jun 2020 08:54:13 +0000 (10:54 +0200)]
in tcp write callback routine dont reset read byte count if write and read.
in tcp write callback and write and read and write is done perform callback.
tcp connection is selected to not toggle readwrite and give closed callback.
W.C.A. Wijngaards [Thu, 25 Jun 2020 15:23:46 +0000 (17:23 +0200)]
tcp callback function refactor, split read and timeout event setup, leave
unused queries that are already sent to track their reply on the query
pipeline, when serviced query is deleted deal with the write wait list,
W.C.A. Wijngaards [Thu, 25 Jun 2020 14:29:37 +0000 (16:29 +0200)]
outnet_tcp_cb: add assertion and return when write packets done is handled.
W.C.A. Wijngaards [Thu, 25 Jun 2020 14:22:43 +0000 (16:22 +0200)]
pending_tcp_query: cleaner comments.
W.C.A. Wijngaards [Thu, 25 Jun 2020 14:11:46 +0000 (16:11 +0200)]
for tcp use_free_buffer write straight away on reuse connection, if possible
W.C.A. Wijngaards [Thu, 25 Jun 2020 14:05:25 +0000 (16:05 +0200)]
in outside_network.c: also log messages that end up on the waiting list.
with dnstap.
for tcp use_free_buffer reuse existing entry if second wait entry on the
same addr as the other waiting.
W.C.A. Wijngaards [Thu, 25 Jun 2020 12:26:29 +0000 (14:26 +0200)]
tcp callback handle timeout event for read and reuse keepalive.
W.C.A. Wijngaards [Thu, 25 Jun 2020 11:06:21 +0000 (13:06 +0200)]
comm point write and read structure members.
W.C.A. Wijngaards [Wed, 24 Jun 2020 14:31:10 +0000 (16:31 +0200)]
fix testcode for added function whitelist item.
W.C.A. Wijngaards [Wed, 24 Jun 2020 14:28:42 +0000 (16:28 +0200)]
reuse tcp id_cmp function. clear list and tree after delete. clear when
decommisioned. callbacks when closed for lru space, and when closed because
not kept open.
W.C.A. Wijngaards [Wed, 24 Jun 2020 11:39:13 +0000 (13:39 +0200)]
Merge branch 'master' into stream-reuse
W.C.A. Wijngaards [Wed, 24 Jun 2020 11:37:43 +0000 (13:37 +0200)]
- doxygen file comments for dynlibmodule.