Hot answers tagged

16 votes

"This is a SOCKS Proxy, Not An HTTP Proxy"

Tor provides a SOCKS proxy by default. Whatever you've configured to use Tor is trying to use it as an HTTP proxy which is a different kind of proxy protocol. Tor (at least as of 0.3.2.x) can ...
  • 10.8k
11 votes
Accepted

resolve .onion address from bash

You should use --socks5-hostname instead of just --socks5. This way, the socks5 proxy does the hostname resolution. Otherwise curl tries to resolve the hostname itself, which it can't.
  • 3,745
8 votes

"This is a SOCKS Proxy, Not An HTTP Proxy"

As @cacahuatl said you can use that switch, if you want it to be permanent go to /etc/tor/torrc (This is the path for tor config file in Ubuntu and Debian), open it with your favorite text editor and ...
6 votes

resolve .onion address from bash

Moreover, you should use torsocks - built-in utility for working with Tor Network. It is designed to prevent any leakage! Please, read the man page. For example: root@localhost:/# torsocks curl ...
  • 61
4 votes

Does Tor add encryption at the TCP protocol level?

This isn't a good idea. TCPCrypt is, and I can't stress this enough, absolute trash. It provides no protection against an active MITM attacker, it's not authenticated. The remote party too must ...
  • 10.8k
4 votes

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

Tor not just a not http proxy - it's a transparent proxy with host-mapping features and DNS + SOCKS backend. If you want it as a VPN, especially on Windows 10, you MUST use a separate box as a router, ...
  • 5,471
4 votes
Accepted

How to put entire pc behinde Tor

I think a physical device would be what you are looking for. Something like what the P.O.R.T.A.L. project hopes to accomplish. These guys go over their ideas/philosophy and why this is a good thing ...
4 votes

What's the difference between ControlPort and SocksPort

The control port is used for controlling Tor, usually via other software like Arm. The Socks port is the port running as a SOCKS5 proxy. This is the one you want to use. Please note that Tor is not ...
4 votes

How can I figure out how to use TOR in my Java application

Just download and run TOR Browser. It will open a socks proxy in your system. You can check the port in browser settings: You just need to set a proxy for your java socket: InetSocketAddress ...
  • 368
4 votes
Accepted

How does Tor use application proxy (SOCKS)?

The "Onion Proxy" is a name for a Tor client, it is the entire client process. The SOCKS interface is just a way for a client to utilise the onion proxy. The SOCKS server is provided by the Tor ...
  • 10.8k
3 votes
Accepted

Using Tor Browser with alternate Tor client - works but issues warning

What does Tor Browser test for that fails when using a different / non-local Tor as the client? With the default settings, Tor Browser: Starts its own instance of Tor when you first open the browser ...
3 votes

How to change Tor Browser default SocksPort?

The easiest way to define them is through use of environment variables, e.g. start Tor Browser with the command, e.g.: env TOR_SOCKS_PORT=9170 TOR_CONTROL_PORT=9071 ./Browser/start-tor-browser or by ...
  • 10.8k
3 votes
Accepted

What is passed to the Onion Proxy in terms of the OSI model?

The SOCKS proxy operates on the application layer. Therefore the answers to your questions are: The SOCKS proxy receives whatever you send to it via the TCP connection that is built up to the SOCKS ...
3 votes
Accepted

What's the difference between torify, usewithtor, tsocks and torsocks?

Most of the links you posted state the differences. You should use torsocks. tsocks: Allows non-SOCKS aware applications to use a SOCKS proxy. No longer maintained. tsocks' role is to allow these ...
  • 2,898
2 votes

I can't use Tor's socks5 proxy on safari

You need to do some steps to get Privoxy working with Tor and Safari. Open the Privoxy config file and search for 9050. You'll find the line: # forward-socks5 / 127.0.0.1:9050 ....
  • 8,683
2 votes

Proxy server is refusing connection

I tried all these so-called fixes with the socksport 9050 to 9150 and none worked. What finally worked for me was completely uninstall Tor Browser and download and re-install Tor Browser. Do not re-...
2 votes

General SOCKS server failure while using tor proxy

While Tor has a builtin SOCKS proxy, it doesn't have common features of a SOCKS proxy like creating rules based on the target host or overriding how to resolve a host. No you can't turn off Tor from ...
  • 1,274
2 votes

Add an exit proxy to Tor

This is not currently supported by Tor or the Tor Browser. You will most likely have to come up with a solution yourself. A workaround might be pointing Tor Browser at your proxychained Tor.
  • 2,209
2 votes
Accepted

HTTP proxy over Tor

Polipo is the best choice! Here is an official website and a GitHub repository
  • 5,471
2 votes

Proxy Client: unable to connect ("general SOCKS server failure")

To resolve this issue, Open Tor browser => Click on Configure button => select Tor is censored in my country option => Click on Request a new Bridge => enter captcha then click Submit. you will get a ...
  • 21
2 votes
Accepted

Loading Gmail in Tor

TBB is a Firefox ESR with some configuration changes that make it more 'anonymous' this is from the web: "...Also, note that the Firefox ESR in our bundles is modified from the default Firefox ESR "...
  • 141
2 votes

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

Tor is not a http proxy but it is a SOCKS proxy, so please put your options (127.0.0.1:9150) in the socks field. :)
2 votes
Accepted

RealVNC Viewer and Tor

Tor utilises the SOCKS username and password authentication mechanism for isolation, not access control. You can enter any credentials and it will accept them as valid. I'd be wary of adding the ...
  • 10.8k
2 votes

What's the best way to isolate applications as they enter the tor network?

you can utilize a circuit isolation by authenticating them at SOCKS proxy differently, as it is said at the manual : SOCKSPort [address:]port|unix:path|auto [flags] [isolation flags] Open this ...
  • 5,471
2 votes

cURL and wget with Tor

They will know you're (likely) using curl, similarly they might know you're using wget or pythons urllib based on the behaviour and other headers. They might be able to guess at other aspects of the ...
  • 10.8k
2 votes
Accepted

Tor Dns , Multi Instances

Encrypted Traffic Tor is agnostic to the data that is routed through the network. Data is protected as it traverses the network but not before it enters or after it leaves. It is the responsibility of ...
  • 10.8k
2 votes
Accepted

Exit traffic through a SOCKS proxy

No. There's no mechanism for this in Tor, you'll need to deal with routing the outbound traffic yourself. You should also note that the address your relay is listening/running on will be linked to ...
  • 10.8k
2 votes

How to send Tor traffic through ssh tunnel?

You want to configure Tor to use an upstream proxy. Tor Button/Onion Menu -> Network Settings -> Tick 'This computer needs to use a local proxy to access the Internet' Proxy Type: SOCKS5 Address: ...
  • 10.8k

Only top scored, non community-wiki answers of a minimum length are eligible