A
A
Arseniy2013-08-29 15:00:16
linux
Arseniy, 2013-08-29 15:00:16

Running mjpeg_streamer only on localhost?

There are quite a few examples on the net of how to start broadcasting over the network for mjpeg_streamer. But how to make it broadcast only to the localhost on a specific port, without giving the stream somewhere else? I couldn't find any on google, unfortunately.
And yes - I need to give a stream to a web page for embedding. I like mjpeg_streamer due to the fact that it does not eat resources, but the fact that it cannot be password protected is not comforting. How can we at least minimally improve security in this regard? Or do you still need to use something else?
I am using cherrypy webserver

Answer the question

In order to leave comments, you need to log in

2 answer(s)
@
@xave, 2013-08-29
@CRImier

I think you need to create a rule in iptables for outgoing traffic from this port.

I
Ivan, 2013-08-29
@iSage

He does not know how to listen only on a specific ip (read, on localhost).
But why don't you like HTTP Basic Auth, which he can do?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question