W.C.A. Wijngaards
9f29292839
- Fix bitwise operators in conditional expressions with parentheses.
2025-06-11 15:46:31 +02:00
W.C.A. Wijngaards
671e11552c
- Fix link of dnstap without openssl.
2024-07-23 14:56:21 +02:00
W.C.A. Wijngaards
3af4e44646
- Fix dnstap wakeup, a running wakeup timer is left to expire and not
...
increased, a timer is started when the dtio thread is sleeping,
the timer set disabled when the dtio thread goes to sleep, and
after sleep the thread checks to see if there are messages to log
immediately.
2024-07-19 16:16:02 +02:00
W.C.A. Wijngaards
08050dc939
- Fix #1091 : Build fails with OpenSSL >= 3.0 built with
...
OPENSSL_NO_DEPRECATED.
2024-06-17 12:28:45 +02:00
W.C.A. Wijngaards
35d0a8a843
- Fix to print detailed errors when an SSL IO routine fails via
...
SSL_get_error.
2023-10-19 11:17:32 +02:00
George Thessalonikefs
c30bdff939
Initial commit for interface based ACL.
2022-09-11 20:21:32 +02:00
W.C.A. Wijngaards
10a5a5880a
- Patch from Vadim Fedorenko that adds MSG_DONTWAIT to receive
...
operations, so that instruction reordering does not cause mistakenly
blocking socket operations.
2022-08-31 10:11:25 +02:00
George Thessalonikefs
8e76eb95a0
- For dnstap, do not wakeupnow right there. Instead zero the timer to
...
force the wakeup callback asap.
2022-01-19 15:32:02 +01:00
Dimitris Apostolou
c21d6af617
Fix typos
2021-11-13 16:56:15 +02:00
W.C.A. Wijngaards
795a33c6e5
- Fix dnstap socket and the chroot not applied properly to the dnstap
...
socket path.
2020-10-09 08:57:23 +02:00
W.C.A. Wijngaards
ed6e3c0c66
- Fix #305 : only wake up thread when threshold reached.
2020-09-23 13:20:25 +02:00
W.C.A. Wijngaards
48a56751e9
- Fix #305 : dnstap logging significantly affects unbound performance
...
(regression in 1.11).
2020-09-23 11:13:52 +02:00
Ralph Dolmans
00fe4b0306
- Fix #304 : dnstap logging not recovering after dnstap process restarts
2020-09-21 17:17:30 +02:00
W.C.A. Wijngaards
47a5dc8cae
- Refactor to use sock_strerr shorthand function.
2020-08-31 09:12:01 +02:00
W.C.A. Wijngaards
a6dc0743b4
- Merge PR #293 : Add missing prototype. Also refactor to use the new
...
shorthand function to clean up the code.
2020-08-31 08:41:34 +02:00
W.C.A. Wijngaards
45d4cbaa42
- Fix to apply chroot to dnstap-socket-path, if chroot is enabled.
2020-08-24 14:55:16 +02:00
W.C.A. Wijngaards
45712de9a2
- Fix that dnstap reconnects do not spam the log with the repeated
...
attempts. Attempts on the timer are only logged on high verbosity,
if they produce a connection failure error.
2020-08-24 09:23:36 +02:00
Ralph Dolmans
6ca79ff727
correct byte count in comment
2020-07-16 10:54:18 +02:00
Ralph Dolmans
889b979a0e
remove unused define
2020-07-15 23:01:13 +02:00
Ralph Dolmans
7189ba715d
dnstap log message typo fix
2020-07-15 17:33:48 +02:00
Ralph Dolmans
b280527e3e
Log dnstap connection close due to unknown content type.
2020-07-15 17:31:18 +02:00
Ralph Dolmans
e7cc57ceae
- Ignore unknown frame streams control fields.
2020-07-15 17:16:14 +02:00
Ralph Dolmans
db3ac2335c
- Handle SSL_ERROR_WANT_WRITE on SSL_read for negotiation
...
- Close connection when receiving overly large frame
2020-07-15 15:49:42 +02:00
Ralph Dolmans
c00a5d0723
Add maximum to received frame streams frames.
2020-07-14 14:29:09 +02:00
Ralph Dolmans
9cebc13150
- Add option to send DNSTAP messages over bidirectional frame streams
2020-07-13 17:28:50 +02:00
George Thessalonikefs
e430e95d30
- Add SNI support on more TLS connections ( fixes #193 ).
...
- Add SNI support to unbound-anchor.
2020-04-16 14:39:05 +02:00
W.C.A. Wijngaards
4207b58700
- Fix #177 : dnstap does not build on macOS.
2020-03-02 13:33:34 +01:00
W.C.A. Wijngaards
ed5a9ed1b1
dnstap io, fix for review comment.
2020-02-28 09:22:15 +01:00
W.C.A. Wijngaards
49622dd51a
dnstap io, fix uniform error message for no dnstap-socket-path.
2020-02-28 09:19:53 +01:00
W.C.A. Wijngaards
398e260145
Fixup ssl authentication not available with check for it.
2020-02-27 16:57:24 +01:00
W.C.A. Wijngaards
5aa8ae510e
Fix spelling of dtstream.c
2020-02-26 13:11:27 +01:00
W.C.A. Wijngaards
6a51e9e037
Add dnstap io callbacks to fptr whitelist event.
2020-02-26 12:14:52 +01:00
W.C.A. Wijngaards
58b7e732b8
Fixup dtstream.h file description comment. And for dtstream.c too.
2020-02-26 12:05:38 +01:00
W.C.A. Wijngaards
7b19ba3d57
dnstap io, fix spinning reconnect when handshake fails for TLS.
2020-02-14 15:41:17 +01:00
W.C.A. Wijngaards
465af58457
dnstap io, fix to compile without ssl.
2020-02-14 13:23:58 +01:00
W.C.A. Wijngaards
748b70ae8b
dnstap io, fix clang analysis warning
2020-02-14 10:33:33 +01:00
W.C.A. Wijngaards
78e6060858
dnstap io, example.conf example, config_file entries for tcp and tls.
2020-02-14 09:03:09 +01:00
W.C.A. Wijngaards
5714260953
dnstap io, move peer check into routine.
2020-02-12 15:34:56 +01:00
W.C.A. Wijngaards
25a88d6d54
dnstap io, check peer verification in dtstream dtio_ssl_handshake.
2020-02-12 15:23:58 +01:00
W.C.A. Wijngaards
ad180402ea
dnstap io, set tls auth name in outgoing ssl
2020-02-05 16:17:21 +01:00
W.C.A. Wijngaards
812d8f71e8
dnstap io, ssl write.
2020-02-05 15:04:04 +01:00
W.C.A. Wijngaards
5b117c851a
dnstap io, ssl handshake.
2020-02-05 13:59:56 +01:00
W.C.A. Wijngaards
e5d43a6f4e
dnstap io, close fd routine.
2020-02-05 13:03:58 +01:00
W.C.A. Wijngaards
9f7a16c7ab
dnstap io, ssl and ssl ctx creation.
2020-02-04 17:23:19 +01:00
W.C.A. Wijngaards
1420d59949
dnstap io, connect and write over TCP.
2020-01-31 17:07:40 +01:00
W.C.A. Wijngaards
a8264065f6
- put fstrm protocol contents in separate files, dnstap_fstrm.c
...
and dnstap_fstrm.h
2020-01-30 17:11:07 +01:00
W.C.A. Wijngaards
fa49fc77e3
fix dnstap io for lock checks, log identity (numworkers+1), and add locks
...
around protected area modification in the message queue.
2020-01-30 13:39:31 +01:00
W.C.A. Wijngaards
0248872938
dnstap io, move setup with nothreads into its own routine.
2020-01-29 16:31:33 +01:00
W.C.A. Wijngaards
565b3ef8cb
dnstap io, fix compile warning when compiled with threading enabled.
2020-01-29 16:22:32 +01:00
W.C.A. Wijngaards
1e4165d25b
dnstap io, without threads, logs from the main event loop.
2020-01-28 15:51:39 +01:00