From nobody Sun Oct 26 03:14:42 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cvMFG74zRz6Dmy0; Sun, 26 Oct 2025 03:14:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cvMFG1Ctmz3Q3S; Sun, 26 Oct 2025 03:14:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761448482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gv7iq6PCX7aHO1o/grtKHeq4A8XGf+P3cmF3kWSy7Eo=; b=KJQXJrxshoWhmQ7D4+7k36MCr5B6B2JNNCOVh3KCGJh/u/P+jJiUsU4FPajVSmRRC9eXVD pnFGJ52s/bdf5BkI6ASgdaHP3kncASXTV6TKFF8ML28ZnVZLidXMphuUSVgaVtx6YbtKoI s3z+5l/DzCqNOSJDM7E+RbK03K5OtIDdcbpbe4OqYI76rUyL/8bbrFFo3ZZPthDVinm6j9 kptU4zlCim3NpBWpebXPOlLn8ZBr4GV22vt2YS7/m0QJUpszpBrpOTJ8OyVP3Cwpi14x/R zRzSZ4KxWhO7ZlCahiQORNB7cMHK4PSmMNMKt1+ACDvubGmnj69oiLa+Az9UeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761448482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gv7iq6PCX7aHO1o/grtKHeq4A8XGf+P3cmF3kWSy7Eo=; b=igsI0CRqaAs9+W/0qFWQK+paag6wixWzfAPn+bN4r9GqMK06+AGS3ufkmBlMvUCm8u9jDm bEKx/klj3gqIUhJDoQDRFdns6HiSJZXQggxZ9/w4kNpVLm7IeCqn4md4c8+Zh8doLOGcCD d6M/66b/+ya7nLemBuxgqpgVeladZ/MHlYneu634FBwe+fwKppNmScuQfejDukW2lYpvkp ONL9kFZs79VTnhkWkjDcKc2ugSnlfdjrhPR+ivd1qKJJqRA+N/mtypFqMZHRdiB0QY58Dx 3YKZNi9+Sgx8jbNUwDDtbTM9QSyGqN7uN29yITwTlhwCzo2JBW4f4JP/dYPc2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761448482; a=rsa-sha256; cv=none; b=fUPIxGBDPdETFoRkaGd8M9q+etKZj8RkId/R0ejgzw2WH3qNej4MUd7rYwX2Iea98l2CAW uBPcXNhQMfhekLCIPWtx+uLJ1Um+aSfaYmoJZBoONSJKW10yvyFvXpX+qPQFRnCzhhpzhz i7J6Yf83I2QdDgc7P504u4Y3SM17gTk65Au+bN1x0bqKufjPGDu+ZvUHMOBuCyNpS+3+za aG3QO52TOEjkeX2Pdz27SSYXpM/gdD2TcFvlQAGIXZ1NFiVBiQBEHLH2BkQ4OKbASWsleW 0jb+mkm25DDJRv6mNuC/KUAjHn4O6df5TBd8ofThwwJjLoS0BflipBa7J8lkHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cvMFG0gg8z14n; Sun, 26 Oct 2025 03:14:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59Q3EgXI063386; Sun, 26 Oct 2025 03:14:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59Q3Eg3T063383; Sun, 26 Oct 2025 03:14:42 GMT (envelope-from git) Date: Sun, 26 Oct 2025 03:14:42 GMT Message-Id: <202510260314.59Q3Eg3T063383@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: 65629acb4a79 - stable/15 - local-unbound-setup: Set so-sndbuf to 0 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 65629acb4a793416b128d932abf5c539315dec4e Auto-Submitted: auto-generated The branch stable/15 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=65629acb4a793416b128d932abf5c539315dec4e commit 65629acb4a793416b128d932abf5c539315dec4e Author: Dag-Erling Smørgrav AuthorDate: 2025-10-08 16:45:02 +0000 Commit: Cy Schubert CommitDate: 2025-10-26 03:14:09 +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 d57d74952fc7..25cfef48b6f0 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-cert-bundle: /etc/ssl/cert.pem" fi + echo " so-sndbuf: 0" echo "" if [ -f "${forward_conf}" ] ; then echo "include: ${forward_conf}"