LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Confused about using tor and proxy (http://www.linuxquestions.org/questions/linux-networking-3/confused-about-using-tor-and-proxy-4175430212/)

thelastblack 10-03-2012 02:12 AM

Confused about using tor and proxy
 
Hi
I am using openSUSE 12.2 KDE,
and I connect to internet through a proxy server.
I want to use tor, and I cant figure out how to do this.
Also I cant use anything but firefox, like I cant
user zypper to update system.
I tried using `proxychains` for zypper with no luck.

So the question is how to use tor and my own HTTP proxy
together and also how to make `every` program use this combination
or at least my HTTP proxy.

thx in advance

unSpawn 10-03-2012 09:44 AM

Quote:

Originally Posted by thelastblack (Post 4795684)
So the question is

The first question is what traffic this proxy server allows and if it requires proxy authentication.
Have you at least tried configuring Yast for proxy use? As in Yast -> Network services -> Proxy?

thelastblack 10-03-2012 01:28 PM

sry if i was not clear. i think it allows http and https.
i think i have tried that. i searched for proxy in kickoff and i configured everything it showed. after configuring it,
it wanted me to relogin, but i had the same
situation after this. nothing worked without explicit proxy setting.
i downloaded tor browser for linux and it
has an option for setting proxy, but i can't find anything in tor config files.

unSpawn 10-03-2012 03:35 PM

Quote:

Originally Posted by thelastblack (Post 4796216)
(..) i had the same situation after this. nothing worked without explicit proxy setting.

Does that mean that if you for example edit Firefox' own proxy settings you actually can access the 'net?


Quote:

Originally Posted by thelastblack (Post 4796216)
i downloaded tor browser for linux

Please note TOR is not meant for huge volume traffic like streaming music, watching videos, downloading BitTorrent or your distributions updates.


Quote:

Originally Posted by thelastblack (Post 4796216)
it has an option for setting proxy, but i can't find anything in tor config files.

That said TOR comes with documentation (or see https://www.torproject.org/documentation.html and https://wiki.torproject.org/noreply/...er/TorifyHOWTO) and manual pages. Here's the relevant part wrt specifying proxies:
Code:

      HTTPProxy host[:port]
          Tor will make all its directory requests through this host:port (or
          host:80 if port is not specified), rather than connecting directly
          to any directory servers.

      HTTPProxyAuthenticator username:password
          If defined, Tor will use this username:password for Basic HTTP
          proxy authentication, as in RFC 2617. This is currently the only
          form of HTTP proxy authentication that Tor supports; feel free to
          submit a patch if you want it to support others.

      HTTPSProxy host[:port]
          Tor will make all its OR (SSL) connections through this host:port
          (or host:443 if port is not specified), via HTTP CONNECT rather
          than connecting directly to servers. You may want to set
          FascistFirewall to restrict the set of ports you might try to
          connect to, if your HTTPS proxy only allows connecting to certain
          ports.

      HTTPSProxyAuthenticator username:password
          If defined, Tor will use this username:password for Basic HTTPS
          proxy authentication, as in RFC 2617. This is currently the only
          form of HTTPS proxy authentication that Tor supports; feel free to
          submit a patch if you want it to support others.

      Socks4Proxy host[:port]
          Tor will make all OR connections through the SOCKS 4 proxy at
          host:port (or host:1080 if port is not specified).

      Socks5Proxy host[:port]
          Tor will make all OR connections through the SOCKS 5 proxy at
          host:port (or host:1080 if port is not specified).

      Socks5ProxyUsername username

      Socks5ProxyPassword password
          If defined, authenticate to the SOCKS 5 server using username and
          password in accordance to RFC 1929. Both username and password must
          be between 1 and 255 characters.


thelastblack 10-04-2012 07:11 AM

Quote:

Originally Posted by unSpawn (Post 4796334)
Does that mean that if you for example edit Firefox' own proxy settings you actually can access the 'net?

yes, it works.

Quote:

Originally Posted by unSpawn (Post 4796334)
Please note TOR is not meant for huge volume traffic like streaming music, watching videos, downloading BitTorrent or your distributions updates.

I dont do any of them (except for updating).
I mostly use tor because here internet is censored(IR) and I cant go everywhere without tor.
And sometimes I cant update my system without using tor (same reason).

Quote:

Originally Posted by unSpawn (Post 4796334)
That said TOR comes with documentation (or see https://www.torproject.org/documentation.html and https://wiki.torproject.org/noreply/...er/TorifyHOWTO) and manual pages. Here's the relevant part wrt specifying proxies:
Code:

      HTTPProxy host[:port]
          Tor will make all its directory requests through this host:port (or
          host:80 if port is not specified), rather than connecting directly
          to any directory servers.

      HTTPProxyAuthenticator username:password
          If defined, Tor will use this username:password for Basic HTTP
          proxy authentication, as in RFC 2617. This is currently the only
          form of HTTP proxy authentication that Tor supports; feel free to
          submit a patch if you want it to support others.

      HTTPSProxy host[:port]
          Tor will make all its OR (SSL) connections through this host:port
          (or host:443 if port is not specified), via HTTP CONNECT rather
          than connecting directly to servers. You may want to set
          FascistFirewall to restrict the set of ports you might try to
          connect to, if your HTTPS proxy only allows connecting to certain
          ports.

      HTTPSProxyAuthenticator username:password
          If defined, Tor will use this username:password for Basic HTTPS
          proxy authentication, as in RFC 2617. This is currently the only
          form of HTTPS proxy authentication that Tor supports; feel free to
          submit a patch if you want it to support others.

      Socks4Proxy host[:port]
          Tor will make all OR connections through the SOCKS 4 proxy at
          host:port (or host:1080 if port is not specified).

      Socks5Proxy host[:port]
          Tor will make all OR connections through the SOCKS 5 proxy at
          host:port (or host:1080 if port is not specified).

      Socks5ProxyUsername username

      Socks5ProxyPassword password
          If defined, authenticate to the SOCKS 5 server using username and
          password in accordance to RFC 1929. Both username and password must
          be between 1 and 255 characters.


I think I needed this. Thank you!


All times are GMT -5. The time now is 07:25 PM.