Re: Annoying loop situation

2009-08-22 Thread Bob Williams
On Friday 21 August 2009 23:07:22 downie - wrote:
   On 08/21/2009 10:52 AM, Bob Williams wrote:
I have both privoxy and torbutton installed. When I setup Firefox's
proxy settings to use http and ssl through 127.0.0.1 port 8118 and
SOCKS host 127.0.0.1 port 9050, torbutton enables itself. If I then
disable torbutton (I'm only really interested in running a tor relay)
the Firefox settings revert to 'No proxy'.
 
  --
  Bob

  Isn't there the additional complication that if you want to use Privoxy
 without Tor, you have to change the Privoxy config file as well? I don't
 think Torbutton can do that for you.

In what way? 

The uncommented lines in my privoxy config file are:

user-manual  /usr/share/doc/packages/privoxy-doc/source/user-manual

trust-info-url  http://www.example.com/why_we_block.html
trust-info-url  http://www.example.com/what_we_allow.html

proxy-info-url http://www.example.com/proxy-service.html

confdir /etc/privoxy

logdir /var/log/privoxy

actionsfile standard.action  # Internal purpose, recommended
actionsfile default.action   # Main actions file
actionsfile user.action  # User customizations

filterfile default.filter
filterfile user.filter  # User customizations

logfile logfile

debug   4096 # Startup banner and warnings
debug   8192 # Non-fatal errors

listen-address  127.0.0.1:8118

toggle  1

enable-edit-actions 1

enforce-blocks 0

buffer-limit 4096

forward 192.168.*.*/ .  

forward-socks4a /   127.0.0.1:9050  .
forward-socks5  /   127.0.0.1:9050  .

allow-cgi-request-crunching 0

-- 
Bob


Re: Annoying loop situation

2009-08-22 Thread Bob Williams
On Friday 21 August 2009 22:59:01 Freemor wrote:
 On Fri, 21 Aug 2009 22:33:07 +0100

 Bob Williams secur...@barrowhillfarm.org.uk wrote:
  At this point, http://config.privoxy.org/ shows me I'm that privoxy
  is enabled, but if I then disable torbutton, I also lose my privoxy
  settings, and it reverts to 'No proxy.'

 i had this same problem once ages ago.. To fix it I had to un-install
 tor button. go into preferences and set the networking to have nothing
 in the proxy settings. (not just hitting the direct connection but
 actually blanking all the fields first) save those settings. re-install
 tor button.

 Hope this helps,
 Freemor

 Seemed to me atthe time what was happening is that TorButton seemed to
 store how you proxy settings were set when it was installed.. changing
 them after that wasn't picked up.. the only way to get to stored Tor
 with Torbutton off settings out was to uninstall tor button so it would
 pick up the blank settings on the re-install.

This looks interesting. I shall give it a try.  So, I uninstall torbutton, 
clear my proxy settings, re-install torbutton, select Preferences on the 
torbutton right click menu and choose 'Use recommended settings for my version 
of Firefox [Use Privoxy]?

And this will leave privoxy active whether or not I'm enabling torbutton?
-- 
Bob


RE: Annoying loop situation

2009-08-22 Thread downie -



From: secur...@barrowhillfarm.org.uk
 To: or-t...@seul.org
 Subject: Re: Annoying loop situation
 Date: Sat, 22 Aug 2009 08:46:57 +0100
 
 On Friday 21 August 2009 23:07:22 downie - wrote:
On 08/21/2009 10:52 AM, Bob Williams wrote:
 I have both privoxy and torbutton installed. When I setup Firefox's
 proxy settings to use http and ssl through 127.0.0.1 port 8118 and
 SOCKS host 127.0.0.1 port 9050, torbutton enables itself. If I then
 disable torbutton (I'm only really interested in running a tor relay)
 the Firefox settings revert to 'No proxy'.
  
   --
   Bob
 
   Isn't there the additional complication that if you want to use Privoxy
  without Tor, you have to change the Privoxy config file as well? I don't
  think Torbutton can do that for you.
 
 In what way? 
[edit]
 forward-socks4a   /   127.0.0.1:9050  .
 forward-socks5/   127.0.0.1:9050  .

As I understand it (Library/Privoxy/user-manual/config.html Section 7.5.2) 
those lines forward all requests from Privoxy through Tor: if you want Privoxy 
filtering without using Tor in client mode, you have to comment those lines 
out. Then if at some point you *do* want to use Tor in client mode (still with 
Privoxy), you have to reinstate them.
Wiser heads may need to confirm this...
GD

_
Hotmail® is up to 70% faster. Now good news travels really fast. 
http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009

Re: Annoying loop situation

2009-08-22 Thread Bob Williams
On Saturday 22 August 2009 10:33:01 downie - wrote:
 From: secur...@barrowhillfarm.org.uk

  To: or-t...@seul.org
  Subject: Re: Annoying loop situation
  Date: Sat, 22 Aug 2009 08:46:57 +0100
 
  On Friday 21 August 2009 23:07:22 downie - wrote:
 On 08/21/2009 10:52 AM, Bob Williams wrote:
  I have both privoxy and torbutton installed. When I setup
  Firefox's proxy settings to use http and ssl through 127.0.0.1
  port 8118 and SOCKS host 127.0.0.1 port 9050, torbutton enables
  itself. If I then disable torbutton (I'm only really interested
  in running a tor relay) the Firefox settings revert to 'No
  proxy'.
   
--
Bob
  
Isn't there the additional complication that if you want to use
   Privoxy without Tor, you have to change the Privoxy config file as
   well? I don't think Torbutton can do that for you.
 
  In what way?

 [edit]

  forward-socks4a /   127.0.0.1:9050  .
  forward-socks5  /   127.0.0.1:9050  .

 As I understand it (Library/Privoxy/user-manual/config.html Section 7.5.2)
 those lines forward all requests from Privoxy through Tor: if you want
 Privoxy filtering without using Tor in client mode, you have to comment
 those lines out. Then if at some point you *do* want to use Tor in client
 mode (still with Privoxy), you have to reinstate them. Wiser heads may need
 to confirm this...
 GD

That makes sense. It may be that I'll have to settle for not using privoxy for 
my normal browsing. My main 'tor' aim is to provide a relay. If I browse with 
torbutton enabled, I get funny results for Google searches, in languages that 
depend on the location of the exit node ;)

-- 
Bob


Re: Annoying loop situation

2009-08-22 Thread Scott Bennett
 On Sat, 22 Aug 2009 12:27:22 +0100 Bob Williams
secur...@barrowhillfarm.org.uk wrote:
On Saturday 22 August 2009 10:33:01 downie - wrote:
 From: secur...@barrowhillfarm.org.uk

  [superfluous headers deleted  --SB]
  On Friday 21 August 2009 23:07:22 downie - wrote:
 On 08/21/2009 10:52 AM, Bob Williams wrote:
  I have both privoxy and torbutton installed. When I setup
  Firefox's proxy settings to use http and ssl through 127.0.0.1
  port 8118 and SOCKS host 127.0.0.1 port 9050, torbutton enables
  itself. If I then disable torbutton (I'm only really interested
  in running a tor relay) the Firefox settings revert to 'No
  proxy'.
   
--
Bob
  
Isn't there the additional complication that if you want to use
   Privoxy without Tor, you have to change the Privoxy config file as
   well? I don't think Torbutton can do that for you.
 
  In what way?

 [edit]

  forward-socks4a/   127.0.0.1:9050  .
  forward-socks5 /   127.0.0.1:9050  .

 As I understand it (Library/Privoxy/user-manual/config.html Section 7.5.2)
 those lines forward all requests from Privoxy through Tor: if you want
 Privoxy filtering without using Tor in client mode, you have to comment
 those lines out. Then if at some point you *do* want to use Tor in client
 mode (still with Privoxy), you have to reinstate them. Wiser heads may need
 to confirm this...
 GD

That makes sense. It may be that I'll have to settle for not using privoxy for 
my normal browsing. My main 'tor' aim is to provide a relay. If I browse with 
torbutton enabled, I get funny results for Google searches, in languages that 
depend on the location of the exit node ;)

 You could run two instances of privoxy if you like, each with its own,
separate configuration file, one of which forwards everything to tor's SOCKS
port and the other of which does not.  Then use switchproxy or foxyproxy or
some other similar plug-in to switch between the two instances of privoxy.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**


Re: Annoying loop situation

2009-08-22 Thread Gitano
Bob Williams wrote:

 The uncommented lines in my privoxy config file are:

 forward 192.168.*.*/ .  
 
 forward-socks4a   /   127.0.0.1:9050  .
 forward-socks5/   127.0.0.1:9050  .

To use privoxy without Tor you can add the following line BELOW the
'forward-socks*' lines:

forward/.

Last match wins, see also:
http://www.privoxy.org/user-manual/config.html#FORWARDING


Re: Annoying loop situation

2009-08-22 Thread Bob Williams
On Saturday 22 August 2009 14:59:15 Gitano wrote:
 Bob Williams wrote:
  The uncommented lines in my privoxy config file are:
 
  forward 192.168.*.*/ .
 
  forward-socks4a /   127.0.0.1:9050  .
  forward-socks5  /   127.0.0.1:9050  .

 To use privoxy without Tor you can add the following line BELOW the
 'forward-socks*' lines:

 forward/.

 Last match wins, see also:
 http://www.privoxy.org/user-manual/config.html#FORWARDING

The effect of this would be the same as NOT having the forward-socks* lines, 
wouldn't it? i.e. leaving forwarding unset?
-- 
Bob


Re: Annoying loop situation

2009-08-22 Thread Gitano
Bob Williams wrote:

 To use privoxy without Tor you can add the following line BELOW the
 'forward-socks*' lines:

 forward/.

 Last match wins, see also:
 http://www.privoxy.org/user-manual/config.html#FORWARDING
 
 The effect of this would be the same as NOT having the forward-socks* lines, 
 wouldn't it? i.e. leaving forwarding unset?

Yes, but this additional line leaves the remaining settings of
Privoxy/TorButton unchanged. I don't know the behavior of TorButton
without the 'forward-socks*' lines in privoxy.conf.


Re: Annoying loop situation

2009-08-21 Thread Andrew Lewman
On 08/21/2009 10:52 AM, Bob Williams wrote:

 I have both privoxy and torbutton installed. When I setup Firefox's proxy 
 settings to use http and ssl through 127.0.0.1 port 8118 and SOCKS host 
 127.0.0.1 port 9050, torbutton enables itself. If I then disable torbutton 
 (I'm only really interested in running a tor relay) the Firefox settings 
 revert to 'No proxy'.

You probably want to disable torbutton and configure your non-tor proxy.
 Then when you click to enable torbutton, your tor settings are enabled.
 When you disable torbutton, your privoxy configuration is still intact.

-- 
Andrew Lewman
The Tor Project
pgp 0x31B0974B

Website: https://torproject.org/
Blog: https://blog.torproject.org/
Identi.ca: torproject


Re: Annoying loop situation

2009-08-21 Thread Bob Williams
On Friday 21 August 2009 20:53:22 Andrew Lewman wrote:
 On 08/21/2009 10:52 AM, Bob Williams wrote:
  I have both privoxy and torbutton installed. When I setup Firefox's proxy
  settings to use http and ssl through 127.0.0.1 port 8118 and SOCKS host
  127.0.0.1 port 9050, torbutton enables itself. If I then disable
  torbutton (I'm only really interested in running a tor relay) the Firefox
  settings revert to 'No proxy'.

 You probably want to disable torbutton and configure your non-tor proxy.
  Then when you click to enable torbutton, your tor settings are enabled.
  When you disable torbutton, your privoxy configuration is still intact.

Well, that's the odd thing. I start with torbutton disabled (red message on 
the Firefox status bar). I then go to Firefox  Edit  Preferences  Network  
Settings and select Manual Proxy Configuration. (I notice that it tells me to 
Disable Torbutton to change these settings, but it's already disabled). I 
select 127.0.0.1 port 8118 for http and ssl, and port 9050 for socks. When I 
click OK, Torbutton becomes enabled :(

At this point, http://config.privoxy.org/ shows me I'm that privoxy is 
enabled, but if I then disable torbutton, I also lose my privoxy settings, and 
it reverts to 'No proxy.'
-- 
Bob


Re: Annoying loop situation

2009-08-21 Thread Freemor
On Fri, 21 Aug 2009 22:33:07 +0100
Bob Williams secur...@barrowhillfarm.org.uk wrote:

 
 At this point, http://config.privoxy.org/ shows me I'm that privoxy
 is enabled, but if I then disable torbutton, I also lose my privoxy
 settings, and it reverts to 'No proxy.'
i had this same problem once ages ago.. To fix it I had to un-install
tor button. go into preferences and set the networking to have nothing
in the proxy settings. (not just hitting the direct connection but
actually blanking all the fields first) save those settings. re-install
tor button.

Hope this helps,
Freemor

Seemed to me atthe time what was happening is that TorButton seemed to
store how you proxy settings were set when it was installed.. changing
them after that wasn't picked up.. the only way to get to stored Tor
with Torbutton off settings out was to uninstall tor button so it would
pick up the blank settings on the re-install.


-- 
free...@fastmail.fm
free...@gmail.com

This e-mail has been digitally signed with GnuPG - ( http://gnupg.org/ )


signature.asc
Description: PGP signature


RE: Annoying loop situation

2009-08-21 Thread downie -


  On 08/21/2009 10:52 AM, Bob Williams wrote:
   I have both privoxy and torbutton installed. When I setup Firefox's proxy
   settings to use http and ssl through 127.0.0.1 port 8118 and SOCKS host
   127.0.0.1 port 9050, torbutton enables itself. If I then disable
   torbutton (I'm only really interested in running a tor relay) the Firefox
   settings revert to 'No proxy'.
 

 -- 
 Bob

 Isn't there the additional complication that if you want to use Privoxy 
without Tor, you have to change the Privoxy config file as well? I don't think 
Torbutton can do that for you.

GD

_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_facebook:082009

Re: Annoying loop situation

2009-08-21 Thread Roger Dingledine
On Fri, Aug 21, 2009 at 10:33:07PM +0100, Bob Williams wrote:
  You probably want to disable torbutton and configure your non-tor proxy.
   Then when you click to enable torbutton, your tor settings are enabled.
   When you disable torbutton, your privoxy configuration is still intact.
 
 Well, that's the odd thing. I start with torbutton disabled (red message on 
 the Firefox status bar). I then go to Firefox  Edit  Preferences  Network 
  
 Settings and select Manual Proxy Configuration. (I notice that it tells me to 
 Disable Torbutton to change these settings, but it's already disabled). I 
 select 127.0.0.1 port 8118 for http and ssl, and port 9050 for socks. When I 
 click OK, Torbutton becomes enabled :(

That's because Torbutton watches your proxy settings and tries to make
sure that whatever status it's displaying matches your current proxy
settings.

That is, if anything ever changes your proxy settings so your Firefox
is now configured to use the settings that Torbutton would use when you
click 'enable', then Torbutton will change status to show you that your
proxy settings are pointing to Tor.

It looks like you're using Torbutton to point to Privoxy, but you're
using Privoxy directly rather than pointing it into Tor. That's fine
(as long as you know what you're doing), but Torbutton can't tell the
difference.

Hm. Back in the day when Torbutton was just a proxy toggler, it made a lot
of sense to have Torbutton update its status to reflect what your proxy
settings 'really' are. But now that Torbutton does all sorts of other
application-level things, it is plausible that you might want to have
your proxy settings set up in a way that looks identical to Tor, yet you
don't want the other application-level protections that Torbutton adds.

But then, isn't this a really special case? For example, if you run your
Privoxy on a different port, then you won't confuse Torbutton.

--Roger



Re: Annoying loop situation

2009-08-21 Thread Scott Bennett
 On Fri, 21 Aug 2009 20:16:39 -0400 Roger Dingledine a...@mit.edu
wrote:
On Fri, Aug 21, 2009 at 10:33:07PM +0100, Bob Williams wrote:
  You probably want to disable torbutton and configure your non-tor proxy.
   Then when you click to enable torbutton, your tor settings are enabled.
   When you disable torbutton, your privoxy configuration is still intact.
 
 Well, that's the odd thing. I start with torbutton disabled (red message on 
 the Firefox status bar). I then go to Firefox  Edit  Preferences  Network 
  
 Settings and select Manual Proxy Configuration. (I notice that it tells me 
 to 
 Disable Torbutton to change these settings, but it's already disabled). I 
 select 127.0.0.1 port 8118 for http and ssl, and port 9050 for socks. When I 
 click OK, Torbutton becomes enabled :(

That's because Torbutton watches your proxy settings and tries to make
sure that whatever status it's displaying matches your current proxy
settings.

That is, if anything ever changes your proxy settings so your Firefox
is now configured to use the settings that Torbutton would use when you
click 'enable', then Torbutton will change status to show you that your
proxy settings are pointing to Tor.

It looks like you're using Torbutton to point to Privoxy, but you're
using Privoxy directly rather than pointing it into Tor. That's fine
(as long as you know what you're doing), but Torbutton can't tell the
difference.

Hm. Back in the day when Torbutton was just a proxy toggler, it made a lot
of sense to have Torbutton update its status to reflect what your proxy
settings 'really' are. But now that Torbutton does all sorts of other
application-level things, it is plausible that you might want to have
your proxy settings set up in a way that looks identical to Tor, yet you
don't want the other application-level protections that Torbutton adds.

But then, isn't this a really special case? For example, if you run your
Privoxy on a different port, then you won't confuse Torbutton.

 Bob might try adding another plug-in to firefox, say, switchproxy or
foxyproxy.  (I think there's at least one other around, too, but I don't
recall its name.)  Having another plug-in that is really dedicated just to
choosing which proxy configuration should be active at the moment might
help him get around some of the problem.  These plug-ins also allow the
user to set up a variety of proxies/proxy configurations to choose from
while using firefox.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**