Posts Tagged squid

Tool to analysis the squid logs

Tool to analysis the squid logs
http://scalar.risk.az/scalar095/scalar.awk

No Comments

squidclient -p 3128 -h squid_ip_address

squidclient -p 3128 -h squid_ip_address mgr:info@PASSWORD

get the squid manager infomation from it.
we should enable the client access cache manager
edit /etc/squid/{squid.conf, cachemgr.conf}
add your ip address to access. default manager can only access by localhost.

use a different port for cache manager
http_port 80 defaultsite=want_to_access_ip_address/hostname :80
http_port 8001 # this is for cache manager

No Comments

I just try to rebuild the squid3 for ope…

I just try to rebuild the squid3 for opensuse, i changed the filedescriptor and threads
modified squid3.spec
edit the following line about line 273
export CFLAGS=”$RPM_OPT_FLAGS -DNUMTHREADS=32 -fPIE -fPIC -fno-strict-aliasing”

and the following line on line 315
–with-filedescriptors=8192

Install Requires Packages:
sudo zypper install krb5-devel libxml2-devel openldap2-devel opensp-devel pam-devel db-devel
patch autoreconf make libexpat-devel libtool

Read the rest of this entry »

No Comments