Page 1 of 1
Tinyproxy
Posted: 19 Mar 2007, 16:26
by spoodie
http://tinyproxy.sourceforge.net/
I installed this so I could browse from work without my traffic being monitored, for when I do anything my employer may not like.

It does not cache any content so the resource overhead is minimal. Tunnelling it through SSH gives extra protection and avoids the need to have the proxy open to the whole Internet, it has no built in login feature that I know of. It's not fast but for occasional use it's perfectly adequate.
The default configuration (/etc/tinyproxy/tinyproxy.conf) is pretty good but I've changed the following to reduce the potential overhead:
Code: Select all
MaxClients 1
MinSpareServers 1
MaxSpareServers 4
StartServers 3
I'm assuming as standard a browser would only act as a single client and not have multiple connections to the webserver/proxy. But I'm a little unclear on how the "Servers" elements are used, could I set them all to "1" or would it provide slightly improved speed to keep a couple more running?
Any comments or questions?
Posted: 20 Mar 2007, 01:43
by bjorn
Hi Spoodie,
Tinyproxy is indeed nice, i've used it a couple of times too.
I don't think you need to worry about the *Servers* directive that much, your settings seem all fine. I do think that you could increase that settings somewhat and perhaps see even better performance, given the stateless nature of the http-protocol.
Another use for tinyproxy that i've had is to set options:
that would allow connections to tinyproxy with MSN / ICQ through the ssh-tunnel as well in order to keep local snooping at bay.
/Bjorn
Posted: 20 Mar 2007, 05:46
by spoodie
bjorn wrote:Another use for tinyproxy that i've had is to set options:
that would allow connections to tinyproxy with MSN / ICQ through the ssh-tunnel as well in order to keep local snooping at bay.
/Bjorn
Thanks very much. I didn't realise you could proxy other protocols, that may come in very useful.
Newbies, everywhere newbies...
Posted: 02 Oct 2007, 13:43
by Hammer
Ok, so I got my Bubba the other day, read Monday, with the main purpose to be able to surf and access email from my very restricted work.
So, downloaded tinyproxy and ran into huge problems when no c-compiler was included. Google, download, install, repeat four times.
So now I have the one Tor recommended and the installation of tinyproxy seemed to work ok (followed the INSTALL file).
Today when continuing the work, I went to /etc and then tried /tinyproxy.
Alas, no such directory and hence no tinyproxy config file.
HOW THE ¤%&¤%/ DO ONE INSTALL SOMETHING ON A LINUX BOX???
Grateful for any help...
Re: Newbies, everywhere newbies...
Posted: 02 Oct 2007, 15:49
by John W
Hammer wrote:Ok, so I got my Bubba the other day, read Monday, with the main purpose to be able to surf and access email from my very restricted work.
So, downloaded tinyproxy and ran into huge problems when no c-compiler was included. Google, download, install, repeat four times.
So now I have the one Tor recommended and the installation of tinyproxy seemed to work ok (followed the INSTALL file).
Today when continuing the work, I went to /etc and then tried /tinyproxy.
Alas, no such directory and hence no tinyproxy config file.
HOW THE ¤%&¤%/ DO ONE INSTALL SOMETHING ON A LINUX BOX???
Grateful for any help...
Ok...
You install tinyproxy by executing the following lines:
apt-get update
apt-get install tinyproxy
Well, as you may know you have to edit the apt-get sources first... (/etc/apt/sources.list)
You can find tinyproxy's config-file at "/etc/tinyproxy/tinyconfig.conf".
To edit the file use the texteditor nano (nano /etc/tinyproxy/tinyconfig.conf).
Posted: 02 Oct 2007, 16:42
by Hammer
Thanks, I already have these lines:
deb
http://update.excito.net/ bubba main
deb
http://ftp.se.debian.org/debian/ sid main
deb
http://ftp.se.debian.org/debian/ etch main
The last two I did yesterday.
Doesn't that cover tinyproxy? (I tried the "apt-get install tinyproxy" yesterday also.)
Posted: 02 Oct 2007, 16:49
by Hammer
Did install again, and now there is a tinyproxy dir.
Cool!!!
Thanks mate!
Posted: 02 Oct 2007, 16:52
by John W
Bubba is running Sarge at the moment, not Etch.
This is what my sources.list looks like.
Code: Select all
deb http://ftp.se.debian.org/debian/ sarge main
deb http://security.debian.org/ sarge/updates main
deb http://ftp.se.debian.org/debian/ sarge non-free
deb http://update.excito.net/ bubba main