[Pkg-privacy-commits] [obfsproxy] 37/353: Fixed names of transports
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository obfsproxy.
commit aaa6decd2a9f03db165cf03e0d369113bc5818c1
Author: Brandon Wiley <brandon at blanu.net>
Date: Mon Aug 27 17:29:16 2012 -0500
Fixed names of transports
---
src/obfsproxy/framework/managed/server.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/obfsproxy/framework/managed/server.py b/src/obfsproxy/framework/managed/server.py
index dbb48bb..358e5dd 100755
--- a/src/obfsproxy/framework/managed/server.py
+++ b/src/obfsproxy/framework/managed/server.py
@@ -10,10 +10,10 @@ from monocle.stack.network import add_service, Service
from obfsproxy.framework.proxy import ProxyHandler
-from obfsproxy.transports.dummy import DummyClient
-from obfsproxy.transports.rot13 import Rot13Client
-from obfsproxy.transports.dust_transport import DustClient
-from obfsproxy.transports.obfs3 import Obfs3Client
+from obfsproxy.transports.dummy import DummyServer
+from obfsproxy.transports.rot13 import Rot13Server
+from obfsproxy.transports.dust_transport import DustServer
+from obfsproxy.transports.obfs3 import Obfs3Server
from pyptlib.easy.server import init, reportSuccess, reportFailure, \
reportEnd
@@ -30,17 +30,17 @@ class ManagedServer:
self.handler = ProxyHandler()
self.supportedTransports = {
- 'dummy': DummyClient,
- 'rot13': Rot13Client,
- 'dust': DustClient,
- 'obfs3': Obfs3Client,
+ 'dummy': DummyServer,
+ 'rot13': Rot13Server,
+ 'dust': DustServer,
+ 'obfs3': Obfs3Server,
}
matchedTransports = init(self.supportedTransports)
for transport in matchedTransports:
try:
- self.launchServer(transport, 8183)
- reportSuccess(transport, ('127.0.0.1', 8183), None)
+ self.launchServer(transport, 1051)
+ reportSuccess(transport, ('127.0.0.1', 1051), None)
except TransportLaunchException:
reportFailure(transport, 'Failed to launch')
reportEnd()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git
More information about the Pkg-privacy-commits
mailing list