W.C.A. Wijngaards
cf5aa85f29
dnstap io, nicer layout for wouldblock calls.
2020-01-23 16:51:57 +01:00
W.C.A. Wijngaards
8f2f004778
dnstap io, fix event reference in winevent wouldblock call.
2020-01-23 16:49:44 +01:00
W.C.A. Wijngaards
522fcccea2
Merge branch 'master' into framestreams
2020-01-23 16:24:54 +01:00
Wouter Wijngaards
ff92edcd41
Merge pull request #150 from Frzk/systemd_unit_without_chroot
...
Systemd unit without chroot
2020-01-23 16:14:17 +01:00
W.C.A. Wijngaards
874c349b44
dnstap io, remove --with-libfstrm, it is not required to build dnstap
...
support. protobuf-c is still used for handling the dnstap encoding.
2020-01-23 15:56:12 +01:00
François KUBLER
c3f6f0a332
Patch configure.ac file to take the new contrib/unbound_nochroot.service unit file in consideration.
...
All props to Wouter Wijngaards for this work.
2020-01-23 15:51:07 +01:00
W.C.A. Wijngaards
4c64c4b78e
dnstap io, remove libfstrm calls from dnstap.c.
2020-01-23 15:49:36 +01:00
François KUBLER
016f742f16
Added a new unit file to run unbound with systemd and without chroot.
...
See https://github.com/NLnetLabs/unbound/pull/149
2020-01-23 15:46:53 +01:00
W.C.A. Wijngaards
1042134eec
dnstap io, failure to add event closes and attempts to reopen the output.
2020-01-23 15:39:27 +01:00
W.C.A. Wijngaards
b33df3cc63
in stop flush use timer_del to remove timer.
2020-01-23 15:17:43 +01:00
W.C.A. Wijngaards
299086d447
dnstap io, reconnect attempts with exponential backoff to once per second.
2020-01-23 15:11:08 +01:00
W.C.A. Wijngaards
86e1948afe
dnstap io, fixup error exit of event add routines.
2020-01-23 13:38:10 +01:00
W.C.A. Wijngaards
8c47d16e29
dnstap io, sleeps thread when there is no traffic.
2020-01-23 13:27:21 +01:00
W.C.A. Wijngaards
c0f410f721
dnstap io, make sure to free current message when stream closes.
2020-01-23 11:51:10 +01:00
W.C.A. Wijngaards
29fdcf0c71
loop in output callback for performance.
2020-01-23 11:44:32 +01:00
W.C.A. Wijngaards
e7d5a89ae2
check close neater also with a write at the same time.
2020-01-23 11:16:41 +01:00
W.C.A. Wijngaards
24536473d8
dnstap io: check for close of channel by the other side.
2020-01-23 11:07:30 +01:00
W.C.A. Wijngaards
14d7658897
dtio_find_msg loop roundrobin instead of first queue only, with
...
state in the dtio struct for loop iterator.
2020-01-23 10:34:38 +01:00
W.C.A. Wijngaards
e9772b609e
dnstap io fixup socket creation, stop flush dtio pointer, connect reports.
2020-01-23 09:55:15 +01:00
W.C.A. Wijngaards
569cccea24
dnstap io output performs nonblocking connect.
2020-01-22 17:41:34 +01:00
W.C.A. Wijngaards
814a886354
output event del before free.
2020-01-22 15:26:04 +01:00
W.C.A. Wijngaards
a21ac9838d
write data and stop flush for dnstap io.
2020-01-22 15:20:48 +01:00
W.C.A. Wijngaards
3cc1f4a74e
remove fatal_exit from runtime reopen routines.
2020-01-22 12:05:52 +01:00
W.C.A. Wijngaards
6fb602d57b
improve fstrm routine documentation.
2020-01-22 11:57:15 +01:00
W.C.A. Wijngaards
9f2ac374f4
fstrm routines for start and stop, fstrm_create_control_frame_start and
...
fstrm_create_control_frame_stop, suitable for reuse, together with fstrm
protocol defines.
2020-01-22 11:44:11 +01:00
W.C.A. Wijngaards
3e7758ee58
Remove editor file that was added by mistake.
2020-01-21 17:15:37 +01:00
W.C.A. Wijngaards
351e0e6986
iothread find msg.
2020-01-21 17:14:47 +01:00
W.C.A. Wijngaards
efc79beb2d
iothread work.
2020-01-21 17:01:25 +01:00
W.C.A. Wijngaards
57ad169605
the framestream queue.
2020-01-21 14:50:37 +01:00
W.C.A. Wijngaards
bb55cc1685
dnstap unit test.
2020-01-21 14:02:45 +01:00
W.C.A. Wijngaards
ade0ba63ff
dnstap test program prints messages and timestamps in long format.
2020-01-21 10:14:30 +01:00
W.C.A. Wijngaards
7bddf97450
dnstap test program prints identity and version.
2020-01-21 09:56:28 +01:00
W.C.A. Wijngaards
ac362625c3
dnstap test progam can log on one line type,ip,qname,qtype,qclass
2020-01-20 17:23:01 +01:00
W.C.A. Wijngaards
90a9de9d52
unbound-dnstap-socket debug test program.
2020-01-20 15:45:31 +01:00
W.C.A. Wijngaards
9285e10fef
iolist item added.
2020-01-20 12:12:27 +01:00
W.C.A. Wijngaards
c6534ac6b3
Writeup of FrameStreams protocol.
2020-01-20 11:44:45 +01:00
W.C.A. Wijngaards
b7e08045b1
git branch to track feature for framestreams. The aim is to make
...
reconnecting work, TLS support and not depend on the libfstrm library,
but keep compatibility with the Frame Streams protocol spec for
existing DNSTAP tools.
2020-01-20 11:04:06 +01:00
W.C.A. Wijngaards
1e0c957dcd
- Fix auth zone support for NSEC3 records without salt.
2020-01-14 16:03:29 +01:00
W.C.A. Wijngaards
ea26e5038e
- Fix for memory leak when edns subnet config options are read when
...
compiled without edns subnet support.
2020-01-14 15:48:27 +01:00
W.C.A. Wijngaards
2c4be0c201
- Fix crash after reload where a stats lookup could reference old key
...
cache and neg cache structures.
2020-01-14 15:18:52 +01:00
W.C.A. Wijngaards
9b3f3101e3
- Removed the dnscrypt_queries and dnscrypt_queries_chacha tests,
...
because dnscrypt-proxy (2.0.36) does not support the test setup
any more, and also the config file format does not seem to have
the appropriate keys to recreate that setup.
2020-01-14 14:40:44 +01:00
W.C.A. Wijngaards
e149bc7046
- Fix unreachable code in ssl set options code.
2020-01-10 11:28:01 +01:00
W.C.A. Wijngaards
a8db52120b
- Fix the relationship between serve-expired and prefetch options,
...
patch from Saksham Manchanda from Secure64.
2020-01-10 10:04:50 +01:00
Ralph Dolmans
92a525225b
- Add changelog entry for fix #138 (stop binding pidfile inside chroot dir in
...
systemd service file).
2020-01-08 16:36:18 +01:00
Ralph Dolmans
1e8d20de0d
Merge pull request #142 from Maryse47/patch-1
...
unbound.service.in: stop binding pidfile inside chroot dir
2020-01-08 16:23:23 +01:00
Maryse47
89d98564c3
unbound.service.in: stop binding pidfile inside chroot dir
...
Apparently pidfile isn't used inside chroot and binding it may cause some weird failures with older systemd.
Fixes https://github.com/NLnetLabs/unbound/issues/138
2020-01-08 15:21:22 +00:00
W.C.A. Wijngaards
c4e199ecca
- And update for more spare space.
2020-01-08 12:58:07 +01:00
W.C.A. Wijngaards
5ae1544583
- Updated sldns_bget_token_par fix for also space for the zero
...
delimiter after the character.
2020-01-08 11:55:42 +01:00
W.C.A. Wijngaards
05a5dc2d0d
- Fix out-of-bounds null-byte write in sldns_bget_token_par while
...
parsing type WKS, reported by Luis Merino from X41 D-Sec.
2020-01-08 11:08:16 +01:00
W.C.A. Wijngaards
19473d95eb
- Fix 'make test' to work for --disable-sha1 configure option.
2020-01-08 09:23:46 +01:00