View previous topic :: View next topic |
Author |
Message |
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 16, 2007 1:44 pm Post subject: |
|
|
One fix is for memory corruption if a listening socket could not be established, another fix is for the connection thread in chroot environments. Other changes are related to merging with trunk and are minor.
karl. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 26, 2007 1:34 am Post subject: |
|
|
kh21 is up. The only fix over kh20a is in the win32 service registration but you can now use wildcards in the accept/deny IP lists.
karl. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 09, 2007 2:35 am Post subject: |
|
|
kh22 is up, this one has updates for flash (on IE?) issues, would like feedback on this and server-wide outgoing bandwidth stat/limiter.
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Thu Oct 18, 2007 2:55 pm Post subject: |
|
|
hi Karl, I install the kh-22 on october 11th. It work well with flash and XP SP2, IE7 until today. I'll check that everything is correct. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Thu Oct 18, 2007 4:44 pm Post subject: |
|
|
Ok, everything's fine. My mp3 stream works well with XP SP2 IE7 and Flash 9.0.47.0.
Thank you. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 19, 2007 1:07 am Post subject: |
|
|
Thanks for the feedback.
karl. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 22, 2007 2:17 am Post subject: |
|
|
kh23 is up. No new features, mainly code cleanup, but listener_remove in url auth was not being triggered due to a recent change. Smaller fixes elsewhere so I've also done a win32 build.
karl. |
|
Back to top |
|
|
Y3K-Daniel
Joined: 24 Sep 2007 Posts: 9
|
Posted: Sun Oct 28, 2007 12:39 am Post subject: |
|
|
Need a bit of help with the stream auth, first you said stream-auth but inthe dist .xml it says stream_auth (for purposes of below i tried it with both.
Now I have kh22, will update to 23 shortly, and i have stream auth set for my one and only mount and it is set to goto a php script (for purpose of testing should allow access to any password, as per paste below). But everytime i try to connect a source it just replies back "Incorrect password, Authentication required (401)" (error displayed in SAM Broadcaster, though i tried shoutcast and winamp and it wouldnt login either). Slight difference is that stream_auth takes longer before it replies, than stream-auth.
So if you could take a gander at my config, and my very short php script (will be replaced), it would be appreciated:
config - made by following my original config, and the dist version for new options in KH ranch:
Code: |
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-size>65535</burst-size>
<max-bandwidth>6M</max-bandwidth>
</limits>
<authentication>
<admin-user>admin</admin-user>
<admin-password>password</admin-password>
</authentication>
<hostname>radio.masked.tld</hostname>
<listen-socket>
<port>8000</port>
<bind-address>72.29.000.000</bind-address>
<shoutcast-mount>/stream</shoutcast-mount>
</listen-socket>
<mount>
<mount-name>/stream</mount-name>
<max-listeners>50</max-listeners>
<max-bandwidth>5120k</max-bandwidth>
<burst-size>65536</burst-size>
<stream-name>TestFM</stream-name>
<stream-description>Test Radio</stream-description>
<stream-url>http://radio.masked.tld</stream-url>
<genre>various</genre>
<bitrate>128</bitrate>
<mp3-metadata-interval>4096</mp3-metadata-interval>
<fallback-mount>/offline.mp3</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<intro>/intro.mp3</intro>
<hidden>1</hidden>
<authentication type="url">
<option name="handlers" value="3" />
<option name="stream_auth" value="http://www.masked.tld/radio/auth.php" />
</authentication>
</mount>
<fileserve>1</fileserve>
<paths>
<logdir>/home/radio/icecast/logs</logdir>
<pidfile>/home/radio/icecast/icecast.pid</pidfile>
<webroot>/home/radio/icecast/web</webroot>
<adminroot>/home/radio/icecast/admin</adminroot>
<alias source="/" dest="/index.htm"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<accesslog_ip>1</accesslog_ip>
<playlistlog>playlist.log</playlistlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
<!-- <logarchive>1</logarchive> -->
</logging>
<security>
<chroot>0</chroot>
</security>
</icecast> |
php - as i said simple, and made from the notation in the dist version of the config:
Code: |
<?
header("icecast-auth-user: 1");
?> |
I must be missing something somewhere... |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Oct 28, 2007 1:49 am Post subject: |
|
|
The options use _ so it's stream_auth. It's hard to say what's missing based on the information given, the key thing is check the error log for messages and in this case your http log for the php being invoked. Obviously you'll need libcurl to use url auth.
I've uploaded kh24 with updates based on what people have reported back to me.
karl. |
|
Back to top |
|
|
Y3K-Daniel
Joined: 24 Sep 2007 Posts: 9
|
Posted: Sun Oct 28, 2007 2:51 pm Post subject: |
|
|
Right, im going to update to 24, set log level to 4, and have the php script write a text file with any info i may find useful.
Will report back when ive implemented it all and tested.
edit: listener auth worked before (not needed in my current implementation just source auth), and i know libcurl is installed. so hopefully logs will reveal something |
|
Back to top |
|
|
Y3K-Daniel
Joined: 24 Sep 2007 Posts: 9
|
Posted: Sun Oct 28, 2007 7:50 pm Post subject: |
|
|
Well that was bizzare, it now works...
The only things ive done is:
- Update to 24
- Change logging to debug
- Restart icecast
- Add a debug logging feature to my simple script (just adds a line to a text file every access)
So the only likely thing is that updating to 24 did it, but whatever the reason, so far its working
Thanks for adding the feature |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Nov 03, 2007 7:03 pm Post subject: |
|
|
kh25 is up. In general this is a cleanup of various parts most of which were shown up by reloading the xml. The YP thread starts when required now instead of polling. A number of fixes are in and should deal with the reports I'm aware of.
karl. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Nov 09, 2007 2:05 pm Post subject: |
|
|
kh25 had a report of major resource usage in certain cases, kh26 fixes that. It only affect setups where you have non-ogg streams without a mount definition but seeing as a mount definition is not required I've made kh26 available. I'll be doing a win32 version shortly.
karl. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Nov 26, 2007 2:59 am Post subject: |
|
|
kh27 is up. Main points are that it fixes a race condition (hard to trigger) in file serving requests and a small improvement in network usage for non-ogg streams. The latter merges non-ogg metadata into a stream packet before the send to prevent overhead waste.
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Mon Dec 17, 2007 4:30 am Post subject: |
|
|
Hey there karl!
I've been using your branch now since some time since the development of the original version kinda stalled. Anyway, it's been working great so far and i'm glad you are introducing new features and all - love your work there.
I'm running a VP6.2+AAC Video stream which is atm relayed by 2 other IceCast servers still at the vanilla 2.3.1 version.
Been using your 2.3-kh23 build since some time now and just wanted to update to the latest kh28 today. So far i've been using http://servername:8000/stream.nsv as the main entry point to the stream and its been working great. But as of kh28 (and i also tried 27) the .nsv at the end has been dropped from my stream name and so the relays can't find my stream anymore. Problem is i have no real access to the relays and changing all the stuff around is too much of a hassle so i'd just like the old behavior back with the .nsv at the end.
Could you tell me how to get it like that with the kh28 and above builds? My config looks roughly like this:
Code: |
<icecast>
<location>DE</location>
<admin>***</admin>
<limits>
<clients>50</clients>
<sources>3</sources>
<client-timeout>30</client-timeout>
</limits>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<hostname>jmusic.ddo.jp</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<listen-socket>
<port>8001</port>
<shoutcast-compat>1</shoutcast-compat>
</listen-socket>
<authentication>
****
</authentication>
<mount>
<mount-name>/stream.nsv</mount-name>
<password>***</password>
<max-listeners>15</max-listeners>
<stream-name>JPopsuki TV!</stream-name>
<stream-description>The Asian Music Video Stream</stream-description>
<stream-url>http://mullemeck.serveftp.org/jps_beta/</stream-url>
<genre>Japanese Music Videos</genre>
<bitrate>400</bitrate>
<public>1</public>
</mount>
<shoutcast-mount>/stream.nsv</shoutcast-mount>
....
</icecast>
|
I removed all irrelevant stuff from that snippet there.
Anyway, would be glad if you could help me with that one so that i may update to the latest versions too.
If you need any additional info, tell me and i'll try to provide that. |
|
Back to top |
|
|
|