Hello,

I have recently installed  Squid on my Server system and After putting
the load on the server, I get nothing in access log but  logs like
this:


1099130888.293      1 XXX.XXX.XXX.XXX NONE/400 1469 GET /style.css -
NONE/- text/html
1099130888.294      0 XXX.XXX.XXX.XXX NONE/400 1465 POST /notify/ -
NONE/- text/html
1099130888.342     48 XXX.XXX.XXX.XXX NONE/400 1541 GET
/eastenders/images/navigation/icon_bbc_one.gif - NONE/- text/html
1099130888.419     70 XXX.XXX.XXX.XXX NONE/400 1539 GET
/eastenders/images/furniture/l_top_shadow.jpg - NONE/- text/html
1099130888.438      7 XXX.XXX.XXX.XXX NONE/400 1507 GET
/gbsf/gg/1201/1201-119.grp2ze - NONE/- text/html
1099130888.447      6 XXX.XXX.XXX.XXX NONE/400 1487 GET
/~salmahayak/11.jpg - NONE/- text/html
1099130888.517      1 XXX.XXX.XXX.XXX NONE/400 1511 GET
/webchat_paktel3/pak_chat.class - NONE/- text/html
1099130888.536     18 XXX.XXX.XXX.XXX NONE/400 1509 GET
/images9/small/754/1152754.jpg - NONE/- text/html
1099130888.557     13 XXX.XXX.XXX.XXX NONE/400 1465 GET /events/ -
NONE/- text/html
1099130888.594      2 XXX.XXX.XXX.XXX NONE/400 1531 GET
/CommMsgs.aspx?cmm=166640&tid=2682701 - NONE/- text/html
1099130888.595      0 XXX.XXX.XXX.XXX NONE/400 1555 GET
/us.yimg.com/i/us/pim/r/medici/blue/rc_wc3c5_sw_1.gif - NONE/-
text/html
1099130888.599      3 XXX.XXX.XXX.XXX NONE/400 1907 GET
/dynamic/hotbar/disp/3.0/ToolTipDisp.dll?GetButtonsTT&buttons=,1424,3338,39245,79977,79
989,80026&lang=en&partner=hotbar&CID=A0514F77C3E5D8119A1E00C04FD05D9C0B61721E&UID=A2514F77C3E5D8119A1E00C04FD05D9C6844D299
- NONE/- text/html
1099130888.627     27 XXX.XXX.XXX.XXX NONE/400 1459 GET /fec/ - NONE/- text/html
1099130888.679     42 XXX.XXX.XXX.XXX NONE/400 1555 GET
/us.yimg.com/i/us/pim/r/medici/blue/rc_wc3c5_se_1.gif - NONE/-
text/html
1099130888.707     21 XXX.XXX.XXX.XXX NONE/400 1555 GET
/us.yimg.com/i/us/pim/r/medici/blue/rc_wc3c5_ne_1.gif - NONE/-
text/html
1099130888.914      7 XXX.XXX.XXX.XXX NONE/400 1505 GET
/gbsf/gg/1203/1203-48.grp2ze - NONE/- text/html
1099130888.921      6 XXX.XXX.XXX.XXX NONE/400 1489 GET
/frontapp/signup.php - NONE/- text/html
1099130889.008     15 XXX.XXX.XXX.XXX NONE/400 1493 GET
/images/l2b_image1.gif - NONE/- text/html
1099130889.036     28 XXX.XXX.XXX.XXX NONE/400 1503 POST
/Helpdesk/free_brochure.asp - NONE/- text/html
1099130889.063     16 XXX.XXX.XXX.XXX NONE/400 1507 GET
/images4/small/351/502351.jpg - NONE/- text/html
1099130889.068      3 XXX.XXX.XXX.XXX NONE/400 1501 GET
/_images/layout1_r3_c8.gif - NONE/- text/html


Everyone can see that instead of complete URL , there is only  the
requested file name in access log and that "NONE" instead of "GET,
TCP_HIT"  and Others.

I am running Squid2.5-STABLE3  RPM  on RHEL 
and my Squid.conf looks like this


[EMAIL PROTECTED] root]# cat /etc/squid/squid.conf |sed -e '/^\#[ ]**/d' -e '/^$/d'

http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 512  MB
maximum_object_size 12288 KB
maximum_object_size_in_memory 8 KB
cache_replacement_policy heap GDSF 
memory_replacement_policy lru
cache_dir ufs /cache 20000  16  256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
pid_filename /var/run/squid.pid
redirect_rewrites_host_header off
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
half_closed_clients off
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl users src 192.168.0.0.20
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow users
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_user squid
cache_effective_group squid
visible_hostname  cache
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
logfile_rotate 1
memory_pools off
store_objects_per_bucket 50
coredump_dir /squid/var/cache


This server ip 192.168.0.5, the LAN users 192.168.0.0 users are not
able to browse web pages and   the Error Page says that no hostname
was present in the URL only the file name.

I am running a CISCO router next to this server machine which then
forwards my traffic to NET-Cloud.

Any help in this regard will be appericiated.



-- 
Nasir Mahmood
Systems + Network Admin.
Asia Net.

Reply via email to