Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages

Manual Reference Pages  -  SQUIDCLIENT (1)


squidclient - A simple HTTP web client tool


Reporting Bugs
See Also


string remote host string IMS Host header host method port file count timeout user user version password password url

count interval

CA certificates file client X.509 certificate file TLS session parameters


squidclient is a tool providing a command line interface for retrieving URLs. Designed for testing any HTTP 0.9, 1.0, or 1.1 web server or proxy. This tool can be combined with scripts to perform any basic HTTP operation. Some additional features for access to the squid proxy object cache and management information are provided.


Do NOT include Accept: header. Send string as User-Agent: header. To omit the header completely set string to empty (’’). Retrieve URL from server host. Default is localhost Extra headers to send. Use ’\n’ for new lines. If-Modified-Since time (in Epoch seconds). Host header content Keep the connection active. Default is to do only one request then close. Specify a local IP address to bind to. Default is none. Request method, default is GET. Squid also supports a non-standard method called PURGE. You can use that to purge a specific URL from the cache. You need to have purge access setup in squid.conf similar to manager access. Here is an example: Proxy Negotiate(Kerberos) authentication. Use kinit username@DOMAIN first to get initial TGS. WWW Negotiate(Kerberos) authentication. Use kinit username@DOMAIN first to get initial TGS. Port number of cache. Default is 3128. Request body. Using the named file as data. Force cache to reload URL. Silent. Do not print data to stdout. Trace count HTTP relay or proxy hops Timeout value (seconds) for read/write operations. Proxy authentication username WWW authentication username Verbose. Print outgoing message to stderr. HTTP Version. Use ’-’ for HTTP/0.9 omitted case Proxy authentication password WWW authentication password Use Transport Layer Security on the HTTP connection. Use TLS with unauthenticated (anonymous) certificate. File containing client X.509 certificate in PEM format. May be repeated to load several client certificates. File containing trusted Certificate Authority (CA) certificates in PEM format. May be repeated to load any number of files. TLS library specific parameters for the communication session. See the library documentation for details on valid parameters. If repeated only the last value will have effect. Enable ping mode. Optional -g and -I parameters must follow immediately if used. Repeated use resets to default ping settings. Ping mode, perform count iterations (default is to loop until interrupted). Ping interval in seconds (default 1 second).


This program and manual was written by

Based on original code derived from Harvest and further developed by numerous individuals from the internet community.


* Copyright (C) 1996-2016 The Squid Software Foundation and contributors
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.


Questions on the usage of this program can be sent to the Squid Users mailing list


See for details of what you need to include with your bug report.

Report bugs or bug fixes using

Report serious security bugs to Squid Bugs <>

Report ideas for new improvements to the Squid Developers mailing list


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.