Can not play radio streams any more

Bug #659809 reported by Francis De Brabandere
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cntnlm
Unknown
Unknown
cntlm (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

[SRU] The debdiff attached to LP: #1009436 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise.

[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to play internet radio streams (worked in Lucid).

[Test Case]
Cntlm should be correctly configured and network proxy applied system wide as 127.0.0.1 port 3128 for HTTP, HTTPS and FTP, but not Socks.

Open Rhythmbox and add http://shouthostdirect12.streams.bassdrive.com:8200/ as a New Internet Radio Station. Highlight the newly added station and click Play.
0.91 behaviour: no music is heard and a red No Entry icon appears next to the station.
0.92 behaviour: music starts playing.

[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6.
Please see LP: #1009436 for additional information.

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

Binary package hint: cntlm

Just upgraded to Maverick (10.10) and now I can't play radio streams any more
this worked fine in 10.04
  CNTLM - Accelerating NTLM Authentication Proxy version 0.35.1
Maverick version:
  CNTLM - Accelerating NTLM Authentication Proxy version 0.91rc6

Further issues:
* shutting down with sudo /etc/init.d/cntlm stop fails 'Stopping CNTLM Authentication Proxy: failed!"
* When debugging the first crtl-c gives me this message "^Ccntlm[27631]: Signal 2 received, issuing clean shutdown" but the process does not end (a second crtl-c works)

sudo cntlm -v -f -c /etc/cntlm.conf

----------------------------------------------------------
output from the new version 0.91rc6:
----------------------------------------------------------

******* Round 1 C: 5 *******
Reading headers (5)...
HEAD: GET http://shouthostdirect12.streams.bassdrive.com:8200 HTTP/1.0
   NO: shouthostdirect12.streams.bassdrive.com (localhost)
   NO: shouthostdirect12.streams.bassdrive.com (127.0.0.*)
   NO: shouthostdirect12.streams.bassdrive.com (10.*)
   NO: shouthostdirect12.streams.bassdrive.com (192.168.*)
Thread processing...
User-Agent => qmmp/0.4.1
Host => shouthostdirect12.streams.bassdrive.com:8200
Accept => */*
Proxy-Connection => Keep-Alive
Icy-MetaData => 1
cntlm[27514]: 127.0.0.1 GET http://shouthostdirect12.streams.bassdrive.com:8200
NTLM Request:
    Domain: xxxx
  Hostname: xxx
     Flags: 0xA208B205

Sending PROXY auth request...
User-Agent => qmmp/0.4.1
Host => shouthostdirect12.streams.bassdrive.com:8200
Accept => */*
Proxy-Connection => keep-alive
Icy-MetaData => 1
Proxy-Authorization => NTLM xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Length => 0

Reading PROXY auth response...
HEAD: ICY 200 OK
headers_recv: Unknown header (ICY 200 OK).
headers_recv: fd 9 error -4
Proxy auth connection error.
forward_request: palive=0, authok=0, ntlm=0, closed=0

Thread finished.

----------------------------------------------------------
output from the old version 0.35.1:
----------------------------------------------------------

******* Round 1 C: 5, S: 6 *******!
Reading headers...
HEAD: GET http://shouthostdirect11.streams.bassdrive.com:8398 HTTP/1.0
User-Agent => qmmp/0.4.1
Host => shouthostdirect11.streams.bassdrive.com:8398
Accept => */*
Proxy-Connection => Keep-Alive
Icy-MetaData => 1
NTLM Request:
    Domain: xxxx
  Hostname: xxxx
     Flags: 0xA208B205

Sending auth request...
User-Agent => qmmp/0.4.1
Host => shouthostdirect11.streams.bassdrive.com:8398
Accept => */*
Proxy-Connection => Keep-Alive
Icy-MetaData => 1
Connection => Keep-Alive
Proxy-Authorization => NTLM xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Reading auth response...
HEAD: ICY 200 OK
icy-notice1 => <BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2 => SHOUTcast Distributed Network Audio Server/Linux v1.9.8<BR>
icy-name => Bassdrive - Worldwide Drum and Bass Radio
icy-genre => Techno
icy-url => http://www.bassdrive.com
content-type => audio/mpeg
icy-pub => 1
icy-metaint => 32768
icy-br => 128
Proxy closed connection (i=1, closed=1, so_closed=0). Reconnecting...
Sending headers...
User-Agent => qmmp/0.4.1
Host => shouthostdirect11.streams.bassdrive.com:8398
Accept => */*
Proxy-Connection => Keep-Alive
Icy-MetaData => 1
Connection => Keep-Alive
No body.

******* Round 2 C: 5, S: 6 *******!
Reading headers...
HEAD: ICY 200 OK
icy-notice1 => <BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2 => SHOUTcast Distributed Network Audio Server/Linux v1.9.8<BR>
icy-name => Bassdrive - Worldwide Drum and Bass Radio
icy-genre => Techno
icy-url => http://www.bassdrive.com
content-type => audio/mpeg
icy-pub => 1
icy-metaint => 32768
icy-br => 128
*************************
CL: (null), C: (null), CT: audio/mpeg, TE: (null)
Sending headers...
Body included. Lenght: -1
data_send: read 1275 of 2048 / 1275 of -1 (errno = ok)
data_send: wrote 1275 of 1275
data_send: read 1448 of 2048 / 2723 of -1 (errno = ok)

description: updated
Revision history for this message
Stefano Rivera (stefanor) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I think this is fixed in the latest development version of Ubuntu - Quantal Quetzal.

This is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in cntlm (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cntlm (Ubuntu Precise):
status: New → Confirmed
Revision history for this message
Graham Inggs (ginggs) wrote :

I've built a version of cntlm for Precise that includes r281 in my PPA:
https://launchpad.net/~ginggs/+archive/ppa

Rev 281, 2011-12-10 18:26:43
Author: dave
Log message:
* Implemented request #3086561 (internet radios, ICY protocol suport)
* Version 0.32.1

Revision history for this message
Graham Inggs (ginggs) wrote :

debdiff for Precise attached to LP: #1009436

Graham Inggs (ginggs)
description: updated
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Francis, or anyone else affected,

Accepted cntlm into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/cntlm/0.92.3-0ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in cntlm (Ubuntu Precise):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Francis De Brabandere (francisdb) wrote :

As I no longer work at the company that required a proxy I have no way to test this...

Revision history for this message
Graham Inggs (ginggs) wrote :

I have successfully played http://shouthostdirect12.streams.bassdrive.com:8200/ on both the i386 and amd64 versions of cntlm from precise-proposed.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cntlm - 0.92.3-0ubuntu0.1

---------------
cntlm (0.92.3-0ubuntu0.1) precise-proposed; urgency=low

  * Backport 0.92.3-1ubuntu1 to Precise as an SRU (LP: #1009436):
    - Properly handle non-HTTP/1.1 keep-alive (LP: #1009436, #257210)
    - Support SHOUTcast (ICY) internet radio protocol (LP: #659809)
    - Fix error when downloading files >2GB (LP: #1031670)
    - Resolve proxy hostname on demand, not at startup (LP: #825593)

cntlm (0.92.3-1ubuntu1) quantal; urgency=low

  * Cherry-pick r306 from 0.93 to properly handle non-HTTP/1.1 keep-alive
    (LP: #1009436)

cntlm (0.92.3-1) unstable; urgency=low

  * New upstream release. Closes: #652725, #588920.
  * Fix Init script error, thanks Martijn. Closes: #588683.
  * Correct spellings in man page.
  * Update Standards Version, no changes needed.
 -- Graham Inggs <email address hidden> Wed, 29 Aug 2012 16:26:00 +0200

Changed in cntlm (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.