Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 3rd May 2012, 00:02   #1
olkos
Junior Member
 
Join Date: Dec 2007
Posts: 2
Shoutcast 2 RIPOnly problem

Hello,

I am running the latest version SHOUTcast Server v2.0.0.29/posix(linux x64) on Debian server.

As I can understood the Riponly=1 parameter works global for all IDs.

When I enable Riponly, if my IP is not in sc_serv.rip list, I dont have access to DNAS page. This is not so bad, but also when my IP is in sc_serv.rip list I can see the index.html main page, but I cannot access index.html?sid=1, index.html?sid=2, index.html?sid=3, etc.
Also this is not so bad, because I can listen the the streampath /test.aac but I don't have access to listen.pls?sid=1, listen.asx?sid=1 etc.

The most serius problem is that I dont have access to admin.cgi?sid=1&mode=viewrip page in order to reserve IPs.

OK, I thought to put my server IP to sc_serv.rip list and to make php script that will take my ip and will put it in the list but this is not working. In the log I see the message:
msg:[<myserverip>] IP not in rip list. Disconnecting
but this is not true because <myserverip> it is in rip list.

Can anyone help me on this?

Thank you.
olkos is offline   Reply With Quote
Old 3rd May 2012, 09:23   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,210
there are some 'quirks' with the RIP handling with that version of the DNAS which means it doesn't work as well as it should i.e. it's likely to block more things than it is meant to be doing.

additionally, from what i remember i think there were some issues between the handling of the global and per-stream RIP details which may be causing part of the issue you're having.

also if the IP isn't in the RIP list when that build of the DNAS is started then it's not going to be recognised unless you do a config reload. although it doesn't help right now, there are changes for the next release which mean any connection from localhost is allowed through even when riponly=1 is set.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp 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