Motion - Support Question 2005x 08x 09x 110945

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
Topic revision: r3 - 11 Aug 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.