2 Re: Anonymous/Nonymous Communication Coexisting?
4 Kristian Köhntopp <kris@xn--khntopp-90a.de>
6 Fri, 10 Jun 2005 08:56:19 +0200
10 On Wednesday 08 June 2005 04:20, yancm@sdf.lonestar.org wrote:
12 >> Is it possible to have a single application, such as a web
13 >> browser or a p2p client behave normally with normal url's but
14 >> use tor if the url is an xyz.onion address? Or is it
15 >> everything or nothing?
18 This is basically a question of using your proxy or not. You can
19 control the behaviour of your browser in great detail writing a
20 proxy.pac program in Javascript and setting that program as the
21 proxy autoconfiguration URL in your browser.
25 kris@jordan01:~> cat /srv/www/htdocs/proxy.pac
27 function FindProxyForURL(url, host)
29 var proxy_yes = "PROXY jordan01.int.cinetic.de:3128";
30 var proxy_no = "DIRECT";
32 // Redirect all accesses to mlan hosts to the mlan proxy
33 if (dnsDomainIs(host, ".mlan.cinetic.de")) {
37 // Everything else is direct
41 So here the program checks if the destination is a mlan-Host, and
42 if so, uses the appropriate proxy on jordan for the access,
43 while all other accesses are direct.
45 You could do a similar thing with .onion accesses with a trivial
49 http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html