From owner-svn-ports-all@freebsd.org Wed Jan 17 23:29:56 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53A55EBF39D; Wed, 17 Jan 2018 23:29:56 +0000 (UTC) (envelope-from dbaio@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 2E4AA63FA5; Wed, 17 Jan 2018 23:29:56 +0000 (UTC) (envelope-from dbaio@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 65C1916218; Wed, 17 Jan 2018 23:29:55 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HNTt2N040138; Wed, 17 Jan 2018 23:29:55 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0HNTtiv040136; Wed, 17 Jan 2018 23:29:55 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201801172329.w0HNTtiv040136@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Wed, 17 Jan 2018 23:29:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459296 - in head/security/obfs4proxy-tor: . files X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/security/obfs4proxy-tor: . files X-SVN-Commit-Revision: 459296 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.25 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, 17 Jan 2018 23:29:56 -0000 Author: dbaio Date: Wed Jan 17 23:29:54 2018 New Revision: 459296 URL: https://svnweb.freebsd.org/changeset/ports/459296 Log: security/obfs4proxy-tor: Update pkg-message Update pkg-message to reflect obfs4's man page, obfs4 works only as managed pluggable transport spawned as a helper process via the tor daemon, and needs no extra options to operate in such mode. Also fix a typo and a white space. PR: 225068 Submitted by: Vinícius Zavam (maintainer) Modified: head/security/obfs4proxy-tor/Makefile head/security/obfs4proxy-tor/files/pkg-message.in Modified: head/security/obfs4proxy-tor/Makefile ============================================================================== --- head/security/obfs4proxy-tor/Makefile Wed Jan 17 22:43:46 2018 (r459295) +++ head/security/obfs4proxy-tor/Makefile Wed Jan 17 23:29:54 2018 (r459296) @@ -2,6 +2,7 @@ PORTNAME= obfs4proxy DISTVERSION= 0.0.7 +PORTREVISION= 1 CATEGORIES= security net ipv6 MASTER_SITES= https://people.torproject.org/~yawning/releases/${PORTNAME}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -31,7 +32,7 @@ PLIST_FILES= bin/obfs4proxy \ man/man1/obfs4proxy.1.gz do-build: - @${RLN} ${WRKSRC} ${WRKSRC}/obfs4proxy/src/git.torproject.org/pluggable-transports/obfs4.git + @${RLN} ${WRKSRC} ${WRKSRC}/obfs4proxy/src/git.torproject.org/pluggable-transports/obfs4.git @cd ${WRKSRC}/obfs4proxy && \ ${SETENV} GOPATH=${WRKSRC}/obfs4proxy go build Modified: head/security/obfs4proxy-tor/files/pkg-message.in ============================================================================== --- head/security/obfs4proxy-tor/files/pkg-message.in Wed Jan 17 22:43:46 2018 (r459295) +++ head/security/obfs4proxy-tor/files/pkg-message.in Wed Jan 17 23:29:54 2018 (r459296) @@ -1,28 +1,26 @@ ====================================================================== To use obfs4 as a Bridge Client, please add the following configuration -to your '%%PREFIX%%/etc/tor/torrc' config file: +to your 'torrc' config file: -ClientTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy + # Enable obfs4proxy as Client + ClientTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy -To enable this Pluggable Transport in your Tor Bridge, use the -following configurations in your 'torrc' file: +To use obfs4 as a Pluggable Transport in your Tor Bridge server, use the +following configurations in your 'torrc' config file: -# Use obfs4proxy to provide the obfuscator -ServerTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy managed + # Enable obfs4proxy as Server + ServerTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy + # Enable Extended ORPort + ExtORPort auto + ## (Optional) Listen on the specified IP:PORT + # ServerTransportListenAddr obfs4 0.0.0.0:443 -# Enable Extended ORPort -ExtORPort auto - -## (Optional) Listen on the specified IP:PORT for obfs4 connections -## as opposed to picking a random port automatically -# ServerTransportListenAddr obfs4 0.0.0.0:443 - obfs4proxy is backwards-compatible with obfs2 and obfs3 either in client or server mode. If you want to use it like this, please adjust your 'torrc' config file to fit your needs. It's compatible with ScrambleSuit in client mode. -For more information, please consulte the official wiki page at +For more information, please consult the official wiki page at https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy ======================================================================