New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Tinyproxy

How are you using your Bubba? Got ideas for a cool modification? Share!
Locked
spoodie
Posts: 21
Joined: 24 Jan 2007, 13:32

Tinyproxy

Post 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. :wink: 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?
bjorn
Posts: 88
Joined: 03 Jan 2007, 09:02

Post 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:

Code: Select all

ConnectPort 5190
ConnectPort 1863
that would allow connections to tinyproxy with MSN / ICQ through the ssh-tunnel as well in order to keep local snooping at bay. :)

/Bjorn
spoodie
Posts: 21
Joined: 24 Jan 2007, 13:32

Post by spoodie »

bjorn wrote:Another use for tinyproxy that i've had is to set options:

Code: Select all

ConnectPort 5190
ConnectPort 1863
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.
Hammer
Posts: 124
Joined: 02 Oct 2007, 13:37

Newbies, everywhere newbies...

Post 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...
John W
Posts: 62
Joined: 17 Jan 2007, 11:47

Re: Newbies, everywhere newbies...

Post 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).
Hammer
Posts: 124
Joined: 02 Oct 2007, 13:37

Post 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.)
Hammer
Posts: 124
Joined: 02 Oct 2007, 13:37

Post by Hammer »

Did install again, and now there is a tinyproxy dir.
Cool!!!

Thanks mate!
John W
Posts: 62
Joined: 17 Jan 2007, 11:47

Post by John W »

Hammer wrote: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.)
Bubba is running Sarge at the moment, not Etch. :P

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
Locked