[squid-users] Is it possible to modify cached object?

boruc baborucki at gmail.com
Tue Jan 31 18:34:17 UTC 2017


Thank you for your answers Antony.

On packages.ubuntu.com I searched for "squid3" and here's what I've found:
12.04LTS - 3.1.19
14.04LTS - 3.3.8
16.04LTS - 3.5.12

For now the best option would be to upgrade Ubuntu to 16.04, but I cannot do
it now. Also Amos has written earlier: "All the newer versions should come
pre-packaged with eCAP support with no action needed on your part." I'd like
to know if in squid 3.5.12 eCAP is already enabled, but I cannot find it by
myself.

I tried it on Ubuntu 14.04, by "sudo apt-get install squid3", squid 3.3.8
was installed (and also package libecap2 (0.2.0-1ubuntu4)), the output for
"squid3 -v" was:

configure options:  '--build=x86_64-linux-gnu' '--prefix=/usr'
'--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
'--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var'
'--libexecdir=${prefix}/lib/squid3' '--srcdir=.' '--disable-maintainer-mode'
'--disable-dependency-tracking' '--disable-silent-rules'
'--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3'
'--mandir=/usr/share/man' '--enable-inline' '--enable-async-io=8'
'--enable-storeio=ufs,aufs,diskd,rock' '--enable-removal-policies=lru,heap'
'--enable-delay-pools' '--enable-cache-digests' '--enable-underscores'
'--enable-icap-client' '--enable-follow-x-forwarded-for'
'--enable-auth-basic=DB,fake,getpwnam,LDAP,MSNT,MSNT-multi-domain,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB'
'--enable-auth-digest=file,LDAP' '--enable-auth-negotiate=kerberos,wrapper'
'--enable-auth-ntlm=fake,smb_lm'
'--enable-external-acl-helpers=file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,unix_group,wbinfo_group'
'--enable-url-rewrite-helpers=fake' '--enable-eui' '--enable-esi'
'--enable-icmp' '--enable-zph-qos' *'--enable-ecap'* '--disable-translation'
'--with-swapdir=/var/spool/squid3' '--with-logdir=/var/log/squid3'
'--with-pidfile=/var/run/squid3.pid' '--with-filedescriptors=65536'
'--with-large-files' '--with-default-user=proxy' '--enable-linux-netfilter'
'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fPIE -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
'LDFLAGS=-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now'
'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fPIE -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security'

So actually this squid release is already configured with "--enable-ecap"
and all I need to do is to set "ecap_enable" in configuration file to "on"
(and other stuff mentioned in  documentation
<http://e-cap.org/Documentation>  ) and it'll work fine?



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Is-it-possible-to-modify-cached-object-tp4681073p4681396.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list