|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
Forum King
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 |
|
|
|
|
|
#3 |
|
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 |
|
|
|
|
|
#4 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
There is no ip range listing provision.
|
|
|
|
|
|
#5 |
|
Junior Member
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?
|
|
|
|
|
|
#6 |
|
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 |
|
|
|
|
|
#7 |
|
Forum Loser
(Forum King) |
for the script your refereing to look here: http://www.spacialaudio.com/knowledg...n.php?qstId=75
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|