Icecast-Server issueshttps://gitlab.xiph.org/xiph/icecast-server/-/issues2018-03-06T12:49:48Zhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1133icecast segmentation error2018-03-06T12:49:48ZGitlab Boticecast segmentation errorWe have installed icecast-2.3.1 and then tried to use basic file based authentication.
We get segmentation fault and server crashes every time we open the "Manage Authentication" Link.
Below are the last few lines in the error log
[2...We have installed icecast-2.3.1 and then tried to use basic file based authentication.
We get segmentation fault and server crashes every time we open the "Manage Authentication" Link.
Below are the last few lines in the error log
[2007-02-23 23:28:33] DBUG stats/modify_node_event update node total_bytes_read (75259800)
[2007-02-23 23:28:33] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2007-02-23 23:28:34] DBUG stats/modify_node_event update node total_bytes_read (3934000)
[2007-02-23 23:28:34] DBUG stats/modify_node_event update node total_bytes_sent (2155673)
[2007-02-23 23:28:35] DBUG stats/modify_node_event update node clients (5)
[2007-02-23 23:28:35] DBUG stats/modify_node_event update node connections (38)
[2007-02-23 23:28:35] DBUG admin/admin_handle_request Admin request (/admin/manageauth.xsl)
[2007-02-23 23:28:35] DBUG admin/admin_handle_request Got command (manageauth.xsl)
[2007-02-23 23:28:35] INFO admin/admin_handle_request Received admin command manageauth.xsl on mount "/kota.mp3"
------------------ Beloware last few lines in the access logs------------
220.227.133.26 - - [23/Feb/2007:23:16:06 -0800] "GET /admin/metadata HTTP/1.0" 200 177 "-" "(Mozilla Compatible)" 0
220.227.133.26 - - [23/Feb/2007:23:17:50 -0800] "GET /mohan.mp3 HTTP/1.1" 200 16252 "-" "NSPlayer/10.0.0.4054 WMFSDK/10.0" 1
220.227.133.26 - - [23/Feb/2007:23:17:59 -0800] "GET /mohan.mp3 HTTP/1.1" 200 200231 "-" "RMA/1.0 (compatible; RealMedia)" 97
220.227.133.26 - - [23/Feb/2007:23:18:05 -0800] "GET /mohan.mp3 HTTP/1.1" 200 31532 "-" "NSPlayer/10.0.0.4054 WMFSDK/10.0" 14
220.227.133.26 - - [23/Feb/2007:23:19:42 -0800] "GET /admin/metadata HTTP/1.0" 200 177 "-" "(Mozilla Compatible)" 0
220.227.133.26 - - [23/Feb/2007:23:23:27 -0800] "GET /admin/metadata HTTP/1.0" 200 177 "-" "(Mozilla Compatible)" 0
220.227.133.26 - - [23/Feb/2007:23:23:42 -0800] "GET /admin/metadata HTTP/1.0" 200 177 "-" "(Mozilla Compatible)" 1
220.227.133.26 - - [23/Feb/2007:23:24:11 -0800] "GET /admin/metadata HTTP/1.0" 200 177 "-" "(Mozilla Compatible)" 1
220.227.133.26 - - [23/Feb/2007:23:25:45 -0800] "GET /mohan.mp3 HTTP/1.1" 200 19172 "-" "NSPlayer/10.0.0.3646 WMFSDK/10.0" 4
218.248.68.115 - - [23/Feb/2007:23:27:35 -0800] "GET /mohan.mp3 HTTP/1.1" 200 14112 "-" "NSPlayer/9.0.0.3265 WMFSDK/9.0" 3
Icecast 2.3Karl HeyesKarl Heyeshttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1416icecast server binds to random ports2018-03-06T12:49:48ZGitlab Boticecast server binds to random portsIcecast version 2.3.2, compiled for Linux, x86_64 on Fedora 9 (from the src rpm supplied on icecast.org)
Every time icecast is started, the server binds to a random port. Port 8090 is specified in icecast.xml (see attached file).
Sam...Icecast version 2.3.2, compiled for Linux, x86_64 on Fedora 9 (from the src rpm supplied on icecast.org)
Every time icecast is started, the server binds to a random port. Port 8090 is specified in icecast.xml (see attached file).
Sample output:
```
[root@chrome ~]# service icecast restart
Shutting down icecast streaming daemon: [ OK ]
Starting icecast streaming daemon: [ OK ]
[root@chrome ~]# netstat -tlp | grep icecast
tcp 0 0 chrome.hoover.:8090 *:* LISTEN 30033/icecast
tcp 0 0 chrome.hoover.:8091 *:* LISTEN 30033/icecast
[root@chrome ~]# service icecast restart
Shutting down icecast streaming daemon: [ OK ]
Starting icecast streaming daemon: [ OK ]
[root@chrome ~]# netstat -tlp | grep icecast
tcp 0 0 chrome.hoover.:8090 *:* LISTEN 30119/icecast
tcp 0 0 chrome.hoover.:8091 *:* LISTEN 30119/icecast
```
Icecast 2.3Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1812[PATCH]Handle a source using POST and PUT request2018-03-06T12:49:48ZLaurent Defert[PATCH]Handle a source using POST and PUT requestThis patch makes Icecast handle PUT and POST requests the same way it handles SOURCE request.
This patch makes Icecast handle PUT and POST requests the same way it handles SOURCE request.
Philipp SchafftPhilipp Schaffthttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1885Icecast should allow manual HTTP header configuration2018-03-06T12:49:48ZThomas B. RückerIcecast should allow manual HTTP header configurationOne use case is: "Cross-origin resource sharing" which mandates
"Access-Control-Allow-Origin: http://example.com:8080"
Allowing CORS would simplify inclusion of custom XSLT (e.g. metadata) into other webservices.One use case is: "Cross-origin resource sharing" which mandates
"Access-Control-Allow-Origin: http://example.com:8080"
Allowing CORS would simplify inclusion of custom XSLT (e.g. metadata) into other webservices.Thomas B. RückerThomas B. Rückerhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1132was shout_perl-2.0.2 lost?2018-03-06T12:49:48ZGitlab Botwas shout_perl-2.0.2 lost?I have in my possession Shout.pm with version 2.0.2 but in the svn.xiph.org repository I can only see up to 2.0.1. Was 2.0.2 lost during the transition from cvs?
After many years I'm setting up a new Icecast2 server and I need this comp...I have in my possession Shout.pm with version 2.0.2 but in the svn.xiph.org repository I can only see up to 2.0.1. Was 2.0.2 lost during the transition from cvs?
After many years I'm setting up a new Icecast2 server and I need this component. I could copy from the old server but it would better if you had it :-)
Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1388Report the mountpoint in log lines2018-03-06T12:49:48Zrich_d_thomasReport the mountpoint in log linesHi,
This enhancement request is as a result of discussion thread http://icecast.imux.net/viewtopic.php?t=5336&highlight=
Please could icecast be enhanced, so the lines that are written to the log file include the relevant mountpoint na...Hi,
This enhancement request is as a result of discussion thread http://icecast.imux.net/viewtopic.php?t=5336&highlight=
Please could icecast be enhanced, so the lines that are written to the log file include the relevant mountpoint name (where available) that is being logged.
Thank you.Icecast 2.5.0Thomas B. RückerThomas B. Rückerhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1811Fix streaming on iPhone2018-03-06T12:49:48ZLaurent DefertFix streaming on iPhoneThis patch adds specific headers to http response to make icecast work with iPhones.
http://icecast.imux.net/viewtopic.php?t=6099
This patch adds specific headers to http response to make icecast work with iPhones.
http://icecast.imux.net/viewtopic.php?t=6099
Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1879Sources should be able to specify the latency they want2018-03-06T12:49:48ZGregory MaxwellSources should be able to specify the latency they wantIcecast has a lot of options to trade off latency vs smoothness, e.g. pre-burst, and will probably have more in the future.
It is _really_ _really_ annoying to have an interactive live stream, e.g. where people are responding in realtim...Icecast has a lot of options to trade off latency vs smoothness, e.g. pre-burst, and will probably have more in the future.
It is _really_ _really_ annoying to have an interactive live stream, e.g. where people are responding in realtime over IRC or other streams where the pre-burst is adding 5 seconds of delay. And it's a pain to go get access to the icecast server in order to turn off these features, as the server operator may not be easily available.
The stream source knows best if low latency is required. To the extent that the high latency features impact server scaling it may be useful if the server can still limit them, but absent forcing on the server the source should have a way to select.Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1359[PATCH] <stream-name> config to completely override stream name2018-03-06T12:49:48Zrich_d_thomas[PATCH] <stream-name> config to completely override stream nameHi,
This enhancement request is as a result of discussion thread http://icecast.imux.net/viewtopic.php?t=5033
Please could the code be changed so that all aspects of the "stream name" is overwritten by the contents of the <stream-name>...Hi,
This enhancement request is as a result of discussion thread http://icecast.imux.net/viewtopic.php?t=5033
Please could the code be changed so that all aspects of the "stream name" is overwritten by the contents of the <stream-name> tag in the config.xml file.
Currently, <stream-name> sets what appears in the displayed status.xsl page. The stream name that appears in the listener's player is still what is set in the source client and not what is set in <stream-name>
Thank you.
rich_d_thomas@hotmail.com
Icecast 2.4.0Thomas B. RückerThomas B. Rückerhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1131incorrect display when there are chinese characters2018-03-06T12:49:48Zgonwanincorrect display when there are chinese charactersWhen the stream title, description and artist contains Chinese characters, icecast will display incorrectly. It seems these strings are truncated by wrong length. When the stream title, description and artist contains Chinese characters, icecast will display incorrectly. It seems these strings are truncated by wrong length. Icecast 2.3Karl HeyesKarl Heyeshttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1810Race conditions fix2018-03-06T12:49:48ZLaurent DefertRace conditions fixHelgrind (http://valgrind.org) reports a few potential race conditions during normal execution. The attached patch fixes some of them.
Helgrind (http://valgrind.org) reports a few potential race conditions during normal execution. The attached patch fixes some of them.
Philipp SchafftPhilipp Schaffthttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1752<on-connect> to accept an arguments with the script name2018-03-06T12:49:48ZYahav<on-connect> to accept an arguments with the script namethis little patch makes the function source_run_script() to be compatible with getting an arguments after the script name,
eg. <on-connect>/path/to/script.sh arg1</on-connect>
be aware that this is just a proof-of-concept, as i'm not a ...this little patch makes the function source_run_script() to be compatible with getting an arguments after the script name,
eg. <on-connect>/path/to/script.sh arg1</on-connect>
be aware that this is just a proof-of-concept, as i'm not a C developer but a PHP developer.
i have tested it with Icecast-2.3.2 release, and it works just fine, BUT if you found a bug or some dis-functionality please rewire this patch to make it better.
just thought it would be nice to share.Icecast 2.5.0Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1115Icecast+IE7+flash mp3 stream play2018-03-06T12:49:48ZbenpetiIcecast+IE7+flash mp3 stream playI'm not sure if it is true, maybe Icecast is already patched against it.
I read that I have to patch Icecast if I want to play the stream in flash, in IE7.
You can find the detailed description here:
www.jeroenwijering.com/?thread=Stream...I'm not sure if it is true, maybe Icecast is already patched against it.
I read that I have to patch Icecast if I want to play the stream in flash, in IE7.
You can find the detailed description here:
www.jeroenwijering.com/?thread=Streaming_IceCastMichael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1354pass stream_name and stream_description to on-dis/connect scripts2018-03-06T12:49:48Zrich_d_thomaspass stream_name and stream_description to on-dis/connect scriptsHi,
I notice that the name of the mount point is already passed as an argument to the <on-disconnect> and <on-connect> scripts.
Please could the stream_name and stream_description be passed as additional arguments to these scripts.
Th...Hi,
I notice that the name of the mount point is already passed as an argument to the <on-disconnect> and <on-connect> scripts.
Please could the stream_name and stream_description be passed as additional arguments to these scripts.
Thanks in advance.
rich_d_thomas@hotmail.comIcecast 2.5.0Thomas B. RückerThomas B. Rückerhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1113Generation of /admin/streamlist.txt is broken.2018-03-06T12:49:48ZjekhorGeneration of /admin/streamlist.txt is broken.Icecast always returns empty file on request /admin/streamlist.txt. This bug makes whole-of-server relay unusable.Icecast always returns empty file on request /admin/streamlist.txt. This bug makes whole-of-server relay unusable.Icecast 2.3Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1718[patch] icecast supports SSLv2 and several non-secure ciphers2018-03-06T12:49:48ZDave Miller[patch] icecast supports SSLv2 and several non-secure ciphersIcecast with SSL enabled allows SSLv2 and several insecure ciphers by default, with no way to configure it to do othewise.
SSLv2 is generally considered insecure nowadays, as are a number of the default ciphers in openssl. Icecast wasn...Icecast with SSL enabled allows SSLv2 and several insecure ciphers by default, with no way to configure it to do othewise.
SSLv2 is generally considered insecure nowadays, as are a number of the default ciphers in openssl. Icecast wasn't specifying any ciphers to use, so it just got the default list.
The attached patch disables SSLv2 outright, and adds an optional configuration option called <ssl-allowed-ciphers> which you can use to override the cipher list, which has a sane default that provides a generally-accepted-secure set of ciphers.
Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1345icecast 2x crashes sometimes no y pages2018-03-06T12:49:48ZGitlab Boticecast 2x crashes sometimes no y pagesicecast crashes now and then have to reboot somes that donot work
xiph y pages not working
icecast crashes now and then have to reboot somes that donot work
xiph y pages not working
Icecast 2.3Karl HeyesKarl Heyeshttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1717[patch] icecast doesn't support chained SSL certificates2018-03-06T12:49:48ZDave Miller[patch] icecast doesn't support chained SSL certificatesSituation:
globally accepted certificate authority has certified another certificate authority for signing SSL certificates. The certificate authority that everyone has in their root cert databases has signed the second authority's root ...Situation:
globally accepted certificate authority has certified another certificate authority for signing SSL certificates. The certificate authority that everyone has in their root cert databases has signed the second authority's root cert with theirs, with signing rights granted. The second authority then signs our certificate.
This is called a chained SSL certificate. Every SSL client I've ever seen can deal with them, however, they usually take a little additional setup on the server end to make it work.
We operate several large websites with SSL certificates signed by this same vendor. In Apache, there is a separate configuration option for a certificate chain file. In some other applications (most notably mail servers) you can append the chain certificate onto the end of your own certificate, and it will Just Work.
Based on the way the config is set up in Icecast, it should be using the second method (appending the chain cert onto the end of the pem file for the certs). However, Icecast is using the wrong API call into OpenSSL for this to work.
Patch attached to fix.Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1108icecast-2.3.1 fails to compile against curl-7.16.02018-03-06T12:49:48ZDanielicecast-2.3.1 fails to compile against curl-7.16.0Small bug report:
CURLOPT_PASSWDFUNCTION is a depreciated option ref:
curl.haxx.se/mail/lib-2003-10/0100.html
curl.haxx.se/mail/archive-2003-11/0001.html
They have finally removed it in curl-7.16.0.
Compile error as follows:
source='...Small bug report:
CURLOPT_PASSWDFUNCTION is a depreciated option ref:
curl.haxx.se/mail/lib-2003-10/0100.html
curl.haxx.se/mail/archive-2003-11/0001.html
They have finally removed it in curl-7.16.0.
Compile error as follows:
source='auth_url.c' object='auth_url.o' libtool=no \
depfile='.deps/auth_url.Po' tmpdepfile='.deps/auth_url.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/include -pthread -march=athlon-xp -O2 -pipe -c
`test -f 'auth_url.c' || echo './'`auth_url.c
auth_url.c: In function `auth_get_url_auth':
auth_url.c:521: error: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this
function)
auth_url.c:521: error: (Each undeclared identifier is reported only once
auth_url.c:521: error: for each function it appears in.)
make[3]: *** [auth_url.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/net-misc/icecast-2.3.1-r1/work/icecast-2.3.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-misc/icecast-2.3.1-r1/work/icecast-2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-misc/icecast-2.3.1-r1/work/icecast-2.3.1'
make: *** [all] Error 2
also reported here;
bugs.gentoo.org/show_bug.cgi?id=157756
Michael SmithMichael Smithhttps://gitlab.xiph.org/xiph/icecast-server/-/issues/1649[patch] [kh] PSP podcast support2018-03-06T12:49:48Zmoo[patch] [kh] PSP podcast supportthe problem with PSP is that it want to know the file size by using HEAD request, and will seek to the end of the file by using range request, trying to get the id3 tag. with any step fail, it refuse to play the mp3 (not sure if it handl...the problem with PSP is that it want to know the file size by using HEAD request, and will seek to the end of the file by using range request, trying to get the id3 tag. with any step fail, it refuse to play the mp3 (not sure if it handles media beside mp3)
so my patch will
1. add HEAD support
1. add simple range trick. send audio data anyway. because there're many mp3 files without id3 tag, PSP should (and does) accept this case
i took me a lot of time to figure it out as i have no PSP to test. had to bother my friendsKarl HeyesKarl Heyes