[FFmpeg-devel] [PATCH] Make rtpenc.c SSRC randomly set

Michael Niedermayer michaelni
Tue Jul 8 23:30:36 CEST 2008


On Tue, Jul 08, 2008 at 10:57:43PM +0200, Stefano Sabatini wrote:
> On date Tuesday 2008-07-08 22:42:27 +0200, Michael Niedermayer encoded:
> > On Tue, Jul 08, 2008 at 10:21:58PM +0200, Stefano Sabatini wrote:
> > > Hi all,
> > > 
> > > RFC 3550 (RTP) states:
> > > | SSRC: 32 bits
> > > |      The SSRC field identifies the synchronization source.  This
> > > |      identifier SHOULD be chosen randomly, with the intent that no two
> > > |      synchronization sources within the same RTP session will have the
> > > |      same SSRC identifier.
> > > 
> > > Currently rtpenc.c uses always a value of 0.
> > > 
> > > Not sure this is a correct fix though.
> > 
> > rejected
> 
> Could someone elaborate more on this?

we dont want to export the system time nor the pid of the current process
or more general we dont want to export anything that could be usefull to an
attacker.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080708/53ea791f/attachment.pgp>



More information about the ffmpeg-devel mailing list