Squid: The Definitive Guide: The Definitive Guide

Squid is the most popular Web caching software in use today, and it works on a variety of platforms including Linux, FreeBSD, and Windows. Squid improves network performance by reducing the amount of bandwidth used when surfing the Web. It makes web pages load faster and can even reduce the load on your web server. By caching and reusing popular web content, Squid allows you to get by with smaller network connections. It also protects the host on your internal network by acting as a firewall and proxying your internal web traffic. You can use Squid to collect statistics about the traffic on your network, prevent users from visiting inappropriate web sites at work or school, ensure that only authorized users can surf the Internet, and enhance your privacy by filtering sensitive information from web requests. Companies, schools, libraries, and organizations that use web-caching proxies can look forward to a multitude of benefits.Written by Duane Wessels, the creator of Squid, Squid: The Definitive Guide will help you configure and tune Squid for your particular situation. Newcomers to Squid will learn how to download, compile, and install code. Seasoned users of Squid will be interested in the later chapters, which tackle advanced topics such as high-performance storage options, rewriting requests, HTTP server acceleration, monitoring, debugging, and troubleshooting Squid.Topics covered include:

  • Compiling and installing Squid
  • Running Squid
  • Using Squid's sophisticated access controls
  • Tuning disk storage for optimal performance
  • Configuring your operating system for HTTP interception
  • Forwarding Requests to other web caches
  • Using redirectors to rewrite user requests
  • Monitoring Squid with the cache manager and SNMP
  • Using Squid to accelerate and protect HTTP servers
  • Managing bandwidth consumption with Delay Pools
1110828224
Squid: The Definitive Guide: The Definitive Guide

Squid is the most popular Web caching software in use today, and it works on a variety of platforms including Linux, FreeBSD, and Windows. Squid improves network performance by reducing the amount of bandwidth used when surfing the Web. It makes web pages load faster and can even reduce the load on your web server. By caching and reusing popular web content, Squid allows you to get by with smaller network connections. It also protects the host on your internal network by acting as a firewall and proxying your internal web traffic. You can use Squid to collect statistics about the traffic on your network, prevent users from visiting inappropriate web sites at work or school, ensure that only authorized users can surf the Internet, and enhance your privacy by filtering sensitive information from web requests. Companies, schools, libraries, and organizations that use web-caching proxies can look forward to a multitude of benefits.Written by Duane Wessels, the creator of Squid, Squid: The Definitive Guide will help you configure and tune Squid for your particular situation. Newcomers to Squid will learn how to download, compile, and install code. Seasoned users of Squid will be interested in the later chapters, which tackle advanced topics such as high-performance storage options, rewriting requests, HTTP server acceleration, monitoring, debugging, and troubleshooting Squid.Topics covered include:

  • Compiling and installing Squid
  • Running Squid
  • Using Squid's sophisticated access controls
  • Tuning disk storage for optimal performance
  • Configuring your operating system for HTTP interception
  • Forwarding Requests to other web caches
  • Using redirectors to rewrite user requests
  • Monitoring Squid with the cache manager and SNMP
  • Using Squid to accelerate and protect HTTP servers
  • Managing bandwidth consumption with Delay Pools
19.99 In Stock
Squid: The Definitive Guide: The Definitive Guide

Squid: The Definitive Guide: The Definitive Guide

by Wessels
Squid: The Definitive Guide: The Definitive Guide

Squid: The Definitive Guide: The Definitive Guide

by Wessels

eBook

$19.99  $35.99 Save 44% Current price is $19.99, Original price is $35.99. You Save 44%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Squid is the most popular Web caching software in use today, and it works on a variety of platforms including Linux, FreeBSD, and Windows. Squid improves network performance by reducing the amount of bandwidth used when surfing the Web. It makes web pages load faster and can even reduce the load on your web server. By caching and reusing popular web content, Squid allows you to get by with smaller network connections. It also protects the host on your internal network by acting as a firewall and proxying your internal web traffic. You can use Squid to collect statistics about the traffic on your network, prevent users from visiting inappropriate web sites at work or school, ensure that only authorized users can surf the Internet, and enhance your privacy by filtering sensitive information from web requests. Companies, schools, libraries, and organizations that use web-caching proxies can look forward to a multitude of benefits.Written by Duane Wessels, the creator of Squid, Squid: The Definitive Guide will help you configure and tune Squid for your particular situation. Newcomers to Squid will learn how to download, compile, and install code. Seasoned users of Squid will be interested in the later chapters, which tackle advanced topics such as high-performance storage options, rewriting requests, HTTP server acceleration, monitoring, debugging, and troubleshooting Squid.Topics covered include:

  • Compiling and installing Squid
  • Running Squid
  • Using Squid's sophisticated access controls
  • Tuning disk storage for optimal performance
  • Configuring your operating system for HTTP interception
  • Forwarding Requests to other web caches
  • Using redirectors to rewrite user requests
  • Monitoring Squid with the cache manager and SNMP
  • Using Squid to accelerate and protect HTTP servers
  • Managing bandwidth consumption with Delay Pools

Product Details

ISBN-13: 9780596550530
Publisher: O'Reilly Media, Incorporated
Publication date: 01/22/2004
Series: Definitive Guides
Sold by: Barnes & Noble
Format: eBook
Pages: 466
File size: 3 MB

About the Author

Duane Wessels became interested in web caching in 1994 as a topic for his master's thesis in telecommunications at the University of Colorado, Boulder. He worked with members of the Harvest research project to develop web caching software. After the departure of other members to industry jobs, he continued the software development under the name Squid. Another significant part of Duane's research with the National Laboratory for Applied Network Research has been the operation of 6 to 8 large caches throughout the U.S. These caches receive requests from hundreds of other caches, all connected in a "global cache mesh."

Table of Contents

Prefacexiii
1.Introduction1
Web Caching2
A Brief History of Squid3
Hardware and Operating System Requirements4
Squid Is Open Source5
Squid's Home on the Web5
Getting Help5
Getting Started with Squid7
Exercises8
2.Getting Squid9
Versions and Releases9
Use the Source, Luke10
Precompiled Binaries11
Anonymous CVS11
devel.squid-cache.org12
Exercises12
3.Compiling and Installing13
Before You Start13
Unpacking the Source14
Pretuning Your Kernel14
The configure Script18
Make27
Make Install29
Applying a Patch32
Running configure Later33
Exercises34
4.Configuration Guide for the Eager35
The squid.conf Syntax35
User IDs37
Port Numbers38
Log File Pathnames38
Access Controls39
Visible Hostname40
Administrative Contact Information42
Next Steps42
Exercises42
5.Running Squid43
Squid Command-Line Options43
Check Your Configuration File for Errors45
Initializing Cache Directories46
Testing Squid in a Terminal Window46
Running Squid as a Daemon Process47
Boot Scripts48
A chroot Environment50
Stopping Squid51
Reconfiguring a Running Squid Process52
Rotating the Log Files53
Exercises53
6.All About Access Controls54
Access Control Elements54
Access Control Rules78
Common Scenarios85
Testing Access Controls91
Exercises92
7.Disk Cache Basics93
The cache_dir Directive94
Disk Space Watermarks99
Object Size Limits99
Allocating Objects to Cache Directories100
Replacement Policies101
Removing Cached Objects102
refresh_pattern104
Exercises106
8.Advanced Disk Cache Topics108
Do I Have a Disk I/O Bottleneck?108
Filesystem Tuning Options110
Alternative Filesystems111
The aufs Storage Scheme112
The diskd Storage Scheme115
The coss Storage Scheme119
The null Storage Scheme122
Which Is Best for Me?122
Exercises123
9.Interception Caching124
How It Works124
Why (Not) Intercept?127
The Network Device130
Operating System Tweaks141
Configure Squid146
Debugging Problems148
Exercises151
10.Talking to Other Squids152
Some Terminology152
Why (Not) Use a Hierarchy?153
Telling Squid About Your Neighbors155
Restricting Requests to Neighbors159
The Network Measurement Database162
Internet Cache Protocol164
Cache Digests172
Hypertext Caching Protocol174
Cache Array Routing Protocol176
Putting It All Together178
How Do I ...182
Exercises183
11.Redirectors185
The Redirector Interface186
Some Sample Redirectors187
The Redirector Pool189
Configuring Squid190
Popular Redirectors192
Exercises193
12.Authentication Helpers194
Configuring Squid195
HTTP Basic Authentication195
HTTP Digest Authentication201
Microsoft NTLM Authentication204
External ACLs207
Exercises210
13.Log Files211
cache.log212
access.log215
store.log227
referer.log231
useragent.log232
swap.state233
Rotating the Log Files235
Privacy and Security236
Exercises236
14.Monitoring Squid237
cache.log Warnings237
The Cache Manager239
Using SNMP290
Exercises301
15.Server Accelerator Mode302
Overview303
Configuring Squid304
Gee, That Was Confusing!308
Access Controls310
Content Negotiation311
Gotchas312
Exercises314
16.Debugging and Troubleshooting315
Some Common Problems315
Debugging via cache.log319
Core Dumps, Assertions, and Stack Traces323
Replicating Problems326
Reporting a Bug329
Exercises329
A.Config File Reference331
B.The Memory Cache399
C.Delay Pools401
D.Filesystem Performance Benchmarks407
E.Squid on Windows418
F.Configuring Squid Clients421
Index433
From the B&N Reads Blog

Customer Reviews