[squid-users] How to use access.log codes in custom error page

Yuri Voinov yvoinov at gmail.com
Mon Mar 2 11:12:24 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A-ha!

Can I use ICAP - for example, with ecap to extract metadata from ecap
adapters?

02.03.15 17:09, Amos Jeffries пишет:
> On 2/03/2015 11:56 p.m., Yuri Voinov wrote:
>> But Amos,
>> 
>> wait:
>> 
>> root @ cthulhu / # /usr/local/squid/bin/squidclient -p 3127 -r 
>> http://www.eicar.org/download/eicar_com.zip Sending HTTP request 
>> ... done. HTTP/1.1 301 Moved Permanently Date: Mon, 02 Mar 2015 
>> 10:55:55 GMT Location: 
>> http://cthulhu.localdomain:8080/cgi-bin/clwarn.cgi.ru_RU?url=http://www.eicar.org/download/eicar_com.zip&source=127.0.0.1&user=-&virus=stream:
>>
>>
>
>> 
Eicar-Test-Signature FOUND
>> Server: C-ICAP Content-Type: text/html Content-Language: en 
>> X-Virus-ID: Eicar-Test-Signature X-Infection-Found: Type=0; 
>> Resolution=2; Threat=Eicar-Test-Signature; Via: ICAP/1.0 cthulhu 
>> (C-ICAP/0.3.5 SquidClamav/Antivirus service ) X-Cache: MISS from 
>> cthulhu X-Cache-Lookup: MISS from cthulhu:3127 Connection: close
>> 
>> How ICAP does it?
> 
> ICAP has full access to the HTTP messages and payloads.
> 
> Error page generator ... does not.
> 
> Amos _______________________________________________ squid-users
> mailing list squid-users at lists.squid-cache.org 
> http://lists.squid-cache.org/listinfo/squid-users
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJU9EWYAAoJENNXIZxhPexGaugH/i6UeMallNNDB3Lr+c8KyOyN
vYiiVk5Bs6/HhSdTg4b7EhT/KThqM4ax2SkfBSGeD9bQgivqbGHQHxiy1g11amBP
GW0DoL5JkBgyl5X/OS+1xDWxRWaim73kCbR4NqR+i1sqV2vvGJYijNwme2j7OEgH
OtyfGMWtYRdbofDc3LMvUhc4whYORmLhwFCtCtfKhH6/MnFaRmoimq8Eeaapdcvd
F3+Riy6Ve4VPDbWbx67cgAyElNaH5RHbzswzYzfnZDW9ZQ5RcgQI4awrN79jqnvt
+vcvFmf8KmK7rUgtlXwTcJZRM4lFBg9R2P0fVmUfdVojQUGYTVtyR9wP8r7WxCk=
=qocC
-----END PGP SIGNATURE-----


More information about the squid-users mailing list