Webcam port security problem
Question
I have installed my motion with the webcam-port 8081 active. I am using the cambozola applet.My problem is that I think that is insecure to have opened the 8081 port, because anybody may connect to it. I can limit to access only from localhost with the webcam_localhost option, but I want to access it from Internet....
What do you think I can do to protect the 8081 port?
Thanks.
Environment
Motion version: |
3.1.19-1 |
ffmpeg version: |
|
Libraries: |
ffmpeg, mysql |
Server OS: |
Debian Sarge |
--
TWikiGuest - 09 Aug 2005
Answer
Use something like stunnel with client certificate checking to have a protected ssl connection.
Or make a patch for webcam: basic authentification
--
PeterHolik - 09 Aug 2005
Easier is to use the mjprox program from the
MjpegProxyGrab related project.
It makes the stream go through your Apache server on port 80. So you can close all other ports to the world and let Apache authentication take care of access. Apache has much better handling of this than we can ever build into Motion and it is very nice to server the stream through port 80.
--
KennethLavrsen - 11 Aug 2005