LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Squid, Tor and Privoxy Strange Problem (https://www.linuxquestions.org/questions/linux-software-2/squid-tor-and-privoxy-strange-problem-610703/)

Peter_APIIT 01-02-2008 09:18 PM

Squid, Tor and Privoxy Strange Problem
 
Hello all expert network administrator, i have openbsd 4.1 as a gateway/router.
My network structure is as below :
Modem -> OpenBSD 4.1 -> Laptop || Laptop
I have squid running smoothly but i need a tor and privoxy install to tor and configure well with these three packages. Any idea how ? Squid - Web cache Tor and Privoxy - Anonymity.
My three packages is install in openbsd 4.1.
I read up some tutorial freom internet but didn't have some specific case similiar to my network design.
Thanks for you help.

Peter_APIIT 01-02-2008 09:25 PM

I need something like User -> Squid -> Privoxy -> Tor -> Internet
My squid configuration is not transparent.

win32sux 01-03-2008 06:18 AM

IIRC you basically just configure Squid to use Privoxy (with the cache_peer option, etc.) and then Privoxy to use Tor (with the forward-socks4a option, etc). If I were you I'd start by getting Privoxy and Tor working for the network first - then once you've got those going change Privoxy's listen address back to 127.0.0.1 and proceed to throw Squid in front of it. BTW, if this discussion turns OpenBSD-specific (I don't see why it should) it'll be moved to the *BSD forum.

Peter_APIIT 01-03-2008 09:12 PM

This is not a *BSD specific question but i just give some additional information to you all. I will follow your advise to get privoxy and Tor working first.
Thanks for your help.

Peter_APIIT 01-04-2008 10:16 PM

I have follow your advise by configure privoxy and otr first but some error message shows up during boot time which is
Error: Wrong number of parameters for forward socks4a directive in configuration file
MY configuration is : forward-socks4a / localhost:9050
Moreover, how to bring tor to daemon during boot time or start automatically after boot time.
Thanks for your help. A billion thanks again.

Peter_APIIT 01-05-2008 06:42 AM

I have try used privoxy and tor.
MY configuration as below : socksport 9050
SocksListenAddress 127.0.0.1
Privoxy Listen Address : 192.168.2.1(Gateway to wireless network)
When i enabled tor no connection to web page but after disabled tor it works perfectly.
I temporary disabled squid. A billion thanks for your help.

unSpawn 01-05-2008 07:07 AM

Moved to the Linux - Software forum as this clearly isn't a Linux Security forum issue.

I suggest posting relevant log output and exact config details from all relevant daemons involved.

win32sux 01-05-2008 10:33 AM

Quote:

Originally Posted by Peter_APIIT (Post 3011880)
Error: Wrong number of parameters for forward socks4a directive in configuration file
MY configuration is : forward-socks4a / localhost:9050

There's a missing dot at the end of that line. It should be:
Code:

forward-socks4a            /    127.0.0.1:9050 .
You should also have a line like:
Code:

listen-address  $LAN_IP:8118
Where $LAN_IP is the IP of the interface you are making it listen on. Keep in mind this is all the "pre-Squid phase". With Squid in the picture, Privoxy would need to listen on localhost instead.

Quote:

Moreover, how to bring tor to daemon during boot time or start automatically after boot time.
My BSD experience is nil.

Peter_APIIT 01-05-2008 08:54 PM

Privoxy -> Tor
My configuration is :
listen address 192.168.2.1:8118 (This is a gateway address for wireless)
My subnet is dhcpd.conf is 192.168.2.0 options routers is 192.168.2.1;
I just temporary try the privoxy to tor first after that i will changed back to 127.0.0.1:8118 in privoxy.
Regarding the issue about dameon mode, i found out that in torrc , we can enable it.
A billion thanks for your help.

Peter_APIIT 01-06-2008 05:53 AM

Privoxy Log File :

Request: www.google.com.my
Error: could not resolve hostname www.google.com.my

Any idea how to solve this.
By the way, i having problem set up djbdns in server forum.

Thanks for your help.

unSpawn 01-06-2008 06:53 AM

Quote:

Originally Posted by Peter_APIIT (Post 3013114)
Any idea how to solve this.

If resolving addresses is related to your djbdns problem then fix that first.

Peter_APIIT 01-06-2008 11:38 PM

The moment when i cannot resolve hostname to ip is when i using privoxy. I still can browse using the same machine.

Peter_APIIT 01-07-2008 07:48 PM

ANy help is greatly appreciated by me and others. Thanks.

Peter_APIIT 01-08-2008 12:41 AM

Why got resolve address problem ?

Peter_APIIT 01-08-2008 03:36 AM

I have google this issue for two days but i haven't found any solutio but this problem is quite hot and very where also.
I hope you all can help me out.


All times are GMT -5. The time now is 08:32 AM.