]>
Commit | Line | Data |
---|---|---|
83915266 AJ |
1 | .if !'po4a'hide' .TH squid 8 |
2 | . | |
3 | .SH NAME | |
dd90f42f | 4 | squid \- HTTP web proxy caching server |
83915266 AJ |
5 | . |
6 | .SH SYNOPSIS | |
7 | .if !'po4a'hide' .B squid | |
8 | .if !'po4a'hide' .B [\-dhisrvzCFNRSVYX] | |
b803c23a | 9 | .if !'po4a'hide' .B [\--foreground] |
83915266 AJ |
10 | .if !'po4a'hide' .B [\-l |
11 | facility | |
12 | .if !'po4a'hide' .B ] [\-f | |
13 | config\-file | |
14 | .if !'po4a'hide' .B ] [\-[au] | |
15 | port | |
16 | .if !'po4a'hide' .B ] [\-k | |
17 | signal | |
18 | .if !'po4a'hide' .B ] [\-n | |
19 | service\-name | |
20 | .if !'po4a'hide' .B ] [\-O | |
21 | command\-line | |
22 | .if !'po4a'hide' .B ] | |
23 | . | |
24 | .SH DESCRIPTION | |
25 | .PP | |
26 | .B squid | |
27 | is a high\-performance proxy caching server for web clients, | |
28 | supporting FTP, gopher, ICAP, ICP, HTCP and HTTP data objects. | |
29 | Unlike traditional caching software, | |
30 | Squid handles all requests in a single, non-blocking process. | |
31 | .PP | |
32 | Squid keeps meta data and especially hot objects cached in RAM, | |
33 | caches DNS lookups, supports non\-blocking DNS lookups, and implements | |
34 | negative caching of failed requests. | |
35 | .PP | |
36 | Squid supports SSL, extensive access controls, and full request logging. | |
37 | By using the lightweight Internet Cache Protocols ICP, HTCP or CARP, | |
38 | Squid caches can be arranged in a hierarchy or mesh for additional | |
39 | bandwidth savings. | |
40 | .PP | |
41 | Squid consists of a main server program | |
42 | .B squid | |
43 | , some optional programs for | |
44 | custom processing and authentication, and some management and client | |
45 | tools. When squid starts up, it spawns a configurable number of | |
46 | helper processes, each of which can perform parallel lookups. | |
47 | This reduces the amount of time the cache waits for results. | |
48 | .PP | |
49 | Squid is derived from the ARPA\-funded Harvest Project. | |
50 | .PP | |
51 | This manual page only lists the command line arguments. | |
52 | For details on how to configure Squid see the file | |
53 | .BI @SYSCONFDIR@/squid.conf.documented, | |
54 | the Squid wiki FAQ and examples at http://wiki.squid-cache.org/ , | |
55 | or the configuration manual on the Squid home page | |
56 | .if !'po4a'hide' http://www.squid-cache.org/Doc/config/ | |
57 | . | |
58 | .SH OPTIONS | |
59 | .if !'po4a'hide' .TP 12 | |
60 | .if !'po4a'hide' .B "\-a port" | |
61 | Specify HTTP port number where Squid should listen for requests, in addition to any | |
62 | .B http_port | |
63 | specifications in | |
64 | .B squid.conf | |
65 | . | |
66 | .if !'po4a'hide' .TP | |
67 | .if !'po4a'hide' .B \-C | |
68 | Do not catch fatal signals. | |
69 | . | |
70 | .if !'po4a'hide' .TP | |
71 | .if !'po4a'hide' .B "\-d level" | |
72 | Write debugging to stderr also. | |
73 | . | |
74 | .if !'po4a'hide' .TP | |
75 | .if !'po4a'hide' .B "\-f file" | |
76 | Use the given config-file instead of | |
77 | .B @SYSCONFDIR@/squid.conf . | |
78 | If the file name starts with a | |
79 | .B ! | |
80 | or | |
81 | .B | | |
82 | then it is assumed to be an external command or command line. | |
83 | Can for example be used to pre\-process the configuration before it is being read by Squid. | |
84 | To facilitate this Squid also understands the common #line notion to indicate the real source file. | |
85 | . | |
86 | .if !'po4a'hide' .TP | |
87 | .if !'po4a'hide' .B \-F | |
88 | Don't serve any requests until store is rebuilt. | |
89 | . | |
90 | .if !'po4a'hide' .TP | |
91 | .if !'po4a'hide' .B \-h | |
92 | Print help message. | |
93 | . | |
94 | .if !'po4a'hide' .TP | |
95 | .if !'po4a'hide' .B \-i | |
96 | Install as a Windows Service (see | |
97 | .B \-n | |
98 | option). | |
99 | . | |
100 | .if !'po4a'hide' .TP | |
101 | .if !'po4a'hide' .B "\-k reconfigure | rotate | shutdown | interrupt | kill | debug | check | parse" | |
102 | Parse configuration file, then send signal to running copy | |
103 | (except | |
104 | .B "\-k parse" | |
105 | ) and exit. | |
106 | . | |
107 | .if !'po4a'hide' .TP | |
108 | .if !'po4a'hide' .B "\-l facility" | |
e1b65506 | 109 | Use specified syslog facility. Implies |
83915266 AJ |
110 | .B \-s |
111 | . | |
112 | .if !'po4a'hide' .TP | |
113 | .if !'po4a'hide' .B "\-n name" | |
114 | Specify Windows Service name to use for service operations, default is: | |
115 | .B Squid | |
116 | . | |
117 | .if !'po4a'hide' .TP | |
118 | .if !'po4a'hide' .B \-N | |
119 | No daemon mode. | |
120 | . | |
121 | .if !'po4a'hide' .TP | |
effda67e MM |
122 | .if !'po4a'hide' .B \--foreground |
123 | Parent process does not exit until its children have finished. It has no effect with | |
124 | .B \-N | |
125 | which does not fork/exit at startup. | |
126 | . | |
127 | .if !'po4a'hide' .TP | |
28bca1f7 EB |
128 | .if !'po4a'hide' .B "\--kid roleID" |
129 | Play a given SMP kid process role, with a given ID. Do not use | |
130 | this option. It is meant for the master process use only. | |
131 | . | |
132 | .if !'po4a'hide' .TP | |
83915266 AJ |
133 | .if !'po4a'hide' .B "\-O options" |
134 | Set Windows Service Command line options in Registry. | |
135 | . | |
136 | .if !'po4a'hide' .TP | |
137 | .if !'po4a'hide' .B \-r | |
138 | Remove a Windows Service (see | |
139 | .B \-n | |
140 | option). | |
141 | . | |
142 | .if !'po4a'hide' .TP | |
143 | .if !'po4a'hide' .B \-R | |
144 | Do not set | |
145 | .B REUSEADDR | |
146 | on port. | |
147 | . | |
148 | .if !'po4a'hide' .TP | |
149 | .if !'po4a'hide' .B \-s | |
150 | Enable logging to syslog. Also configurable in | |
151 | .BI @SYSCONFDIR@/squid.conf | |
152 | . | |
153 | .if !'po4a'hide' .TP | |
154 | .if !'po4a'hide' .B \-S | |
155 | Double-check swap during rebuild. | |
156 | . | |
157 | .if !'po4a'hide' .TP | |
158 | .if !'po4a'hide' .B "\-u port" | |
159 | Specify ICP port number (default: 3130), disable with 0. | |
160 | . | |
161 | .if !'po4a'hide' .TP | |
162 | .if !'po4a'hide' .B \-v | |
163 | Print version and build details. | |
164 | . | |
165 | .if !'po4a'hide' .TP | |
166 | .if !'po4a'hide' .B \-X | |
167 | Force full debugging. | |
168 | . | |
169 | .if !'po4a'hide' .TP | |
170 | .if !'po4a'hide' .B \-Y | |
171 | Only return | |
172 | .B UDP_HIT | |
173 | or | |
174 | .B UDP_MISS_NOFETCH | |
175 | during fast reload. | |
176 | . | |
177 | .if !'po4a'hide' .TP | |
178 | .if !'po4a'hide' .B \-z | |
04632397 AR |
179 | Create missing swap directories and other missing cache_dir structures, |
180 | then exit. All cache_dir types create the configured top-level directory if | |
181 | it is missing. Other actions are type-specific. For example, ufs-based | |
182 | storage systems create missing L1 and L2 directories while Rock creates | |
183 | the missing database file. | |
184 | .IP | |
185 | This option does not enable validation of any present swap structures. Its | |
186 | focus is on creation of missing pieces. If nothing is missing, squid -z | |
187 | just exits. If you suspect cache_dir corruption, you must delete the top-level | |
188 | cache_dir directory before running squid -z. | |
189 | .IP | |
190 | By default, squid -z runs in daemon mode (so that configuration macros and | |
b803c23a MM |
191 | other SMP features work as expected), returning control to the caller |
192 | before cache_dirs are fully initialized. If run from init scripts or | |
193 | daemon managers, the caller often needs to wait for the initialization to | |
194 | complete before proceeding further. | |
195 | Use | |
196 | .B \--foreground | |
197 | option to prevent premature exits. To disable daemon mode, use | |
04632397 | 198 | .B \-N |
b803c23a | 199 | option. |
83915266 AJ |
200 | . |
201 | .SH FILES | |
202 | Squid configuration files located in @SYSCONFDIR@/: | |
203 | . | |
204 | .if !'po4a'hide' .IP "squid.conf" | |
205 | The main configuration file. You must initially make changes to this file for | |
206 | .B squid | |
e1b65506 AJ |
207 | to work. For example, the default configuration only allows access from RFC private LAN networks. |
208 | Some packaging distributions block even that. | |
83915266 AJ |
209 | . |
210 | .if !'po4a'hide' .IP "squid.conf.default" | |
211 | Reference copy of the configuration file. Always kept up to date with | |
212 | the version of Squid you are using. | |
213 | .IP | |
214 | Use this to look up the default configuration settings and syntax after upgrading. | |
215 | . | |
216 | .if !'po4a'hide' .IP "squid.conf.documented" | |
217 | Reference copy of the configuration file. Always kept up to date with | |
218 | the version of Squid you are using. | |
219 | .IP | |
220 | Use this to read the documentation for configuration options available in | |
221 | your build of Squid. The online configuration manual is also available for | |
222 | a full reference of options. | |
223 | .BR see http://www.squid-cache.org/Doc/config/ | |
224 | . | |
225 | .if !'po4a'hide' .IP "cachemgr.conf" | |
226 | The main configuration file for the web | |
227 | .B cachemgr.cgi | |
228 | tools. | |
229 | . | |
230 | .if !'po4a'hide' .IP "msntauth.conf" | |
231 | The main configuration file for the Sample MSNT authenticator. | |
232 | . | |
233 | .if !'po4a'hide' .IP "errorpage.css" | |
234 | CSS Stylesheet to control the display of generated error pages. | |
235 | Use this to set any company branding you need, it will apply to every | |
236 | language Squid provides error pages for. | |
237 | .PP | |
238 | .br | |
239 | Some files also located elsewhere: | |
240 | . | |
241 | .if !'po4a'hide' .IP "@DEFAULT_MIME_TABLE@ (mime_table)" | |
242 | MIME type mappings for FTP gatewaying | |
243 | . | |
244 | .if !'po4a'hide' .IP "@DEFAULT_ERROR_DIR@" | |
245 | Location of Squid error pages and templates. | |
246 | . | |
247 | .SH AUTHOR | |
248 | Squid was written over many years by a changing team of developers and maintained in turn by | |
249 | .if !'po4a'hide' .I Duane Wessels <duane@squid-cache.org> | |
250 | .if !'po4a'hide' .I Henrik Nordstrom <hno@squid-cache.org> | |
251 | .if !'po4a'hide' .I Amos Jeffries <amosjeffries@squid-cache.org> | |
252 | .PP | |
253 | With contributions from many others in the Squid community. | |
254 | see CONTRIBUTORS for a full list of individuals who contributed code. | |
255 | see CREDITS for a list of major code contributing copyright holders. | |
256 | . | |
257 | .SH COPYRIGHT | |
258 | .PP | |
f70aedc4 | 259 | * Copyright (C) 1996-2021 The Squid Software Foundation and contributors |
9a1b46cc AJ |
260 | * |
261 | * Squid software is distributed under GPLv2+ license and includes | |
262 | * contributions from numerous individuals and organizations. | |
263 | * Please see the COPYING and CONTRIBUTORS files for details. | |
83915266 AJ |
264 | . |
265 | .SH QUESTIONS | |
266 | Questions on the usage of this program can be sent to the | |
267 | .I Squid Users mailing list | |
8311b837 | 268 | .if !'po4a'hide' <squid-users@lists.squid-cache.org> |
83915266 AJ |
269 | . |
270 | .SH REPORTING BUGS | |
c871f41e AJ |
271 | Bug reports need to be made in English. |
272 | See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report. | |
273 | .PP | |
83915266 AJ |
274 | Report bugs or bug fixes using http://bugs.squid-cache.org/ |
275 | .PP | |
276 | Report serious security bugs to | |
8311b837 | 277 | .I Squid Bugs <squid-bugs@lists.squid-cache.org> |
83915266 AJ |
278 | .PP |
279 | Report ideas for new improvements to the | |
280 | .I Squid Developers mailing list | |
8311b837 | 281 | .if !'po4a'hide' <squid-dev@lists.squid-cache.org> |
83915266 AJ |
282 | . |
283 | .SH SEE ALSO | |
284 | .if !'po4a'hide' .B cachemgr.cgi "(8), " | |
285 | .if !'po4a'hide' .B squidclient "(1), " | |
628953ca LU |
286 | .if !'po4a'hide' .B basic_pam_auth "(8), " |
287 | .if !'po4a'hide' .B basic_ldap_auth "(8), " | |
288 | .if !'po4a'hide' .B ext_ldap_group_acl "(8), " | |
9e8f57e0 | 289 | .if !'po4a'hide' .B ext_session_acl "(8), " |
628953ca | 290 | .if !'po4a'hide' .B ext_unix_group_acl "(8), " |
83915266 AJ |
291 | .br |
292 | The Squid FAQ wiki | |
293 | .if !'po4a'hide' http://wiki.squid-cache.org/SquidFaq | |
294 | .br | |
295 | The Squid Configuration Manual | |
296 | .if !'po4a'hide' http://www.squid-cache.org/Doc/config/ |