Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "obfsproxy/transports/scramblesuit"]
path = obfsproxy/transports/scramblesuit
url = https://git.torproject.org/user/phw/scramblesuit.git
1 change: 1 addition & 0 deletions obfsproxy/transports/scramblesuit
Submodule scramblesuit added at d91d47
4 changes: 3 additions & 1 deletion obfsproxy/transports/transports.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
import obfsproxy.transports.b64 as b64
import obfsproxy.transports.obfs2 as obfs2
import obfsproxy.transports.obfs3 as obfs3
import obfsproxy.transports.scramblesuit.scramblesuit as scramblesuit

transports = { 'dummy' : {'base': dummy.DummyTransport, 'client' : dummy.DummyClient, 'server' : dummy.DummyServer },
'b64' : {'base': b64.B64Transport, 'client' : b64.B64Client, 'server' : b64.B64Server },
'obfs2' : {'base': obfs2.Obfs2Transport, 'client' : obfs2.Obfs2Client, 'server' : obfs2.Obfs2Server },
'obfs3' : {'base': obfs3.Obfs3Transport, 'client' : obfs3.Obfs3Client, 'server' : obfs3.Obfs3Server } }
'obfs3' : {'base': obfs3.Obfs3Transport, 'client' : obfs3.Obfs3Client, 'server' : obfs3.Obfs3Server },
'scramblesuit' : {'base': scramblesuit.ScrambleSuitTransport, 'client' : scramblesuit.ScrambleSuitClient, 'server' : scramblesuit.ScrambleSuitServer }, }

def get_transport_class(name, role):
# Rewrite equivalent roles.
Expand Down