backend.globaleaks.utils.socks

Module Contents

Classes

SOCKS5ClientProtocol
SOCKS5ClientFactory
SOCKS5ClientEndpoint
TLSWrapClientEndpoint
SOCKS5Agent
class backend.globaleaks.utils.socks.SOCKS5ClientProtocol(factory, wrappedProtocol, connectedDeferred, host, port)[source]

Bases: twisted.protocols.policies.ProtocolWrapper

error(self)[source]
socks_state_0(self)[source]
socks_state_1(self)[source]
socks_state_2(self)[source]
socks_state_3(self)[source]
makeConnection(self, transport)[source]
dataReceived(self, data)[source]
class backend.globaleaks.utils.socks.SOCKS5ClientFactory(host, port, wrappedFactory)[source]

Bases: twisted.protocols.policies.WrappingFactory

protocol[source]
proto[source]
canceled = False[source]
buildProtocol(self, addr)[source]
clientConnectionFailed(self, connector, reason)[source]
clientConnectionLost(self, connector, reason)[source]
unregisterProtocol(self, p)[source]
_cancel(self, d)[source]
class backend.globaleaks.utils.socks.SOCKS5ClientEndpoint(host, port, proxyEndpoint)[source]

Bases: object

connect(self, protocolFactory)[source]
class backend.globaleaks.utils.socks.TLSWrapClientEndpoint(contextFactory, wrappedEndpoint)[source]

Bases: object

_wrapper[source]
connect(self, fac)[source]
_unwrapProtocol(self, proto)[source]
backend.globaleaks.utils.socks._Agent[source]
class backend.globaleaks.utils.socks.SOCKS5Agent(reactor, contextFactory=BrowserLikePolicyForHTTPS(), connectTimeout=None, bindAddress=None, pool=None, proxyEndpoint=None, endpointArgs={})[source]

Bases: object

endpointFactory[source]
_tlsWrapper[source]
request(self, *a, **kw)[source]
_getEndpoint(self, scheme, host, port)[source]
endpointForURI(self, uri)[source]