Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-06-2015, 04:49 AM   #1
Registered: Jan 2013
Location: EU
Distribution: Debian
Posts: 268

Rep: Reputation: 25
Secure video streaming for surveillance


I'm working on a small project, and I'd like to explore some options. Suppose I have two headless linux boxes. The first box (we'll call it "Box-A") has a video camera attached that can be reached as /dev/video0 - it's basically a DIY security camera running linux (OpenWRT) on a small router board. Box-B is an archive board with motion capture software and a large disk storage space. What choices do I have to securely stream a live video feed from Box-A to Box-B on the same LAN? And how to configure each box to prevent attackers from interfering?

The rough goals are:
- Continuously stream video over LAN from Box-A (server) to Box-B (client/archiver)
- Allow only authenticated access to Box-A video feed - Box-B must authenticate before Box-A grants access
- Allow access from other authenticated devices i.e. a linux/windows desktop PC can view the stream live in a browser or VLC
- Disallow unauthenticated access to the video stream
- Prevent passive attackers from sniffing and watching the video stream (should be encrypted)
- Prevent active attackers from MITM-ing the stream and possibly feeding a modified stream to Box-B.

I've found some streaming server tools like mjpg-streamer, gstreamer, ffmpeg, vlc, but I'm not sure, if they offer much security. For example mjpg-streamer only has plain username/password authentication, but no encryption.

Old 01-06-2015, 10:38 PM   #2
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You should pass the video stream through secure ip tunneling.


video streaming

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: NSA surveillance: A guide to staying secure LXer Syndicated Linux News 0 09-06-2013 06:23 PM
LXer: Early Inventor Of Streaming Video Wants To Help Fight Off Video Streaming Patent Trolls LXer Syndicated Linux News 0 10-06-2012 04:40 AM
LXer: Early Inventor Of Streaming Video Wants To Help Fight Off Video Streaming Patent Trolls LXer Syndicated Linux News 0 10-06-2012 02:50 AM
[SOLVED] video streaming support with VLC(?) as the streaming server wachi Linux - Embedded & Single-board computer 3 03-28-2011 12:35 PM
Darwin streaming server Video streaming local only ahmed_as8 Linux - Networking 2 05-28-2009 02:52 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration