Squid_ The Definitive Guide - Duane Wessels [222]
6.3. Common Scenarios
6.3.1. Allowing Local Clients Only
6.3.2. Blocking a Few Misbehaving Clients
6.3.3. Denying Pornography
6.3.4. Restricting Usage During Working Hours
6.3.5. Preventing Squid from Talking to Non-HTTP Servers
6.3.6. Giving Certain Users Special Access
6.3.7. Preventing Abuse from Siblings
6.3.8. Denying Requests with IP Addresses
6.3.9. An http_reply_access Example
6.3.10. Preventing Cache Hits for Local Sites
6.4. Testing Access Controls
6.5. Exercises
7. Disk Cache Basics
7.1. The cache_dir Directive
7.1.1. Scheme
7.1.2. Directory
7.1.3. Size
7.1.4. L1 and L2
7.1.5. Options
7.2. Disk Space Watermarks
7.3. Object Size Limits
7.4. Allocating Objects to Cache Directories
7.5. Replacement Policies
7.6. Removing Cached Objects
7.6.1. Removing Individual Objects
7.6.2. Removing a Group of Objects
7.6.3. Removing All Objects
7.7. refresh_pattern
7.8. Exercises
8. Advanced Disk Cache Topics
8.1. Do I Have a Disk I/O Bottleneck?
8.2. Filesystem Tuning Options
8.3. Alternative Filesystems
8.4. The aufs Storage Scheme
8.4.1. How aufs Works
8.4.2. aufs Issues
8.4.3. Monitoring aufs Operation
8.5. The diskd Storage Scheme
8.5.1. How diskd Works
8.5.2. Compiling and Configuring diskd
8.5.3. Monitoring diskd
8.6. The coss Storage Scheme
8.6.1. How coss Works
8.6.2. Compiling and Configuring coss
8.6.3. coss Issues
8.7. The null Storage Scheme
8.8. Which Is Best for Me?
8.9. Exercises
9. Interception Caching
9.1. How It Works
9.2. Why (Not) Intercept?
9.3. The Network Device
9.3.1. Inline Squid
9.3.2. Layer Four Switches
9.3.3. Cisco Policy Routing
9.3.4. Web Cache Coordination Protocol
9.4. Operating System Tweaks
9.4.1. Linux
9.4.2. FreeBSD
9.4.3. OpenBSD
9.4.4. IPFilter on NetBSD and Others
9.5. Configure Squid
9.5.1. Configuring WCCPv1
9.6. Debugging Problems
9.7. Exercises
10. Talking to Other Squids
10.1. Some Terminology
10.2. Why (Not) Use a Hierarchy?
10.3. Telling Squid About Your Neighbors
10.3.1. cache_peer Options
10.3.2. Neighbor State
10.3.3. Altering the Relationship
10.4. Restricting Requests to Neighbors
10.4.1. cache_peer_access
10.4.2. cache_peer_domain
10.4.3. never_direct
10.4.4. always_direct
10.4.5. hierarchy_stoplist
10.4.6. nonhierarchical_direct
10.4.7. prefer_direct
10.5. The Network Measurement Database
10.6. Internet Cache Protocol
10.6.1. Being an ICP Server
10.6.2. Being an ICP Client
10.6.3. Multicast ICP
10.7. Cache Digests
10.7.1. Configuring Squid for Cache Digests
10.8. Hypertext Caching Protocol
10.8.1. Configuring Squid for HTCP
10.9. Cache Array Routing Protocol
10.9.1. Configuring Squid for CARP
10.10. Putting It All Together
10.10.1. Step 1: Determine Direct Options
10.10.2. Step 2: Neighbor Selection Protocols
10.10.3. Step 2a: ICP/HTCP Reply Processing
10.10.4. Step 3: Secondary Parent Selection
10.10.5. Retrying
10.11. How Do I ...
10.11.1. Send All Requests Through Another Proxy?
10.11.2. Send All Requests Through Another Proxy Unless It's Down?
10.11.3. Make Sure Squid Doesn't Use Neighbors for Some Requests?
10.11.4. Send Some Requests Through a Parent to Bypass Local Filters?
10.12. Exercises
11. Redirectors
11.1. The Redirector Interface
11.1.1. Handling URIs That Contain Whitespace
11.1.2. Generating HTTP Redirect Messages
11.2. Some Sample Redirectors
11.3. The Redirector Pool
11.4. Configuring Squid
11.4.1. redirect_program
11.4.2. redirect_children
11.4.3. redirect_rewrites_host_header
11.4.4. redirector_access
11.4.5. redirector_bypass
11.5. Popular Redirectors
11.5.1. Squirm
11.5.2. Jesred
11.5.3. squidGuard
11.5.4. AdZapper
11.6. Exercises