From nobody Sat Jun 24 16:54:05 2023 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 4QpKvK3JfPz4hQSN; Sat, 24 Jun 2023 16:54:05 +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 4QpKvK2rVcz4XBW; Sat, 24 Jun 2023 16:54:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687625645; 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=//ihwhWvl0EJbz1gI/IiY+QZxfCWGymIga6WnF5nuE4=; b=DUoYe0snmDjCt4JBBMVVjuCUkAJe8LIkNwAHaTy1oAEYGtZzEASkpLGZY68KDZt0V5y68C sQKXPPP93o5dIMNzePLgIeJRijdbqz7YNydQLcpMy+MqlunibwpW0qoUoc73zlzPiReAiT NUrTG/svDa1RfFZIos7XxtTY5GxDkZSyxj9nesc3bhQRtaz6A3AXBxeMv6VG8/wONKa0Ai 3Ae7wXll6ah9cferiSbmGsDXCkPzjoXrqaEs9NchZN3TUN7TiFSdAm3BjJieY56aLcrsBP t/AkuWdGBNej094AUs1O5EH/HfzHHVQVw3JUwRo/1/nUXj1hskKgGJGu6DwV5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687625645; 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=//ihwhWvl0EJbz1gI/IiY+QZxfCWGymIga6WnF5nuE4=; b=U7fuww1jr57aUK+B9Ua+M4G3yE9AE2ImD1i/G1OSqchRyUxnmkGxOVTOqI0WVFVyi4jEbL yox5GlSFqylhOZGJ3X+0IXntTBQtfmieHvZvDHAPhSpGhdGTMoeBLFe1c9aWJl7PGiQyRj /CJX3o8Xu5gCX8FqgIXqmcajFqwo0GjD61O0BhVIK80YFhzltBZDW5nZ/dteShKSHYyJ+b w31+EUHwlyL2v1nG0ZuwuFeldwYJxjySqhWWYLFJ6AyAqIWK4d2CjW4VXEwAMNOZvapeoa PiT/1NLvaFBwLu7bIZiclUjtt2RLr6Gfkq6MLrzt8spF4QlpAiv57Y0O6N4dJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687625645; a=rsa-sha256; cv=none; b=KCGWMAkE9k7Yo8G/EhXVI/kBx5WvnOW6tKhCi1FxRTnFDIJjD7Uj4yYeI9XTGNDoyalSPl tSgHS6hRik2cnBVbitIs+XobndBDJNziMfDLLfXIi34I4jRHmZ6JDcSTDKjq2wP1JYVRv/ dF5xgs60C0Us4IKtgQmUZGskdowkhWy+WUq2jmQKjNbZnXdqTy1DoP6tRp1hDLOG3UMIDC FWafNVAvKOAjUAwzeuLc7UngIiaNU+7rOxvvBSmOkhB9jMvBQdP2pODY4LoCueKR7mWNs4 Wq4eIi2QM4ZWtdzNPaX1PMOaUYm6LTeAv9nxEheIXgkI64hu/Dk05wAk+rmr9Q== 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 4QpKvK1w8bzt2P; Sat, 24 Jun 2023 16:54:05 +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 35OGs58r092804; Sat, 24 Jun 2023 16:54:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35OGs5hf092803; Sat, 24 Jun 2023 16:54:05 GMT (envelope-from git) Date: Sat, 24 Jun 2023 16:54:05 GMT Message-Id: <202306241654.35OGs5hf092803@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Vin=C3=ADcius=20Zavam?= Subject: git: ad63312728a2 - main - [NEW] security/webtunnel-tor: Pluggable Transport based on HTTPT 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: egypcio X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ad63312728a23d4e1722c78b3915a9fefc4c022e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by egypcio: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad63312728a23d4e1722c78b3915a9fefc4c022e commit ad63312728a23d4e1722c78b3915a9fefc4c022e Author: Vinícius Zavam AuthorDate: 2023-06-24 16:46:29 +0000 Commit: Vinícius Zavam CommitDate: 2023-06-24 16:54:02 +0000 [NEW] security/webtunnel-tor: Pluggable Transport based on HTTPT WebTunnel is a pluggable transport for Tor that attempts to imitate web browsing activities based on HTTPT, a Probe-Resistant Proxy. * https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel Sponsored by: TorBSD Diversity Project, TDP Sponsored by: The Tor Project --- security/Makefile | 1 + security/webtunnel-tor/Makefile | 43 ++++++++++++++++++++++++++++++++++++++++ security/webtunnel-tor/distinfo | 5 +++++ security/webtunnel-tor/pkg-descr | 2 ++ 4 files changed, 51 insertions(+) diff --git a/security/Makefile b/security/Makefile index 1b123d3142a8..6b4bb74d951c 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1332,6 +1332,7 @@ SUBDIR += wazuh-manager SUBDIR += wazuh-server SUBDIR += webfwlog + SUBDIR += webtunnel-tor SUBDIR += weggli SUBDIR += whatweb SUBDIR += wipe diff --git a/security/webtunnel-tor/Makefile b/security/webtunnel-tor/Makefile new file mode 100644 index 000000000000..ff29b736553d --- /dev/null +++ b/security/webtunnel-tor/Makefile @@ -0,0 +1,43 @@ +PORTNAME= webtunnel +PORTVERSION= 0.0.1 +CATEGORIES= security net +PKGNAMESUFFIX= -tor + +MAINTAINER= egypcio@FreeBSD.org +COMMENT= Pluggable Transport attempting to imitate web browsing based on HTTPT +WWW= https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel + +LICENSE= MIT +LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${TPO_WEBTUN}/LICENSE + +RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ + tor:security/tor + +USES= cpe go +USE_GITLAB= yes +CPE_VENDOR= torproject +TPO_GOPTLIB= 24b2b145d7afc66b66e58c702cf988c00f694b70 +TPO_WEBTUN= 38eb55054a5c3c072acc1d8f9a9afa36e3a5c9b7 + +CGO_ENABLED= 0 +GO_BUILDFLAGS= -ldflags '${STRIP} -w -extldflags "-static"' +GO_PKGNAME= gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel +GO_TARGET= ./main/client ./main/server + +GL_SITE= https://gitlab.torproject.org/tpo +GL_ACCOUNT= anti-censorship/pluggable-transports +GL_COMMIT= ${TPO_WEBTUN} +GL_TUPLE= anti-censorship:pluggable-transports/goptlib:${TPO_GOPTLIB}:tpo_ac_ptlib/vendor/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/goptlib + +PLIST_FILES= bin/${PORTNAME}-tor-client \ + bin/${PORTNAME}-tor-server +pre-extract: + ${MKDIR} ${WRKDIR}/pluggable-transports + ${LN} -sf ${WRKDIR}/webtunnel-${TPO_WEBTUN} ${WRKDIR}/pluggable-transports/webtunnel-${TPO_WEBTUN} + ${LN} -sf ${WRKDIR}/goptlib-${TPO_GOPTLIB} ${WRKDIR}/pluggable-transports/goptlib-${TPO_GOPTLIB} + +post-install: + ${MV} ${STAGEDIR}/${PREFIX}/bin/client ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}-tor-client + ${MV} ${STAGEDIR}/${PREFIX}/bin/server ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}-tor-server + +.include diff --git a/security/webtunnel-tor/distinfo b/security/webtunnel-tor/distinfo new file mode 100644 index 000000000000..756aa23a4a2d --- /dev/null +++ b/security/webtunnel-tor/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1687620500 +SHA256 (anti-censorship/pluggable-transports-webtunnel-38eb55054a5c3c072acc1d8f9a9afa36e3a5c9b7_GL0.tar.gz) = ed742a89bdacf5431b4464b76822393a002d0e4711c377dee9d243c58718c9e1 +SIZE (anti-censorship/pluggable-transports-webtunnel-38eb55054a5c3c072acc1d8f9a9afa36e3a5c9b7_GL0.tar.gz) = 10960 +SHA256 (anti-censorship-pluggable-transports/goptlib-24b2b145d7afc66b66e58c702cf988c00f694b70_GL0.tar.gz) = d41286afbbf942f5385831487fc2e06be885c06800412e3bd1fbd72e70ebbaf5 +SIZE (anti-censorship-pluggable-transports/goptlib-24b2b145d7afc66b66e58c702cf988c00f694b70_GL0.tar.gz) = 29730 diff --git a/security/webtunnel-tor/pkg-descr b/security/webtunnel-tor/pkg-descr new file mode 100644 index 000000000000..a319c8b75fb6 --- /dev/null +++ b/security/webtunnel-tor/pkg-descr @@ -0,0 +1,2 @@ +WebTunnel is a pluggable transport for Tor that attempts to imitate web +browsing activities based on HTTPT, a Probe-Resistant Proxy.