password protected stream [multicast/unicast]

About encoding, codec settings, muxers and filter usage
woj
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Oct 2004 16:29
Location: Poland

password protected stream [multicast/unicast]

Postby woj » 15 Nov 2004 14:12

Hi.

I am using vlc to stream mpeg4 video files to end-users via multciast rtp-stream.

I wonder - is there possibility to secure the stream, and allow watching only for specific group of people.
I know how multicast work, in my network there is many "dump" switches, so multicast is literally broadcast (in II layer OSI) - anyone can sniff packets.
In unicast stream there is no problem - vlc can stream to specific ip, or can protect files with password in http stream mode.

The challange is multicast - it rtp mode viewer must have *.sdp file. My idea was to give access to sdp only for people with permission. I can check at streaming server access log and get information: who tries to download sdp and decide to allow it or not.
It will work if people will watch stream getting sdp from vlc server. But if someone simply wget sdp file and give it to his friend (offline) - I have no information abut watching clients.

My questions are:
1. Can be rtp stream played without sdp?
2. Can anybody guess sdp params (by sniffing multicast traffic) and watch stream without sdp? Or build his own sdp?
3. Have you got any other ideas? How to send password/key protected multicast?

I know that multicast is designed to serve open services, but if I want to stream some confidential information for group of people? I don't want discussion about reasons of my question.

best regards
--
Woj

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 15 Nov 2004 23:36

1. some can, some can't
2. I wouldn't say anybody can do it, but I'm quite sure sombody could. (at least if they allready get the packets)
3. I think sdp has some fields for keys etc for "safe" encrypted streams, but I don't think vlc implement any of it.

ZerBit
Blank Cone
Blank Cone
Posts: 75
Joined: 15 Sep 2004 16:35

SSL

Postby ZerBit » 16 Nov 2004 00:17

You could use Socket Secure Layer to transmit the data that you must protect as SmartSight does.

Regards

woj
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Oct 2004 16:29
Location: Poland

re: ssl

Postby woj » 17 Nov 2004 22:02

How? any open project that can do that?

thanks for reply :)
--
Woj

ZerBit
Blank Cone
Blank Cone
Posts: 75
Joined: 15 Sep 2004 16:35

Postby ZerBit » 19 Nov 2004 17:45

You could see Apache source code, openSSL, ...

I only use SSL from code with ACE&TAO libs. :roll:

Regards.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests