| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Mon Oct 29, 2007 4:40 pm Post subject: user:pass@stream:port:8000/listen.pls |
|
|
How would I set this up? I have a Shoutcast server which I pay for, and I recently came across Icecast.org. I stream programs "privately" for my donators. But someone is obviously leaking the stream. A simple 30 donator stream was set up, and I had 240 people on it by the time I stopped streaming.
One of my friends at MMA-TV sent me his "config" which I don't know what to do with, I dont know how to start! Ive uploaded everything in the "example" folder, the admin system (which is complicated enough). Set up the MYSQL database... and now what?
Im not the best with this sort of stuff, all I need to do is know how I can set this up so my stream URL from my server isnt viewable, and the reffering link requires a username and password.
If you can help me, add me! d3kky@hotmail.com
Thanks. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 29, 2007 4:54 pm Post subject: |
|
|
from your description, you just need a htpasswd file to managed authenticated users connecting to your stream. You can use a separate sql server if you wish but it doesn't sound like a complicated system.
Note that the url will be user:pass@server:port/mountpoint, the pls and m3u is just a playlist, which can have that inside.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Oct 29, 2007 4:55 pm Post subject: |
|
|
| Yeah mate, I know about that and I have the HTacessthing, I dont want to post my XML config on here, im going to PM you it for you to look over it. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Oct 29, 2007 5:05 pm Post subject: |
|
|
Is the /examples/ website the only thing I need uploaded to my website? I have it all uploaded with the mysql database set up, and now this config (I dont know where it goes!)
If you are willing to help me step-by-step I can proberly throw a fiver your way.
Ive edited my config.php with the mysql database stuff in it but I still get this on Mountpoints
| Quote: |
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/lizzylox/domains/we-stream.com/public_html/icecast/mountpoints.php on line 42
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/lizzylox/domains/we-stream.com/public_html/icecast/mountpoints.php on line 52 |
And this on Add User...
| Quote: |
| All Mountpoints Warning: mysql_fetch_assoc(): suppolied argument is not a valid MySQL result resource in /home/lizzylox/domains/we-stream.com/public_html/icecast/adduser.php on line 95 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/lizzylox/domains/we-stream.com/public_html/icecast/adduser.php on line 105 |
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 29, 2007 5:13 pm Post subject: |
|
|
icecast has nothing to do with a website. If you use url based authentication then it can talk to the website to confirm if a user should be allowed to connect but that is it. For a single relay stream using htpasswd, no mysql or web server is required.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Oct 29, 2007 5:27 pm Post subject: |
|
|
Let me explain again. I stream from my own Shoutcast server. The streams are leakable at the moment. I want to set up a user and password database (htpasswd & myusers.txt) for them to connect to my stream.
How do I do this? Can I do it through my website so they dont see the direct stream link and only the refferal link in thier player? Someone told me to use the icecast authentication. I havent got a clue what to do, I downloaded it and uploaded it, he gave me a config file and said "Goodluck". If this hasnt got anything to do with it at all, im sorry. But if it is quite simple to do with a few scripts can you please tell me where I can get them.
Other sites ive used have it the same way...
| Quote: |
| http://84.16.251.240:2388/admin/buildm3u?username=REMOVED&password=REMOVED&mount=%2Fwyw.nsv&Submit=Watch |
This is the way I need my streams, how do I do this! This is all I need to know, how I can set my stream up with my direct stream link hidden and them using a user/password to connect to it (ONE USER PER IP)
| Quote: |
<authentication type="htpasswd">
<option name="filename" value="myauth.txt"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
|
I hope thats made things a little clearer... |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 29, 2007 5:38 pm Post subject: |
|
|
I understand what you want to achieve but you must understand that the buildm3u link that you posted will not hide the stream link. That just gives you a playlist with the stream details in it. The only real way to limit access is to have authentication on the stream itself.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Oct 29, 2007 5:51 pm Post subject: |
|
|
| So basicly, I need a Icecast2 server not a shoutcast server, and this needs to be setup on my server, not my website? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 29, 2007 6:22 pm Post subject: |
|
|
A web server is different from a streaming server, if your service is only a web host company then you probably cannot run it. You could try to run the service yourself however upload rates are generally too low for running streams.
karl. |
|
| Back to top |
|
 |
liteFun
Joined: 13 Jan 2006 Posts: 79
|
Posted: Sat Nov 03, 2007 1:37 pm Post subject: |
|
|
Set up every user of that 30 with their own passwords.
I'm not sure, but I wish Icecast will show users listening, and when you see same user listening multiple times, close that account because he is leaking. |
|
| Back to top |
|
 |
|