yomguy / stream-m

A HTML5 compatible WebM live streaming server
http://code.google.com/p/stream-m/
70 stars 12 forks source link

bind address #1

Closed denibertovic closed 12 years ago

denibertovic commented 12 years ago

Can i tell the server to only be accessible on the local interface (127.0.0.1) ?

yomguy commented 12 years ago

At this stage of the project, I don't think so http://code.google.com/p/stream-m/

But you can even prevent any network streaming on the stream-m server port with any local firewall...

denibertovic commented 12 years ago

Yes, blocking via firewall was my first choice. But I want to use nginx infront of the stream server for proxying.

I've added the needed code to bind only to the local interface. I can add the option to set this in the config file and submit a pull request if you wish?

yomguy commented 12 years ago

Oh I see. Yes, that would be great, thanks!

denibertovic commented 12 years ago

Hi there, i've submited a pull request here: https://github.com/yomguy/stream-m/pull/2

so take a look and merge if you think it is ok, i fixed a tiny bug in build.xml along the way. :) This works on my server without any issues so it should be okay.

P.S. sorry for double posting i didn't find how to attach the pull request to this issue.

yomguy commented 12 years ago

Merged Will try that today.

Thanks for fixes and sharing Cheers