Squid: The Definitive Guide (Paperback)

Duane Wessels

  • 出版商: O'Reilly
  • 出版日期: 2004-03-02
  • 定價: $1,488
  • 售價: 9.5$1,414
  • 貴賓價: 9.0$1,339
  • 語言: 英文
  • 頁數: 472
  • 裝訂: Paperback
  • ISBN: 0596001622
  • ISBN-13: 9780596001629
  • 相關分類: BSDLinux
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

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

Table of Contents

Preface

1. Introduction
     Web Caching
     A Brief History of Squid
     Hardware and Operating System Requirements
     Squid Is Open Source
     Squid's Home on the Web
     Getting Help
     Getting Started with Squid
     Exercises

2. Getting Squid
     Versions and Releases
     Use the Source, Luke
     Precompiled Binaries
     Anonymous CVS
     devel.squid-cache.org
     Exercises

3. Compiling and Installing
     Before You Start
     Unpacking the Source
     Pretuning Your Kernel
     The configure Script
     make
     make Install
     Applying a Patch
     Running configure Later
     Exercises

4. Configuration Guide for the Eager
     The squid.conf Syntax
     User IDs
     Port Numbers
     Log File Pathnames
     Access Controls
     Visible Hostname
     Administrative Contact Information
     Next Steps
     Exercises

5. Running Squid
     Squid Command-Line Options
     Check Your Configuration File for Errors
     Initializing Cache Directories
     Testing Squid in a Terminal Window
     Running Squid as a Daemon Process
     Boot Scripts
     A chroot Environment
     Stopping Squid
     Reconfiguring a Running Squid Process
     Rotating the Log Files
     Exercises

6. All About Access Controls
     Access Control Elements
     Access Control Rules
     Common Scenarios
     Testing Access Controls
     Exercises

7. Disk Cache Basics
     The cache_dir Directive
     Disk Space Watermarks
     Object Size Limits
     Allocating Objects to Cache Directories
     Replacement Policies
     Removing Cached Objects
     refresh_pattern
     Exercises

8. Advanced Disk Cache Topics
     Do I Have a Disk I/O Bottleneck?
     Filesystem Tuning Options
     Alternative Filesystems
     The aufs Storage Scheme
     The diskd Storage Scheme
     The coss Storage Scheme
     The null Storage Scheme
     Which Is Best for Me?
     Exercises

9. Interception Caching
     How It Works
     Why (Not) Intercept?
     The Network Device
     Operating System Tweaks
     Configure Squid
     Debugging Problems
     Exercises

10. Talking to Other Squids
     Some Terminology
     Why (Not) Use a Hierarchy?
     Telling Squid About Your Neighbors
     Restricting Requests to Neighbors
     The Network Measurement Database
     Internet Cache Protocol
     Cache Digests
     Hypertext Caching Protocol
     Cache Array Routing Protocol
     Putting It All Together
     How Do I ...
     Exercises

11. Redirectors
     The Redirector Interface
     Some Sample Redirectors
     The Redirector Pool
     Configuring Squid
     Popular Redirectors
     Exercises

12. Authentication Helpers
     Configuring Squid
     HTTP Basic Authentication
     HTTP Digest Authentication
     Microsoft NTLM Authentication
     External ACLs
     Exercises

13. Log Files
     cache.log
     access.log
     store.log
     referer.log
     useragent.log
     swap.state
     Rotating the Log Files
     Privacy and Security
     Exercises

14. Monitoring Squid
     cache.log Warnings
     The Cache Manager
     Using SNMP
     Exercises

15. Server Accelerator Mode
     Overview
     Configuring Squid
     Gee, That Was Confusing!
     Access Controls
     Content Negotiation
     Gotchas
     Exercises

16. Debugging and Troubleshooting
     Some Common Problems
     Debugging via cache.log
     Core Dumps, Assertions, and Stack Traces
     Replicating Problems
     Reporting a Bug
     Exercises

A. Config File Reference

B. The Memory Cache

C. Delay Pools

D. Filesystem Performance Benchmarks

E. Squid on Windows

F. Configuring Squid Clients

Index

商品描述(中文翻譯)

Squid是目前最受歡迎的網頁快取軟體,可在多種平台上運行,包括Linux、FreeBSD和Windows。Squid通過減少瀏覽網頁時使用的頻寬量來提高網絡性能。它可以加快網頁加載速度,甚至可以減輕網頁伺服器的負載。通過快取和重複使用熱門網頁內容,Squid可以使用較小的網絡連接。它還通過充當防火牆和代理內部網絡的網絡主機來保護內部網絡上的主機。您可以使用Squid收集有關網絡流量的統計數據,防止用戶在工作或學校訪問不適當的網站,確保只有授權用戶可以瀏覽互聯網,並通過過濾敏感信息來增強您的隱私。使用網頁快取代理的公司、學校、圖書館和組織可以期待到多種好處。

《Squid: The Definitive Guide》是由Squid的創作者Duane Wessels撰寫的,將幫助您根據您的特定情況配置和調整Squid。對於初次接觸Squid的新手,將學習如何下載、編譯和安裝代碼。熟練使用Squid的用戶將對後面的章節感興趣,這些章節涉及高性能存儲選項、重寫請求、HTTP服務器加速、監控、調試和故障排除Squid等高級主題。

涵蓋的主題包括:
- 編譯和安裝Squid
- 運行Squid
- 使用Squid的複雜訪問控制
- 調整磁盤存儲以獲得最佳性能
- 配置操作系統以進行HTTP攔截
- 將請求轉發到其他網頁快取
- 使用重定向器重寫用戶請求
- 使用緩存管理器和SNMP監控Squid
- 使用Squid加速和保護HTTP服務器
- 使用延遲池管理帶寬消耗

目錄包括:
- 前言
- 第1章:介紹
- 第2章:獲取Squid
- 第3章:編譯和安裝
- 第4章:快速配置指南
- 第5章:運行Squid