/dports/devel/py-foolscap/foolscap-21.7.0/src/foolscap/connections/ |
H A D | tor.py | 71 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 D | endpoints.py | 1008 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 D | web.py | 64 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 D | controller.py | 569 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 D | circuit.py | 267 def web_agent(self, reactor, socks_endpoint, pool=None): argument 281 socks_endpoint, 289 socks_endpoint, argument 322 host, port, socks_endpoint,
|
H A D | socks.py | 692 def __init__(self, socks_endpoint, host, port, tls=False): argument 693 self._proxy_ep = socks_endpoint # can be Deferred
|
H A D | torconfig.py | 629 def socks_endpoint(self, reactor, port=None): member in TorConfig
|
/dports/security/py-txtorcon/txtorcon-21.1.0/examples/ |
H A D | launch_tor.py | 41 endpoint_d = config.socks_endpoint(reactor, u'unix:/tmp/tor2/socks') 42 agent = tor.web_agent(socks_endpoint=endpoint_d)
|
H A D | web_client_custom_circuit.py | 31 socks = config.socks_endpoint(reactor) 60 ep = circ.stream_via(reactor, 'torproject.org', 80, config.socks_endpoint(reactor))
|
H A D | readme2.py | 40 agent=circ.web_agent(reactor, tor.config.socks_endpoint(reactor)),
|
H A D | readme.py | 39 agent=circ.web_agent(reactor, config.socks_endpoint(reactor)),
|
H A D | launch_tor_unix_sockets.py | 53 agent = tor.web_agent(socks_endpoint=socks_ep)
|
/dports/net/py-magic-wormhole/magic-wormhole-0.12.0/src/wormhole/ |
H A D | tor_manager.py | 27 socks_endpoint=None, # tries localhost:9050 and 9150
|
/dports/security/py-txtorcon/txtorcon-21.1.0/test/ |
H A D | test_endpoints.py | 1411 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 D | test_torconfig.py | 874 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 D | test_controller.py | 408 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 D | test_socks.py | 533 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 D | test_connection.py | 256 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 D | test_tor_manager.py | 166 socks_endpoint=None,
|
/dports/security/py-txtorcon/txtorcon-21.1.0/ |
H A D | README.rst | 116 agent=circ.web_agent(reactor, config.socks_endpoint(reactor)),
|
H A D | PKG-INFO | 145 agent=circ.web_agent(reactor, config.socks_endpoint(reactor)),
|
/dports/devel/py-foolscap/foolscap-21.7.0/src/foolscap/appserver/ |
H A D | client.py | 244 h = tor.socks_endpoint(clientFromString(reactor, SOCKS))
|
/dports/security/py-txtorcon/txtorcon-21.1.0/txtorcon.egg-info/ |
H A D | PKG-INFO | 145 agent=circ.web_agent(reactor, config.socks_endpoint(reactor)),
|
/dports/devel/py-foolscap/foolscap-21.7.0/doc/ |
H A D | connection-handlers.rst | 92 * `socks.socks_endpoint(proxy_endpoint)` : This routes connections to a 98 * `tor.socks_endpoint(tor_socks_endpoint)` : This makes a SOCKS connection to
|