Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to allow only 2 IPs to listen to the server?

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Jan 23, 2007 3:29 pm    Post subject: How to allow only 2 IPs to listen to the server? Reply with quote

Hey there Smile

I have read the documentation but nowhere found how to make an IP restriction.
I want to allow only 2 IPs to access the server. What should I add and where?
Something like the function in shoutcast I mean...
Back to top
Anonymous
Guest





PostPosted: Wed Jan 24, 2007 12:00 pm    Post subject: Reply with quote

is nobody able to answer?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 24, 2007 12:34 pm    Post subject: Reply with quote

The only way in 2.3.1 in to use something like listener auth via url. Usually, IP restrictions are based on what IPs you want to ban but I suppose an allow mechanism could be added.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Wed Jan 24, 2007 1:13 pm    Post subject: Reply with quote

Well, I thought that. But HOW? What should I add in the conf and where?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 24, 2007 2:33 pm    Post subject: Reply with quote

As with any listener auth, the details of the auth go in the <mount> section relating to the mountpoint the stream is on. The sample xml files we ship have an example, but you'll need to do the script (php or whatever) to do the IP filter itself.

Personally I would just use firewall rules to just allow those 2 IPs.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber