-
-
Notifications
You must be signed in to change notification settings - Fork 381
dnstap in Unbound 1.12.0 on FreeBSD 12-STABLE doesn't work #358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi rallenh, It is in pre-release and available for download, https://lists.nlnetlabs.nl/pipermail/unbound-users/2020-November/007091.html |
Instead pick up rc4 with bug fixes, or final releases by checking the nlnetlabs.nl downloads. Unbound 1.13.0rc4 can be found here: https://lists.nlnetlabs.nl/pipermail/unbound-users/2020-November/007095.html |
I was able to test 1.13.0rc4 out.
1.13.0.rc4 does work for me:
But, I am now getting this on startup (where I didn't previously):
I have It's also nondeterministic:
|
Thanks for the test with 1.13.0rc4, good to know that the dnstap stuff works. For the udp connect error I made a bugfix. It ignores that error, it is harmless, and only prints it on high verbosity levels. In your case I think it only means IPv6 network is not connected, or not connected to those destination subnets, and it reports that. For Unbound it can continue fine. Likely this change is not in 1.13.0, but in a later release, it is in the code repo. If you want you can get the patch by applying that commit to your version as a diff. |
* nlnet/master: (117 commits) - Fix NLnetLabs#358: Squelch udp connect 'no route to host' errors on low verbosity. Changelog entry for rc tags 1.13.0rc3 and rc4. - Fix assertion failure on double callback when iterator loses interest in query at head of line that then has the tcp stream not kept for reuse. - Fix contrib/metrics.awk for FreeBSD awk compatibility. - Fix compile warnings in rpz initialization. - Fix compile warnings for windows. - Fix when use free buffer to initialize rbtree for stream reuse. - Fix compile warning for type cast in http2_submit_dns_response. - Clear readagain upon decommission of pending tcp structure. - Fix that after failed read, the readagain cannot activate. - For NLnetLabs#352: contrib/metrics.awk for Prometheus style metrics output. - Fix to omit UDP receive errors from log, if verbosity low. These happen because of udp-connect. - tag for the 1.13.0rc2 release. - Fix readagain and writeagain callback functions for comm point cleanup. - Attempt fix for libevent state in tcp reuse cases after a packet is written. - Fix memory leak for edns client tag opcode config element. - Remove debug commands from reuse tests. - Better fix for reuse tree comparison for is-tls sockets. Where the tree key identity is preserved after cleanup of the TLS state. - Fix udp-connect on FreeBSD, do send calls on connected UDP socket. - with udp-connect ignore connection refused with UDP timeouts. ...
Hi,
I have been trying to get dnstap via a file socket on FreeBSD 12-STABLE. I can't seem to make it work following: http://dnstap.info/Tutorials/NANOG60/ (even thought it's dated).
I have the Go dnstap utility installed. I use it to create and listen to the socket via:
Here's my
unbound.conf
dnsp section:FreeBSD uses the chroot option (
chroot: "/usr/local/etc/unbound"
) for unbound. Here's what I see in the log (to syslog):Here's a
stat
on the file:I found this FreeBSD b/z https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248828 which suggests to come here and report the issue.
I can make dnstap work via a network socket:
The text was updated successfully, but these errors were encountered: