Questions tagged [torsocks]

Torifying wrapper to redirect the traffic of socks-compatible apps through the tor network.

Filter by
Sorted by
Tagged with
0 votes
1 answer
243 views

PERROR torsocks: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)

Sometimes,if not often,the IP address assigned to me by TOR does not work. Is there a way to choose the exit IP numbers where my traffic should exit the Tor network ? I've found a script that tells to ...
0 votes
1 answer
30 views

git with tor v3 auth key

I have a git server as a hidden service with v3 auth enabled on it. I of course can browse to the site supplying my private key. I cannot clone from the site over http, because I assume it is ...
3 votes
2 answers
121 views

Are the external IP addresses the same for two torified programs simultaneously running?

Suppose there are two torified programs that are simultaneously running in the shell on the same computer (which uses a single network interface). Are the external IP addresses assigned to the two ...
0 votes
1 answer
52 views

[Iran][Fedora] Torsocks doesn't work even though tor is installed and running

The service is enabled and active, furthermore journalctl -exft Tor says it is bootstrapped 100%. However running torsocks on and trying to ping hackage.haskell.org will return nothing, ditto for ...
3 votes
1 answer
7k views

Torsocks vs Proxychains?

I often alternate between torsocks/proxychains when using wget, youtube-dl, gpg2, ssh, pacman and more [non-multithreading] applications. If torsocks breaks or seems abnormally slow, I'll likely try ...
0 votes
0 answers
164 views

connecting tor over ssh error Socks proxy failed to connect, error 4 (host unreachable)

I already had setup hidden service on my pi4 and it was working just fine until I decided that I'd install the same config on another sd card and from then on it gives me the same error again and ...
5 votes
1 answer
1k views

Torsocks doesn’t torify on macOS

I can’t get Torsocks to work properly on macOS 12.3 Monterey, while it works perfectly on Raspbian 11 Bullseye. The program seems to work, but it doesn’t torify the traffic. The version is Torsocks 2....
0 votes
1 answer
59 views

Sourcing “torsocks on” in fish and dash shells

I have used torify for a while to ad hoc route the traffic of certain applications through Tor and just today noticed that the man page suggests using torsocks instead. Reading through the torsocks(1) ...
0 votes
1 answer
369 views

How could p2p connections work in Tor?

Besides that Tor should not be used for p2p traffic because of network congestion and possible IP leaks in BitTorrent applications, how could it work in theory? Assuming that the BitTorrent ...
1 vote
1 answer
294 views

burpsuite onion http request intercept

I have an Onion Website, and i want to try and exploit it to find the Real IP-Address behind this Service. The problem: 'Cannot intercept Traffic from .onion' i also used this Settings in BurpSuite: ...
0 votes
1 answer
279 views

Tor stream isolation using torcc

I use torsocks for 3 applications: IRC, SSH and Thunderbird (My Tor browser uses port 9150 from the torbrowser bundle daemon). I want to use a different tor circuit for each application. On the ...
5 votes
3 answers
6k views

What's the difference between ControlPort and SocksPort

I would like to run Tor on my Mac, such that another program (a Ruby script) can make HTTP requests through my running Tor process. I installed via "sudo port install tor" and then launched ...
1 vote
1 answer
120 views

Using torify with another browser?

How do you use torify with another browser through a bridge? (because tor is blocked by the ISP)
0 votes
1 answer
2k views

Torify + Whois don't work ;(

as i wrote in title. Typing in command: torify whois ****.com Output: [Mar 04 01:29:26] PERROR torsocks[21980]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:185) ...
0 votes
1 answer
251 views

How to implement a hidden service with bridges?

If my ISP blocks access to tor nodes, I would get bridge info from official tor website and connect tor again but how can I make my hidden service to use bridges ? Does hidden service even need ...
0 votes
1 answer
326 views

Is it useful turn on "keep alive" for Tor SOCKS5 TCP connection?

Wasabi Wallet application connects to the Tor SOCKS5 endpoint (code) and it specifies various "keep alive" options for that socket connections. Note that the TCP connections connect the ...
1 vote
0 answers
52 views

<crossout>onionmx broken due to torsocks ipv6 abandonment</crossout>

Edit: Actually the torsocks v1.4.0 --ipv6 option has been working for me. See https://github.com/ehloonion/onionmx/issues/38#issuecomment-1173104130 [I've been trying][1] to get [onionmx][2] working ...
11 votes
5 answers
67k views

How to set Tor proxy for Windows 10 instead of VPN?

When I open windows 10 settings and then "Network & Internet" I see: Settings -> Network & Internet 1. Data usage ...
0 votes
1 answer
552 views

How to use torsocks with python urllib3 and along a domain name where ipv6 is availaible ? Or rather disable ɪᴘᴠ6 in that case?

Simply trying to access en.wikipedia.org with a python script where a huge stack of dependencies prevents configuring a proxy (would take a year in order to rewrite dependencies for getting proxy ...
0 votes
1 answer
839 views

Using Tor in perl script with $mech->get

I am trying to use the following in my perl script, can anyone tel me why i am unable to connect. Where am I wrong? my $mech = WWW::Mechanize->new(); $mech->proxy(['http'], 'http://...
0 votes
1 answer
1k views

Prosody XMPP server with onion domain

I set up the XMPP Prosody server in conjunction with the onion domain, it works fine with v2 domains, but when I trying to configure it with onion v3, it does not connect. Everything is clear in ...
0 votes
1 answer
2k views

How to create a tor proxy?

I want to create a tor proxy on a virtual machine (Linode). But I'm missing some elements. For example, when I buy a proxy service I can send requests to socks5 proxy with user:password. So ideally ...
0 votes
2 answers
162 views

connect two server via tor

if we have two server let's say server1(92.92.92.92) server2(76.76.76.76). I'm working on redirect incoming traffic on server1 port 4444 to server2 port 12345,this is easy with iptables rule on ...
0 votes
1 answer
591 views

Help to remove tor

Last night I installed tor and now i want to delete it and install some new package. I am getting the following error. How do i fix this please help. sudo apt-get install mysql-server Reading ...
1 vote
1 answer
311 views

Is git cli safe to be used with torsocks?

Theoretically, how safe is it to "torsocks git clone/pull/push"? Git is not listed as one of the "100% Safe" applications in the wiki, but considering it uses either ssh or HTTP(S) ...
0 votes
1 answer
155 views

Tor daemon is frozenn ( Rend stream is 120 seconds late.)

Good day, i have some problem with tor daemon on Linux. i use tor daemon to proxy access some site, but periodic tor is frozen, and can't proxy requests. in logs i seee only this. Oct 07 02:29:54 Tor[...
0 votes
1 answer
511 views

Connecting an ESP32 to a site via a SOCKS5 proxy

There is a lot of talk about the poor old ESP32 chip not being able to handle TOR due to its resource constraints, and I know there is one library out there that might work if I had platform.io and ...
0 votes
2 answers
740 views

Not able to ssh over tor

I did setup and V3 hidden service for ssh but I'm not able to connect to the server through tor. When I run torify ssh [email protected] get the following error: 1639811611 ERROR ...
0 votes
1 answer
228 views

running 2 clients at same time and getting stucked at 95% circuit_create: Establishing a Tor circuit after couple of minutes

im running the expert tor.exe client (tor1 and tor2 at the same time) within a python script and selenium module. the 2 tor.exe clients are getting killed after every run to get a new ip. first runs ...
0 votes
2 answers
99 views

Tor SOCKS5 proxy returns question mark character (`?`) instead of valid HTTP response from time to time

An application I work on works with Tor SOCKS5 and uses that to send HTTP 1.1 requests and receive HTTP responses. It works great but from time to time it happens that instead of an HTTP response ...
2 votes
5 answers
7k views

Is it possible to run a Docker container that connects to internet only through Tor?

I found that the Tails has been evaluating Docker. However, I'd like to have a Docker image that connects only through Tor. I'm happy with setting my own proxy. Is there a recipe to do this? What I ...
0 votes
1 answer
680 views

Burpsuite and Tor browser problem

I set http / https proxy as 127.0.0.1 / 8080 in tor browser and set socks proxy as 127.0.0.1 / 9150 in burpsuite. But whenever i click 'connect' in tb, it doesn't work. what is wrong??? OS : win 10 ...
2 votes
1 answer
316 views

Why doesn't `torsocks git clone https://github.com/ElementsProject/lightning.git` work?

torsocks git clone https://github.com/ElementsProject/lightning.git does not work and gives me: Cloning into 'lightning'... 1643140279 PERROR torsocks[51452]: socks5 libc connect: Connection refused (...
0 votes
1 answer
257 views

get\set cookie using TOR API c#

I'm trying to get and set cookies using the Tor API. The problem is that the SocksPortHandler doesn't have CookieContainer nor InnerHandler. I tried using Knapcode.SocketToMe.Http.CookieHandler and ...
1 vote
1 answer
672 views

irssi with Tor - Mapped hostname not working

I'm a newbie to Tor so maybe I'm doing something wrong. I installed Tor in a Raspberry Pi Zero W, connected to the local network, and modified the /etc/tor/torrc file so that it can be accessed only ...
0 votes
1 answer
204 views

VPN through Tor. Are there any errors in my settings and can anonymity be improved?

I need to route traffic from multiple mobile apps and all sites through tor. Some apps and websites block tor traffic. For this reason, I decided to use tor and vpn together (vpn through tor). I know ...
0 votes
2 answers
518 views

Proxy problems - New to TOR

I'm new to TOR and mistakingly fiddled with the proxy settings, now I am unable to establish a connection to TOR. This is the message shown: 9/12/18, 16:09:54.536 [WARN] You specified a public ...
0 votes
1 answer
199 views

When the domain is called, port 8080 is attached?

I am trying to create a hidden service in TOR this due to learning reasons. It all seems to work fine when I want to use this normally with HTML. But as soon as I want to install a dynamic web ...
0 votes
3 answers
6k views

Tor SOCKS5 Not Working With Anything Other Than Tor Browser

I am running Tails OS on a live USB and am attempting to run traffic through Tor. The Tor Browser is working via the SOCKS5 proxy on 127.0.0.1:9050. When I try to run: curl --socks5-hostname localhost:...
0 votes
1 answer
682 views

Is there a way to "mirror" a website that is a Tor site?

I have used HTTrack for regular websites but I want to be able to create a local mirror of a site I can get to via the Tor Browser. Is there such an application out there? I run Windows 10 but can ...
1 vote
2 answers
2k views

SSH with torify/socks

I'm having a hard time understanding why torsocks/torify isn't working in this particular case. torify ssh user@remotemachine torsocks ssh user@remotemachine When I do the following command when I ...
0 votes
1 answer
307 views

Cannot connect to tor hidden sevice on my server after years of use

may I please ask for help? My hidden service is now not working after years of using it. It is installed on ubuntu server. When I try to access it with tor browser, I now get "Invalid onion ...
2 votes
1 answer
181 views

Tor metrics returns blank page for me

I have noticed that metrics options were added in PR 2096. However, when I open http://127.0.0.1:37991/metrics I get only a blank page. I use tor.exe file to send HTTP requests through Tor's SOCKS5 ...
0 votes
1 answer
295 views

How to connect android device to TOR programmatically

I would like to build an application that connects the phone like Orxy/Orbot, although I cannot figure out how. How might I connect to tor using java, or connect to the socks proxy tor interface in ...
0 votes
2 answers
111 views

Site operator gets real IP when I do "torsocks curl example.org/file.zip"?

Quote from Reddit One thing, though: Don't think Torsocks is a jail. It's not even close. Applications can reach clearnet if they're explicitly trying. I download files with: torsocks curl example....
2 votes
2 answers
2k views

torsocks on macOS: ERROR: YYY is located in a directory protected by Apple's System Integrity Protection

I wish to tunnel CLI tools over tor network in macOS 11.5.2 None is working. I only installed torsocks, did no configuration. brew install torsocks torsocks whois example.com ERROR: /usr/bin/whois is ...
0 votes
2 answers
311 views

Fetching JSON via Tor

Hi I am trying to make a code that monitors cryptocurrency prices, so I am fetching JSON data from public sources and then processing it. I am using this python code by @Anurag Uniyal: import urllib....
3 votes
2 answers
4k views

SSH to Tor Hidden service running on Home Computer failed

Tor recently started fiddling with Tor and found out I can host a Tor hidden service that will allow me to forward SSH traffic through a firewall. My setup is: I have a computer at home hosting a SSH ...
14 votes
1 answer
86k views

How to properly start tor service

For months I've been using: $ sudo systemctl start tor.service but I just realized we can start tor by simply typing "tor" into a terminal. What's the proper/safest way to start and stop tor.service?...
0 votes
1 answer
52 views

Tor trying to connect to a deleted bridge

I noticed some old bridges and deleted them. Tor still tries to connect to them. Is there any place that tor reaches the bridge beside etc/tor/torrc?