Hablare como los locos
Hace tiempo tuve problemas con el sqstat no sé si era ese que tienes ahora, la
verdad no recuerdo pero tenía que ver con cambios necesario que había que
hacerle al sqstat en el código por la actualización de los squid
Te paso los cambios por si acaso..
Son unas líneas que debes cambiar en el file sqstat.class.php aca te pongo las
líneas que eran y abajo las que deben tener..
< if($raw[0]!="HTTP/1.0 200 OK"){
> if($raw[0]!="HTTP/1.1 200 OK"){
< if(substr($v,0,5)=="peer:") $parsed["con"][$connection]["peer"]=substr($v,6);
> if(substr($v,0,8)=="remote: ")
> $parsed["con"][$connection]["remote"]=substr($v,8);
< if(substr($v,0,3)=="me:") $parsed["con"][$connection]["me"]=substr($v,4);
> if(substr($v,0,6)=="local:")
> $parsed["con"][$connection]["local"]=substr($v,7);
< $ip=substr($v["peer"],0,strpos($v["peer"],":"));
> $ip=substr($v["remote"],0,strpos($v["remote"],":"));
< $ip=ip2long(substr($v["peer"],0,strpos($v["peer"],":")));
> $ip=ip2long(substr($v["remote"],0,strpos($v["remote"],":")));
De: Rafael L. Maleta Fernández [mailto:rafae...@centis.edu.cu]
Enviado el: jueves, 25 de marzo de 2021 11:16
Para: gutl-l@listas.jovenclub.cu
Asunto: [Gutl-l] squid
Necesito un sustituto para el sqstat o como configurar el sqstat en squid
5.0.2, hasta ahora todos los intentos han sido invalidos server cannot data o
Error (111): Connection refused
Saludos
___
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu