From nobody Sun Oct 26 03:15:03 2025 X-Original-To: dev-commits-src-all@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 4cvMFh18ckz6Dmq5; Sun, 26 Oct 2025 03:15:04 +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 4cvMFg6GvVz3QMd; Sun, 26 Oct 2025 03:15:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761448503; 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=EgM67itoXEEL4W/7P+ehre/HEXb7zKpFGrStQlyQSnk=; b=o6Zt6p9hv1Gi898ThWnMgXlBh5pW1PrB5Jlit9haNJT2VoZCy5NLaM5boN8b3VzMbplkz+ z3ws0c9sqgbuMua0HN5ijNJDoE81fPrY4wogqF3/QFIyNjpdvPF2QKSBho7bqgLQ9wSpXc plMAqG7vT+GS146mVPDfSmQlMx/yI4wAnN7Ce7AX8w1HCgyO0HppIaSANERqeILm9PKCTY WeWNHE9hShNRPuC1JiLiQP/PIuIgzU/2V+rw2q1gLxREwh4shuvtUKZpgpLUy2GlODEvtk oYcwcAGiHjBn+bZhMTudyQ9uxIczJhVEOsv2FeeN/DKyAs0k6IuZzQUjvhmM0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761448503; 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=EgM67itoXEEL4W/7P+ehre/HEXb7zKpFGrStQlyQSnk=; b=hCQ3aWkqVq220PbF513dKMcqJzGwcHeSq08AUIe3TAA7Q/64HC0uBAD6TypwEtByulKURd AsAfeBgV1voVSkuRzofynvMBGo0fjIzb9KIlszokWhD2S5zbmAWFRH1RI7lfmJY7Dl8MUm 86nxqKeyn9cJ0t+iZebF/uY0gytovosnM3xJ20YerB5uAG6M5Qgz4tst8hm8kIvThqIr1l 6XtQK7oopim4KptGYh3BQlx8KvlB4phiVgs5JKa7aZ6tZi8UEvztRs7m6hYwhi7GatpYQL LjHCiPd5qDq6+rc813FH+goHfEQXHql0bO76a/upPLfVWQujqEj8lkfxjP55rg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761448503; a=rsa-sha256; cv=none; b=WVUjVlwT9y11AnDbJxWv6hLEbQky/ZFG7290qhOWnMwboBbk0L4h+yluqaEM/E/mntjgIu lt15ZsqXrH9ryybPjNz4TvLJmvnHiEIoURm03UbPkQY6upVD21BvPMyuRnIk5AtmECLGO/ jRWhuj7B5s2X0RGLzy7H3ZHJrwrsVThaHv2sPOi6YrGNoEmgeMw3dmULNay1Y6ZufUjzHg gCWLfQkV6r9pM3gawfhFBHnlE0HJibu1AzTojg5v0KogRViJyHMmhabpMcCHUvh8iUTfiq psullyPUjFcjlgFUvgHeKaRW1Kx3/i3Kh38pPtIv7pU8UpukN/WsBllIGZYsKQ== 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 4cvMFg5H8Tzsy; Sun, 26 Oct 2025 03:15:03 +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 59Q3F3B7063812; Sun, 26 Oct 2025 03:15:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59Q3F3qf063809; Sun, 26 Oct 2025 03:15:03 GMT (envelope-from git) Date: Sun, 26 Oct 2025 03:15:03 GMT Message-Id: <202510260315.59Q3F3qf063809@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: 49ed9e4acb6e - stable/14 - local-unbound-setup: Set so-sndbuf to 0 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/14 X-Git-Reftype: branch X-Git-Commit: 49ed9e4acb6e66143ce36369c2816efa248bf18c Auto-Submitted: auto-generated 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 AuthorDate: 2025-10-08 16:45:02 +0000 Commit: Cy Schubert 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}"