From owner-svn-ports-all@freebsd.org Wed Aug 8 23:47:33 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FA99106FDC6; Wed, 8 Aug 2018 23:47:33 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D21657340B; Wed, 8 Aug 2018 23:47:32 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A59A9118E5; Wed, 8 Aug 2018 23:47:32 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w78NlW6I000399; Wed, 8 Aug 2018 23:47:32 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w78NlV56000395; Wed, 8 Aug 2018 23:47:31 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201808082347.w78NlV56000395@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 8 Aug 2018 23:47:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476710 - in head/security: . vanguards-tor X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/security: . vanguards-tor X-SVN-Commit-Revision: 476710 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 23:47:33 -0000 Author: yuri Date: Wed Aug 8 23:47:31 2018 New Revision: 476710 URL: https://svnweb.freebsd.org/changeset/ports/476710 Log: New port: security/vanguards-tor: Tor add-on to protect against guard discovery and related attacks Reported by: Tor upstream notification Added: head/security/vanguards-tor/ head/security/vanguards-tor/Makefile (contents, props changed) head/security/vanguards-tor/distinfo (contents, props changed) head/security/vanguards-tor/pkg-descr (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Wed Aug 8 23:29:31 2018 (r476709) +++ head/security/Makefile Wed Aug 8 23:47:31 2018 (r476710) @@ -1316,6 +1316,7 @@ SUBDIR += unicornscan SUBDIR += unssh SUBDIR += vault + SUBDIR += vanguards-tor SUBDIR += veracrypt SUBDIR += vinetto SUBDIR += vlock Added: head/security/vanguards-tor/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/vanguards-tor/Makefile Wed Aug 8 23:47:31 2018 (r476710) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= vanguards +DISTVERSION= 0.1.1 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMESUFFIX= -tor + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Tor add-on to protect against guard discovery and related attacks + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}stem>0:security/py-stem@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist noflavors +NO_ARCH= yes + +do-test: # testcases are known to fail: https://github.com/mikeperry-tor/vanguards/issues/27 + @cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs tests + +.include Added: head/security/vanguards-tor/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/vanguards-tor/distinfo Wed Aug 8 23:47:31 2018 (r476710) @@ -0,0 +1,3 @@ +TIMESTAMP = 1533770682 +SHA256 (vanguards-0.1.1.tar.gz) = 6add6b4336b218fd1aa7819cff73d76374ccccf8f4539a07537d8d26491a3f6b +SIZE (vanguards-0.1.1.tar.gz) = 302117 Added: head/security/vanguards-tor/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/vanguards-tor/pkg-descr Wed Aug 8 23:47:31 2018 (r476710) @@ -0,0 +1,11 @@ +This add-on uses the Stem Tor control port library to connect to a Tor control +port listening on port 9051 (or on an alternate user-specified port, or UNIX +file system socket). + +This addon protects against guard discovery and related traffic analysis +attacks. A guard discovery attack enables an adversary to determine the guard +node(s) that are in use by a Tor client and/or Tor onion service. Once the guard +node is known, traffic analysis attacks that can deanonymize an onion service +(or onion service user) become easier. + +WWW: https://github.com/mikeperry-tor/vanguards