Re: [squid-users] squidclient: how to list cached websites uris

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 18 May 2010 21:50:17 +1200

David Touzeau wrote:
>
>
> On 18/05/2010 11:14, Amos Jeffries wrote:
>> David Touzeau wrote:
>>>
>>>
>>> On 18/05/2010 01:35, Henrik Nordström wrote:
>>>> mån 2010-05-17 klockan 21:31 +0200 skrev David Touzeau:
>>>>
>>>>> I would to get cached objects especially the websites name stored into
>>>>> squid cache.
>>>>
>>>> Not easily done as the Squid cache index is just MD5(URL).
>>>>
>>>> But see the purge tool. This can index the ufs family of cache
>>>> directories (ufs, aufs, diskd).
>>>>
>>>> Regards
>>>> Henrik
>>>>
>>>
>>> Where can i find the purge tool ?, i'm running on debian with a
>>> compiled squid version
>>
>> It's a third-party app still.
>> http://www.wa.apana.org.au/~dean/squidpurge/
>> or
>>
>>
>> Amos
>
>
> Thanks for this tool amos, but this is an old one
> compilation break on Ubuntu server 10.04
>
> g++ -ffor-scope -DHAS_BOOL -DHAS_PSIGNAL -DHAS_PSIGNAL -DLIBCVERSION=6
> -pipe -DLINUX -DMAJOR=2 -DMINOR=6 -DSOCKLEN=size_t -march=pentium -O2
> -c copyout.cc -o copyout.o
> copyout.cc: In function ‘bool copy_out(size_t, size_t, unsigned int,
> const char*, const char*, const char*, bool)’:
> copyout.cc:135: error: invalid conversion from ‘const char*’ to ‘char*’
> copyout.cc:240: warning: format ‘%lu’ expects type ‘long unsigned int’,
> but argument 4 has type ‘size_t’
> copyout.cc:244: warning: format ‘%lu’ expects type ‘long unsigned int’,
> but argument 3 has type ‘size_t’
> copyout.cc:244: warning: format ‘%lu’ expects type ‘long unsigned int’,
> but argument 4 has type ‘size_t’
> make: *** [copyout.o] Error 1
>
> DO you have more recent tool ?

Thats the most current I'm aware of.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Tue May 18 2010 - 09:50:26 MDT

This archive was generated by hypermail 2.2.0 : Wed May 19 2010 - 12:00:06 MDT