[NEW PORT] net/py-sbws: Tor network bandwidth scanner

Simple Bandwidth Scanner (a.k.a sbws) is a Tor bandwidth scanner that produces
bandwidth measurements files to be used by Directory Authorities.

The scanner builds two hop circuits consisting of the relay being measured and
a fast exit. Over these circuits it measures RTT and bandwidth.

WWW: https://sbws.readthedocs.io/

Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D17606
This commit is contained in:
Vinícius Zavam 2018-10-19 14:09:32 +00:00
parent 6ad9ccd707
commit d1759eb1f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482429
4 changed files with 40 additions and 0 deletions

View file

@ -1137,6 +1137,7 @@
SUBDIR += py-ripe.atlas.tools
SUBDIR += py-s3cmd
SUBDIR += py-s3transfer
SUBDIR += py-sbws
SUBDIR += py-shodan
SUBDIR += py-smart_open
SUBDIR += py-smbpasswd

29
net/py-sbws/Makefile Normal file
View file

@ -0,0 +1,29 @@
# $FreeBSD$
PORTNAME= sbws
PORTVERSION= 0.8.0
DISTVERSIONPREFIX= v
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= egypcio@googlemail.com
COMMENT= Tor network bandwidth scanner
LICENSE= CC0-1.0
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}stem>=1.7.0:security/py-stem@${PY_FLAVOR} \
tor:security/tor
USES= cpe python:3.5+ shebangfix
USE_GITHUB= yes
USE_PYTHON= autoplist distutils flavors
CPE_VENDOR= torproject
GH_ACCOUNT= torproject
SHEBANG_FILES= tests/testnets/simple.common/03-network-in-ready-state.py \
tests/testnets/simple-ipv4/03-network-in-ready-state.py \
tests/testnets/simple-ipv6/03-network-in-ready-state.py
.include <bsd.port.mk>

3
net/py-sbws/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1539850400
SHA256 (torproject-sbws-v0.8.0_GH0.tar.gz) = 0520f40caa405bf49baa5380f6846c61c617d31649adc4e472162f49bb67cb8f
SIZE (torproject-sbws-v0.8.0_GH0.tar.gz) = 156048

7
net/py-sbws/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
Simple Bandwidth Scanner (a.k.a sbws) is a Tor bandwidth scanner that produces
bandwidth measurements files to be used by Directory Authorities.
The scanner builds two hop circuits consisting of the relay being measured and
a fast exit. Over these circuits it measures RTT and bandwidth.
WWW: https://sbws.readthedocs.io/