1 .if !'po4a'hide' .TH squidclient 1
4 squidclient \- A simple HTTP web client tool
7 .if !'po4a'hide' .B squidclient
8 .if !'po4a'hide' .B "[ \-aknNrsv ] "
9 .if !'po4a'hide' .B "[ \-\-ping [ping\-options] ] "
10 .if !'po4a'hide' .B "[ \-\-https] [tls\-options] [ \-A"
12 .if !'po4a'hide' .B "] [ \-h | \-\-host"
14 .if !'po4a'hide' .B "] [ \-H '"
16 .if !'po4a'hide' .B "' ] [ \-i"
18 .if !'po4a'hide' .B "] [ \-j '"
20 .if !'po4a'hide' .B "' ] [ \-l | \-\-local"
22 .if !'po4a'hide' .B "] [ \-m"
24 .if !'po4a'hide' .B "] [ \-p | \-\-port"
26 .if !'po4a'hide' .B "] [ \-P"
28 .if !'po4a'hide' .B "] [ \-t"
30 .if !'po4a'hide' .B "] [ \-T"
32 .if !'po4a'hide' .B "] [ \-u"
34 .if !'po4a'hide' .B "] [ \-U"
36 .if !'po4a'hide' .B "] [ \-V"
38 .if !'po4a'hide' .B "] [ \-w"
40 .if !'po4a'hide' .B "] [ \-W"
42 .if !'po4a'hide' .B "] "
46 .if !'po4a'hide' .B "Ping options: [ \-g"
48 .if !'po4a'hide' .B "] [ \-I"
50 .if !'po4a'hide' .B "] "
53 .if !'po4a'hide' .B "TLS options: [ \-\-anonymous\-tls ] [ \-\-trusted\-ca"
55 .if !'po4a'hide' .B "...] [ \-\-cert"
56 client X.509 certificate file
57 .if !'po4a'hide' .B "] [ \-\-params"
58 TLS session parameters
59 .if !'po4a'hide' .B "] "
63 is a tool providing a command line interface for retrieving URLs.
64 Designed for testing any HTTP 0.9, 1.0, or 1.1 web server or proxy.
65 This tool can be combined with scripts to perform any basic HTTP operation.
66 Some additional features for access to the
68 proxy object cache and management information are provided.
71 .if !'po4a'hide' .TP 12
72 .if !'po4a'hide' .B "\-a"
73 Do NOT include Accept: header.
76 .if !'po4a'hide' .B "\-A 'string'"
79 as User-Agent: header. To omit the header completely set string to empty ('').
82 .if !'po4a'hide' .B "\-h | \-\-host host"
83 Retrieve URL from server host. Default is
87 .if !'po4a'hide' .B "\-H 'string'"
88 Extra headers to send. Use
93 .if !'po4a'hide' .B "\-i time"
94 If\-Modified\-Since time (in Epoch seconds).
97 .if !'po4a'hide' .B "\-j hosthdr"
101 .if !'po4a'hide' .B "\-k"
102 Keep the connection active. Default is to do only one request then close.
105 .if !'po4a'hide' .B "\-l | \-\-local host"
106 Specify a local IP address to bind to. Default is none.
109 .if !'po4a'hide' .B "\-m method"
110 Request method, default is
112 Squid also supports a non-standard method called
114 You can use that to purge a specific URL from the cache.
121 access. Here is an example:
123 .if !'po4a'hide' acl purge method PURGE
124 .if !'po4a'hide' http_access deny purge !localhost
128 .if !'po4a'hide' .B "\-n"
129 Proxy Negotiate(Kerberos) authentication.
131 Use kinit username@DOMAIN first to get initial TGS.
134 .if !'po4a'hide' .B "\-N"
135 WWW Negotiate(Kerberos) authentication.
137 Use kinit username@DOMAIN first to get initial TGS.
141 .if !'po4a'hide' .B "\-p port"
142 Port number of cache. Default is 3128.
145 .if !'po4a'hide' .B "\-P file"
146 Request body. Using the named file as data.
149 .if !'po4a'hide' .B "\-r"
150 Force cache to reload URL.
153 .if !'po4a'hide' .B "\-s"
154 Silent. Do not print data to stdout.
157 .if !'po4a'hide' .B "\-t count"
160 HTTP relay or proxy hops
163 .if !'po4a'hide' .B "\-T timeout"
164 Timeout value (seconds) for read/write operations.
167 .if !'po4a'hide' .B "\-u user"
168 Proxy authentication username
171 .if !'po4a'hide' .B "\-U user"
172 WWW authentication username
175 .if !'po4a'hide' .B "\-v"
176 Verbose. Print outgoing message to stderr.
179 .if !'po4a'hide' .B "\-V version"
180 HTTP Version. Use '\-' for HTTP/0.9 omitted case
183 .if !'po4a'hide' .B "\-w password"
184 Proxy authentication password
187 .if !'po4a'hide' .B "\-W password"
188 WWW authentication password
191 .if !'po4a'hide' .B "\-\-https"
192 Use Transport Layer Security on the HTTP connection.
195 .if !'po4a'hide' .B "\-\-anonymous\-tls"
196 Use TLS with unauthenticated (anonymous) certificate.
199 .if !'po4a'hide' .B "\-\-cert file"
200 File containing client X.509 certificate in PEM format.
201 May be repeated to load several client certificates.
204 .if !'po4a'hide' .B "\-\-trusted\-ca file"
205 File containing trusted Certificate Authority (CA) certificates in PEM format.
206 May be repeated to load any number of files.
209 .if !'po4a'hide' .B "\-\-params values"
210 TLS library specific parameters for the communication session.
211 See the library documentation for details on valid parameters.
212 .if !'po4a'hide' .I "GnuTLS: http://gnutls.org/manual/html_node/Priority\-Strings.html"
213 If repeated only the last value will have effect.
216 .if !'po4a'hide' .B "\-\-ping [options]"
217 Enable ping mode. Optional \-g and \-I parameters must follow immediately if used.
218 Repeated use resets to default ping settings.
221 .if !'po4a'hide' .B "\-g count"
224 iterations (default is to loop until interrupted).
227 .if !'po4a'hide' .B "\-I interval"
228 Ping interval in seconds (default 1 second).
231 This program and manual was written by
232 .if !'po4a'hide' .I Amos Jeffries <amosjeffries@squid-cache.org>
234 Based on original code derived from Harvest and further developed by
235 numerous individuals from the internet community.
239 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
241 * Squid software is distributed under GPLv2+ license and includes
242 * contributions from numerous individuals and organizations.
243 * Please see the COPYING and CONTRIBUTORS files for details.
246 Questions on the usage of this program can be sent to the
247 .I Squid Users mailing list
248 .if !'po4a'hide' <squid-users@lists.squid-cache.org>
251 See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.
253 Report bugs or bug fixes using http://bugs.squid-cache.org/
255 Report serious security bugs to
256 .I Squid Bugs <squid-bugs@lists.squid-cache.org>
258 Report ideas for new improvements to the
259 .I Squid Developers mailing list
260 .if !'po4a'hide' <squid-dev@lists.squid-cache.org>
263 .if !'po4a'hide' .BR squid "(8), "
264 .if !'po4a'hide' .BR cachemgr.cgi "(8)"