OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: franco on November 28, 2023, 08:13:36 AM

Title: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: franco on November 28, 2023, 08:13:36 AM
Hi everyone,

Since we started using certctl for CA trust (also because FreeBSD ports curl moved to it) there is a small patch to Unbound DoT that needs widespread testing:

https://github.com/opnsense/core/commit/455e9d6e86d

# opnsense-patch 455e9d6e86d && pluginctl -s unbound restart

Functionally the two variants should be the same but the reality is that Unbound manual is very "mystic" about this particular option and all the tutorials on the Internet seem to prefer using the bundle file. All help testing this is welcome here.


Thanks,
Franco
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: newsense on November 28, 2023, 09:47:42 AM
Seems ready for 23.7.10 ? The attached kernel crash says you didn't break it.

Still not believing my eyes, I stopped AGH, sent all traffic through 127.0.0.1:53 and the 3 configured DoT servers lit up like a seasonal_tree:853 in pftop.

23.7.8_20/3.0.12



Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: dinguz on November 28, 2023, 08:18:56 PM
It seems to be working fine here, are there any specific things to test that you're particularly interested in?
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: lar.hed on November 29, 2023, 12:25:59 PM
I guess it might be a bit to early to say this, so I say it anyway and are ready to bit the dust later...

With this patch applied, Unbound works and behaves as expected. No more, for the moment I guess I need to add, max running Unbound process that load one core to 100%. It just behaves as expected. I have been waiting for this some time now, so well I guess I need to start that egg timer...
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: franco on November 29, 2023, 02:51:24 PM
Yes, using /etc/ssl/cert.pem vs. /etc/ssl/certs/ is exactly the same outcome. The only question was whether to trust the documentation but that has been cleared up indeed. Thanks!
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: lar.hed on November 30, 2023, 09:58:18 AM
Still running as expected, no problem, and no 100% CPU Core process runaway stuff. This just works!
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: Maurice on November 30, 2023, 10:54:17 PM
Works for me.™

Cheers
Maurice
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: doktornotor on December 02, 2023, 12:10:38 PM
Works here as well.
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: phantomsfbw on December 02, 2023, 02:36:16 PM
Working here :)
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: Tschabadu on December 03, 2023, 06:56:48 AM
Patch applied and working. Many thanks.
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: lar.hed on December 03, 2023, 08:12:09 PM
Well the egg timer just stopped so now I know that the problem with 100% CPU in one core is not related to this fix.
Title: Re: [CALL FOR TESTING] Unbound DNS over TLS without explicit CA bundle
Post by: franco on December 13, 2023, 02:07:37 PM
Thanks for the help. Shipped this in 23.7.10.


Cheers,
Franco