17
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 ...
12
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.
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 ...
7
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 ...
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 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, ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
2
votes
Accepted
HTTP proxy over Tor
Polipo is the best choice! Here is an official website and a GitHub repository
2
votes
How to set Tor proxy for Windows 10 instead of VPN?
Best way is to set it via Control Panel:
right click start -> control panel -> internet options -> connections
tab -> LAN settings
Check off "Use a proxy server for your LAN..."
Optionally, select "...
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 ...
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 ...
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 ...
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 ...
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 ...
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: ...
2
votes
Accepted
Socks version 22 not recognized. (Tor is not an http proxy.)
You're not trying to speak SOCKS, the SOCKS port only speaks the SOCKS protocol.
Decimal 22 is hexadecimal 0x16, which is the initial byte of a TLS connection. Tor's SOCKS port does not speak TLS. ...
2
votes
Privoxy VS Polipo
Well, privoxy and polipo are basically even: they both have filtering systems inside them, both are HTTP-to-SOCKS tools. In the last beta of tor you have a HTTPS proxy embedded in tor itself, so I'd ...
2
votes
Accepted
Sending a request over Tor without binding port on localhost
If you plan on using the standard tor implementation, then yes you will need to use some form of local proxy. If you don't want to bind the SOCKS port to a localhost address, you can also use a unix ...
1
vote
What's the difference between ControlPort and SocksPort
The SOCKSPort is for talking to other applications. Tor runs as a SOCKS proxy and other applications (like a web browser, another proxy etc.) could connect to it. The manpage writes:
SOCKSPort [...
1
vote
What's the difference between ControlPort and SocksPort
SocksPort is for accepting SOCKS connections from tor clients(=applications that will be "torified"), ControlPort is for communicating with tor controllers, i.e. applications that are interacting and ...
1
vote
Tor Dns , Multi Instances
You cannot send signal NEWNYM using port 9050. Usually, the default controllport for tor is 9051. You have to use 9051 to send signal NEWNYM.
Port 9050 is used to have anonymous traffic.
Here is ...
1
vote
Is it possible to run Tor with Proxychains using socks4a?
Tor provides a SOCKS4a or SOCKS5 compatible proxy, port 9050 is default for a system daemon/service and 9150 for Tor Browser.
However it will not be compatible with most of nmap's functionality, and ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
socks × 131torsocks × 31
proxy × 25
configuration × 24
tor-browser-bundle × 23
windows × 11
anonymity × 8
security × 8
tails × 8
onion-services × 7
exit-relays × 6
mac × 6
https × 6
python × 6
openvpn × 6
proxy-leaks × 6
onion-routing × 5
error × 5
linux × 4
network-configuration × 4
connection × 4
client × 4
vidalia × 4
circuit × 3
ubuntu × 3