Squid_ The Definitive Guide - Duane Wessels [221]
Mary Anne Weeks Mayo was the production editor and copyeditor for Squid: The Definitive Guide . Sada Preisch proofread the book, and Marlowe Shaeffer and Claire Cloutier provided quality control. Jamie Peppard and Mary Agner provided production assistance. Johnna Dinse wrote the index.
Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
Melanie Wang designed the interior layout, based on a series design by David Futato. This book was converted by Joe Wizda to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was compiled by Mary Anne Weeks Mayo.
The online edition of this book was created by the Safari production group (John Chodacki, Becki Maisch, and Ellie Cutler) using a set of Frame-to-XML conversion and cleanup tools written and maintained by Erik Ray, Benn Salter, John Chodacki, and Jeff Liggett.
Table of Contents
Preface
About This Book
Topics Not Covered
Recommended Reading
Conventions Used in This Book
Comments and Questions
Acknowledgments
1. Introduction
1.1. Web Caching
1.2. A Brief History of Squid
1.3. Hardware and Operating System Requirements
1.4. Squid Is Open Source
1.5. Squid's Home on the Web
1.6. Getting Help
1.6.1. Frequently Asked Questions
1.6.2. Mailing Lists
1.6.3. Professional Support
1.7. Getting Started with Squid
1.8. Exercises
2. Getting Squid
2.1. Versions and Releases
2.2. Use the Source, Luke
2.3. Precompiled Binaries
2.4. Anonymous CVS
2.5. devel.squid-cache.org
2.6. Exercises
3. Compiling and Installing
3.1. Before You Start
3.2. Unpacking the Source
3.3. Pretuning Your Kernel
3.3.1. File Descriptors
3.3.2. Mbuf Clusters
3.3.3. Ephemeral Port Range
3.4. The configure Script
3.4.1. configure Options
3.4.2. Running configure
3.5. make
3.6. make Install
3.7. Applying a Patch
3.8. Running configure Later
3.9. Exercises
4. Configuration Guide for the Eager
4.1. The squid.conf Syntax
4.2. User IDs
4.3. Port Numbers
4.4. Log File Pathnames
4.5. Access Controls
4.6. Visible Hostname
4.7. Administrative Contact Information
4.8. Next Steps
4.9. Exercises
5. Running Squid
5.1. Squid Command-Line Options
5.2. Check Your Configuration File for Errors
5.3. Initializing Cache Directories
5.4. Testing Squid in a Terminal Window
5.5. Running Squid as a Daemon Process
5.5.1. The squid_start Script
5.6. Boot Scripts
5.6.1. /etc/rc.local
5.6.2. init.d and rc.d
5.6.3. /etc/inittab
5.7. A chroot Environment
5.8. Stopping Squid
5.9. Reconfiguring a Running Squid Process
5.10. Rotating the Log Files
5.11. Exercises
6. All About Access Controls
6.1. Access Control Elements
6.1.1. A Few Base ACL Types
6.1.2. ACL Types
6.1.3. External ACLs
6.1.4. Dealing with Long ACL Lists
6.1.5. How Squid Matches Access Control Elements
6.2. Access Control Rules
6.2.1. Access Rule Syntax
6.2.2. How Squid Matches Access Rules
6.2.3. Access List Style
6.2.4. Delayed Checks
6.2.5.