Help writing my ideal config file

From: Jason Thompson <jthompson@dont-contact.us>
Date: Fri, 5 Nov 1999 03:31:37 -0000

Hi All,

I am wondering if I can get some help writing a good config file for squid for my setup. Any suggestions and help would be greatly appriciated.

Specs:

Server: Processor: P200
              Memory: 64MB
              HD: 2GB
              OS: Redhat Linux 6.0

Internet connection: 64KB

Maximum users: 100

This is my requirements:

1. Our server must ALWAYS make its requests to the internet via another squid proxy server (ie no direct access to the internet). This is because the our parent has protected net access, ie connections to material not suitable for a school environment are rejected. The cache does not know that our server is a squid proxy server, it justs sees it as a normal client.

2. Our server must ALWAYS make its requests to local Intranet servers directly with no caching.

3. The server must cache as much as possible.

4. Any request made to the server much be satisfied by the cached page wherever possible. i.e if the page is in the cache, then it must send that one, even if it is out of date. The user will have to click refresh to get an updated page.

5. The server must not allow anyone to access it unless they are on our class C network

6. The server needs to use an authentication module, for accessing htpasswd files.

7. The server must only allow requests between the hours 8am-6pm Monday -Friday

8. If a page is requested and then cancelled by the client, it must stop downloading immediately and we do not want to store that information unless it is any use. What I mean is if storing half a graphic will speed it any requests for the same graphic in the future then store it. If the cache will still go out and request the whole graphic again regardless, then scrap it.

9. Where ever possible if a file stored is not the complete file, then we want it to send what it has already got to the client and download the rest starting from the point when it got to previously.

10. We sometimes have problems with students downloading large files of the net which slows it down for everyone. Is it possible to either:
    a. Detect if the file is above a certain size, if it is then limit its download rate.
    b. Look at the extention on the file (ie. file.zip file.avi file.mp3 etc) when apply limits occordingly
    c. Otherwise only if a & b not possible then just balance everything so no-one can every take all of our small amount of bandwidth.

Most clients will be using Internet Explorer 5

Other issues: How much pysical memory should I have in the machine? is 64 meg enough? and what should the setting be in squid?
                           There is about 1.2GB free on the hard disk, how much of this should I use? if the drive big enough? what would the setting be in squid?

Please could you send me as much configuration information as possible. There are A LOT of settings I do not understand, and as yet have not found any explinations that I understand for them.

Thank you all for your time.

Jason Thompson
Received on Fri Nov 05 1999 - 20:39:10 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT