Home
last modified time | relevance | path

Searched refs:socks_endpoint (Results 1 – 24 of 24) sorted by relevance

/dports/devel/py-foolscap/foolscap-21.7.0/src/foolscap/connections/
H A Dtor.py71 socks_endpoint = yield self._maybe_connect(reactor, update_status)
73 socks_endpoint=socks_endpoint)
84 def __init__(self, socks_endpoint=None): argument
86 self._socks_endpoint = socks_endpoint
95 def socks_endpoint(tor_socks_endpoint): function
128 socks_endpoint = clientFromString(reactor, socks_desc)
136 returnValue(socks_endpoint)
163 socks_endpoint = clientFromString(reactor, socks_desc)
164 yield (socks_endpoint, socks_desc)
190 (socks_endpoint, socks_desc) = next(find_port(reactor, ports))
[all …]
/dports/security/py-txtorcon/txtorcon-21.1.0/txtorcon/
H A Dendpoints.py1008 socks_endpoint = None
1013 socks_endpoint = _endpoint_from_socksport_line(reactor, p)
1022 if socks_endpoint is None:
1039 assert socks_endpoint is not None
1040 defer.returnValue(socks_endpoint)
1072 socks_endpoint=None): argument
1073 if socks_endpoint is None:
1077 socks_endpoint=socks_endpoint,
1084 socks_endpoint=None, # can be Deferred argument
1095 self._socks_endpoint = socks_endpoint
[all …]
H A Dweb.py64 def tor_agent(reactor, socks_endpoint, circuit=None, pool=None): argument
88 if socks_endpoint is None:
93 factory = _AgentEndpointFactoryForCircuit(reactor, socks_endpoint, circuit)
95 factory = _AgentEndpointFactoryUsingTor(reactor, socks_endpoint)
H A Dcontroller.py569 def web_agent(self, pool=None, socks_endpoint=None): argument
588 if socks_endpoint is None:
589 socks_endpoint = _create_socks_endpoint(self._reactor, self._protocol)
590 if not isinstance(socks_endpoint, Deferred):
591 if not IStreamClientEndpoint.providedBy(socks_endpoint):
594 "Endpoint (got '{}')".format(type(socks_endpoint))
598 socks_endpoint,
709 def stream_via(self, host, port, tls=False, socks_endpoint=None): argument
735 if socks_endpoint is None:
736 socks_endpoint = self._default_socks_endpoint()
[all …]
H A Dcircuit.py267 def web_agent(self, reactor, socks_endpoint, pool=None): argument
281 socks_endpoint,
289 socks_endpoint, argument
322 host, port, socks_endpoint,
H A Dsocks.py692 def __init__(self, socks_endpoint, host, port, tls=False): argument
693 self._proxy_ep = socks_endpoint # can be Deferred
H A Dtorconfig.py629 def socks_endpoint(self, reactor, port=None): member in TorConfig
/dports/security/py-txtorcon/txtorcon-21.1.0/examples/
H A Dlaunch_tor.py41 endpoint_d = config.socks_endpoint(reactor, u'unix:/tmp/tor2/socks')
42 agent = tor.web_agent(socks_endpoint=endpoint_d)
H A Dweb_client_custom_circuit.py31 socks = config.socks_endpoint(reactor)
60 ep = circ.stream_via(reactor, 'torproject.org', 80, config.socks_endpoint(reactor))
H A Dreadme2.py40 agent=circ.web_agent(reactor, tor.config.socks_endpoint(reactor)),
H A Dreadme.py39 agent=circ.web_agent(reactor, config.socks_endpoint(reactor)),
H A Dlaunch_tor_unix_sockets.py53 agent = tor.web_agent(socks_endpoint=socks_ep)
/dports/net/py-magic-wormhole/magic-wormhole-0.12.0/src/wormhole/
H A Dtor_manager.py27 socks_endpoint=None, # tries localhost:9050 and 9150
/dports/security/py-txtorcon/txtorcon-21.1.0/test/
H A Dtest_endpoints.py1411 def __init__(self, socks_endpoint, host, port, tls=False, **kw): argument
1563 socks_endpoint=tor_endpoint,
1579 socks_endpoint=tor_endpoint)
1618 socks_endpoint=tor_endpoint,
1629 socks_endpoint=tor_endpoint,
1654 socks_endpoint=tor_endpoint,
1670 endpoint = TorClientEndpoint('', 0, socks_endpoint=ep)
1784 socks_endpoint=clientFromString(Mock(), "tcp:localhost:9050"),
1823 socks_endpoint=clientFromString(Mock(), "tcp:localhost:9050"),
H A Dtest_torconfig.py874 self.config.socks_endpoint(self.reactor, '1234')
879 ep = self.config.socks_endpoint(self.reactor)
891 ep = self.config.socks_endpoint(self.reactor)
904 self.config.socks_endpoint(self.reactor, '1111')
909 self.config.socks_endpoint(self.reactor, 'unix:/foo')
913 ep = self.config.socks_endpoint(self.reactor, 9150)
927 self.config.socks_endpoint(self.reactor,
H A Dtest_controller.py408 cfg.socks_endpoint = Mock(side_effect=boom)
1075 agent = tor.web_agent(pool=self.pool, socks_endpoint=socks_d)
1090 agent = tor.web_agent(pool=self.pool, socks_endpoint=socks)
1104 agent = tor.web_agent(pool=self.pool, socks_endpoint=object())
H A Dtest_socks.py533 socks_endpoint=defer.succeed(socks_ep),
548 socks_endpoint=defer.succeed(not_an_endpoint),
/dports/devel/py-foolscap/foolscap-21.7.0/src/foolscap/test/
H A Dtest_connection.py256 socks_endpoint=None)])
301 h = tor.socks_endpoint(tor_socks_endpoint)
306 socks_endpoint=tor_socks_endpoint)])
314 h = tor.socks_endpoint(tor_socks_endpoint)
/dports/net/py-magic-wormhole/magic-wormhole-0.12.0/src/wormhole/test/
H A Dtest_tor_manager.py166 socks_endpoint=None,
/dports/security/py-txtorcon/txtorcon-21.1.0/
H A DREADME.rst116 agent=circ.web_agent(reactor, config.socks_endpoint(reactor)),
H A DPKG-INFO145 agent=circ.web_agent(reactor, config.socks_endpoint(reactor)),
/dports/devel/py-foolscap/foolscap-21.7.0/src/foolscap/appserver/
H A Dclient.py244 h = tor.socks_endpoint(clientFromString(reactor, SOCKS))
/dports/security/py-txtorcon/txtorcon-21.1.0/txtorcon.egg-info/
H A DPKG-INFO145 agent=circ.web_agent(reactor, config.socks_endpoint(reactor)),
/dports/devel/py-foolscap/foolscap-21.7.0/doc/
H A Dconnection-handlers.rst92 * `socks.socks_endpoint(proxy_endpoint)` : This routes connections to a
98 * `tor.socks_endpoint(tor_socks_endpoint)` : This makes a SOCKS connection to