Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You haven't given us much to work with here. unSpawn asked you to post some config and log files, but you haven't. Forget about Squid for now. You say that when you use Privoxy no DNS resolution takes place, but this is exactly what is supposed to happen when you use it with Tor. If DNS resolution was done then your ISP (and anyone between you and them) would be able to know what sites you are visiting. DNS resolution occurs at the other end of the Tor network. Please post the outputs of these commands so we can get a better understanding of where you are at:
I don't think you ever mentioned you wanted to set up Tor as a server.
If you only want it to provide anonymity for Privoxy you just need these two lines:
Code:
SocksPort 9050
SocksListenAddress 127.0.0.1
Also, notice how I put in red some typos you made - you should fix them. Also, AFAICT (I've never set-up an exit node) the last two lines in your torrc wouldn't ever get matched, since you have a "reject *:*" above them (which I put in bold). Additionally, the syntax for the bandwidth options seems to be:
Code:
BandwidthRate 10 KB
And not:
Code:
BandwidthRate 10kb
But I'm not sure if it makes a difference or not.
Like I said, I've never set up an exit node, so take what I say with a grain of salt.
Now, the issue is about why privoxy cannot resolve the
hostname to ip address.
Well, like I already said, Privoxy doesn't need to do this when being used with Tor. If it did resolve DNS then it would defeat the purpose of running an anonymity application. I can't really think of what could be causing your problem. Here's a copy of my Privoxy config (which works fine for me) in case it might help:
Code:
user-manual /usr/share/doc/privoxy/user-manual
confdir /etc/privoxy
logdir /var/log/privoxy
actionsfile standard # Internal purpose, recommended
actionsfile global # Global default setting for all sites
actionsfile default # Main actions file
actionsfile user # User customizations
filterfile default.filter
debug 4096 # Startup banner and warnings
debug 8192 # Errors - *we highly recommended enabling this*
listen-address 127.0.0.1:8118
toggle 1
enable-remote-toggle 0
enable-remote-http-toggle 1
enable-edit-actions 0
buffer-limit 4096
forward-socks4a / 127.0.0.1:9050 .
forwarded-connect-retries 0
Maybe show us what the Privoxy log files (and more importantly, the Tor ones) look like when the issue manifests itself? It sounds to me like your SOCKS might be the problem.
Please help me. I not hijacked thread but to get help.
I actually am trying to help you, and haven't accused you of hijacking the thread. But it's impossible to help you if all you post is pleas for help. That's why I asked you to post the relevant log entries for Tor and Privoxy like three days ago.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.