Hot answers tagged

15 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 ...
user avatar
  • 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.
user avatar
  • 3,745
7 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 ...
user avatar
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 ...
user avatar
  • 61
5 votes

Tor plug-in for Chromium?

Proxy SwitchySharp supports SOCKS. Here's an article on How to browse the web anonymously with Google Chrome in Linux that covers configuration in detail. Note that there are some security holes ...
user avatar
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 ...
user avatar
4 votes
Accepted

What does "[Warning] Rejecting SOCKS request for anonymous connection to private address [scrubbed]." means?

It's fixed for bug #10419. Instead of a proper fix it "routes" localhost over Tor. See https://trac.torproject.org/projects/tor/ticket/10419#comment:32
user avatar
4 votes
Accepted

How do I setup Tor on Debian for secure use as a SOCKS5 proxy?

I've just tested this in a CrunchBang 11 x64 VM. It should work in Ubuntu and the rest of the Debian family. First install Wireshark, by opening a terminal and running these commands: sudo apt-get ...
4 votes

For a given app, is using a SocksPort more secure than using a web proxy such as Polipo?

Unfortunately, neither method is completely foolproof. With SOCKS, the application may implement socks proxy support in a way that leaks DNS requests; you need to verify that the program delegates ...
user avatar
  • 41
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 ...
user avatar
  • 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, ...
user avatar
  • 5,401
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 ...
user avatar
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 ...
user avatar
  • 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 ...
user avatar
  • 10.8k
3 votes

Multiple Tor processes to separate client traffic to improve anonymity?

You can run a single Tor daemon, but configure it to open multiple SocksPort (and/or TransPort & DNSPort) listeners. Applications that connect to different listener ports will use isolated ...
user avatar
  • 31
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 ...
user avatar
3 votes

Proxy over Tor?

This option is for setting the proxy port Tor uses. When you start the Tor Browser Bundle an instance of Tor will also be started. This is what you see listening on Port 9150 and where by default the ...
user avatar
  • 1,182
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 ...
user avatar
  • 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 ...
user avatar
2 votes

Communicating through Tor using Python

If you want to use event-based code (namely Twisted), there's https://github.com/habnabit/txsocksx for client-side stuff (i.e. socks proxy) and http://txtorcon.readthedocs.org/en/latest/ for speaking ...
user avatar
  • 31
2 votes

Can a Tor hidden service make outbound connections?

Yes it is possible to use the same tor process to serve a Hidden Server and as a client for accessing the Tor network. Just use the SocksListenAddress you have configured in the config file. I'm not ...
user avatar
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-...
user avatar
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 ....
user avatar
  • 8,663
2 votes
Accepted

Is TransPort deprecated? If not, what are recommended use cases?

From my point-of-view, torsocks and using TransPort selectively for some applications (e.g. like Mike's suggested setup for Android) is quite equivalent. Two key differences, though: torsocks will ...
user avatar
  • 627
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 "...
user avatar
  • 141
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 ...
user avatar
  • 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.
user avatar
  • 2,209

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