View | Details | Raw Unified | Return to bug 222645 | Differences between
and this patch

Collapse All | Expand All

(-)security/Makefile (+1 lines)
Lines 420-425 Link Here
420
    SUBDIR += oath-toolkit
420
    SUBDIR += oath-toolkit
421
    SUBDIR += obfsclient
421
    SUBDIR += obfsclient
422
    SUBDIR += obfsproxy
422
    SUBDIR += obfsproxy
423
    SUBDIR += obfs4proxy
423
    SUBDIR += ocaml-cryptgps
424
    SUBDIR += ocaml-cryptgps
424
    SUBDIR += ocaml-cryptokit
425
    SUBDIR += ocaml-cryptokit
425
    SUBDIR += ocaml-ssl
426
    SUBDIR += ocaml-ssl
(-)security/obfs4proxy/Makefile (+33 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	obfs4proxy
4
PORTVERSION=	0.0.7
5
CATEGORIES=	security net ipv6
6
MASTER_SITES=	http://people.torproject.org/~yawning/releases/${PORTNAME}/
7
LICENSE=	BSD3CLAUSE
8
LICENSE_FILE=	${WRKSRC}/LICENSE
9
10
MAINTAINER=	egypcio@googlemail.com
11
COMMENT=	The Obfuscator
12
13
USES=		go tar:xz
14
15
SUB_FILES=	pkg-message
16
17
GO_PKGNAME=	git.torproject.org/pluggable-transports/obfs4.git
18
GO_TARGET=	${GO_PKGNAME}/${PORTNAME} \
19
		${GO_PKGNAME}/common/log \
20
		${GO_PKGNAME}/common/socks5 \
21
		${GO_PKGNAME}/transports \
22
		${GO_PKGNAME}/transports/base
23
24
BUILD_DEPENDS=	${LOCALBASE}/${GO_LIBDIR}/git.torproject.org/pluggable-transports/goptlib.git.a:security/goptlib \
25
		${LOCALBASE}/${GO_LIBDIR}/github.com/agl/ed25519/extra25519.a:security/go-ed25519 \
26
		${LOCALBASE}/${GO_LIBDIR}/github.com/dchest/siphash.a:security/go-siphash \
27
		${LOCALBASE}/${GO_LIBDIR}/golang.org/x/crypto/bcrypt.a:security/go.crypto \
28
		${LOCALBASE}/${GO_LIBDIR}/golang.org/x/net/ipv4.a:net/go.net
29
30
post-install:
31
	${INSTALL_MAN} ${WRKSRC}/doc/obfs4proxy.1 ${STAGEDIR}${PREFIX}/man/man1
32
33
.include <bsd.port.mk>
(-)security/obfs4proxy/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1502290761
2
SHA256 (obfs4proxy-0.0.7.tar.xz) = c07a1a690ebab3057c8b566e1a4902439c77d1ba5c35bbf42fcdc5b46ab3ca63
3
SIZE (obfs4proxy-0.0.7.tar.xz) = 56184
(-)security/obfs4proxy/files/pkg-message.in (+28 lines)
Line 0 Link Here
1
======================================================================
2
3
 To use obfs4 as a Bridge Client, please add the following configuration
4
to your 'torrc' config file:
5
6
	ClientTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy
7
8
  To enable this Pluggable Transport in your Tor Bridge, use the
9
following configurations in your 'torrc' file:
10
11
	# Use obfs4proxy to provide the obfuscator
12
	ServerTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy managed
13
14
	# Enable Extended ORPort
15
	ExtORPort auto
16
17
	## (Optional) Listen on the specified IP:PORT for obfs4 connections
18
	## as opposed to picking a random port automatically
19
	# ServerTransportListenAddr obfs4 0.0.0.0:443
20
21
  obfs4proxy is backwards compatible with obfs2 and obfs3 either in client or 
22
server mode. If you want to use it like this, please adjust your 'torrc' 
23
config file to fit your needs. It's compatible with ScrambleSuit in client mode.
24
25
  For mor information, please consulte the official wiki page at 
26
https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy
27
28
======================================================================
(-)security/obfs4proxy/pkg-descr (+5 lines)
Line 0 Link Here
1
  obfs4 (a.k.a. The Obfuscator) is a transport with the same features as 
2
ScrambleSuit but utilizing Dan Bernstein's elligator2 technique for public 
3
key obfuscation, and the ntor protocol for one-way authentication.
4
5
WWW: https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy
(-)security/obfs4proxy/pkg-plist (+30 lines)
Line 0 Link Here
1
bin/obfs4proxy
2
man/man1/obfs4proxy.1.gz
3
%%GO_LIBDIR%%/%%GO_PKGNAME%%/common/log.a
4
%%GO_LIBDIR%%/%%GO_PKGNAME%%/common/socks5.a
5
%%GO_LIBDIR%%/%%GO_PKGNAME%%/transports.a
6
%%GO_LIBDIR%%/%%GO_PKGNAME%%/transports/base.a
7
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/log/log.go
8
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/args.go
9
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/args_test.go
10
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/rfc1929.go
11
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/socks5.go
12
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/socks_test.go
13
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/base/base.go
14
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/meeklite/base.go
15
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/meeklite/meek.go
16
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs2/obfs2.go
17
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs3/obfs3.go
18
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/framing/framing.go
19
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/framing/framing_test.go
20
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/handshake_ntor.go
21
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/handshake_ntor_test.go
22
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/obfs4.go
23
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/packet.go
24
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/statefile.go
25
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/base.go
26
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/conn.go
27
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/handshake_ticket.go
28
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/handshake_uniformdh.go
29
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/hkdf_expand.go
30
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/transports.go

Return to bug 222645