Re: [squid-users] Squid Doesn't show CAPTCHA

From: emerson.carpes <emerson.carpes_at_novotempo.com>
Date: Mon, 11 Nov 2013 11:47:37 -0200

I used Chrome and Firefox.

It has no firewall, the environment this way:
MY MACHINE ----> SQUID ----> WAN

I tried to comment on several of these rules and still did not work ...

[root_at_squid02 squid]# squid -v
Squid Cache: Version 3.1.10
configure options: '--build=x86_64-redhat-linux-gnu'
'--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64'
'--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib'
'--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--enable-internal-dns' '--disable-strict-error-checking'
'--exec_prefix=/usr' '--libexecdir=/usr/lib64/squid'
'--localstatedir=/var' '--datadir=/usr/share/squid'
'--sysconfdir=/etc/squid' '--with-logdir=$(localstatedir)/log/squid'
'--with-pidfile=$(localstatedir)/run/squid.pid'
'--disable-dependency-tracking' '--enable-arp-acl'
'--enable-follow-x-forwarded-for'
'--enable-auth=basic,digest,ntlm,negotiate'
'--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL,DB,POP3,squid_radius_auth'
'--enable-ntlm-auth-helpers=smb_lm,no_check,fakeauth'
'--enable-digest-auth-helpers=password,ldap,eDirectory'
'--enable-negotiate-auth-helpers=squid_kerb_auth'
'--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group'
'--enable-cache-digests' '--enable-cachemgr-hostname=localhost'
'--enable-delay-pools' '--enable-epoll' '--enable-icap-client'
'--enable-ident-lookups' '--enable-linux-netfilter'
'--enable-referer-log' '--enable-removal-policies=heap,lru'
'--enable-snmp' '--enable-ssl' '--enable-storeio=aufs,diskd,ufs'
'--enable-useragent-log' '--enable-wccpv2' '--enable-esi' '--with-aio'
'--with-default-user=squid' '--with-filedescriptors=16384' '--with-dl'
'--with-openssl' '--with-pthreads' 'build_alias=x86_64-redhat-linux-gnu'
'host_alias=x86_64-redhat-linux-gnu'
'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fpie' 'LDFLAGS=-pie'
'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie'
--with-squid=/builddir/build/BUILD/squid-3.1.10

Em 2013-11-11 11:34, Eliezer Croitoru escreveu:
> Hey,
>
> I am looking at the logs and see that each and every request was
> served to the client..
> it is even saying that the captcha object is imgae/png mime type.
> What browser are you using?
> and remove any firewall P2P or any other thing that can block the data
> from being transfered from the proxy to the client.
>
> Also what "squid -v" output is?
> it seems like you have some squid.conf settings which was applied in
> 2.7 and are better removed in 3.X.
>
> I would also change this line:
> refresh_pattern -i
> \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 10080 90% 43200
> override-expire ignore-no-cache ignore-no-store ignore-private
> removing the "ignore-no-store" or splitting this rule in a way that
> the files such as deb and rpm tar tgz would be affected by some pretty
> wrong rules.
> About the other extensions I would not say a word.
>
> Regards,
> Eliezer
>
> On 11/11/2013 03:22 PM, emerson.carpes wrote:
>> 1384173759.292 833 10.21.100.195 TCP_MISS/302 647 GET
>> http://www.bj2.me/ - DIRECT/190.93.254.184 text/html
>> 1384173759.570 269 10.21.100.195 TCP_MISS/200 1609 GET
>> http://www.bj2.me/login.php - DIRECT/190.93.254.184 text/html
>> 1384173760.014 382 10.21.100.195 TCP_MISS/200 12633 GET
>> http://www.bj2.me/functions/simple-php-captcha.php? -
>> DIRECT/190.93.254.184 image/png
Received on Mon Nov 11 2013 - 13:47:38 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 11 2013 - 12:00:04 MST