[squid-users] Abnormal behaviour?

2004-09-16 Thread Carlos Pacheco
Hello All.

I've started to use squid a few days ago.

All work OK, but in some cases I see that, for example, trying to connect to
www.google.com the requests lasts 10 seconds ! (I see it in the access.log)

Of course, sometimes it's really quick, but in general my DSL connection is
quick enough to get www.google.com in much less than 10 secons.

It's not always that web. As I'm surfing, sometimes the request is served
with very delay (10 or more seconds).

Can you tell me if that's normal (and why happens) or if maybe I have
something not configured OK?

Thank you very much !

Carlos.



--
Este e-mail ha sido escaneado contra virus y contenidos peligrosos por MailScanner, y 
está libre de virus.
La información contenida en  este mensaje es confidencial y está dirigida únicamente 
al destinatario. Si usted no es el destinatario de este mensaje cualquier copia o 
distribución del mensaje, o cualquier acción u omisión tomada por usted con relación 
al mismo está prohibida y puede ser ilegal. Por favor destruya la información y 
contacte inmediatamente con el remitente si usted lo ha recibido por error.Cualquier 
opinión o punto de vista aquí presentado son aquellos del autor y no necesariamente 
representa a DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. Este e-mail no tiene el objetivo 
de crear ninguna obligación legal, contractual o de otro tipo entre DISEÑOS Y 
PROYECTOS TECNOLÓGICOS, S.L. y  terceros.
--
This message has been scanned for viruses and dangerous content by MailScanner, and is 
believed to be clean.
This email is intended solely for the use of the individual or organisation to whom it 
is addressed and may contain privileged or confidential information. If you are not 
the intended recipient, please note that retaining, copying, distributing, disclosing 
or using any information contained herein is strictly prohibited. If you have received 
this communication in error, please contact the sender and delete the material from 
any computer. Any views or opinions presented are those of the author and do not 
necessarily represent those of DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. This email is 
not intended to create any legal obligations, contractual or otherwise, between 
DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L.  and any other party.



RE: [squid-users] Abnormal behaviour?

2004-09-16 Thread Carlos Pacheco
I supose I'm using internal, but I have the dns_nameservers commented, so it
should use the ones in resolv.conf, isn't it?

What does it mean internal dns ?? Does squid have a list of dns servers ?
Sorry for the question, because I suposse it's very very simple, but I
started using squid a few days ago and can't imagine what does internal dns
mean. I though the resolv.conf (or dns_nameserver parameter) controlled the
hosts where the computer searches for a IP, isn't it ?

Thanks.


 -Mensaje original-
 De: Matus UHLAR - fantomas [mailto:[EMAIL PROTECTED]
 Enviado el: jueves, 16 de septiembre de 2004 17:29
 Para: [EMAIL PROTECTED]
 Asunto: Re: [squid-users] Abnormal behaviour?


 On 16.09 10:16, Carlos Pacheco wrote:
  I've started to use squid a few days ago.
 
  All work OK, but in some cases I see that, for example, trying
 to connect to
  www.google.com the requests lasts 10 seconds ! (I see it in the
 access.log)
 
  Of course, sometimes it's really quick, but in general my DSL
 connection is
  quick enough to get www.google.com in much less than 10 secons.
 
  It's not always that web. As I'm surfing, sometimes the request
 is served
  with very delay (10 or more seconds).
 
  Can you tell me if that's normal (and why happens) or if maybe I have
  something not configured OK?

 do you use external DNS or internal ? (check dns_servers)



--
Este e-mail ha sido escaneado contra virus y contenidos peligrosos por MailScanner, y 
está libre de virus.
La información contenida en  este mensaje es confidencial y está dirigida únicamente 
al destinatario. Si usted no es el destinatario de este mensaje cualquier copia o 
distribución del mensaje, o cualquier acción u omisión tomada por usted con relación 
al mismo está prohibida y puede ser ilegal. Por favor destruya la información y 
contacte inmediatamente con el remitente si usted lo ha recibido por error.Cualquier 
opinión o punto de vista aquí presentado son aquellos del autor y no necesariamente 
representa a DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. Este e-mail no tiene el objetivo 
de crear ninguna obligación legal, contractual o de otro tipo entre DISEÑOS Y 
PROYECTOS TECNOLÓGICOS, S.L. y  terceros.
--
This message has been scanned for viruses and dangerous content by MailScanner, and is 
believed to be clean.
This email is intended solely for the use of the individual or organisation to whom it 
is addressed and may contain privileged or confidential information. If you are not 
the intended recipient, please note that retaining, copying, distributing, disclosing 
or using any information contained herein is strictly prohibited. If you have received 
this communication in error, please contact the sender and delete the material from 
any computer. Any views or opinions presented are those of the author and do not 
necessarily represent those of DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. This email is 
not intended to create any legal obligations, contractual or otherwise, between 
DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L.  and any other party.



RE: [squid-users] Errors of squid not being shown ?

2004-09-15 Thread Carlos Pacheco
Hello.

I've checked the directory and it's fully readable for the user. I'm using
http transp. proxy with a virtual host.
Is there any way I can log what's the URL squid tries to find for the error
and get the 403 response?

Thanks again,
Carlos.

PD: Sorry for the disclaimer, the policies of the company nothing I can
do with it :(

 -Mensaje original-
 De: Christoph Haas [mailto:[EMAIL PROTECTED]
 Enviado el: miercoles, 15 de septiembre de 2004 12:01
 Para: [EMAIL PROTECTED]
 Asunto: Re: [squid-users] Errors of squid not being shown ?


 On Wed, Sep 15, 2004 at 11:12:02AM +0200, Carlos Pacheco wrote:
  It works all OK, but when I try to visit a page that is not
 allowed, it ret=
  urns a 403 error, and so in the explorer I see the normal 403
 error, instea=
  d of the one generated by squid (ERR_ACCESS_DENIED).
 
  That's what it says in my access.log:
  1095239235.531  2 192.1.1.20 TCP_DENIED/403 943 GET
  http://www.muchosexo.com/ - NONE/- -
 
  And if I try to get it using wget, I just see that a 403 error
 page is sent.
 
  Do I have to do something special to activate squid errors ???

 Make sure your error_directory in the squid.conf points to something
 useful (present and readable for the squid process).

  Christoph

 P.S.: Are you forced to use that huge useless email disclaimer?





--
Este e-mail ha sido escaneado contra virus y contenidos peligrosos por MailScanner, y 
está libre de virus.
La información contenida en  este mensaje es confidencial y está dirigida únicamente 
al destinatario. Si usted no es el destinatario de este mensaje cualquier copia o 
distribución del mensaje, o cualquier acción u omisión tomada por usted con relación 
al mismo está prohibida y puede ser ilegal. Por favor destruya la información y 
contacte inmediatamente con el remitente si usted lo ha recibido por error.Cualquier 
opinión o punto de vista aquí presentado son aquellos del autor y no necesariamente 
representa a DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. Este e-mail no tiene el objetivo 
de crear ninguna obligación legal, contractual o de otro tipo entre DISEÑOS Y 
PROYECTOS TECNOLÓGICOS, S.L. y  terceros.
--
This message has been scanned for viruses and dangerous content by MailScanner, and is 
believed to be clean.
This email is intended solely for the use of the individual or organisation to whom it 
is addressed and may contain privileged or confidential information. If you are not 
the intended recipient, please note that retaining, copying, distributing, disclosing 
or using any information contained herein is strictly prohibited. If you have received 
this communication in error, please contact the sender and delete the material from 
any computer. Any views or opinions presented are those of the author and do not 
necessarily represent those of DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. This email is 
not intended to create any legal obligations, contractual or otherwise, between 
DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L.  and any other party.



RE: [squid-users] Errors of squid not being shown ?

2004-09-15 Thread Carlos Pacheco
That was it. Thank you very much.

I knew MSIE hided things but to substitute a complete html error code with
its own by default..

Thanks.
Carlos.

 -Mensaje original-
 De: Henrik Nordstrom [mailto:[EMAIL PROTECTED]
 Enviado el: miercoles, 15 de septiembre de 2004 19:22
 Para: Carlos Pacheco
 CC: [EMAIL PROTECTED]
 Asunto: Re: [squid-users] Errors of squid not being shown ?


 On Wed, 15 Sep 2004, Carlos Pacheco wrote:

  Hello.
 
  I'm using squid and there is something I don't understand.
 
  It works all OK, but when I try to visit a page that is not
 allowed, it ret=
  urns a 403 error, and so in the explorer I see the normal 403
 error, instea=
  d of the one generated by squid (ERR_ACCESS_DENIED).

 If using MSIE then make sure to go into the internet settings and disable
 show friendly error messages.

 Regards
 Henrik




--
Este e-mail ha sido escaneado contra virus y contenidos peligrosos por MailScanner, y 
está libre de virus.
La información contenida en  este mensaje es confidencial y está dirigida únicamente 
al destinatario. Si usted no es el destinatario de este mensaje cualquier copia o 
distribución del mensaje, o cualquier acción u omisión tomada por usted con relación 
al mismo está prohibida y puede ser ilegal. Por favor destruya la información y 
contacte inmediatamente con el remitente si usted lo ha recibido por error.Cualquier 
opinión o punto de vista aquí presentado son aquellos del autor y no necesariamente 
representa a DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. Este e-mail no tiene el objetivo 
de crear ninguna obligación legal, contractual o de otro tipo entre DISEÑOS Y 
PROYECTOS TECNOLÓGICOS, S.L. y  terceros.
--
This message has been scanned for viruses and dangerous content by MailScanner, and is 
believed to be clean.
This email is intended solely for the use of the individual or organisation to whom it 
is addressed and may contain privileged or confidential information. If you are not 
the intended recipient, please note that retaining, copying, distributing, disclosing 
or using any information contained herein is strictly prohibited. If you have received 
this communication in error, please contact the sender and delete the material from 
any computer. Any views or opinions presented are those of the author and do not 
necessarily represent those of DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. This email is 
not intended to create any legal obligations, contractual or otherwise, between 
DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L.  and any other party.