Automated Proxy-Management...

Guys, here’s a quick 'n dirty overview of what I want to accomplish:

Each time I’m opening up Firefox, the computer should connect through another Proxy to the Internet.
What I’m especially looking for is some way to find and use freely available, yet stable and somewhat secure proxies which are changed each time Firefox gets opened up.
Maybe there’s a tool that silently runs in the background and searches for valid (secure) proxies and upon opening frirefox picking a random proxy from a pool?

Yeah, now throw your comments, suggestions and hints at me, please! :wink:

Guys, I´m sure there is an application for the goal I´m trying to accomplish. C´mon, give me a hint!

Hm… how much would Putty contribute to that process?
Again, goal is to find a way to automatically search and find valid (secure) online proxies to be used with every application connecting to the internet.
Every time a connection to the internet is established, a new proxy should be used…

Hi
Tor(k), privoxy, squid

http://www.privoxy.org/
http://en.opensuse.org/Privoxy_tor_squid


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 1 day 20:45, 2 users, load average: 0.06, 0.07, 0.01
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Whoa… too many trees in this forest! :stuck_out_tongue: Installed Tor, Privoxy and Torbutton, copied and pasted the privoxy config from their website. But still, upon using Torbuttin, there is absolutely no connectability to websites.
Test says “Internal Error”. Found many things worth checkable, but didn’t find the cause yet… what a day.

Sooo… I did set up Proxy-Management via caf’s awesome Tutorial: Privoxy-Tor-Squid so far. I won’t be using Squid though in order to avoid those mentioned DNS leaks.
Right now my system is stuck at the last step: Enabling Tor and Privoxy in the Runlevel-Environment. Enabling Tor works great, but Privoxy tells me:

/etc/init.d/privoxyd start returned 7 (Program does not run):

That’s it. What am I doing wrong here? :X

Hi
Did you run the above command or from the GUI? If the GUI try the
command line.

Is your config file ok, you didn’t just copy the file from a webpage?
This can add hidden characters to a file. Try running dos2unix on the
file.

Else http://www.privoxy.org/faq/index.html may be of help


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 2 days 4:18, 2 users, load average: 0.32, 0.42, 0.32
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Hi malcolm!

Nope, I didn’t run the command from command line, but from the Runlevel-GUI. But hey, I ran dos2unix on the mentioned file and both Tor and Privoxy are enabled now. :slight_smile:

Unfortunately running /etc/init.d/privoxyd start from console returns:

mask@man:~> /etc/init.d/privoxyd start
Starting Privoxy…/etc/init.d/privoxyd:55: could not copy /etc/resolv.conf to chroot jail failed

Still, Tor does not successfully connect. I’ll cosult you link now. Further recommendations are very much appreciated!

Issuing the above command as root also returns “failed”. I don’t get it… >:(

Hi
Can you post that privoxyd script up on pastebin.com and post back the
url.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 2 days 5:14, 2 users, load average: 0.12, 0.10, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Of course! Thank you for taking a look @ paste #56538.

FeatherMonkey just forwarded a thread to me, which describes the exact same issue. Feel free to take a look HERE. It seems discontinued. Either way - I’d love to find a solution in here.

Hi
So you did install from the oss repository (I’m also guessing 11.2?)?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 2 days 8:30, 2 users, load average: 0.09, 0.14, 0.10
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


# rcprivoxyd restart
Shutting down Privoxy	done
Starting Privoxy			done

# ps -ef |grep privoxy
privoxy  12199     1  0 19:21 ?        00:00:00 /usr/sbin/privoxy
--user privoxy privoxy --pidfile /var/run/privoxy.pid
--chroot /etc/config


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 (i586) Kernel 2.6.31.5-0.1-desktop
up 7:01, 1 user, load average: 0.37, 0.22, 0.10
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Yes, both Tor and Privoxy. Torbutton is installed as well. Is the above code meant to be executed on my machine? (not sure what you´re trying to tell me with it).
And at this point I also want to release a quick appreciation for being patient with me: THANK YOU! :slight_smile:

Hi
Yes the above was just showing that it worked on my system… :frowning:

Did you modify the config file or anything else?

I would suggest remove the three applications and check the config file
is gone. Then install just tor and privoxy again and try the rcprivoxyd
restart command.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 2 days 20:55, 2 users, load average: 0.18, 0.22, 0.16
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Well, I just noticed that TOR comes from the Packman Repo and Privoxy from the OpenSUSE Repo.
Might this be the cause? Certainy can’t be - TOR is only available via Packman… cheech, I’ll re-check everything and report back later.

And here’s my report: It really seems to be an issue related to that config file of Privoxy. Upon using the file mentioned HERE Privoxy does not start/restart when issuing ‘rcprivoxyd restart’ to command line.
But on the other side, when deleting this Privoxy config and re-installing Privoxy again through YaST, the script works and Privoxy is able to be restarted via console.

Now, when doing the Privoxy-Test through Torbutton, the Prompt looks like this:

Tor-Proxy Test FAILED! Check your Proxy- und Privoxy settings

Great. The Proxy of FF should be configured automatically by Torbutton - but even when manually setting to 127.0.0.1 and Port 8118, same results. what do you suggest to do?

Hi
So have you modified the config, because I get no errors with a default
install. You haven’t modified system wide permissions?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 3 days 3:28, 3 users, load average: 0.09, 0.17, 0.12
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

I don’t think so. Wait… I remember having TorK installed before because of Privoxy not functioning.
TorK told me that Privoxy had to run as root - and that’s the only modification I made. Is there a way to prove whether some settings have been modified?