Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TOR as HTTP proxy instead SOCKS

Tags:

proxy

tor

I want to try and use TOR as HTTP proxy, and not SOCKS proxy.
I have issues, where the destination blocks SOCKS and I want to try to check it with HTTP proxy instead.

I did not find any solution for running tor as HTTP proxy.

Thanks.

like image 221
gabi Avatar asked Feb 14 '15 20:02

gabi


People also ask

Is Tor a SOCKS proxy?

SOCKS5 is an Internet protocol used by Tor. It sends the traffic through the Tor network instead of sending it from your IP address into the open network. It is a general purpose proxy that sits at the layer 5 of the OSI model and uses the tunneling method.

Which is better SOCKS or HTTP proxy?

HTTP proxies are high-level proxies usually designed for a specific protocol. While this means you get better connection speeds, they're not nearly as flexible and secure as SOCKS proxies. SOCKS proxies are low-level proxies that can handle any program or protocol and any traffic without limitations.

How do I know if my proxy is a sock?

To check the status of a SOCKS proxy serverRight-click the name of the proxy server you want to check. Then select Update Proxy Server Status from the pop-up menu. The Application Server "pings" the SOCKS proxy server and displays a return status message in the right pane of the Infrastructure Management window.


1 Answers

The easiest way is to add HTTPTunnelPort 9080 line in your /etc/tor/torrc file.

After that you'll have localhost:9080 socket open and you can set http_proxy=http://localhost:9080 environment variable to tell applications to use it.

like image 111
bemyak Avatar answered Sep 26 '22 16:09

bemyak