[squid-users] Streaming asx files through squid

From: Tris Hoar <tristan.hoar@dont-contact.us>
Date: Wed, 16 Jan 2008 16:26:42 -0000

Hi List,

 

We are fairly new to using squid and are in the process of migrating 400 odd
proxy servers over to it. This is going fairly smoothly at the moment.
However some of the customers have reported that http://www.heartfm.co.uk is
no longer streaming radio for them.

 

The server that the audio streams from firstly sends this HTML file to the
client

 

<asx version = "3.0">

<title>Heart West Midlands 100.7 Live Stream</title>

                         <entry>

                                                 <title>LIVE :
Heart1007</title>

                                                 <ref
href="http://wm-global.london.as34763.net/Heart1007" />

                         </entry>

</asx>

 

 

Then http://wm-global.london.as34763.net/Heart1007

 

Points to

 

[Reference]

Ref1=http://wm-global.london.as34763.net/Heart1007?MSWMExt=.asf

Ref2=http://192.168.97.221:80/Heart1007?MSWMExt=.asf

 

If we use http://wm-global.london.as34763.net/Heart1007?MSWMExt=.asf
directly in Media player 11 this works through squid

 

Our setup is a local squid server at each site > to DNS round robin of
parent servers in the core > Internet

The squid servers are built on Xeon 3.0 GHz servers with 2GB ram and ~500GB
disk space of which 400GB is cache. The OS is REHL 5.1 and running Squid
2.6.STABLE6 (we are using this version due to redhat offering support for
it)

Using the parents directly or the old proxy server's this streams fine
though windows media player 11.

 

Our squid config is

----------------------------------------------------------------------------

http_port 80

 

 

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?

cache deny QUERY

 

 

acl apache rep_header Server ^Apache

broken_vary_encoding allow apache

 

 

cache_replacement_policy heap LRU

memory_replacement_policy heap GDSF

cache_dir aufs /var/spool/squid 400000 64 256

 

access_log /var/log/squid/access.log

access_log none

 

refresh_pattern ^ftp: 1440 20% 10080

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern . 0 20% 4320

 

 

acl all src 0.0.0.0/0.0.0.0

acl manager proto cache_object

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 8443

acl Safe_ports port 80 81 21 443 563 70 210 280 554 488 591 777 889
1025-65535

acl CONNECT method CONNECT

acl Proxy_bypass dstdomain .misportal.net .bgfl.org

 

 

#Access Control Rules

http_access allow manager localhost

http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access allow localhost

http_access allow all

 

http_reply_access allow all

icp_access allow all

 

always_direct allow Proxy_bypass

never_direct allow all

 

nonhierarchical_direct off

 

coredump_dir /var/spool/squid

visible_hostname eduproxy.bgfl.org

 

cache_effective_user squid

cache_effective_group squid

cachemgr_passwd xxxxxx info stats/objects

 

----------------------------------------------------------------------------

 

If you can shed any light on how to resolve this that would be great!

 

If you need any more info I would be happy to help.

 

Kind Regards

 

Tris

*************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email
in error please notify postmaster@bgfl.org

The views expressed within this email are those of the
individual, and not necessarily those of the organisation
*************************************************************
Received on Wed Jan 16 2008 - 09:26:47 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST