Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anonymous web browsing / instant messaging etc.
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Mon Jan 17, 2005 9:24 pm    Post subject: Reply with quote

re: internal ip detected: Its definately javascript who is betraying you.
I'm working on a wrapper script for starting Firefox in "tor mode" with javascript disabled, proxy set to privoxy etc, which I'll post on the tor wiki.

Ateo wrote:

I understand the original author said it's not practical for daily browsing.... So what's the point of this?


I'd guess it isn't practical for most people, depending on what country you live in and what you're doing online.

Heres a couple dozen reasons why you might want to run tor:
http://tor.eff.org/cvs/tor/doc/tor-doc.html

The tor developers/users are active and friendly on irc. Join #tor on the OFTC irc network if you have any unanswered questions left or want to help with testing, writing documentation etc.
Back to top
View user's profile Send private message
goofus
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 180

PostPosted: Sun Jan 23, 2005 10:29 pm    Post subject: Reply with quote

tor and privoxy are working for http but how can i set kvirc up to use tor? it wont work for me. :(
Back to top
View user's profile Send private message
etnoy
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 255
Location: Västerås, Sweden

PostPosted: Tue Feb 01, 2005 10:02 pm    Post subject: Reply with quote

I miss an initscript for this great software. If I would have time I'd write one.
_________________
The md5sum of the above post is 06280ccd85ef9deb49c336e7945f4b5c

God is dead! - Nietzsche
Nietzsche is dead! -God
Back to top
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Wed Feb 02, 2005 8:15 am    Post subject: Reply with quote

Code:
#!/sbin/runscript

depend() {
        need net
}

start() {
        ebegin "Starting tor"
        start-stop-daemon --start --quiet --exec /usr/bin/tor
        eend $?
}

stop() {
        ebegin "Stopping tor"
        start-stop-daemon --stop --quiet --exec /usr/bin/tor
        eend $?
}

And dont't forget to set
Code:
## Uncomment this to start the process in the background... or use
## --runasdaemon 1 on the command line.
RunAsDaemon 1

in /etc/tor/torrc
_________________
Las torturas mentales de la CIA
Back to top
View user's profile Send private message
linux_girl
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 287

PostPosted: Wed Feb 09, 2005 1:31 pm    Post subject: Reply with quote

i am into a lan and have an external ip (router) but my network is firwaled
[EDIT]
you cant connect to my box
[/EDIT]

can i make my sshd server (my box @work) aviable to the outside world without using socat+tor to connect to it

the step described to make a service aviable are quite confusing
_________________
:D :D


Last edited by linux_girl on Sat Feb 12, 2005 12:51 am; edited 1 time in total
Back to top
View user's profile Send private message
humpback
Retired Dev
Retired Dev


Joined: 19 Oct 2002
Posts: 394
Location: Coimbra - Portugal

PostPosted: Fri Feb 11, 2005 2:25 am    Post subject: tor init.d script Reply with quote

Latexer is a bit busy, so i did some changes to the script and notes in bug https://bugs.gentoo.org/show_bug.cgi?id=75381 and added tor-0.0.9.4-r1.ebuild to portage.
You can now added (after setting up) privoxy and tor to the startup of the machine ( rc-update add tor default ) and dont have to deal with starting up everytime you log in.

I'll probably release a -r2 in a few days where i'll patch the torrc.example to have a few more options (User, Group, data and logs directories) already setup.

As always please try and report in that bug.

If you have a fast connection consider running a server for others to improve thei experience.
_________________
Gustavo Felisberto
Humpback @ #gentoo-pt
------------
It's most certainly GNU/Linux, not Linux. Read more at
http://www.gnu.org/gnu/why-gnu-linux.html .
-------------
Back to top
View user's profile Send private message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Wed Feb 23, 2005 11:06 am    Post subject: Reply with quote

Ateo wrote:
This is a great tip. However, it doesn't seem practical when browsing slows. I understand the original author said it's not practical for daily browsing.... So what's the point of this?

I have been using Tor for about 2 months now. There are times that it is unacceptably slow, but usually it is just a little slower than a direct connection (noticeable but acceptable).
In January the network crumbled when a lot of people started to route bittorrent traffic over Tor. The bittorrent ports are now blocked in the default config (although server admins can decide to open them), and this reduced the latency of the network a lot.
Keep in mind that there are only about 45 to 50 servers at a time (at this moment) that exit to port 80.
All thing considering, the latency is surprisingly low for the current size of the network in combination with the number of users.
http://images.noreply.org/tor-running-routers/totalBiWeekly.png

If you can, please consider running a Tor server. More servers will improve the Tor network tremendously.

Nossie
Back to top
View user's profile Send private message
linux_girl
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 287

PostPosted: Wed Feb 23, 2005 7:45 pm    Post subject: Reply with quote

OverlordQ wrote:
etnoy wrote:
Joseph_sys wrote:
Master One wrote:
BTW Can anyone explain to me, how that trick of http://www.auditmypc.com/freescan/scanoptions.asp with exposing my internal IP address works, and how to prevent that?


It is not your IP that is exposed, it is an IP of the last box that connection went out to destination you specified, so you are not testing open ports on your box but the box that connection went out on.
Correct me anybody if I'm wrong.


I see that, but I also see the following:
Code:
Notice!

Our system detects your internal IP address as 192.168.0.12 and your external address as XX.XXX.XX.XXX  Your internal IP should be hidden whereas your external is always exposed.


So somehow they can detect my internal NATed IP. How to fix that?


Um, disable Java?


or may be add a regexp in privoxy filters to clean this trick out.
_________________
:D :D
Back to top
View user's profile Send private message
linux_girl
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 287

PostPosted: Wed Feb 23, 2005 7:51 pm    Post subject: Reply with quote

does someone has a howto for :



INET | tor | privoxy| squid===>localhost:someport
INET | privoxy| squid===>localhost:aDifferent port
|----------------------------|

this may asume to have 2 privoxy runing with diff conf


with switch proxy this will be cool
_________________
:D :D
Back to top
View user's profile Send private message
thoughtform
Guru
Guru


Joined: 24 May 2004
Posts: 594
Location: east coast USA

PostPosted: Sat Apr 02, 2005 12:11 pm    Post subject: irssi with socks proxy? Reply with quote

i've recompiled irssi with socks5 and i'm trying to use it thru a socks4/5 proxy.
i get errors saying the proxy server couldn't handle the request.

07:04 -!- HTTP/1.0 407 Proxy Error
07:04 -!- Proxy-Authenticate: Basic realm="Proxy602"
07:04 -!- Content-type: text/html
07:04 -!- Pragma: no-cache
07:04 -!- Cache-control: no-cache
07:04 -!- Content-length: 253
07:04 -!- <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
07:04 -!- <html><head><title>Proxy Error</title></head>
07:04 -!- <body><h1>Proxy Error</h1>
07:04 -!- The proxy server could not handle this request.
07:04 -!- <p>
07:04 -!- <b>The proxy server could not handle this request.</b>
07:04 -!- </body></html>

i can get xchat to work with a proxy but i'd rather have irssi. anyone have this working?

http://www.irssi.org/?page=docs&doc=startup-HOWTO#c10
irssi can be compiled with socks support (--with-socks option to configure), but I don't really know how it works, if at all. /SET proxy settings don't have anything to do with socks however.
Back to top
View user's profile Send private message
NightTwix
n00b
n00b


Joined: 06 Jan 2005
Posts: 58

PostPosted: Mon Apr 18, 2005 10:02 pm    Post subject: Reply with quote

linux_girl wrote:
does someone has a howto for :



INET | tor | privoxy| squid===>localhost:someport
INET | privoxy| squid===>localhost:aDifferent port
|----------------------------|

this may asume to have 2 privoxy runing with diff conf


with switch proxy this will be cool


i made 2 scripts
They are not the exact solution for your problem but they are useful for switching between tor and non-tor without changing the client properties

# cat switch-privoxy.pl
Code:

/bin/sed -i 's/forward-socks4a \/ localhost\:9050 \./\#forward-socks4a \/ localhost\:9050 \./' /etc/privoxy/config
/etc/init.d/privoxy restart

# cat switch-tor.pl
Code:

/bin/sed -i 's/\#forward-socks4a \/ localhost\:9050 \./forward-socks4a \/ localhost\:9050 \./' /etc/privoxy/config
/etc/init.d/privoxy restart


well it's quick and very dirty.
but at least it works. ;)
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Tue Apr 19, 2005 7:15 am    Post subject: Reply with quote

How can we set up an access list or something, to make certain sites not use tor/privoxy. i.e- my routers web address (http://192.168.2.150) doesn't get resolved correctly. Is there a way to make privoxy/tor go directly to a certain website?

[Edit]
Konqueror has an access list, to do exactly that. It will not use privoxy for those websites, so I guess that works for me, but not sure about any other browsers.
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
NightTwix
n00b
n00b


Joined: 06 Jan 2005
Posts: 58

PostPosted: Tue Apr 19, 2005 10:44 am    Post subject: Reply with quote

snakattak3 wrote:
How can we set up an access list or something, to make certain sites not use tor/privoxy. i.e- my routers web address (http://192.168.2.150) doesn't get resolved correctly. Is there a way to make privoxy/tor go directly to a certain website?


Isn't there a "do not use proxy for following adresses" option in most browsers?
That should do the job. i mean, thats what it's for...
Back to top
View user's profile Send private message
franky999
n00b
n00b


Joined: 20 Feb 2005
Posts: 39
Location: Netherlands

PostPosted: Fri Apr 22, 2005 5:34 pm    Post subject: Reply with quote

linux_girl wrote:
does someone has a howto for :



INET | tor | privoxy| squid===>localhost:someport
INET | privoxy| squid===>localhost:aDifferent port
|----------------------------|

this may asume to have 2 privoxy runing with diff conf


with switch proxy this will be cool


I'm very interested in this. I have a gateway set up which runs privoxy and tor like this. I would like the possibility for other computers on the network to use privoxy without using tor. Is there some way I can have privoxy listen on different ports and forward everything to tor when accessed through on port, while making direct connections when requests come in through another port? I don't want to turn off tor as a whole, since some users might still want to use tor, while others don't.

Cheers.
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Mon May 09, 2005 4:18 pm    Post subject: Reply with quote

I've followed this howto but i can't browse any site!
It gives me always error 503 - connection failed...

Anyone can help?
Back to top
View user's profile Send private message
karan
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2003
Posts: 117
Location: New Zealand

PostPosted: Sat May 28, 2005 6:48 am    Post subject: Reply with quote

I keep getting a 404 privoxy page saying host couldn't be resolved when I try and use Privoxy and Tor together.
When I remove this line, privoxy works properly.
Code:

      forward-socks4a / localhost:9050 .


I am trying to run it over a LAN, I have configured TOR to bind over 0.0.0.0 , and privoxy to my 10.0.0.1/16.

I know privoxy is working because the ads/popups have stopped when I use it. TOR seems to be causing this.

Any Idea's?
_________________
:: Project Gotham
Back to top
View user's profile Send private message
karan
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2003
Posts: 117
Location: New Zealand

PostPosted: Sat May 28, 2005 7:04 am    Post subject: Reply with quote

karan wrote:
I keep getting a 404 privoxy page saying host couldn't be resolved when I try and use Privoxy and Tor together.
When I remove this line, privoxy works properly.
Code:

      forward-socks4a / localhost:9050 .


I am trying to run it over a LAN, I have configured TOR to bind over 0.0.0.0 , and privoxy to my 10.0.0.1/16.

I know privoxy is working because the ads/popups have stopped when I use it. TOR seems to be causing this.

Any Idea's?



Oops, silly me.

The problem was me saying forward-socks4a / localhost:9050, when I wasn't binding to localhost.

Changing it to 0.0.0.0 made it work, thanks.
_________________
:: Project Gotham
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed Aug 03, 2005 1:58 pm    Post subject: Reply with quote

I just installed this. First thing I noticed: it is SO SLOOOWW, in my case at least. Online speed tests go from 1100 kb /s to barely 60 kb/s.

The idea is nice though,but I guess I need a few more servers in my neighberhood for the speed difference to be acceptable. Is there a config option to only pick certain peers, or only pears from say, western europe?

One more question. Not sure if this is appropriate though.I've been amazed by the script on this page <--------- WARNING, explicit content.
There's a script on the above page which showes me contact ads, not only from people in my country, but in my CITY. This even works with tor on (I was expecting something like "women from tokio"). How do they do that?? Is that javascript or what?
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed Aug 03, 2005 2:25 pm    Post subject: Reply with quote

ok, I figured out this is a privoxy thingie. If I let firefox use the socks5 proxy on 9050 directly, it works at about 700 kb/s. Still slower, but a LOT better then the 60 kb/s I was getting.

Any ideas on why privoxy is so slow? I didn't change anything in the default config, except that forward line...
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Fri Sep 02, 2005 9:31 am    Post subject: Re: irssi with socks proxy? Reply with quote

Scorpaen wrote:
i can get xchat to work with a proxy but i'd rather have irssi. anyone have this working?.

Ditto and bump. I've tried everything Scorpaen said and I have the same problem on gentoo and freebsd. It works fine with xchat and all IMs just not irssi. :x
Back to top
View user's profile Send private message
St. Joe
Apprentice
Apprentice


Joined: 13 Apr 2005
Posts: 242
Location: USA

PostPosted: Fri Sep 02, 2005 2:27 pm    Post subject: Reply with quote

Rainmaker wrote:
Any ideas on why privoxy is so slow? I didn't change anything in the default config, except that forward line...

I tried it out in Opera and what I noticed was that it basically disabled how my browser cache functions. This seems to impact the rendering speed significantly. On a webpage that has a lot of graphics (such as a forum) the difference can be rather substantial. But on predominately text-based pages I found privoxy to play no role in any perceived slow down.
_________________
For every hammer there is a nail.
For every nail there is a thumb.
Back to top
View user's profile Send private message
vputz
Guru
Guru


Joined: 16 Mar 2005
Posts: 310
Location: Oxford, England

PostPosted: Wed Sep 14, 2005 3:29 am    Post subject: Reply with quote

franky999 wrote:
linux_girl wrote:
does someone has a howto for :



INET | tor | privoxy| squid===>localhost:someport
INET | privoxy| squid===>localhost:aDifferent port
|----------------------------|

this may asume to have 2 privoxy runing with diff conf


with switch proxy this will be cool


I'm very interested in this. I have a gateway set up which runs privoxy and tor like this. I would like the possibility for other computers on the network to use privoxy without using tor. Is there some way I can have privoxy listen on different ports and forward everything to tor when accessed through on port, while making direct connections when requests come in through another port? I don't want to turn off tor as a whole, since some users might still want to use tor, while others don't.

Cheers.


Well, I sorta have this going. But basically I think I have it running like this:

INET | privoxy | squid ==>localhost:aPort
INET | tor | privoxy ==>localhost:aDifferentPort

And the way I had to do it is was to run two sessions of privoxy, configured differently, one going to tor and one without. Since the startup scripts didn't want to play this game, I actually wound up with a stupid but effective hack, simply copying the "privoxy" binary to "privoxy-tor" and making a second configuration for the privoxy-tor program.

I haven't bothered doing the same for Squid, because the Tor browsing is just plain slow and when I did send Squid through Tor, it didn't seem to make a big heap of difference, though it did make a difference. I should try it some time--it's not like I don't have the disk space to run two squids. Just seems a bit silly.

-->VPutz
Back to top
View user's profile Send private message
Mystilleef
Guru
Guru


Joined: 27 Apr 2003
Posts: 561
Location: Earth

PostPosted: Thu Sep 22, 2005 7:57 am    Post subject: Reply with quote

Tor and Privoxy won't start for me.

Error log from tor

Code:

Sep 22 03:28:36.348 [err] init_from_config(): Acting on config options left us in a broken state. Dying.
Sep 22 03:28:49.197 [notice] Tor 0.1.0.14 opening log file.
Sep 22 03:28:49.197 [notice] Initialized libevent version 1.1a using method epoll
Sep 22 03:28:49.197 [warn] connection_create_listener(): Could not bind to port
9050: Cannot assign requested address
Sep 22 03:28:49.197 [err] options_act(): Failed to bind one of the listener ports.
Sep 22 03:28:49.197 [err] init_from_config(): Acting on config options left us in a broken state. Dying.
Sep 22 03:28:55.534 [notice] Tor 0.1.0.14 opening log file.
Sep 22 03:28:55.534 [notice] Initialized libevent version 1.1a using method epoll
Sep 22 03:28:55.534 [warn] connection_create_listener(): Could not bind to port
9050: Cannot assign requested address


Your suggestions are appreciated.
_________________
simple, sleek and sexy text editor for gnome

"My logic is undeniable."
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Thu Nov 10, 2005 10:36 am    Post subject: Reply with quote

i've got a question about this -- after reading the background information on the Tor website, what makes everyone think that using Tor increases your privacy instead of decreasing it?

some things to consider:

1. Tor was developed by the ONR and DARPA. :!:
2. By passing your information through Tor, users are collectively facilitating the creation of a centrallized data repository, thereby facilitating data mining through traffic analysis.
3. Whoever controls the routers controls your data -- they also have the ability to log interesting packet content to a database and mine it.
4. Who has the resources to provide this kind of service, what its their motive, and why should you trust them?
5. Just because I know they're out to get me doesn't mean I'm paranoid. :D

is this the IP-based equivalent of Echelon? :idea:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
tarnman
n00b
n00b


Joined: 10 Nov 2005
Posts: 20
Location: Oz

PostPosted: Mon Nov 14, 2005 4:15 am    Post subject: Reply with quote

I think my ISP already has transparent http proxy. I tried this trick and nothing happened (still showing an IP from my ISP domain name).

I really dislike this transparent proxy. It prevents me from going to sites that have download quota or IP banlist. Can tor+privoxy work around this?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum