Date: Sun, 26 Oct 2025 03:15:03 GMT From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 49ed9e4acb6e - stable/14 - local-unbound-setup: Set so-sndbuf to 0 Message-ID: <202510260315.59Q3F3qf063809@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=49ed9e4acb6e66143ce36369c2816efa248bf18c commit 49ed9e4acb6e66143ce36369c2816efa248bf18c Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2025-10-08 16:45:02 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2025-10-26 03:14:52 +0000 local-unbound-setup: Set so-sndbuf to 0 Without this setting, Unbound 1.24.0 and newer will attempt to set the socket buffer size to 4 MB to mitigate issues that mostly affect servers with large numbers of clients on local networks, which is not a scenario local-unbound is intended for. This is not only a waste of resources, it can also fail, resulting in a warning message on daemon startup. Fixes: b2efd602aea8 ("unbound: Vendor import 1.24.0") Reviewed by: jlduran, cy Differential Revision: https://reviews.freebsd.org/D52977 (cherry picked from commit de3faa85d8f99d260cbfa6242dd8e4ece693e4f8) --- usr.sbin/unbound/setup/local-unbound-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/unbound/setup/local-unbound-setup.sh b/usr.sbin/unbound/setup/local-unbound-setup.sh index d52534b46fa3..90e255204135 100755 --- a/usr.sbin/unbound/setup/local-unbound-setup.sh +++ b/usr.sbin/unbound/setup/local-unbound-setup.sh @@ -261,6 +261,7 @@ gen_unbound_conf() { if [ "${use_tls}" = "yes" ] ; then echo " tls-system-cert: yes" fi + echo " so-sndbuf: 0" echo "" if [ -f "${forward_conf}" ] ; then echo "include: ${forward_conf}"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510260315.59Q3F3qf063809>
