From nobody Sun Dec 12 11:30:01 2021 X-Original-To: dev-commits-ports-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 17E8118CC092; Sun, 12 Dec 2021 11:30:02 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JBj9P5Kczz4VJP; Sun, 12 Dec 2021 11:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 973F12055A; Sun, 12 Dec 2021 11:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BCBU11D020257; Sun, 12 Dec 2021 11:30:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BCBU1PQ020242; Sun, 12 Dec 2021 11:30:01 GMT (envelope-from git) Date: Sun, 12 Dec 2021 11:30:01 GMT Message-Id: <202112121130.1BCBU1PQ020242@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Matthias Andree Subject: git: 0a512a27a188 - 2021Q4 - security/openvpn: deprecate tunnelblick List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mandree X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q4 X-Git-Reftype: branch X-Git-Commit: 0a512a27a18872541a55fa9b0bf87787a4d14a3d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639308601; 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=O7SWaySc8Uctb/bpsSv9+gFqBlYvAdQizcOA8m5dq0o=; b=IeAUiA8Wym2cM7yx1Al0XDMQ/3uGqpZD0kpgaCosHAeqxuMjB6xBAMlUkWmFXVxsKhljjE sc5ULLc3pbjCbrNeESWyFny31LH7VUnAjO80QzWM1fy2dBo4auueVi6xgbDwBZXKII0MgP SicJNuaMBs5KOBCRAHG3th9zYJTDtKui8A2L5jzXH3tACd0ggEQ4nacQmEjG2HUnc2vcNv iLS3G2uCnaMyvbKaDHvVVFT9gVHM94tV/c8GS7632IyaqcgL/uWeOQN0bsBQGEbxGYZF8k 3akuIjaEDjJfA5dpTKCuK1azUUVPyjfhdqYJhQAUn1Iys+7tUH9NGjgTCg4Ymw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639308601; a=rsa-sha256; cv=none; b=vcQaj0edBk2juQFQIw+waRt3E8w/eGVoVdGXKjYz1qVKm5a/L3BfCAkcCFiWiCt98XBzFy RqXft2UBehRgTUoXLtVli8Vdk8LVMmMimIso626IfKkXlQoXjMCvGQHZjpAD9HXCKuwhBw gDxcZQE2zI71NcpPaNpjTzQU+gNGIy9z426SntPkxmvMJ2khCEP4WnzKm+cZMx3KIO+p/h 2d/D0E42QF9W8uXruFPfcPbwjYc71RXBMEmZjl3L7xp+Y7J/H2Zch2vDji4ph7zs7xbtZY yOsGAKEYuS6It3KdASnMMfLBw28yIz6rbjedNN2uVGk2dMnPpH8X62TVImRt2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2021Q4 has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a512a27a18872541a55fa9b0bf87787a4d14a3d commit 0a512a27a18872541a55fa9b0bf87787a4d14a3d Author: Matthias Andree AuthorDate: 2021-12-12 10:55:48 +0000 Commit: Matthias Andree CommitDate: 2021-12-12 11:29:23 +0000 security/openvpn: deprecate tunnelblick While here, shorten LZO_DESC to fit 80x24 dialogs. (cherry picked from commit bedfd042b988444cb311f477d5cf1e4457ead29f) --- security/openvpn/Makefile | 12 ++++++------ security/openvpn/pkg-help | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile index 62b50ea7cc1c..4bb6b3093932 100644 --- a/security/openvpn/Makefile +++ b/security/openvpn/Makefile @@ -43,11 +43,11 @@ OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= OPENSSL MBEDTLS ASYNC_PUSH_DESC= Enable async-push support EASYRSA_DESC= Install security/easy-rsa RSA helper package -LZO_DESC= LZO compression support (incompatible with LibreSSL) +LZO_DESC= LZO compression (incompatible with LibreSSL) MBEDTLS_DESC= SSL/TLS via mbedTLS (lacks TLS v1.3) PKCS11_DESC= Use security/pkcs11-helper (OpenSSL only) SMALL_DESC= Build a smaller executable with fewer features -TUNNELBLICK_DESC= Tunnelblick XOR scramble patch (READ HELP!) +TUNNELBLICK_DESC= XOR scrambling patch - DEPRECATED! UNITTESTS_DESC= Enable unit tests X509ALTUSERNAME_DESC= Enable --x509-username-field (OpenSSL only) @@ -119,11 +119,11 @@ pre-everything:: @${SHELL} -c 'exit 1' .endif -.if !empty(PORT_OPTIONS:MMBEDTLS) +.if !empty(PORT_OPTIONS:MMBEDTLS) || !empty(PORT_OPTIONS:MTUNNELBLICK) pre-everything:: - @${ECHO_CMD} >&2 "=====================================================" - @${ECHO_CMD} >&2 "Note that the mbedTLS option will go away 2022-03-31." - @${ECHO_CMD} >&2 "=====================================================" + @${ECHO_CMD} >&2 "======================================================================" + @${ECHO_CMD} >&2 "Note that the mbedTLS and Tunnelblick options will go away 2022-03-31." + @${ECHO_CMD} >&2 "======================================================================" .endif post-patch: diff --git a/security/openvpn/pkg-help b/security/openvpn/pkg-help index 9fd1cd9567bd..f770021373b2 100644 --- a/security/openvpn/pkg-help +++ b/security/openvpn/pkg-help @@ -1,3 +1,5 @@ +DEPRECATED FEATURE - TO BE REMOVED END OF 2022-03-31 LATEST + Note that "Tunnelblick" is a controversial option. It is included for compatibility, not enabled by default, and should only be used with due consideration, and it should not @@ -8,3 +10,18 @@ option, neither to the --help output, nor the manual page. Please see this website for a more detailed discussion: https://tunnelblick.net/cOpenvpn_xorpatch.html + +The essence is that there are alternatives proposed that can avoid +this patch: + +The OpenVPN developers "do not encourage people building their own +versions of OpenVPN changing the wire-protocol like this, without the +patch being through a proper patch review and having evaluated possible +security risks related to such a change. + And we especially discourage using such an approach when there exists +a far better solution, used by the TOR community. It is called obfsproxy +and can be used together with OpenVPN without needing any re-compilation +of OpenVPN." + +https://community.openvpn.net/openvpn/wiki/TrafficObfuscation +https://2019.www.torproject.org/docs/pluggable-transports