Questions tagged [stem]

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

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
560 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(...
2
votes
0answers
91 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
430 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
33 views

Python3 + Tor's stem library => Permission denied when creating new hidden service

I am trying to deploy a new hidden service using Tor's stem library for Python3, but I am always receiving errors that the service can not be created due to '[Errno 13] Permission denied' issue. I am ...
1
vote
0answers
30 views

Tor client node ignores `set_config` from Stem

I was doing some experiments for a project on a Tor test network. I used Chutney to set up a small network and Stem to control one of the client nodes in the network. Because I made some changes on a ...
1
vote
0answers
69 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
16 views

JavaScript Tor control Library

I am trying to make a plugin for Firefox and I need a Tor control library for JavaScript. Can anyone suggest something ? I used Tor Stem and that is pretty awesome. I need similar functionality with ...
0
votes
1answer
43 views

How do I reuse the onion address of a hidden service

I first want to generate a service and save the private key for reuse if one hasn't already been generated and saved, and if one has been generated and saved I want to be able to load it again if ...
0
votes
0answers
62 views

SIGNAL response contained unrecognized status code: 514

I'm trying to use tor as a proxy for a few HTTP requests as described in Stealthy Crawling using Scrapy, Tor and Privoxy, but instead of privoxy, I'm using tor's built-in HTTP tunnel. This is my tor ...
0
votes
1answer
228 views

Cannot connect to my tcp tor hidden service in Python

I have a fully functional tor hidden service with his v3 url, created with stem and the controller class. The server is redirecting the traffic into a local tcp server running on port 5000 created ...
0
votes
1answer
58 views

Using stem with multithreading Python

I am trying to use two circuits in parallel with stem. In tor browser, two different websites use two different circuits. I am trying to get similar functionality in my python code. Here is what I am ...
0
votes
0answers
43 views

Integrating Tor Browser and Python to get the same circute

This is a cross post from my StackOverFlow question(also I little edited). Ok, my question is quite straightforward: I want to use Python to make automated requests with stem (or any other library ...
0
votes
0answers
15 views

Is there a way to republish tor descriptors?

How can I republish Tor hidden service's descriptors without re-running Tor. I did come across this link https://stem.torproject.org/tutorials/mirror_mirror_on_the_wall.html and used create(). But I ...