svn commit: r476710 - in head/security: . vanguards-tor
Yuri Victorovich
yuri at FreeBSD.org
Wed Aug 8 23:47:33 UTC 2018
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 at 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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list