Tor authentication #51
-
Hi, Thanks for getting back to me, I have now managed to get the application running using the docker-compose.debug docker files and starting the container with the CLI parameter. However, I have read the documentation and cannot find anything about the TOR authentication it is asking for. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The Currently, For more information about Tor Controller, please refer to documentations of Tor and |
Beta Was this translation helpful? Give feedback.
-
Okay, I have build the Docker image using the docker-compose.debug files, I then run the image using the following command: It then requires me to fill in the Tor Authentication, when I do so, the container shows the darc --help text and the container closes. Can you please tell what command I have to run to make it crawl the data from a text file and save the data to SQL database? |
Beta Was this translation helpful? Give feedback.
-
Hi JarryShaw, Thanks for your help so far. Any clue why the connection is refused on TOR_CTRL port 9051? crawler | /app/darc/proxy/tor.py:94: TorRenewFailed: [Errno 111] Connection refused Thanks again! |
Beta Was this translation helpful? Give feedback.
The
TOR_PASS
environment variable is for configuring the Tor authentication required by Tor Controller instance, which is used to manipulate Tor configuration and behaviour at runtime dynamically in a programming way.Currently,
darc
uses Tor Controller to renew its Tor relay at the end of each processing round, as such to avoid back tracing through network activity.For more information about Tor Controller, please refer to documentations of Tor and
stem
, the Python library for managing Tor applications.