Old 30th December 2003, 15:26   #1
jbebel
Junior Member
 
Join Date: Dec 2003
Posts: 7
limiting IP addresses

Hello. I'm interested in limiting IP addresses that have access to my shoutcast server. In short, I run shoutcast server for a college radio station, and I would like to have 2 streams, a low quality for off-campus, and a high quality for on campus. I would like to limit the high quality stream to on-campus IP's. In addition, it would be good if I could prevent any computer from transmitting to the shoutcast server except the primary DSP computer. Looking in the configuration file, I saw SrcIP and DestIP, but apparently those are just to bind interfaces on the server, not limit external access. Is it possible from within shoutcast to limit IP's in this manner, or will I have to look into using iptables to manage this?

Thanks,
Joel Ebel
jbebel is offline   Reply With Quote
Old 30th December 2003, 15:42   #2
djmastermind
Forum King
 
djmastermind's Avatar
 
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
The only way that I can think of being able to do this is y messing around with the ReserveIPs or Banning IPs or subnets.

I know that I've seen posts awhile back about this.. Try doing a SHOUTcast forum search and see if that yeilds any results.

-- Michael
djmastermind is offline   Reply With Quote
Old 30th December 2003, 15:55   #3
jbebel
Junior Member
 
Join Date: Dec 2003
Posts: 7
Yeah, I see that I could add every IP on campus to the rip list, but that would make for a very large file, and I imagine it would slow things down considerably if the file had to be scanned in full each time someone connected. Does anyone know if there is syntax for listing a range of IPs in the rip list rather than having to list every individual IP?

Thanks,
Joel
jbebel is offline   Reply With Quote
Old 30th December 2003, 17:23   #4
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
There is no ip range listing provision.

FesterHead is offline   Reply With Quote
Old 30th December 2003, 17:44   #5
bellyup4blues
Junior Member
 
bellyup4blues's Avatar
 
Join Date: Apr 2003
Posts: 31
What if you were to use part of Tom's SCPROXY+AUTH php script (search here, don't have link handy). Instead of using auth and checking the user credentials in the database, check the ip address of the client against a list and proxy the stream for "approved" ips?


Listener Supported/Commercial Free Radio
listen: 128k stream
bellyup4blues is offline   Reply With Quote
Old 30th December 2003, 18:08   #6
jbebel
Junior Member
 
Join Date: Dec 2003
Posts: 7
That would probably work, but I think a firewall rule may be simpler. That's probably what I'll go with.

Joel
jbebel is offline   Reply With Quote
Old 30th December 2003, 18:36   #7
DJHotIce
Forum Loser
(Forum King)
 
DJHotIce's Avatar
 
Join Date: Jan 2003
Location: That place I can't remember the name.
Posts: 4,617
Send a message via AIM to DJHotIce Send a message via Yahoo to DJHotIce
for the script your refereing to look here: http://www.spacialaudio.com/knowledg...n.php?qstId=75

-DJHotIce
Bounce Multimedia - Professional Web Design
DJHotIce is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

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