Koozali.org: home of the SME Server

Squid Configuration

Jose Paez

Squid Configuration
« on: September 02, 2001, 12:37:02 AM »
Hi,

I have 15 computers attached to one single telephone line to connect to internet, the adsl is not still available in this side of the city so i use e-smith as a gateway server using an AMD Duron processor based computer with 768 megabytes in ram and a hp 10k scsi ultra2 lvd 9.1 gigas harddrive, all of this with the illusion of using cache to accelerate internet browsing and maybe using two modems, etc. but when i configure the client's browsers to use the proxy at 3128 port it become very very slow.

I've read other people's topic and they said to edit the squid.conf file, i have a good manual ( Squid Configuration Manual by visolve.com) but even if it sounds stupid, i don't have a clue on how to edit this file, is there any editor (like edit in ms-dos) in the e-smith server?

any help will be really wellcome

Thanks

JP

enigma01

Re: Squid Configuration
« Reply #1 on: September 02, 2001, 03:03:32 AM »
Try making it a transparnet proxy instead. seriously though it sounds at though the problem is the modem - squid can only give the files from cache if they are first in cache :)
(sorry if this is obvious)
And can only fetch them at the speed of the modem line :(

as for an editor in e-smith logon to the server as root and issue the command mc this will fire up a file manager with which you can navigate the file system easily and edit files.

Hope these ramblings are of some use

Enigma

Trevor Vizovitis

Re: Squid Configuration
« Reply #2 on: September 04, 2001, 05:50:22 AM »
although e-smith has great functionality it lacks any true configuration when it comes to squid management. You need to fully create a template config for this, in order to get the real performance of squid working correctly. go to the squid site
and look at sample configs, choose a similar config and modify it to suit your needs accordingly.

Jose Paez

Re: Squid Configuration
« Reply #3 on: September 04, 2001, 05:59:19 AM »
Wow, thanks for the mc command, that's what i need.

So... do you know wich parameters i have to change in the template to turn this box into a transparent cache server?, i now 56k modem it's not exactly what you need to surf but in this side of the city i don't have anything else, i bought the best modems i know (us robotics 56k external v.90) to try to make it go better, but right now when i configure the clients explorer to use the proxy, y gets half the speed it uses going direct (no proxy configured at all) so may  the tranparent modeshould be the way.

Thanks a lot Enigma

JP

Jose Paez

Re: Squid Configuration
« Reply #4 on: September 04, 2001, 05:59:26 AM »
Wow, thanks for the mc command, that's what i need.

So... do you know wich parameters i have to change in the template to turn this box into a transparent cache server?, i now 56k modem it's not exactly what you need to surf but in this side of the city i don't have anything else, i bought the best modems i know (us robotics 56k external v.90) to try to make it go better, but right now when i configure the clients explorer to use the proxy, y gets half the speed it uses going direct (no proxy configured at all) so may  the tranparent modeshould be the way.

Thanks a lot Enigma

JP

Jose Paez

Re: Squid Configuration
« Reply #5 on: September 04, 2001, 05:59:54 AM »
Wow, thanks for the mc command, that's what i need.

So... do you know wich parameters i have to change in the template to turn this box into a transparent cache server?, i now 56k modem it's not exactly what you need to surf but in this side of the city i don't have anything else, i bought the best modems i know (us robotics 56k external v.90) to try to make it go better, but right now when i configure the clients explorer to use the proxy, y gets half the speed it uses going direct (no proxy configured at all) so may  the tranparent modeshould be the way.

Thanks a lot Enigma

JP

Cristian

Re: Squid Configuration
« Reply #6 on: September 05, 2001, 06:37:54 PM »
Sometimes the problem could be the size of the packet, change it to 1500.

enigma01

Re: Squid Configuration
« Reply #7 on: September 05, 2001, 11:38:56 PM »
Sorry for not replying sooner - i have been busy :) uprateing my ESSG.

The rpm you need is found on the following link

http://www.e-smith.org/contrib/rpm-index/RPM-e-smith-transproxy-0.3-1.src.html

once you have it, transfer it to the ESSG and install using the following command

rpm -Uvh e-smith-transproxy-0.3-1.noarch.rpm

reboot the box - not necessary but a habit i picked up using Win9x boxes ;), configure your clients to use NO PROXY in the browser settings, just make sure the clients have the ESSG as their gateway and you are off and browsing transparently :) - if you are using DHCP all the better!

Enigma

Ooops ESSG = E-Smith Server and Gateway

Hope this helps

Greg O

Re: Squid Configuration
« Reply #8 on: September 26, 2001, 07:53:20 AM »
From what I hear, transproxy was written for ESSG 4.0, and I've had transproxy working fine on 4.0. I know version numbers shouldn't be an issue, but ever since 4.1 I haven't been able to get transproxy working. It doesn't give any errors, it simply doesn't log anything, or take anything through the proxy. (I hear from a friend that runs a few different e-smith boxes that he has had intermittent success with e-smith 4.1x and transproxy, but no problems at all with 4.0.)

Also, what about on ESSG 5.0? I haven't upgraded to that just yet, but what are the chances of it (transproxy) working?

Cheers,
Greg.