Ensurepass

28. Squid
28.1 Overview
1. HTTP and FTP caching proxy server.
2. Conforms to Harvest Cache architecture.
3. Uses Inter-Cache Protocol (ICP) to communicate with other cache servers.
4. Only recognizes HTTP on the client side, but will use both FTP and HTTP on the server side.
5. Required Packages: squid
6. Ports
o Clients connect to TCP port 3128 by default.
o Default port can be changed.
o For accelerator mode, clients will typically connect to TCP port 80.
28.2 Configuration
1. /etc/squid/squid.conf
o Primary configuration file.
o Parent/sibling caches – Squid can be configured to check other caches for a request before fetching a new object.
* Configuration example:
* # Proxy ICP
* # Host Name Type Port Port
* cache_peer parentcache.xyz.com parent 3128 3130
* cache_peer childcache1.xyz.com sibling 3128 3130
* cache_peer childcache2.xyz.com sibling 3128 3130
*
o Access Control Lists – Squid has very extensive ACLs for control access.
o See /etc/squid/squid.conf for further configuration examples. It is very well documented.
o Cache initialization.
The cache is located at /var/spool/squid. If it hasn’t been created, the startup script will automatically created it when squid is started.
28.3 Client Program (/usr/sbin/client)
1. FINISH ME!

Download the Ensurepass Latest 2013 RHCE EX300 Practise Test PDF to pass RHCE EX300 exam.

Comments are closed.