[squid-users] how works store-id ?

Tony Peña emperor.cu at gmail.com
Mon Mar 7 11:16:54 UTC 2016


hi . .i trying to use store id.
i copy and paste some lines from many tutorials using this script and squid
is working with it..
i check if the object will be store with store-id result as OK, and for
windows update works and did it swapout, but for other objects example .msi
the script do store-id OK but don't swapout.. it's doing release..

echo "
http://armmf.adobe.com/arm-manifests/win/ServicesUpdater/DC/RdrManifest.msi"
| /usr/lib/squid3/storeid_file_rewrite /etc/squid3/url_patterns
OK store-id=http://adobe.squid.internal/msi

on the logs

1457348646.201 RELEASE -1 FFFFFFFF AD0EA341D9655150F4BD0DB566F55E4A  502
1457348646         0        -1 text/html 25696/25696 GET
http://armmf.adobe.com/arm-manifests/win/ServicesUpdater/DC/RdrManifest.msi

it's possible maybe the regex is wrong..

this is the pattern to check when script read
.*\.(exe|msi|msp|msu|dmg|bin|xpi|iso|psf|cab|dsft|swz|pkg|z|idx|gz|upd|aup|cer)$
       http://aron.squid.internal/$1

any idea? or what i'm missing?

thanxs
-- 
perl -le 's ffSfs.s fSf\x54\x6F\x6E\x79 \x50\x65\x6e\x61f.print'

Secure email with PGP 0x8B021001 available at https://pgp.mit.edu
<https://pgp.mit.edu/pks/lookup?search=0x8B021001&op=index&fingerprint=on&exact=on>
Fingerprint: 74E6 2974 B090 366D CE71  7BB2 6476 FA09 8B02 1001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160307/dfca3257/attachment.html>


More information about the squid-users mailing list