Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [stem]

Stem is a controller library for Tor. It is based on Python.

2
votes
1answer
364 views

Cannot use get_ports() with stem modules

I am unable to use the function get_ports() with stem. It says # python get_ports.py OR [...] File "/usr/local/lib/python2.7/dist-packages/stem/socket.py", line 126, in send raise stem.SocketClosed(...
0
votes
1answer
27 views

The problem about stem's new_circuit and extend_circuit?

I have read the document of Stem. I notice that new_circuit() and extend_circuit() can create new circuit.However,I have two problems: I can't make sure when I create a new circuit, will the old ...
2
votes
0answers
35 views

circuit_build_no_more_hops: Bug: 2-hop circuit 0x7fd6935ce4c0 with purpose 5 has no guard state

For research, I need to create custom circuits using stem. I ran code, but a warning occurred in Tor application: [warn] circuit_build_no_more_hops: Bug: 2-hop circuit 0x7fd6935ce4c0 with purpose 5 ...
2
votes
0answers
292 views

Using Circuits in Parallel

Is there some easy method to use circuits in parallel in TOR using the STEM API. I wanted to use Website A for Circuit A and Website B for Circuit B. The problem is using threading the event listener ...
1
vote
0answers
39 views

What are the parameter of get_info in stem

From stem documentation, the syntax of get_info is get_info(params, default = UNDEFINED, get_bytes = False) Where can I find a list of possible GETINFO parameters params?
0
votes
0answers
19 views

Connection refused attempting to connect to remote relay using Stem

I'm trying to connect to a relay on another machine using stem. My relay has the following torrc: # torrc SocksPort 0 ControlPort 9051 HashedPassword 16:...
0
votes
0answers
14 views

Stem: Is there a way to add ports to hidden service dynamically?

Is there any way in stem to add a new port to the previously created ephemeral hidden service ? as example, if created a hidden service using stem programmatically on ports 9000 and 9001 If I want to ...