Old 10th December 2004, 17:18   #1
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
authenticated servers

Hi guys and gals

in our ongoing reaserch into media hosting i have a few questions to ask...

If someone could offer authentication based services for streaming would this be useful to any of you shoutcasters out there ??

does anyone allready offer this service?

a simple explanatation of authenticated servers is the listener/viewer would have to pay the streamer/website a subscription for the user and password to listen/see the live feed

the user and pass could be unique per listenr/viewer so no password sharing, only 1 allocated to the stream so if 1 person logs in it logs the other out

so the opportunity to get peeps to pay to join your site and assist towards your licensing/website fees or use it as pay per view the options are endless!

please drop me some feed back peeps

message to the mods i would like to cross post this in the nsv lounge am i gonna get my ass chewed if i do it?

Last edited by Nick@ss; 10th December 2004 at 18:23.
Nick@ss is offline   Reply With Quote
Old 10th December 2004, 18:54   #2
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
Whether or not the streaming provider has this as an option it's not too difficult to implement an ip reservation system.

There's also the auth script from Tom Pepper.

FesterHead is offline   Reply With Quote
Old 10th December 2004, 19:04   #3
CRS
Junior Member
 
Join Date: Nov 2004
Posts: 43
where can i get the auth script?
CRS is offline   Reply With Quote
Old 10th December 2004, 19:07   #4
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
.htaccess to what? a playlist on a webserver?
What about the DNASs listen link/url?

FesterHead is offline   Reply With Quote
Old 10th December 2004, 22:34   #5
Nige_TAW
Junior Member
 
Join Date: Aug 2003
Location: cardiff, U.K
Posts: 11
Send a message via ICQ to Nige_TAW
Quote:
Originally posted by FesterHead
Whether or not the streaming provider has this as an option it's not too difficult to implement an ip reservation system.

There's also the auth script from Tom Pepper.
Neither of which work very well, **** script is far from infalible, if some1 has found a way to authenticate properly i say it's a good idea to offer it as a service
Nige_TAW is offline   Reply With Quote
Old 10th December 2004, 23:14   #6
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
My reservation system uses a couple database tables for listener management, a phpbb forum login, and a php page in-a-refresh-loop to allow folks to "bust in" to a full DNAS.
Can also be used in private mode for only allowing authenticated listeners in.

The overall gist is:
* user logs in
* user ip auto detected, reserved in DNAS, db updated with user/ip/date (also have proxy page available if needed but not available to everyone by default)
* user tunes into station
* Script looks at DNAS and db to see if any reserved ips need expiring (if ip in connected table not tuned into DNAS and reservation date exceeds one minute then remove reserved ip and reset connected table flags)

Some parts are a little cludgy and need minor work but it works as intended.
Might release by the end of the year.

FesterHead is offline   Reply With Quote
Old 10th December 2004, 23:46   #7
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
it's far better to have it built into the server. Icecast2 already does this type of authentication and I am working on it for Steamcast.
Jay is offline   Reply With Quote
Old 11th December 2004, 00:32   #8
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
I agree, Jay.
Back to lurking for me.

FesterHead is offline   Reply With Quote
Old 11th December 2004, 23:57   #9
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
Hi all,
Well we have decided to throw our authentication attempt into the mix. We have been working closely with a couple of clients and specifically want to thank those over at tranceairwaves.com who have given their support for more development and who are going through a restructuring at the moment.

If anyone is interesting in testing our authentication service, drop a line to

auth-testing@streamsolutions.co.uk

and we will send you over the details. It is only one server and at the moment is just for Shoutcast streamers. We are looking to add it to other services ( I realise this is not the place to mention other products )

regards,

Nick
Nick@ss is offline   Reply With Quote
Old 12th December 2004, 14:08   #10
Nige_TAW
Junior Member
 
Join Date: Aug 2003
Location: cardiff, U.K
Posts: 11
Send a message via ICQ to Nige_TAW
we have been testing it for a while now @ TranceAirWaves and it is absolutely brilliant ... it has all the features we need and so far we can not make people multi stream so has removed our problem of people taking up slots, great system, definately a huge thumbs up
Nige_TAW is offline   Reply With Quote
Old 14th December 2004, 22:08   #11
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
lovin it ... pop up logins and every thing ... bah ... better than mine

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Old 14th December 2004, 22:22   #12
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
We use a modified version of Tom's script and Paypal IPN to automate subscription signups / cancellations.

No complaints so far, and it works through port 80 which is a big plus. We simply pay Fast-Serv for the bandwidth used since it funnels through our web hosting plan.

Suprisingly, there's enough 128k subscriptions to pay for both the 128k and 24k feeds, as well as web hosting with some duckets to spare.
DJ AmPs is offline   Reply With Quote
Old 14th December 2004, 22:31   #13
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
but this is right on the server ... apparently no proxies nothing ...

http://IPort into winamp ... popup ... WOW!

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Old 14th December 2004, 23:57   #14
protegechris
Forum Queen
 
protegechris's Avatar
 
Join Date: Feb 2004
Posts: 6,635
Holy hell. Festerhead

yeah, i'm back.
protegechris is offline   Reply With Quote
Old 15th December 2004, 03:27   #15
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
Quote:
Originally posted by bored_womble
but this is right on the server ... apparently no proxies nothing ...

http://IPort into winamp ... popup ... WOW!
In fact, the proxy creates a popup in winamp as well.

It uses port 80 which means they have a much better chance of getting their moneys worth in a corporate environment.

Since it already used MYSQL, it was very easy to integrate with Paypal IPN.

http://beats.fm/128k/listen.pls
DJ AmPs is offline   Reply With Quote
Old 15th December 2004, 11:32   #16
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
that's cool too, ... but ( sorry to be a pain ,as I cant figure it out )

just

http://IPort/

no listen, not extras, nothing ? how do you do that then ?

and when you get the password right, it streams from that IP and port ( according to TCPDump tooo )

BW.

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Old 26th August 2006, 23:21   #17
DDance
Junior Member
 
Join Date: Feb 2003
Location: Brussels, Belgium
Posts: 12
Send a message via AIM to DDance Send a message via Yahoo to DDance
and does someone of the above auth systems share their work. How did you guyz do it, can we see the files used?

thx
DDance is offline   Reply With Quote
Old 28th August 2006, 00:33   #18
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
you can get tom peppers unsupported auth script here.
http://webcastersunited.com/code/win...h_scritpt.phps

or we can configure authentication with icecast for you on your dedicated server if thats any use.
http://www.streamsolutions.co.uk/index.php?page=consult
Nick@ss is offline   Reply With Quote
Old 28th August 2006, 05:30   #19
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
please note that tom pepper's script is a terrible replacement for auth. Use a server that properly supports authentication such as Icecast or Steamcast.
Jay is offline   Reply With Quote
Old 28th August 2006, 23:17   #20
DDance
Junior Member
 
Join Date: Feb 2003
Location: Brussels, Belgium
Posts: 12
Send a message via AIM to DDance Send a message via Yahoo to DDance
I'm using icecast 2.3.1 atm
But i was looking a bit to integrate it with vBulletin paypal subscription...
DDance is offline   Reply With Quote
Old 29th August 2006, 01:34   #21
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
dunno what they are actually using to do this, but di.fm has these systems in place for their 'higher end' streams....
fc*uk is offline   Reply With Quote
Old 29th August 2006, 02:01   #22
FS-Randy
Senior Member
 
Join Date: Nov 2005
Posts: 100
Icecast is a viable solution for any type of streaming auth except for WMA based streams. It is highly flexible and can be integrated into any database.

We currently utilize Icecast as the base for our authenticated mp3, aac+, and otherwise non-wma streams.

It can even be ran in "shoutcast compatibility" mode which allows use as a drop-in replacement for a Shoutcast server, at the expense of some added features.
FS-Randy is offline   Reply With Quote
Old 29th August 2006, 14:55   #23
DDance
Junior Member
 
Join Date: Feb 2003
Location: Brussels, Belgium
Posts: 12
Send a message via AIM to DDance Send a message via Yahoo to DDance
Interesting...

Is it possible to get a brief description how you
integrated the icecast auth system with a database?

thx
DDance is offline   Reply With Quote
Old 29th August 2006, 17:54   #24
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
do you have the icecast server authenticating allready?

if not then this post might help.
http://forums.winamp.com/showthread....authentication

now alltho you are in the wrong place to be asking for icecast authentication i will point out that auth has allways been a bone of contention in this place as there are few that have a succesfull secure option and the chances are of people discussing it in public forums will be pretty slim.

we have created out authenticated options for shoutcast / icecast / windows media / nsv and sell it as a product so cant really go too much into it as people would bite our hands off if we were to give solutions away.

but your best places for reference are the icecast and vbulletin forums for the products you are looking at.

i hope the link helps
Nick@ss is offline   Reply With Quote
Old 29th August 2006, 18:01   #25
DDance
Junior Member
 
Join Date: Feb 2003
Location: Brussels, Belgium
Posts: 12
Send a message via AIM to DDance Send a message via Yahoo to DDance
True, wrong place for icecast hehehe
but i got icecast with auth installed allright

If i can't get around the vBulletin integration i'll might come over to purchase your package... alltough 150gbp is kinda expinsive too me

we'll see ey

thanks for the info anyway. The tom pepper script is not what i want anyway
DDance is offline   Reply With Quote
Old 29th August 2006, 18:14   #26
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
if the icecast auth is done allready then some of the work is done,

drop us an email via the site and we can have a chat.
Nick@ss is offline   Reply With Quote
Old 29th August 2006, 19:24   #27
DDance
Junior Member
 
Join Date: Feb 2003
Location: Brussels, Belgium
Posts: 12
Send a message via AIM to DDance Send a message via Yahoo to DDance
i dropped a mail ;-)
DDance is offline   Reply With Quote
Old 30th August 2006, 14:55   #28
FS-Randy
Senior Member
 
Join Date: Nov 2005
Posts: 100
I won't try to hide publically known information =)

Integrating icecast with an arbitrary system involves one of two methods -

1. http polling - in the Icecast config, you can set up HTTP GET/POST "checks" that Icecast will make to decide if a listener can connect or not, based on IP, and username/password supplied. This requires you do some custom PHP, ASP, or CGI on the database server to respond with a "yes" or "no" for the connection.

This method is by far the most powerful and flexible.

2. .htpasswd check - Icecast will read the standard file for username/password combos. To integrate with a database, you'd have to set up a cron to continually poll the database and write a .htpasswd file with the current users. The benefit of this system is that you can also manage the userlist from the Icecast admin, and no external tools or scripts are needed, at the very minimum.

For windows media, you can use VBscript in a similar fashion to achieve option 1. or 2. in Icecast.

For SHoutcast, there really is no reason for hacking the binary, or attempting to use it's broken auth mechanism. Icecast can be used as a drop-in replacement, and you can even modify the HTTP status page to look just like Shoutcast if you so like =).
FS-Randy is offline   Reply With Quote
Old 30th August 2006, 18:06   #29
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
aaahhh , i wondered when the host bashing would start ...

BW

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump