Re: [squid-users] SQUID CBN Stream

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 23 Jul 2008 18:02:59 +1200

Araripe Moreira wrote:
> Hi
>
>
> I hope one of you will be able to help!
>
> Somebody can listen CNN Radio using Squid? I can't believe I'm the
> only one... If anyone can listen CNN Radio * without bypass squid * ,
> please send me your squid.conf!! I think a lot people are using squid
> and can listen radios or streaming audio (may internet sites have a
> lot of audio files on these days, like webradio, etc)
>

I took a look at this. UNfortunately the far end like most Windows Media
Player streamers is doing some form of check that WMP is actually making
the request. And I don't know what details need to be sent to fool it.

(NP: if anyone _does_ know please pass the info on. I'd find it very
helpful.)

The usual thing to expect with streams, is that the actual multimedia
data is going/coming via a different non-proxied connection. Firewalls
who don't like, understand and/or trust the stream protocols can be
greatly confused by these.

Amos

PS. If you can please upgrade from 3.0s2 as possible.

>
>> Hi list
>> I'm new user of mail-list and I hope someone will be able to help me
>> with the following problem:
>> I'm using squid-3.0.STABLE2 (non-transparent proxy) and I use a very
>> minimal configuration (see above my squid.conf).
>> In my firewall (PFSense) there is a rule granting access from any host
>> of my network for the proxy server on port 3128 and another rule
>> allowing access from the proxy server on port 80 to any host the
>> Internet.
>> All the web access this working, but when users of my network try to
>> listen some radios as CBN or UOL (from Brazil) It doesn't works.
>> Apparently the connection is down but cannot make the buffer and the
>> video does not start. The following sites are examples of this
>> problem.
>> cbn.globoradio.globo.com
>> radio.musica.uol.com.br
>> Some audio/video stuff seems work fine (like CNN PostCast, or some CNN
>> Videos), but the radio don't work!
>> If I remove the proxy (bypass squid) all working!!!!!!!! But I can't
>> do a firewall direct access (for many reasons) for all existent
>> radio/streaming sites.
>> When I launching squid with the flags –d 9 –X –N I can get the
>> following error in the file cache.log.
>>
>> 2008/06/02 11:36:07.439| fwdReforward:
>> http://r.mm.uol.com.br/radiouol/01/0102/010223-4/010223-4_06_28.asf?>1F_jTCsNNH1eyRFNFccNYF5cNYjUJTSyN6TRI.WbM09bGQsUbMc?
>> 2008/06/02 11:36:07.439| fwdReforward: No, ENTRY_FWD_HDR_WAIT isn't set
>> 2008/06/02 11:36:07.439| fwdComplete: not re-forwarding status 200
>> 2008/06/02 11:36:07.439| storeComplete: '08D42314CD384A70B5C807686E646F53'
>> 2008/06/02 11:36:07.439| storeEntryValidLength: Checking
>> '08D42314CD384A70B5C807686E646F53'
>> 2008/06/02 11:36:07.439| storeEntryValidLength: object_len = 8067
>> 2008/06/02 11:36:07.439| storeEntryValidLength: hdr_sz = 576
>> 2008/06/02 11:36:07.439| storeEntryValidLength: content_length = 7491
>> 2008/06/02 11:36:07.439| storeSwapOut:
>> http://r.mm.uol.com.br/radiouol/01/0102/010223-4/010223-4_06_28.asf?>1F_jTCsNNH1eyRFNFccNYF5cNYjUJTSyN6TRI.WbM09bGQsUbMc
>> 2008/06/02 11:36:07.439| storeSwapOut: store_status = STORE_OK
>> 2008/06/02 11:36:07.439| store_swapout.cc(192) storeSwapOut: mem->inmem_lo = 0
>> 2008/06/02 11:36:07.439| store_swapout.cc(193) storeSwapOut:
>> mem->endOffset() = 8067
>> 2008/06/02 11:36:07.439| store_swapout.cc(194) storeSwapOut:
>> swapout.queue_offset = 0
>> 2008/06/02 11:36:07.439| store_swapout.cc(205) storeSwapOut:
>> lowest_offset = 5190
>> 2008/06/02 11:36:07.439| InvokeHandlers: 08D42314CD384A70B5C807686E646F53
>> 2008/06/02 11:36:07.439| StoreEntry::InvokeHandlers: checking client #0
>> 2008/06/02 11:36:07.439| storePendingNClients: returning 1
>> 2008/06/02 11:36:07.439| Server.cc(180) transaction done
>> 2008/06/02 11:36:07.439| cbdataFree: 0x83376f8
>> 2008/06/02 11:36:07.439| cbdataFree: Freeing 0x83376f8
>> 2008/06/02 11:36:07.439| http.cc(144) HttpStateData 0x859e590 destroyed; FD -1
>> 2008/06/02 11:36:07.439| StoreEntry::unlock: key
>> '08D42314CD384A70B5C807686E646F53' count=3
>> 2008/06/02 11:36:07.439| forward.cc(166) FwdState destructor starting
>> 2008/06/02 11:36:07.439| cbdataUnlock: 0x858a070=0
>> 2008/06/02 11:36:07.439| StoreEntry::unlock: key
>> '08D42314CD384A70B5C807686E646F53' count=2
>> 2008/06/02 11:36:07.439| forward.cc(193) FwdState destructor done
>> 2008/06/02 11:36:07.439| cbdataFree: 0x858a070
>> 2008/06/02 11:36:07.439| cbdataFree: Freeing 0x858a070
>> 2008/06/02 11:36:07.439| cbdataFree: 0x859e590
>> 2008/06/02 11:36:07.439| cbdataFree: Freeing 0x859e590
>> 2008/06/02 11:36:07.439| Engine 0xbfb8b874 is idle.
>> 2008/06/02 11:36:07.439| comm_iocallbackpending: 0
>> 2008/06/02 11:36:07.439| comm_poll: 1+0 FDs ready
>> 2008/06/02 11:36:07.440| comm_poll: FD 43 ready for writing
>> 2008/06/02 11:36:07.440| commHandleWrite: FD 43: off 0, sz 2877.
>> 2008/06/02 11:36:07.440| commHandleWrite: write() returns 2877
>> 2008/06/02 11:36:07.485| commio_complete_callback: called for 43 (0, 0)
>> 2008/06/02 11:36:07.485| comm_iocallbackpending: 0
>> 2008/06/02 11:36:07.485| comm_calliocallback: 0
>> 2008/06/02 11:36:07.485| comm_calliocallback: 0
>> 2008/06/02 11:36:07.485| commio_call_callback: called for 43
>> 2008/06/02 11:36:07.485| cbdataReferenceValid: 0xb7aba018
>> 2008/06/02 11:36:07.485| cbdataUnlock: 0xb7aba018=0
>> 2008/06/02 11:36:07.485| client_side.cc(1294) clientWriteBodyComplete
>> schedules clientWriteComplete
>> 2008/06/02 11:36:07.485| clientWriteComplete: FD 43, sz 2877, err 0,
>> off 8184, len 0xb7b607b0
>> 2008/06/02 11:36:07.485| client_side_reply.cc(993) storeOKTransferDone
>> out.offset=7491 objectLen()=8067 headers_sz=576
>> 2008/06/02 11:36:07.485| clientReplyStatus: transfer is DONE
>> 2008/06/02 11:36:07.485| clientReplyStatus: stream was not expected to complete!
>> 2008/06/02 11:36:07.485| client_side.cc(1563) initiateClose: closing
>> for STREAM_UNPLANNED_COMPLETE|STREAM_FAILED
>> 2008/06/02 11:36:07.485| comm_close: FD 43
>> 2008/06/02 11:36:07.485| commSetTimeout: FD 43 timeout -1
>> 2008/06/02 11:36:07.485| cbdataUnlock: 0x8565520=1
>> 2008/06/02 11:36:07.485| commio_complete_callback: called for 43 (-10, 0)
>> 2008/06/02 11:36:07.486| commio_call_callback: called for 43
>> 2008/06/02 11:36:07.486| cbdataReferenceValid: 0x855d510
>> 2008/06/02 11:36:07.486| cbdataUnlock: 0x855d510=1
>> 2008/06/02 11:36:07.486| client_side.cc(2442) clientReadRequest FD 43 size 0
>>
>>
>> Users use IE7 and Firefox browser plugin for 3 with windows media
>> player 11. In a Windows/IE, the windows media box just show
>> "connecting..." *but the audio never start! With firefox, the windows
>> media box just say "stoped".
>> Is there any tip or configuration to listen these radios without bypass squid?
>> Somebody can try to access this site from their environment using Squid?
>> ### My squid.conf ###

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE8
Received on Wed Jul 23 2008 - 06:03:01 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 23 2008 - 12:00:05 MDT