PDA

View Full Version : Remote playback of password-protected streams



Mark Lanctot
2006-04-28, 05:42
A friend of mine was "curious" what was in my music collection so I went one better and opened up SlimServer remotely. I've never tried this before.

I port-forwarded 9000 TCP and 3483 (both). Am I right in thinking 3483 is only necessary for a Squeezebox? For remote streaming and web access only 9000 is needed?

I kept IP blocking on and added his IP to the whitelist. I also password-protected the server. Yes, this is probably overdoing it but you can never be too secure.

We easily got access to the SlimServer web page after entering the user name and password. However remote streaming wouldn't work. He had both Winamp and WMP 10. Both apps asked for login/password but neither one would play. Winamp just kept cycling through connection - error - connection - error and WMP 10 said it "didn't have the correct codec".

I later tried it on my LAN and discovered foobar2000 doesn't even ask for login/password, it just gives a 401 error, and WMP 9 asks for login/password but "doesn't have the correct codec".

As soon as I remove the login/password requirement both play fine. I suppose I could've turned off login/password remotely but I didn't think of that.

Has anyone gotten stream playback to work with a password-protected server? Is there another playback program I can try?

I know it would be better to use SSH and a static IP but this was just an experiment. If he wants a more permanent arrangement I'll look into that.

Also, we were successfully able to download several tracks - just for experimentation purposes, I assure you...Oddly his IP address never appeared in Player Settings as it should when you do this. I assume password protection did this as well, as soon as I removed it, SlimServer instantly recognized all new network-connected players.

mherger
2006-04-28, 06:06
> I port-forwarded 9000 TCP and 3483 (both). Am I right in thinking 3483
> is only necessary for a Squeezebox? For remote streaming and web access
> only 9000 is needed?

Yes.

> I kept IP blocking on and added his IP to the whitelist. I also
> password-protected the server. Yes, this is probably overdoing it but
> you can never be too secure.

I'm not so sure about overdoing it. Slimserver is definitely _not_
designed with security in mind.

> We easily got access to the SlimServer web page after entering the user
> name and password. However remote streaming wouldn't work. He had both
> Winamp and WMP 10. Both apps asked for login/password but neither one
> would play. Winamp just kept cycling through connection - error -
> connection - error and WMP 10 said it "didn't have the correct codec".

Did you try to connect to http://user:password (AT) your (DOT) server.com:9000 ?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

Mark Lanctot
2006-04-28, 06:14
Did you try to connect to http://user:password (AT) your (DOT) server.com:9000 ?


Oho - now that I didn't try. Wasn't aware of that trick.

Edit: Works fine on my LAN with foobar2000. I assume this would work fine over the Internet as well. Thanks!

Double-edit: D'oh! This is right there on the wiki: http://wiki.slimdevices.com/index.cgi?RemoteStreaming , point 7. <smacks self on head>