Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

squidclient(1) [centos man page]

squidclient(1)						      General Commands Manual						    squidclient(1)

NAME
squidclient - A simple HTTP web client tool SYNOPSIS
squidclient [ -aknNrsv ] [ -A string ] [ -g count ] [ -h remote host ] [ -H ' string ' ] [ -i IMS ] [ -I ping interval ] [ -j ' Host header ' ] [ -l local host ] [ -m method ] [ -p port ] [ -P file ] [ -t count ] [ -T timeout ] [ -u user ] [ -U user ] [ -V version ] [ -w pass- word ] [ -W password ] url DESCRIPTION
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. OPTIONS
-a Do NOT include Accept: header. -A 'string' Send string as User-Agent: header. To omit the header completely set string to empty (''). -g count Ping mode, perform count iterations (0 to loop until interrupted). -h host Retrieve URL from cache on hostname. Default is localhost -H 'string' Extra headers to send. Use '0 for new lines. -i time If-Modified-Since time (in Epoch seconds). -I interval Ping interval in seconds (default 1 second). -j hosthdr Host header content -k Keep the connection active. Default is to do only one request then close. -l host Specify a local IP address to bind to. Default is none. -m method 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: acl purge method PURGE http_access deny purge !localhost -n Proxy Negotiate(Kerberos) authentication. Use kinit username@DOMAIN first to get initial TGS. -N WWW Negotiate(Kerberos) authentication. Use kinit username@DOMAIN first to get initial TGS. -p port Port number of cache. Default is 3128. -P file Request body. Using the named file as data. -r Force cache to reload URL. -s Silent. Do not print data to stdout. -t count Trace count HTTP relay or proxy hops -T timeout Timeout value (seconds) for read/write operations. -u user Proxy authentication username -U user WWW authentication username -v Verbose. Print outgoing message to stderr. -V version HTTP Version. Use '-' for HTTP/0.9 omitted case -w password Proxy authentication password -W password WWW authentication password AUTHOR
Derived from Harvest. Further developed by by numerous individuals from the internet community. Development is led by Duane Wessels of the National Laboratory for Applied Network Research and funded by the National Science Foundation. COPYRIGHT
Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). QUESTIONS
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@squid-cache.org> REPORTING BUGS
See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report. Report bugs or bug fixes using http://bugs.squid-cache.org/ Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org> Report ideas for new improvements to the Squid Developers mailing list <squid-dev@squid-cache.org> SEE ALSO
squid(8), cachemgr.cgi(8) squidclient(1)

Check Out this Related Man Page

basic_getpwnam_auth(8)					      System Manager's Manual					    basic_getpwnam_auth(8)

NAME
basic_getpwnam_auth - Local Users auth helper for Squid SYNOPSIS
basic_getpwnam_auth DESCRIPTION
basic_getpwnam_auth allows Squid to authenticate any local user accounts to validate the user name and password of Basic HTTP authentica- tion. It uses getpwnam() and getspnam() routines for authentication. This has the following advantages over the NCSA module: - Allows authentication of all known local users - Allows authentication through nsswitch.conf - Can handle NIS(+) requests - Can handle LDAP requests - Can handle PAM requests CONFIGURATION
auth_param basic program /path/to/basic_getpwnam_auth auth_param basic children concurrency=1 When used for authenticating to local UNIX shadow password databases the program must be running as root or else it won't have sufficient permissions to access the user password database. Such use of this program is not recommended, but if you absolutely need to then make the program setuid root chown root basic_getpwnam_auth chmod u+s basic_getpwnam_auth Please note that in such configurations it is also strongly recommended that the program is moved into a directory where normal users can- not access it, as this mode of operation will allow any local user to brute-force other users passwords. Also note the program has not been fully audited and the author cannot be held responsible for any security issues due to such installations. AUTHOR
This program was written by Erik Hofman <erik.hofman@a1.nl> Robin Elfrink <robin@a1.nl> Giancarlo Razzolini <linux-fan@onda.com.br> Based on original code by Jon Thackray <jrmt@uk.gdscorp.com>. This manual was written by Amos Jeffries <amosjeffries@squid-cache.org> COPYRIGHT
This program and documentation is copyright to the authors named above. Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). QUESTIONS
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@squid-cache.org> REPORTING BUGS
Bug reports need to be made in English. See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report. Report bugs or bug fixes using http://bugs.squid-cache.org/ Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org> Report ideas for new improvements to the Squid Developers mailing list <squid-dev@squid-cache.org> SEE ALSO
squid(8), basic_pam_auth(8), basic_ncsa_auth(8), basic_ldap_auth(8), basic_nis_auth(8), chown(1), chmod(1), nsswitch.conf(5), getpwnam(3), getspnam(3), GPL(7), The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq The Squid Configuration Manual http://www.squid-cache.org/Doc/config/ basic_getpwnam_auth(8)
Man Page