Re: [squid-users] Squid 3.1 vmware.com access

2012-09-20 Thread Amos Jeffries

On 20/09/2012 11:46 p.m., Bambang Sumitra wrote:



On Sep 20, 2012 5:12 PM, "Amos Jeffries" > wrote:

>
> On 20/09/2012 7:03 p.m., Bambang Sumitra wrote:
>>
>> Hi All,
>>
>> I'am using Squid Cache: Version 3.1.19 on ubuntu 12.04, and i have
>> problem accessing vmware.com , its never 
complete load, always showing

>> white blank page, i have try with different browser also, firefox,
>> chrome and IE
>>
>>
>> here is my squid config
>>
>> -- squid config
>> --
>> acl manager proto cache_object
>> acl localhost src 127.0.0.1/32  ::1
>> acl to_localhost dst 127.0.0.0/8  0.0.0.0/32 
 ::1
>> acl localnet src 192.168.0.0/16  # RFC1918 
possible internal network

>> acl SSL_ports port 443
>> acl Safe_ports port 80  # http
>> acl Safe_ports port 21  # ftp
>> acl Safe_ports port 443 # https
>> 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 localnet
>> http_access allow localhost
>> http_access deny all
>> http_port 192.168.1.3:3128  transparent
>> cache_dir aufs /squid-cache/squid 1 16 256
>> coredump_dir /squid-cache/squid
>> refresh_pattern ^ftp:   144020% 10080
>> refresh_pattern ^gopher:14400%  1440
>> refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
>> refresh_pattern (Release|Packages(.gz)*)$  0 20% 2880
>> refresh_pattern .   0   20% 4320
>>
>> # custom config
>> logfile_rotate 10
>> cache_mem 1024 MB
>> pipeline_prefetch on
>> dns_nameservers 192.168.1.1 8.8.8.8 8.8.4.4
>>
>> acl langsung dstdomain .vmware.com 
>> always_direct allow langsung
>>
>> ## quinto lab configuration
>> icap_enable on
>> icap_preview_enable on
>> icap_preview_size 4096
>> icap_persistent_connections on
>> icap_send_client_ip on
>> icap_send_client_username on
>> icap_client_username_header X-Client-Username
>> icap_service qlproxy1 reqmod_precache bypass=0 
icap://127.0.0.1:1344/reqmod 
>> icap_service qlproxy2 respmod_precache bypass=0 
icap://127.0.0.1:1344/respmod 

>> adaptation_access qlproxy1 allow all
>> adaptation_access qlproxy2 allow all
>> -- squid config
>> --
>>
>>
>> -- access.log clip
>> --
>
>
>> 1348124282.802 158646 192.168.1.65 TCP_MISS/200 338 GET
>> http://www.vmware.com/files/templates/inc/baynote_global.js - NONE/-
>> application/javascript
>> 1348124283.102 159150 192.168.1.65 TCP_MISS/200 338 GET
>> http://www.vmware.com/files/templates/inc/baynote_observer.js - NONE/-
>> application/javascript
>
>
> It looks like it may be these which take 159 seconds *each* before 
they timeout and 338 bytes are returned to the client. No server is 
contacted. Everything else is only a few milliseconds.

>
> Amos

Hi Amos,

Thank you for replying on my issue.
do you have any idea what is causing squid to timeout?
I have test to by pass squid and i can open vmware.com 
 with no problem and its open so fast.




No idea. Its very strange. A MISS where no server was contacted 
("NONE/-") resulting in a 200 response with 338 bytes of data.
Unless that 200 response is coming out of the ICAP RESPMOD for some 
unknown reason?


Amos


Re: [squid-users] Squid 3.1 vmware.com access

2012-09-20 Thread Amos Jeffries

On 20/09/2012 7:03 p.m., Bambang Sumitra wrote:

Hi All,

I'am using Squid Cache: Version 3.1.19 on ubuntu 12.04, and i have
problem accessing vmware.com, its never complete load, always showing
white blank page, i have try with different browser also, firefox,
chrome and IE


here is my squid config

-- squid config
--
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80  # http
acl Safe_ports port 21  # ftp
acl Safe_ports port 443 # https
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 localnet
http_access allow localhost
http_access deny all
http_port 192.168.1.3:3128 transparent
cache_dir aufs /squid-cache/squid 1 16 256
coredump_dir /squid-cache/squid
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
refresh_pattern (Release|Packages(.gz)*)$  0   20% 2880
refresh_pattern .   0   20% 4320

# custom config
logfile_rotate 10
cache_mem 1024 MB
pipeline_prefetch on
dns_nameservers 192.168.1.1 8.8.8.8 8.8.4.4

acl langsung dstdomain .vmware.com
always_direct allow langsung

## quinto lab configuration
icap_enable on
icap_preview_enable on
icap_preview_size 4096
icap_persistent_connections on
icap_send_client_ip on
icap_send_client_username on
icap_client_username_header X-Client-Username
icap_service qlproxy1 reqmod_precache bypass=0 icap://127.0.0.1:1344/reqmod
icap_service qlproxy2 respmod_precache bypass=0 icap://127.0.0.1:1344/respmod
adaptation_access qlproxy1 allow all
adaptation_access qlproxy2 allow all
-- squid config
--


-- access.log clip
--



1348124282.802 158646 192.168.1.65 TCP_MISS/200 338 GET
http://www.vmware.com/files/templates/inc/baynote_global.js - NONE/-
application/javascript
1348124283.102 159150 192.168.1.65 TCP_MISS/200 338 GET
http://www.vmware.com/files/templates/inc/baynote_observer.js - NONE/-
application/javascript


It looks like it may be these which take 159 seconds *each* before they 
timeout and 338 bytes are returned to the client. No server is 
contacted. Everything else is only a few milliseconds.


Amos


[squid-users] Squid 3.1 vmware.com access

2012-09-20 Thread Bambang Sumitra
Hi All,

I'am using Squid Cache: Version 3.1.19 on ubuntu 12.04, and i have
problem accessing vmware.com, its never complete load, always showing
white blank page, i have try with different browser also, firefox,
chrome and IE


here is my squid config

-- squid config
--
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80  # http
acl Safe_ports port 21  # ftp
acl Safe_ports port 443 # https
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 localnet
http_access allow localhost
http_access deny all
http_port 192.168.1.3:3128 transparent
cache_dir aufs /squid-cache/squid 1 16 256
coredump_dir /squid-cache/squid
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
refresh_pattern (Release|Packages(.gz)*)$  0   20% 2880
refresh_pattern .   0   20% 4320

# custom config
logfile_rotate 10
cache_mem 1024 MB
pipeline_prefetch on
dns_nameservers 192.168.1.1 8.8.8.8 8.8.4.4

acl langsung dstdomain .vmware.com
always_direct allow langsung

## quinto lab configuration
icap_enable on
icap_preview_enable on
icap_preview_size 4096
icap_persistent_connections on
icap_send_client_ip on
icap_send_client_username on
icap_client_username_header X-Client-Username
icap_service qlproxy1 reqmod_precache bypass=0 icap://127.0.0.1:1344/reqmod
icap_service qlproxy2 respmod_precache bypass=0 icap://127.0.0.1:1344/respmod
adaptation_access qlproxy1 allow all
adaptation_access qlproxy2 allow all
-- squid config
--


-- access.log clip
--

1348124124.131  2 192.168.1.65 TCP_HIT/200 1271 GET
http://www.vmware.com/files/include/shadowbox/vmw_cust.js - NONE/-
application/javascript
1348124124.135277 192.168.1.65 TCP_REFRESH_UNMODIFIED/200 1481 GET
http://www.vmware.com/files/templates/inc/oo_engine.js -
DIRECT/96.16.179.51 application/javascri
pt
1348124124.287198 192.168.1.65 TCP_REFRESH_UNMODIFIED/200 1924 GET
http://www.vmware.com/files/include/ga/downloads-tracker.js -
DIRECT/96.16.179.51 application/jav
ascript
1348124124.431277 192.168.1.65 TCP_REFRESH_UNMODIFIED/200 2886 GET
http://www.vmware.com/files/include/common_min.js -
DIRECT/96.16.179.51 application/javascript
1348124282.802 158646 192.168.1.65 TCP_MISS/200 338 GET
http://www.vmware.com/files/templates/inc/baynote_global.js - NONE/-
application/javascript
1348124283.102 159150 192.168.1.65 TCP_MISS/200 338 GET
http://www.vmware.com/files/templates/inc/baynote_observer.js - NONE/-
application/javascript
1348124297.668396 192.168.1.65 TCP_MISS/301 704 GET
http://vmware.com/ - DIRECT/165.193.233.120 text/html
1348124297.876 33 192.168.1.65 TCP_HIT/200 15735 GET
http://www.vmware.com/ - NONE/- text/html
1348124297.968  2 192.168.1.65 TCP_HIT/200 6185 GET
http://www.vmware.com/files/include/ga/ga-code.js - NONE/-
application/javascript
1348124297.994 13 192.168.1.65 TCP_HIT/200 88191 GET
http://www.vmware.com/files/templates/inc/library_framework.js -
NONE/- application/javascript
1348124298.000  3 192.168.1.65 TCP_HIT/200 371 GET
http://www.vmware.com/files/templates/inc/s_define.js - NONE/-
application/javascript
1348124298.002 20 192.168.1.65 TCP_HIT/200 137831 GET
http://www.vmware.com/files/templates/inc/fce.css - NONE/- text/css
1348124298.022  1 192.168.1.65 TCP_HIT/200 2619 GET
http://www.vmware.com/files/js/demand.js - NONE/-
application/javascript
1348124298.054  2 192.168.1.65 TCP_HIT/200 2338 GET
http://www.vmware.com/files/include/shadowbox303/shadowbox.css -
NONE/- text/css
1348124298.064  9 192.168.1.65 TCP_HIT/200 106044 GET
http://www.vmware.com/files/include/location-popup/jquery.tools.min.jq164.js
- NONE/- application/javascript
1348124298.119  6 192.168.1.65 TCP_HIT/200 65355 GET
http://www.vmware.com/files/include/shadowbox303/shadowbox.js - NONE/-
application/javascript
1348124298.130  2 192.168.1.65 TCP_HIT/200 3886 GET
http://www.vmware.com/files/include/location-popup/geo_redirect_min.js
- NONE/- application/javascript
1348124298.132  2 192.168.1.65 TCP_HIT/200 6294 GET
http://www.vmware.com/files/include/location-popup/location-popup-api.js
- N