On Mon, 1 Mar 2004, OTR Comm wrote: > Hello, > > When squidclient is used in ping mode, e.g. > > /usr/local/squid/bin/squidclient -g 5 -h 209.145.208.8 -p 8939 > http://216.19.43.110 > 2004-03-01 11:33:11 [1]: 0.131 secs, 7.557252 KB/s > 2004-03-01 11:33:12 [2]: 0.001 secs, 997.000000 KB/s > 2004-03-01 11:33:13 [3]: 0.001 secs, 997.000000 KB/s > 2004-03-01 11:33:14 [4]: 0.001 secs, 997.000000 KB/s > 2004-03-01 11:33:15 [5]: 0.001 secs, 997.000000 KB/s > > what is actually being pinged here?
The Squid server is HTTP-pinged. squidclient sends the given HTTP request to the Squid server and measures the response time. The first request is most likely a cache miss, the second and onwards request cache hits. It is not the same as a ICMP ECHO request (the ping command), but named "ping" from the similarity with the ping command used for sending ICMP ECHO requests. Regards Henrik
