Re: [squid-users] squid bug

From: Leonardo Rodrigues Magalhães <coelho@dont-contact.us>
Date: Wed, 12 Sep 2001 09:52:16 -0300

    I really dont know whats a backtrace, so I cant get it and send to you.

    My squid 2.4S2 is build from stock sources with NO extra patches
applied. ./configure is:

./configure --prefix=/usr --exec-prefix=/usr/bin --bindir=/usr/bin --sbindir
=/usr/sbin --libexecdir=/usr/bin --sysconfdir=/etc/squid
 --localstatedir=/var/log/squid --enable-icmp --enable-removal-policies="hea
p,lru" --enable-delay-pools --enable-storeio="ufs,aufs,d
iskd,coss,null" --enable-async-io=8 --disable-http-violations --enable-err-l
anguage=Portuguese --enable-snmp --disable-ident-lookups
 --enable-linux-netfilter --enable-underscores --enable-auth-modules="NCSA,S
MB,multi-domain-NTLM,MSNT"

    Machine is RH71 with kernel 2.4.9 ( also compiled from scratch ).

Yes, ACLs allow access from localhost, and this is what I get ( errors are
using Portuguese error files, but this seems to be the error file
ERR_FTP_PUT_ERROR ) ...

[root@cobaia squid]# telnet localhost 3128
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
PUT ftp://cgi-lexus:yGDgX9@ftp.mycgiserver.com/WEB-INF/1/2/1/ HTTP/1.1
Content-type: application/octet-stream
Content-length: 0
Pragma: no-cache

HTTP/1.0 500 Internal Server Error
Server: Squid/2.4.STABLE2
Mime-Version: 1.0
Date: Wed, 12 Sep 2001 12:46:53 GMT
Content-Type: text/html
Content-Length: 816
Expires: Wed, 12 Sep 2001 12:46:53 GMT
X-Squid-Error: ERR_FTP_PUT_ERROR 0
X-Cache: MISS from cache
Proxy-Connection: keep-alive

<HTML><HEAD>
<TITLE>ERROR: Erro no FTP upload </TITLE>
</HEAD><BODY>
<H1>ERRO</H1>
<H2>FTP PUT/erro na carga</H2>
<HR>
<P>
Na tentativa de salvar (PUT) a seguinte URL:
<A
HREF="ftp://cgi-lexus@ftp.mycgiserver.com/WEB-INF/1/2/1/">ftp://cgi-lexus@ft
p.mycgiserver.com/WEB-INF/1/2/1/</A>
<P>
O Squid emitiu o seguinte comando FTP:
<PRE><STRONG>
        PORT MY,EXTERNAL,IP,HERE,9,219

</STRONG></PRE>
e recebeu esta resposta
<PRE><STRONG>
        PORT command successful.
</STRONG></PRE>
<P>
Isto significa que:
<PRE>
Verifique o caminho (path), permiss&otilde;es, espa&ccedil;o em disco e
tente novamente.
</PRE>
</P>

<br clear="all"><hr noshade size=1>
<font face="Verdana, Arial" size=-1>
Gerado as Wed, 12 Sep 2001 12:46:53 GMT por cache
</font></body></html>

Connection closed by foreign host.

Right after ...

[root@cobaia squid]# ps auwx | grep squid | wc -l
     12

So, there are 12 squid processes !! Its running with asyncio, so we got
'lots' of processes.

Absolutely nothing is logged on cache.log, and I got this on access.log

Wed Sep 12 09:46:53 2001 4952 127.0.0.1 TCP_MISS/500 1131 PUT
ftp://cgi-lexus@ftp.mycgiserver.com/WEB-INF/1/2/1/ - DIRECT/212.69.162.53 -

    Sincerily,
    Leonardo Rodrigues

----- Original Message -----
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Vladimir Ivaschenko" <hazard@francoudi.com>
Cc: "Leonardo Rodrigues Magalhaes" <coelho@persogo.com.br>; "Squid Users"
<squid-users@squid-cache.org>
Sent: Wednesday, September 12, 2001 9:39 AM
Subject: Re: [squid-users] squid bug

> On Wed, 2001-09-12 at 22:35, Vladimir Ivaschenko wrote:
> > Can you tell me what error you got?
> >
> > I can reproduce on all machines I tried. I just checked and
> > *I CAN* reproduce it on RedHat 7.1 with the default configuration file
(with
> > necessary change to acl to allow acess to localhost).
>
> Did youy manage to get a backtrace?
> Are you running stock 2.4Stable2, or do you have some redhat patches
> applied as well?
> Rob
>
> > You have to copy request contents completely in order to perform the
crash.
> > Please also note, that squid reloads after 5-6 seconds, so you have to
check
> > if its running immidiately after request. Please also check your logs
for
> > errors.
> >
> > Leonardo Rodrigues Magalhaes wrote:
> >
> > > I ***COULDNT*** reproduce this on 2.4S2 build from sources on RH71
> > > machine.
> > >
> > > Sincerily,
> > > Leonardo Rodrigues
> > >
> > > ----- Original Message -----
> > > From: "Vladimir Ivaschenko" <hazard@francoudi.com>
> > > Cc: <squid-users@squid-cache.org>
> > > Sent: Wednesday, September 12, 2001 5:30 AM
> > > Subject: [squid-users] squid bug
> > >
> > > > Hello All,
> > > >
> > > > Can you check out my bugreport at
> > > > http://www.squid-cache.org/bugs/show_bug.cgi?id=233 ? I filled it a
few
> > > > days ago but didn't receive any reply yet. However I can crash all
my
> > > > squid servers using it.
> > > >
> >
> > --
> > Best Regards
> > Vladimir Ivaschenko
> > Certified Linux Engineer (RHCE)
> > Francoudi & Stephanou Ltd - http://www.francoudi.com
> >
> >
> >
>
>
>
Received on Wed Sep 12 2001 - 06:55:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:09 MST