summaryrefslogtreecommitdiff
path: root/transports/transports.go
diff options
context:
space:
mode:
authorYawning Angel <yawning@torproject.org>2015-02-17 11:33:29 +0000
committerYawning Angel <yawning@torproject.org>2015-02-17 11:33:29 +0000
commit0066cfc3932c50323fa596981f18ef5b0e862742 (patch)
tree49ac284ec91fe342a1995693b9bc7d3e015eee8e /transports/transports.go
parent0f038ca4fa4c175d427251838cfee6fb6d6b9e2f (diff)
Add support for acting as a ScrambleSuit client.
This allows obfs4proxy to be used as a ScrambleSuit client that is wire compatible with the obfs4proxy implementation, including session ticket support, and length obfuscation. The current implementation has the following limitations: * IAT obfuscation is not supported (and is disabled in all other ScrambleSuit implementations by default). * The length distribution and probabilites are different from those generated by obfsproxy and obfsclient due to a different DRBG. * Server support is missing and is unlikely to be implemented.
Diffstat (limited to 'transports/transports.go')
-rw-r--r--transports/transports.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/transports/transports.go b/transports/transports.go
index 6b80bdc..ba4e099 100644
--- a/transports/transports.go
+++ b/transports/transports.go
@@ -37,6 +37,7 @@ import (
"git.torproject.org/pluggable-transports/obfs4.git/transports/obfs2"
"git.torproject.org/pluggable-transports/obfs4.git/transports/obfs3"
"git.torproject.org/pluggable-transports/obfs4.git/transports/obfs4"
+ "git.torproject.org/pluggable-transports/obfs4.git/transports/scramblesuit"
)
var transportMapLock sync.Mutex
@@ -88,4 +89,5 @@ func init() {
Register(new(obfs2.Transport))
Register(new(obfs3.Transport))
Register(new(obfs4.Transport))
+ Register(new(scramblesuit.Transport))
}