Post Reply 
How to use with Tor
Dec. 27, 2011, 12:00 AM
Post: #1
How to use with Tor
I've downloaded the newest version of Tor that includes the Polipo proxy, but have been entirely unable to set it up with Proxomitron. I feel like I'm banging my head against a brick wall: where, exactly do I enter its' settings? Every time I put them in my browser settings it switches off Tor, but if I put it into the Tor settings then it somehow bypasses Proxomitron like it's not even there.

I'm using Firefox 9.0.1
Tor; Vidalia Bundle (downloaded from the website yesterday)
and obviously Proxomitron.
my OS is windows 7.

if anyone can help it would be greatly, greatly appreciated.
Add Thank You Quote this message in a reply
Dec. 27, 2011, 01:51 AM
Post: #2
RE: How to use with Tor
Browser>Proxomitron>Polipo>Tor

Set the Browser to use The Proxomitron as http proxy ( may be port 8080 )
Set and enable The Proxomitron to use Polipo ( port 8118 , I think )

I think the Polipo to Tor is set for you but
Polipo to use Tor (socks 9050)

Start Polipo and Tor. Check the Proxomitron's log window for success.

http://proxomitron.info/45/help/Mainscreen.html
http://proxomitron.info/45/help/External...ialog.html

HTH
Add Thank You Quote this message in a reply
Dec. 29, 2011, 03:04 PM (This post was last modified: Dec. 29, 2011 03:11 PM by sbk.)
Post: #3
RE: How to use proxomitron with Tor
With tor-browser-2.2.x, torproject replaced polipo (with integrated SOCKS component?), and the port settings that allowed us to 'proxy chain' tor, now seem to be internal ('hidden').
https://www.torproject.org/docs/faq.html.en#TBBPolipo
(from https://blog.torproject.org/blog/new-tor...bundles-5, Sep 2011)
Quote:Now you don't need a separate HTTP proxy to use Tor, and in fact leaving it out makes you safer because Torbutton has better control over Firefox's interaction with websites.
But torbutton doesn't do much that proxo or privoxy can do.Cry

And i assume torproject lacks "human resources" to take over (merge) Dear Proxomitron Hail

Proxo handles what can be done at local pc. Tor handles what it can on internet. Better integrated, yet hackable is the "dream". Pray

search torproject about firefox and mozilla.org, and you'll wonder how tor might grow if adopted by one of the major browser projects (without backdoors).
Add Thank You Quote this message in a reply
Dec. 31, 2011, 12:47 AM
Post: #4
RE: How to use proxomitron with Tor
(Dec. 29, 2011 03:04 PM)sbk Wrote:  With tor-browser-2.2.x, torproject replaced polipo (with integrated SOCKS component?), and the port settings that allowed us to 'proxy chain' tor, now seem to be internal ('hidden').

Installed the "Vidalia Bundle" found at http://www.torproject.org/download/download.html.en , vidalia-bundle-0.2.2.35-0.2.15 .

I think it all works?
Add Thank You Quote this message in a reply
Jan. 04, 2012, 09:31 AM (This post was last modified: Jan. 04, 2012 09:36 AM by sbk.)
Post: #5
RE: How to use proxomitron with Tor
(Dec. 31, 2011 12:47 AM)JJoe Wrote:  
(Dec. 29, 2011 03:04 PM)sbk Wrote:  With tor-browser-2.2.x, torproject replaced polipo (with integrated SOCKS component?), and the port settings that allowed us to 'proxy chain' tor, now seem to be internal ('hidden').

Installed the "Vidalia Bundle" found at http://www.torproject.org/download/download.html.en , vidalia-bundle-0.2.2.35-0.2.15 .

I think it all works?
I spent time (again! as I did weeks ago) regexing through config files for port numbers.
But grown tired of that, i downloaded and installed VB (the vidalia-bundle). VB is quite different from TBB (tor browser bundle).
Critically, for this thread, VB still uses polipo. TBB doesn't.
In TBB, torbutton default connection set 127.0.0.1:8118, which iirc i reset to 127.0.0.1:8080, and firefox connection (followed when torbutton toggled off) remains at 127.0.0.1:8080. In VB, torbutton default connections are blank, but need set to 127.0.0.1:8080

Also, more recent TBB includes noscript. TBB includes httpseverywhere (a torproject extension). TBB includes portable firefox. VB starts up your last Firefox profile when it wants to install torbutton.

VB works through proxo (after I erroneously enabled vidalia's proxy through 127.0.0.1:8080 ... then disabled that proxy setting)

ilaby (you) asked about VB, and hopefully (you) can work out the connection settings.


But torproject designated TBB as tor's future, and it seems that TBB is no longer "chainable".
Since TBB is no-install, you (jjoe) might not mind downloading and trying to set it through proxo?

but I think the topic is best asked at torproject.
Add Thank You Quote this message in a reply
Jan. 04, 2012, 12:07 PM
Post: #6
RE: How to use proxomitron with Tor
(Dec. 29, 2011 03:04 PM)sbk Wrote:  But torbutton doesn't do much that proxo or privoxy can do.Cry

And i assume torproject lacks "human resources" to take over (merge) Dear Proxomitron Hail

Proxo handles what can be done at local pc. Tor handles what it can on internet. Better integrated, yet hackable is the "dream". Pray

search torproject about firefox and mozilla.org, and you'll wonder how tor might grow if adopted by one of the major browser projects (without backdoors).

I don't think TBB can be used with proxo because FF is probably using its internal socks support.

What you can do is use polipo or privoxy with the tor expert bundle which is just tor without anything else.

Polipo's probably the easiest to set up.

Download and install the tor expert bundle.

Download the vidalia bundle and extract the polipo folder and polipo.conf located in the $_OUTDIR folder. I can open and extract the vidalia bundle with 7zip. Put polipo.conf in the polipo folder. Now make a shortcut for polipo.exe and change the command line to 'Path to polipo\polipo.exe -c polipo.conf'.

Start tor. Start polipo with the shortcut you made. Set proxo to use proxy of 127.0.0.1:8118. Hopefully this will work. It worked for me.

You can change polipo's proxy port in polipo.conf if you want.

Of course now you can use tor and proxo with any browser at all.
Add Thank You Quote this message in a reply
Jan. 04, 2012, 08:00 PM
Post: #7
RE: How to use proxomitron with Tor
(Jan. 04, 2012 09:31 AM)sbk Wrote:  Since TBB is no-install, you (jjoe) might not mind downloading and trying to set it through proxo?

I just did and to my surprise it worked.

I expected TBB would start Tor and that the Proxomitron via Polipo would use TBB's Tor and that worked.

I then opened the Tor Browser (Aurora) and set it to use the Proxomitron, instead of the socks proxy, and that also worked. Tor Browser forgot my proxy settings at close, however.

The only problem I see, atm, is that the Tor Browser must be running for Tor to run.

Can't somebody replicate?
Add Thank You Quote this message in a reply
Jan. 10, 2012, 10:54 AM
Post: #8
RE: How to use proxomitron with Tor
(Jan. 04, 2012 08:00 PM)JJoe Wrote:  I then opened the Tor Browser (Aurora) and set it to use the Proxomitron, instead of the socks proxy, and that also worked. Tor Browser forgot my proxy settings at close, however.

The only problem I see, atm, is that the Tor Browser must be running for Tor to run.
afaik, that's by vidalia, but i see only simple settings in vidalia.conf

for TBB, 2 lines
BrowserDirectory=FirefoxPortable
BrowserExecutable=tbb-firefox.exe
in
.\Data\Vidalia\vidalia.conf

but for VB, not in
%AppData%\Vidalia\vidalia.conf
Add Thank You Quote this message in a reply
Jan. 10, 2012, 12:00 PM (This post was last modified: Jan. 10, 2012 10:40 PM by sbk.)
Post: #9
RE: How to use with Tor
(Jan. 04, 2012 08:00 PM)JJoe Wrote:  Can't somebody replicate?
I expected TBB would start Tor and that the Proxomitron via Polipo would use TBB's Tor and that worked.
I found no Polipo in current TBB, as of Jan 08
https://www.torproject.org/dist/torbrows..._en-US.exe

After experimenting and comparing conf files, I've decided TBB lacks only Polipo.
This is my final working setup (in enough detail that I think less a familiar person can follow)

Get a copy of Polipo
There is polipo.exe and polipo.conf in the VB install (https://www.torproject.org/dist/vidalia-....2.15.exe, newest as of Jan 08 is vidalia-bundle-0.2.2.35-0.2.15-1.exe).
polipo.exe and polipo.conf are also in old TBB based on Firefox 3.6.
new versus old? polipo.exe have different dates but duplicate finder calculates same crc32. polipo.conf are almost the same (more about this later).

Use the copy of Polipo
For current TBB, it's easiest to imitate Polipo path used by the old TBB.
.\ is the folder of "Start Tor Browser.exe"
Put copy of polipo.exe into .\App\
Create new subfolder .\Data\Polipo\
Put copy of polipo.conf into .\Data\Polipo\
(Jan 10 edit per soccerfan's proofreading, thx)

In VCP (Vidalia Control Panel, the onion in systray):
https://security.ngoinabox.org/sbox/scre...-en/66.png from https://security.ngoinabox.org/en/tor_vidaliacontrol shows the Polipo-era entries in VCP settings, General tab. Use these for "Proxy Application (optional)".
.\App\polipo.exe
-c .\Data\Polipo\polipo.conf


__________

Firefox Connections, Manual proxy
At top of Firefox connections dialog, torproject adds a brief tip to disable Torbutton before editing Firefox connections. (more about this later)

.jpg  addPolipoAsProxyConnectOptionsFfTbb20120108.jpg (Size: 42.39 KB / Downloads: 1210)
HTTP and SSL are the same as the usual Firefox through Proxo (without Tor), Firefox > Proxo > ISP.
"HTTP Proxy:" 127.0.0.1 "Port:" 8080
"SSL Proxy:" 127.0.0.1 "Port:" 8080

But these differ from usual Firefox through Proxo:
"SOCKS Host:" 127.0.0.1 "Port:" 9050
These settings are empty in usual Firefox.

"No Proxy for:" 127.0.0.1
Only 127.0.0.1. Compare to usual Firefox:
"No Proxy for:" localhost, 127.0.0.1

__________

Torbutton Preferences:
In the current TBB, the top "dot", "Use Polipo" box is empty and gray (click cannot fill with a checkmark. It stays unclickably gray even after setting up Polipo as above.

.jpg  addPolipoAsProxyConnectPrefsTorbutton_Tbb20120108.jpg (Size: 39.48 KB / Downloads: 989)
Notice settings are the same as for usual Firefox>Proxo. Torbutton cannot disconnect browser from Tor, because Torbutton (both on or off) always connects through 8080 to Proxo.

__________

Proxo's "Use Remote Proxy"
So, now create the Proxy for Proxomitron.

.jpg  ProxySelectorForOutsidePortOfProxo.jpg (Size: 33.12 KB / Downloads: 955)
Click Proxy button, and enter:
127.0.0.1:8118
(Per Proxo help file, Proxomitron reads only the numbers preceding the blank space, so the label " PolipoOutTor" is only for humans to recognize.)

Proxo's "Use Remote Proxy" button decides whether your traffic goes to Tor (through Polipo).
8118 to Polipo ( "Use Remote Proxy" on) or
to your ISP ("Use Remote Proxy" off).
Add Thank You Quote this message in a reply
Jan. 10, 2012, 05:34 PM
Post: #10
RE: How to use with Tor
(Jan. 10, 2012 12:00 PM)sbk Wrote:  Use the copy of Polipo
For current TBB, it's easiest to imitate Polipo path used by the old TBB.
.\ is the folder of "Start Tor Browser.exe"
Put copy of polipo.exe into .\App\
Create new subfolder .\App\Polipo\
Put copy of polipo.conf into .\App\Polipo\

For the last two lines in the above quote, perhaps you meant:

Create new subfolder .\Data\Polipo\
Put copy of polipo.conf into .\Data\Polipo\

Thanks for the detailed explanations Smile!

soccerfan
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to soccerfan for this post:
sbk
Jan. 11, 2012, 02:10 AM (This post was last modified: Jan. 11, 2012 02:13 AM by JJoe.)
Post: #11
RE: How to use with Tor
(Jan. 10, 2012 12:00 PM)sbk Wrote:  
(Jan. 04, 2012 08:00 PM)JJoe Wrote:  Can't somebody replicate?
I expected TBB would start Tor and that the Proxomitron via Polipo would use TBB's Tor and that worked.
I found no Polipo in current TBB, as of Jan 08
https://www.torproject.org/dist/torbrows..._en-US.exe

I used a "stand alone" Polipo. I have one of my own.
Later I found that Torbutton was responsible for

Quote:Tor Browser forgot my proxy settings at close, however."

You have replicated my experience and more.

I should point out http://www.pps.jussieu.fr/~jch/software/polipo/tor.html

Juliusz Chroboczek Wrote:Polipo has some rather specific traffic patterns (agressive pipelining, range requests) that make it rather easy to spot. The websites you access won't know who you are, but they might realise you're running Polipo.


(Dec. 29, 2011 03:04 PM)sbk Wrote:  But torbutton doesn't do much that proxo or privoxy can do.Cry
Just trying to help Smile!
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: