LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-13-2011, 04:27 PM   #1
klingoncowboy4
Member
 
Registered: May 2007
Location: Seba Beach, Ab
Distribution: Fedora 14
Posts: 34

Rep: Reputation: 0
squid caching help


I am new to the world of proxying and need some help in setting up a caching server.

I am experimenting with a whole new network configuration for the company where I work and we would like to make a caching proxy a central part of our network management.

We would like to be able to cache as much web traffic as possible. The main reason is so we can back track what has been accessed. However, having commonly accessed web files cached to lessen bandwidth use is an additional benefit we are seeking. If possible we also want to be able to seemlessly integrate it into the system, so that without manually configuring each workstation the proxy is used (thinking running "transparent").

I selected Squid since it is mainstream and established but I am open to other alternatives, provided that they are not too costly. I already have a test server running squid3 on Ubuntu 10.10 and looking through the access.log file it seems that it does pass traffic (I have manually configured the browser on my test machine to use the proxy). However, I am not sure if it is caching properly, after editing squid.conf to include an uncommented entry for cache_dir, cache.log does show some caching, though I don't think it is caching enough given the traffic I am running through the proxy.

Any help on this would be very much appreciated.
 
Old 05-13-2011, 04:32 PM   #2
klingoncowboy4
Member
 
Registered: May 2007
Location: Seba Beach, Ab
Distribution: Fedora 14
Posts: 34

Original Poster
Rep: Reputation: 0
BTW to sum up (in case anyone has any suggestions for alternative proxy packages) here is the criteria I was given:

1. caches web traffic in human readable format (preferably the network admin can load the cache directly in a browser too see the objects)

2. serves cached objects to reduce load and admin times (such as when downloading windows updates or anti-virus definitions)

3. proxy can be seemlessly integrated, requiring no changes on client workstations

Based on my research I am ready to give up on number 1 as there doesn't seem be any package that can do it. Number 2 is the main part I would like help with. I havn't started trying anything with number 3 yet but I suspect that I will need to run the proxy "transparent".
 
Old 05-13-2011, 04:56 PM   #3
Zetec
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, W7, openSUSE, Centos
Posts: 152

Rep: Reputation: 25
For point 1 take a look at Sarg.

If you want to manage windows updates downloads and have a Windows server use WSUS.

IIRC squid won't generally cache large files as it won't perform very will in doing so. Once you factor in the time it will take to search the disk and stuff you may as well have already downloaded the file(s). Ok, for large MS updates and stuff this may not be the case.

For point 3 take a look at transparent proxy features. You will need a firewall to pass traffic from port 80 and 443 to your squid box.

Jon

Last edited by Zetec; 05-13-2011 at 05:49 PM.
 
1 members found this post helpful.
Old 05-13-2011, 05:19 PM   #4
klingoncowboy4
Member
 
Registered: May 2007
Location: Seba Beach, Ab
Distribution: Fedora 14
Posts: 34

Original Poster
Rep: Reputation: 0
thanks, this has saved me many hours of googling in circles lol
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Caching Problem nazihhaddad Linux - Newbie 2 05-13-2010 09:07 AM
squid 3 -> exclude from caching cccc Linux - Server 8 08-27-2009 09:45 PM
caching with squid kernelvn Linux - Networking 2 07-17-2005 11:54 PM
Help to configure Squid Caching !!! brains_online Linux - Newbie 0 12-23-2004 09:27 AM
how to do caching on squid? gigi Linux - Software 2 02-23-2004 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration