File: FAQ.html

package info (click to toggle)
squid 1.1.21-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,828 kB
  • ctags: 3,705
  • sloc: ansic: 34,400; sh: 1,975; perl: 899; makefile: 559
file content (255 lines) | stat: -rw-r--r-- 15,226 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255










<HTML>
<HEAD>
<TITLE>SQUID Frequently Asked Questions</TITLE>
</HEAD>
<BODY>
Previous
<A HREF="FAQ-1.html">Next</A>
Table of Contents
<HR>
<H1>SQUID Frequently Asked Questions</H1>

<H2>Duane Wessels, <CODE>wessels@nlanr.net</CODE></H2>
<P><HR><EM>Frequently Asked Questions (with answers!) about the Squid Internet
Object Cache software.</EM><HR></P>
<P>
<H2><A NAME="toc1">1.</A> <A HREF="FAQ-1.html">About Squid, this FAQ, and other Squid information resources</A></H2>
<UL>
<LI><A HREF="FAQ-1.html#ss1.1">1.1 What is Squid?</A>
<LI><A HREF="FAQ-1.html#ss1.2">1.2 What is Internet object caching?</A>
<LI><A HREF="FAQ-1.html#ss1.3">1.3 Why is it called Squid?</A>
<LI><A HREF="FAQ-1.html#ss1.4">1.4 What is the latest version of Squid?</A>
<LI><A HREF="FAQ-1.html#ss1.5">1.5 Who is responsible for Squid?</A>
<LI><A HREF="FAQ-1.html#ss1.6">1.6 Where can I get Squid?</A>
<LI><A HREF="FAQ-1.html#ss1.7">1.7 What Squid mailing lists are available?</A>
<LI><A HREF="FAQ-1.html#ss1.8">1.8 What Squid web pages are available?</A>
<LI><A HREF="FAQ-1.html#ss1.9">1.9 Does Squid support SSL?</A>
<LI><A HREF="FAQ-1.html#ss1.10">1.10 What's the legal status of Squid?</A>
<LI><A HREF="FAQ-1.html#ss1.11">1.11 Squid FAQ contributors</A>
<LI><A HREF="FAQ-1.html#ss1.12">1.12 About This Doument</A>
</UL>

<P>
<H2><A NAME="toc2">2.</A> <A HREF="FAQ-2.html">Installation</A></H2>
<UL>
<LI><A HREF="FAQ-2.html#ss2.1">2.1 Which file do I download to get Squid?</A>
<LI><A HREF="FAQ-2.html#ss2.2">2.2 How do I install Squid?</A>
<LI><A HREF="FAQ-2.html#ss2.3">2.3 What Operating Systems does Squid support?</A>
<LI><A HREF="FAQ-2.html#ss2.4">2.4 What does the <EM>squid.conf</EM> file do?</A>
<LI><A HREF="FAQ-2.html#ss2.5">2.5 Do you have a <EM>squid.conf</EM> example?</A>
<LI><A HREF="FAQ-2.html#ss2.6">2.6 How do I start Squid?</A>
<LI><A HREF="FAQ-2.html#ss2.7">2.7 How do I start Squid automatically when the system boots?</A>
<LI><A HREF="FAQ-2.html#ss2.8">2.8 How do I tell if Squid is running?</A>
<LI><A HREF="FAQ-2.html#ss2.9">2.9 How do I apply a patch or a diff?</A>
</UL>

<P>
<H2><A NAME="toc3">3.</A> <A HREF="FAQ-3.html">Compiling</A></H2>
<UL>
<LI><A HREF="FAQ-3.html#ss3.1">3.1 src/Makefile options</A>
<LI><A HREF="FAQ-3.html#ss3.2">3.2 undefined reference to __inet_ntoa</A>
<LI><A HREF="FAQ-3.html#ss3.3">3.3 Using GNU malloc</A>
<LI><A HREF="FAQ-3.html#ss3.4">3.4 How can I get true DNS TTL info into Squid's IP cache?</A>
<LI><A HREF="FAQ-3.html#ss3.5">3.5 My platform is BSD/OS or BSDI and I can't compile Squid</A>
<LI><A HREF="FAQ-3.html#ss3.6">3.6 Problems compiling <EM>libmiscutil.a</EM> on Solaris</A>
</UL>

<P>
<H2><A NAME="toc4">4.</A> <A HREF="FAQ-4.html">Configuration issues</A></H2>
<UL>
<LI><A HREF="FAQ-4.html#ss4.1">4.1 How do I join a cache hierarchy?</A>
<LI><A HREF="FAQ-4.html#ss4.2">4.2 How do I join NLANR's cache hierarchy?</A>
<LI><A HREF="FAQ-4.html#ss4.3">4.3 Why should I want to join NLANR's cache hierarchy?</A>
<LI><A HREF="FAQ-4.html#ss4.4">4.4 How do I register my cache with NLANR's registration service?</A>
<LI><A HREF="FAQ-4.html#ss4.5">4.5 How do I find other caches close to me and arrange parent/child/sibling relationships with them?</A>
<LI><A HREF="FAQ-4.html#ss4.6">4.6 My cache registration is not appearing in the Tracker database.</A>
<LI><A HREF="FAQ-4.html#ss4.7">4.7 What is the httpd-accelerator mode?</A>
<LI><A HREF="FAQ-4.html#ss4.8">4.8 How do I configure Squid to work behind a firewall?</A>
<LI><A HREF="FAQ-4.html#ss4.9">4.9 I have <EM>dnsserver</EM> processes that aren't being used, should I lower the number in <EM>squid.conf</EM>?</A>
<LI><A HREF="FAQ-4.html#ss4.10">4.10 Does Squid support Socks?</A>
<LI><A HREF="FAQ-4.html#ss4.11">4.11 How does Squid decide when to refresh a cached object?</A>
<LI><A HREF="FAQ-4.html#ss4.12">4.12 How can I easily change the default HTTP port?</A>
<LI><A HREF="FAQ-4.html#ss4.13">4.13 Is it possible to control how big each cache_dir is?</A>
<LI><A HREF="FAQ-4.html#ss4.14">4.14 Squid and <EM>http-gw</EM> from the TIS toolkit.</A>
<LI><A HREF="FAQ-4.html#ss4.15">4.15 What is ``HTTP_X_FORWARDED_FOR''?  Why does squid provide it to WWW servers, and how can I stop it?</A>
<LI><A HREF="FAQ-4.html#ss4.16">4.16 Can I use the redirector to return HTTP redirect messages?</A>
</UL>

<P>
<H2><A NAME="toc5">5.</A> <A HREF="FAQ-5.html">Communication between browsers and Squid</A></H2>
<UL>
<LI><A HREF="FAQ-5.html#ss5.1">5.1 Netscape manual configuration</A>
<LI><A HREF="FAQ-5.html#ss5.2">5.2 Netscape automatic configuration</A>
<LI><A HREF="FAQ-5.html#ss5.3">5.3 Lynx and Mosaic configuration</A>
<LI><A HREF="FAQ-5.html#ss5.4">5.4 Redundant Auto-Proxy-Configuration</A>
<LI><A HREF="FAQ-5.html#ss5.5">5.5 Microsoft Internet Explorer configuration</A>
<LI><A HREF="FAQ-5.html#ss5.6">5.6 Netmanage Internet Chameleon WebSurfer configuration</A>
<LI><A HREF="FAQ-5.html#ss5.7">5.7 Opera 2.12 proxy configuration</A>
<LI><A HREF="FAQ-5.html#ss5.8">5.8 How can I make my users' browsers use my cache without configuring the browsers for proxying?</A>
</UL>

<P>
<H2><A NAME="toc6">6.</A> <A HREF="FAQ-6.html">Squid Log Files</A></H2>
<UL>
<LI><A HREF="FAQ-6.html#ss6.1">6.1 <EM>access.log</EM></A>
<LI><A HREF="FAQ-6.html#ss6.2">6.2 <EM>hierarchy.log</EM></A>
<LI><A HREF="FAQ-6.html#ss6.3">6.3 <EM>store.log</EM></A>
<LI><A HREF="FAQ-6.html#ss6.4">6.4 Field Definitions</A>
<LI><A HREF="FAQ-6.html#ss6.5">6.5 Cache Result Codes</A>
<LI><A HREF="FAQ-6.html#ss6.6">6.6 Peer Status Coces</A>
<LI><A HREF="FAQ-6.html#ss6.7">6.7 HTTP status codes</A>
<LI><A HREF="FAQ-6.html#ss6.8">6.8 <EM>cache/log</EM></A>
<LI><A HREF="FAQ-6.html#ss6.9">6.9 Which log files can I delete safely?</A>
<LI><A HREF="FAQ-6.html#ss6.10">6.10 Why do I get ERR_NO_CLIENTS_BIG_OBJ messages so often?</A>
<LI><A HREF="FAQ-6.html#ss6.11">6.11 What does ERR_LIFETIME_EXP mean?</A>
<LI><A HREF="FAQ-6.html#ss6.12">6.12 Retrieving ``lost'' files from the cache</A>
</UL>

<P>
<H2><A NAME="toc7">7.</A> <A HREF="FAQ-7.html">Operational issues</A></H2>
<UL>
<LI><A HREF="FAQ-7.html#ss7.1">7.1 How do I see system level Squid statistics?</A>
<LI><A HREF="FAQ-7.html#ss7.2">7.2 How can I find the biggest objects in my cache?</A>
<LI><A HREF="FAQ-7.html#ss7.3">7.3 I want to restart Squid with a clean cache</A>
<LI><A HREF="FAQ-7.html#ss7.4">7.4 How can I proxy/cache Real Audio?</A>
<LI><A HREF="FAQ-7.html#ss7.5">7.5 How can I purge an object from my cache?</A>
<LI><A HREF="FAQ-7.html#ss7.6">7.6 Using ICMP to Measure the Network</A>
<LI><A HREF="FAQ-7.html#ss7.7">7.7 Where so few requests logged as TCP_IMS_MISS?</A>
</UL>

<P>
<H2><A NAME="toc8">8.</A> <A HREF="FAQ-8.html">The Cache Manager</A></H2>
<UL>
<LI><A HREF="FAQ-8.html#ss8.1">8.1 What is the cache manager?</A>
<LI><A HREF="FAQ-8.html#ss8.2">8.2 How do you set it up?</A>
<LI><A HREF="FAQ-8.html#ss8.3">8.3 Cache manager configuration for CERN httpd 3.0</A>
<LI><A HREF="FAQ-8.html#ss8.4">8.4 Cache manager configuration for Apache</A>
<LI><A HREF="FAQ-8.html#ss8.5">8.5 Cache manager ACLs in <EM>squid.conf</EM></A>
<LI><A HREF="FAQ-8.html#ss8.6">8.6 Why does it say I need a password and a URL?</A>
<LI><A HREF="FAQ-8.html#ss8.7">8.7 I want to shutdown the cache remotely. What's the password?</A>
<LI><A HREF="FAQ-8.html#ss8.8">8.8 How do I make the cache host default to <EM>my</EM> cache?</A>
<LI><A HREF="FAQ-8.html#ss8.9">8.9 What's the difference between Squid TCP connections and Squid UDP connections?</A>
<LI><A HREF="FAQ-8.html#ss8.10">8.10 It says the storage expiration will happen in 1970!</A>
<LI><A HREF="FAQ-8.html#ss8.11">8.11 What do the Meta Data entries mean?</A>
<LI><A HREF="FAQ-8.html#ss8.12">8.12 The pool for in-memory objects is <B>huge</B>, and it doesn't get smaller!  Is this a memory leak?</A>
<LI><A HREF="FAQ-8.html#ss8.13">8.13 The ``Total accounted'' field in the meta data isn't the same as the size of my <EM>squid</EM>!</A>
<LI><A HREF="FAQ-8.html#ss8.14">8.14 In the utilization section, what is <CODE>Other</CODE>?</A>
<LI><A HREF="FAQ-8.html#ss8.15">8.15 In the utilization section, why is the <CODE>Transfer KB/sec</CODE></A>
<LI><A HREF="FAQ-8.html#ss8.16">8.16 In the utilization section, what is the <CODE>Object Count</CODE>?</A>
<LI><A HREF="FAQ-8.html#ss8.17">8.17 In the utilization section, what is the <CODE>Max/Current/Min KB</CODE>?</A>
<LI><A HREF="FAQ-8.html#ss8.18">8.18 What is the <CODE>I/O</CODE> section about?</A>
<LI><A HREF="FAQ-8.html#ss8.19">8.19 What is the <CODE>Objects</CODE> section for?</A>
<LI><A HREF="FAQ-8.html#ss8.20">8.20 What is the <CODE>VM Objects</CODE> section for?</A>
<LI><A HREF="FAQ-8.html#ss8.21">8.21 What does <CODE>AVG RTT</CODE> mean?</A>
<LI><A HREF="FAQ-8.html#ss8.22">8.22 In the IP cache section, what's the difference between a hit, a negative hit and a miss?</A>
<LI><A HREF="FAQ-8.html#ss8.23">8.23 What do the IP cache contents mean anyway?</A>
<LI><A HREF="FAQ-8.html#ss8.24">8.24 How do I analyze memory usage from <EM>cachemgr.cgi</EM>'s output?</A>
<LI><A HREF="FAQ-8.html#ss8.25">8.25 What is the fqdncache and how is it different from the ipcache?</A>
<LI><A HREF="FAQ-8.html#ss8.26">8.26 What does ``Page faults with physical i/o: 4897'' mean?</A>
</UL>

<P>
<H2><A NAME="toc9">9.</A> <A HREF="FAQ-9.html">Access Controls</A></H2>
<UL>
<LI><A HREF="FAQ-9.html#ss9.1">9.1 How do I implement an ACL ban list?</A>
<LI><A HREF="FAQ-9.html#ss9.2">9.2 How do I block specific users or groups from accessing my cache?</A>
<LI><A HREF="FAQ-9.html#ss9.3">9.3 Is there a way to do ident lookups only for a certain host and compare the result with a userlist in squid.conf?</A>
<LI><A HREF="FAQ-9.html#ss9.4">9.4 Common Mistakes</A>
<LI><A HREF="FAQ-9.html#ss9.5">9.5 I set up my access controls, but they don't work!  why?</A>
<LI><A HREF="FAQ-9.html#ss9.6">9.6 Proxy-authentication and neighbor caches</A>
</UL>

<P>
<H2><A NAME="toc10">10.</A> <A HREF="FAQ-10.html">Troubleshooting</A></H2>
<UL>
<LI><A HREF="FAQ-10.html#ss10.1">10.1 Why am I getting ``Proxy Access Denied?''</A>
<LI><A HREF="FAQ-10.html#ss10.2">10.2 I can't get <CODE>local_domain</CODE> to work; <EM>Squid</EM> is caching the objects from my local servers.</A>
<LI><A HREF="FAQ-10.html#ss10.3">10.3 I get <CODE>Connection Refused</CODE> when the cache tries to retrieve an object located on a sibling, even though the sibling thinks it delivered the object to my cache.</A>
<LI><A HREF="FAQ-10.html#ss10.4">10.4 Running out of filedescriptors</A>
<LI><A HREF="FAQ-10.html#ss10.5">10.5 My <EM>squid</EM> dies periodically, and I see log entries complaining about being unable to <CODE>malloc(3)</CODE> more memory, but my system has lots of RAM available!</A>
<LI><A HREF="FAQ-10.html#ss10.6">10.6 What are these strange lines about removing objects?</A>
<LI><A HREF="FAQ-10.html#ss10.7">10.7 Can I change a Windows NT FTP server to list directories in Unix format?</A>
<LI><A HREF="FAQ-10.html#ss10.8">10.8 Why does Squid use so much memory!?</A>
<LI><A HREF="FAQ-10.html#ss10.9">10.9 Why am I getting ``Ignoring MISS from non-peer x.x.x.x?''</A>
<LI><A HREF="FAQ-10.html#ss10.10">10.10 DNS lookups for domain names with underscores (_) always fail.</A>
<LI><A HREF="FAQ-10.html#ss10.11">10.11 Why am I getting access denied from a sibling cache?</A>
<LI><A HREF="FAQ-10.html#ss10.12">10.12 Cannot bind socket FD NN to *:8080 (125) Address already in use</A>
<LI><A HREF="FAQ-10.html#ss10.13">10.13 icpDetectClientClose: ERROR xxx.xxx.xxx.xxx: (32) Broken pipe</A>
<LI><A HREF="FAQ-10.html#ss10.14">10.14 icpDetectClientClose: FD 135, 255 unexpected bytes</A>
<LI><A HREF="FAQ-10.html#ss10.15">10.15 How come Squid doesn't work with NTLM Authorization.</A>
<LI><A HREF="FAQ-10.html#ss10.16">10.16 The <EM>default</EM> parent option isn't working!</A>
<LI><A HREF="FAQ-10.html#ss10.17">10.17 ``Hot Mail'' complains about: Intrusion Logged. Access denied.</A>
<LI><A HREF="FAQ-10.html#ss10.18">10.18 My Squid becomes very slow after it has been running for some time.</A>
<LI><A HREF="FAQ-10.html#ss10.19">10.19 WARNING: Failed to start 'dnsserver'</A>
<LI><A HREF="FAQ-10.html#ss10.20">10.20 Sending in Squid bug reports</A>
<LI><A HREF="FAQ-10.html#ss10.21">10.21 fork: (12) Cannot allocate memory</A>
<LI><A HREF="FAQ-10.html#ss10.22">10.22 FATAL: ipcache_init: DNS name lookup tests failed</A>
<LI><A HREF="FAQ-10.html#ss10.23">10.23 FATAL: Failed to make swap directory /var/spool/cache: (13) Permission denied</A>
<LI><A HREF="FAQ-10.html#ss10.24">10.24 You need to recompile with a larger value for MAX_SWAP_FILE</A>
<LI><A HREF="FAQ-10.html#ss10.25">10.25 When using a username and password, I can not access some files.</A>
</UL>

<P>
<H2><A NAME="toc11">11.</A> <A HREF="FAQ-11.html">How does Squid work?</A></H2>
<UL>
<LI><A HREF="FAQ-11.html#ss11.1">11.1 What are cachable objects?</A>
<LI><A HREF="FAQ-11.html#ss11.2">11.2 What is the ICP protocol?</A>
<LI><A HREF="FAQ-11.html#ss11.3">11.3 What is the <EM>dnsserver</EM>?</A>
<LI><A HREF="FAQ-11.html#ss11.4">11.4 What is the <EM>ftpget</EM> program for?</A>
<LI><A HREF="FAQ-11.html#ss11.5">11.5 FTP PUT's don't work;</A>
<LI><A HREF="FAQ-11.html#ss11.6">11.6 What is a cache hierarchy?  What are parents and siblings?</A>
<LI><A HREF="FAQ-11.html#ss11.7">11.7 What is the Squid cache resolution algorithm?</A>
<LI><A HREF="FAQ-11.html#ss11.8">11.8 What features are Squid developers currently working on?</A>
<LI><A HREF="FAQ-11.html#ss11.9">11.9 Tell me more about Internet traffic workloads</A>
<LI><A HREF="FAQ-11.html#ss11.10">11.10 What are the tradeoffs of caching with the NLANR cache system?</A>
<LI><A HREF="FAQ-11.html#ss11.11">11.11 Where can I find out more about firewalls?</A>
<LI><A HREF="FAQ-11.html#ss11.12">11.12 What is the ``Storage LRU Expiration Age?''</A>
<LI><A HREF="FAQ-11.html#ss11.13">11.13 What is ``Failure Ratio at 1.01; Going into hit-only-mode for 5 minutes''?</A>
<LI><A HREF="FAQ-11.html#ss11.14">11.14 Does squid perodically re-read its configuration file?</A>
<LI><A HREF="FAQ-11.html#ss11.15">11.15 How does <EM>unlinkd</EM> work?</A>
</UL>

<P>
<H2><A NAME="toc12">12.</A> <A HREF="FAQ-12.html">Multicast</A></H2>
<UL>
<LI><A HREF="FAQ-12.html#ss12.1">12.1 What is Multicast?</A>
<LI><A HREF="FAQ-12.html#ss12.2">12.2 How do I know if I'm on the Mbone?</A>
<LI><A HREF="FAQ-12.html#ss12.3">12.3 Should I be using Multicast ICP?</A>
<LI><A HREF="FAQ-12.html#ss12.4">12.4 How do I configure Squid to send Multicast ICP queries?</A>
<LI><A HREF="FAQ-12.html#ss12.5">12.5 How do I know what Multicast TTL to use?</A>
<LI><A HREF="FAQ-12.html#ss12.6">12.6 How do I configure Squid to receive and respond to Multicast ICP?</A>
</UL>

<P>
<H2><A NAME="toc13">13.</A> <A HREF="FAQ-13.html">System-Dependent Wierdnesses</A></H2>
<UL>
<LI><A HREF="FAQ-13.html#ss13.1">13.1 Solaris</A>
<LI><A HREF="FAQ-13.html#ss13.2">13.2 FreeBSD</A>
<LI><A HREF="FAQ-13.html#ss13.3">13.3 OSF1/3.2</A>
<LI><A HREF="FAQ-13.html#ss13.4">13.4 BSD/OS</A>
<LI><A HREF="FAQ-13.html#ss13.5">13.5 Linux</A>
</UL>

<P>
<H2><A NAME="toc14">14.</A> <A HREF="FAQ-14.html">Terms and Definitions</A></H2>
<UL>
<LI><A HREF="FAQ-14.html#ss14.1">14.1 Neighbor</A>
</UL>


<HR>
Previous
<A HREF="FAQ-1.html">Next</A>
Table of Contents
</BODY>
</HTML>