Re: [squid-users] mms:// via Squid

From: Christoph Haas <email@dont-contact.us>
Date: Thu, 17 Aug 2006 19:15:52 +0200

On Thursday 17 August 2006 15:21, Ralf Hildebrandt wrote:
> We're trying this:
>
> mplayer
> http_proxy://proxy-cvk-2.charite.de:888/mms://stream01.cedis.fu-berlin.d
>e:1755/fu-berlin/cedis/symposium/apostolopoulos_isdn.wmv
>
> proxy-cvk-2.charite.de:888 being our Squid-2.6 proxy.
> (The URL of the mms: stream is freely accessible, so please feel free
> to test!)
>
> In our log we get:
>
> 1155809062.095 9 193.175.68.128 TCP_DENIED/501 1700 GET
> NONE://stream01.cedis.fu-berlin.de:1755/fu-berlin/cedis/symposium/aposto
>lopoulos_isdn.wmv - NONE/- text/html
>
> What is NONE?

501 means "not implemented"
[http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#http-status-codes]

NONE is probably used because mms:// is not a supported protocol.

> mplayer reports:
>
> ...
> Playing
> http_proxy://proxy-cvk-2.charite.de:888/mms://stream01.cedis.fu-berlin.d
>e:1755/fu-berlin/cedis/symposium/apostolopoulos_isdn.wmv. STREAM_HTTP(1),
> URL:
> http_proxy://proxy-cvk-2.charite.de:888/mms://stream01.cedis.fu-berlin.d
>e:1755/fu-berlin/cedis/symposium/apostolopoulos_isdn.wmv Resolving
> proxy-cvk-2.charite.de for AF_INET...
> Connecting to server proxy-cvk-2.charite.de[192.168.220.201]: 888...
> Server returned 501: Not Implemented

That's the same 501 error you see in the logs.

> Can I stream mms: via squid or is it impossible?

In my personal experience there are different ways to transport the stream.
Most servers use UDP communication without being proxy-capable. That won't
work. But other servers also allow HTTP to be used as a transport
protocol. That way even the crappy Microcrap Media Player will work
through Windows' proxy settings. But those URLs usually are http:// URLs
and not mms:// URLs.

I just have a link to the german wikipedia at hand that explains the
protocols in detail: http://de.wikipedia.org/wiki/Microsoft_Media_Server

If you are stuck with mms:// style URLs you can't do much about it. Some
universities seem to offer such a streaming server internally. No idea if
there is free proxy software or if they were seduced by the dark side and
bought the ISA server or crap like that.

Cheers
 Christoph
Received on Thu Aug 17 2006 - 11:16:04 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT