Commit Graph

36 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
d7c5e8057c Unlikely memory leak (fixes #2304) 2008-11-26 19:38:34 +02:00
Rémi Denis-Courmont
bc3af7e7aa SRTP: check buffer length before sequence 2008-06-15 22:40:33 +03:00
Rémi Denis-Courmont
fa14c09227 SRTP: test the parser 2008-06-15 22:06:54 +03:00
Rémi Denis-Courmont
8650df15a2 SRTP: fix parser 2008-06-15 22:06:54 +03:00
Rémi Denis-Courmont
6fecdb7f11 Fix make check too 2008-06-10 22:37:17 +03:00
Rémi Denis-Courmont
086a3bc3ee SRTP: try to fix dependent libraries 2008-06-07 21:18:20 +03:00
Rémi Denis-Courmont
7788eb7925 SRTP: support for parsing key and salt from a string 2008-06-07 21:17:57 +03:00
Rémi Denis-Courmont
7849b24961 More avoidable directories 2008-05-04 15:51:15 +03:00
Pierre d'Herbemont
9143df1d51 loader: Upgrade pop/push pack headers from latest wine git to fix compilation on darwin. 2008-03-31 14:31:26 +02:00
Rémi Duraffort
0b87d485d9 Forgiven in the previous commit (useless test) 2008-03-14 00:28:31 +01:00
Rémi Duraffort
ac5fe54311 Remove useless test (one more time). 2008-03-14 00:28:31 +01:00
Rafaël Carré
5568a82a4f loader doesn't use libdl (and libdl doesn't exist on FreeBSD) 2008-03-07 02:38:28 +01:00
Rémi Denis-Courmont
46ff91c652 Fix realaudio linking on Linux without the Win32 loader 2008-02-03 15:23:15 +00:00
Rafaël Carré
04c8bb5da4 loader: fix a warning 2008-01-29 13:18:01 +00:00
Rémi Denis-Courmont
36d62b4022 Remove useless mutex (pthread_once is enough) 2008-01-21 16:15:41 +00:00
Rémi Denis-Courmont
74da7a424f DMO/loader patch from Alex Antropoff.
You may need to upgrade Windows Media to get this working,
since it uses a newer DLL name.
2007-09-20 18:54:02 +00:00
Rafaël Carré
dcfd2c71c6 Revert previous commit for loader as it is external to vlc 2007-09-10 20:28:47 +00:00
Rafaël Carré
6ee1e193fd Removes trailing spaces. Removes tabs. 2007-09-10 18:56:52 +00:00
Rémi Denis-Courmont
dc884574f7 Add real SRTP unit test (85% coverage let alone SRTCP) 2007-05-17 18:37:44 +00:00
Rémi Denis-Courmont
2a0e2bd242 Fix hashing when using RFC4711 2007-05-17 18:27:25 +00:00
Rémi Denis-Courmont
3f3025aa79 Fix incorrect hash size limit 2007-05-17 17:36:59 +00:00
Rémi Denis-Courmont
b0f4597349 Fix initialization 2007-05-17 17:03:56 +00:00
Rémi Denis-Courmont
7bdd4ba5b1 Untested support for RFC4771:
Integrity Transform Carrying Roll-Over Counter for SRTP

Once debugged, it should provide a simple way to synchronize live
(multicast...) secure streams.
2007-03-11 18:53:53 +00:00
Rémi Denis-Courmont
9c7f833f24 Leverage libgcrypt CounTeR mode implementation to simplify our code 2007-03-11 14:58:40 +00:00
Rémi Denis-Courmont
263b77a37a API cleanup 2007-03-11 13:18:05 +00:00
Rémi Denis-Courmont
56e9569c94 - Improve DIST_SUBDIR
- Require automake 1.9 to fix some libtool plugin build problems
- Remove useless libs/Makefile
2007-03-11 11:04:38 +00:00
Rémi Denis-Courmont
67da4884c3 SRTP/SRTCP receive window for replay attack protection 2007-03-10 21:01:13 +00:00
Rémi Denis-Courmont
0eeb4286f4 Ahem. Fix crappy previous commit. 2007-03-10 20:15:36 +00:00
Rémi Denis-Courmont
5c09dbbad9 Maintain the SRTCP index
This is not very useful at the moment, but will be needed for proper
replay attack protection
2007-03-10 20:08:33 +00:00
Rémi Denis-Courmont
54a4638723 Fix SRTP Roll-Over-Counter handling 2007-03-10 20:00:10 +00:00
Rémi Denis-Courmont
9775069d0b Remove window size parameter.
It has to be at least 64, and it is too complicated to implement a bigger
value, so it's not going to be configurable
2007-03-10 19:25:39 +00:00
Rémi Denis-Courmont
e5c071abd8 SRTCP support 2007-03-10 18:06:47 +00:00
Rémi Denis-Courmont
eb7428c1d3 RTP HMAC-SHA1 authentication 2007-03-10 16:28:20 +00:00
Rémi Denis-Courmont
22c5fe4ae5 Partial Win32 compile fix 2007-03-10 15:06:06 +00:00
Rémi Denis-Courmont
10ee356e22 Initial support for Secure Real-Time Protocol (RFC3711) - refs #321
Uses libgcrypt, as we have it in our deps/contrib already for GnuTLS.

This could be used in both "UDP"[1] access and access output plugins,
though they should really be called "RTP" instead nowadays.

Done:
 - AES(-128) Counter Mode key derivation and RTP en-/decryption
 - test vectors for AES-CM
 - NULL cipher (with the *_UNENCRYPTED flags) - untested

To do (missing mandatory features):
 - RTCP en-/decryption
 - HMAC-SHA1 authentication
 - replay attack protection

Also to probably do:
 - integrate with udp access and access output plugins
 - integrate with RTSP server (err, I won't do that myself)
 - support for Transform Carrying ROC for SRTP (RFC4771)
   so we can use it easily for multicast streaming
2007-03-10 14:49:39 +00:00
Rémi Denis-Courmont
066e58dd34 Create a modules-like directory for libraries
that are not plugins neither in the core
2007-03-10 14:29:14 +00:00