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 

Reaching icecast externally
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
TraktorManiac



Joined: 21 Nov 2009
Posts: 7

PostPosted: Sat Nov 21, 2009 11:00 am    Post subject: Reaching icecast externally Reply with quote

Dear users,

I have been struggling for hours with router settings and configuration of the icecast server, i simply cannot find the problem when i try to reach my icecast server externally.

I have set up my router so it redirects port 8000 to my server.
I scanned the port from an external portscanner and it seems to be open!

I do not get any useable info in my logs, so i am quite confused.

Code:

<icecast>
<limits>
<sources>2</sources>
</limits>
<authentication>
<source-password>src</source-password>
<relay-password>rly</relay-password>
<admin-user>admin</admin-user>
<admin-password>adminpwd</admin-password>
</authentication>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<hostname>MY-IP-CENSORED!</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<listen-socket>
<port>8001</port>
<shoutcast-compat>1</shoutcast-compat>
</listen-socket>
<mount>
<mount-name>/live</mount-name>
<mp3-metadata-interval>1200</mp3-metadata-interval>
</mount>
<fileserve>1</fileserve>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
</icecast>


In case people are curious i use Traktor. Internally the server works quite good!

Thanks in advance.
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Sat Nov 21, 2009 4:49 pm    Post subject: Reply with quote

With yourt info, I guess your OS is Windows XP..

If the router correctly forwards port 8000 to your station, external access to your icecast shoudld be granted, provided your Windows Firewall too has port 8000 open.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TraktorManiac



Joined: 21 Nov 2009
Posts: 7

PostPosted: Sat Nov 21, 2009 4:51 pm    Post subject: Reply with quote

Sorry for the lack of info im on Mac OS X with Leopard. I tried to enable DMZ function to place my ip-address external (out of the sight of firewall), but it did not function. I have tried to change the port to 7070 but no luck either.
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Sat Nov 21, 2009 4:54 pm    Post subject: Reply with quote

Leopard sounds a strange neast... Anyway, yous should double check leopard config, spécially network and firewall, as those sometimes act in a weird way.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TraktorManiac



Joined: 21 Nov 2009
Posts: 7

PostPosted: Sat Nov 21, 2009 4:56 pm    Post subject: Reply with quote

I have disabled firewall in Leopard.

My network structure is like this:

"Main DSL Router from ISP" -> Router (DHCP) -> Mac OS X computer

I have directed Main DSL router to give access to all ports to my Router (DHCP). I have then directed the port to my Mac OS X computer and it is detectable from a portscanner.. But hell it doesnt work..
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Sat Nov 21, 2009 5:15 pm    Post subject: Reply with quote

Well, if main DSL router shows port 8000 open, prroblem could be double forwarding, DSL => DHCP => MacOS X...

What if, for testing purpose you directly connect MacOS X computer to DSL router ?
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TraktorManiac



Joined: 21 Nov 2009
Posts: 7

PostPosted: Sat Nov 21, 2009 5:17 pm    Post subject: Reply with quote

I have considered doing that, but doing this right now is quite impossible i have to rewire some things and change settings all over the place, makes me puke.. Fact is that im quite sure the porting works as other applications functioning with the port forwarding from my DHCP router.
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Sat Nov 21, 2009 5:23 pm    Post subject: Reply with quote

Well, if other applications work, could be your icecast settings. Could you post your icecast.xml config (masking all passwords,Smile )
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Nov 21, 2009 5:30 pm    Post subject: Reply with quote

If the portscan reported the port as open then it won't be a firewall issue as that indicates there was a successful response to the connection. What is not clear is what actually happens if you request the status page in such cases.

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



Joined: 21 Nov 2009
Posts: 7

PostPosted: Sat Nov 21, 2009 5:57 pm    Post subject: Reply with quote

I have tried to access the page externally, there is not reaction in the log-files understood in such way that it doesnt respond from external access.
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Sat Nov 21, 2009 6:03 pm    Post subject: Reply with quote

Well this confirms tha even is the port is open, something blocks access to icecast.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Nov 21, 2009 6:16 pm    Post subject: Reply with quote

if the icecast log files show no attempt from external access but an external scan of the port shows it as open and an external browser request comes back blank then I would suspect that something else is responding like apache. The fact that it is working internally would rule out a platform issue and no extra logging (try level 4) on an external request would indicate that icecast is not seeing the request at all, but obviously based on your description so far, something is.

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



Joined: 21 Nov 2009
Posts: 7

PostPosted: Sat Nov 21, 2009 6:18 pm    Post subject: Reply with quote

When i scan my computer it shows that there is someting listening on port 8000 and 8001 which is icecast. So there shouldnt be any conflict?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Nov 21, 2009 6:23 pm    Post subject: Reply with quote

correct, but you have always said that internally the system worked fine, so that part is should be fine. The router may be forwarding to the wrong IP for example. Personally I would use a packet sniffer like tcpdump or wireshark to actually see it an external request gets to your Mac.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Sat Nov 21, 2009 6:23 pm    Post subject: Reply with quote

In your icecast.xmldid you comment the funky listen 127.0.0.1 line ?
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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