Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roll-over Counter Carrying Transform Support #51

Closed
titankronos opened this issue May 9, 2014 · 5 comments
Closed

Roll-over Counter Carrying Transform Support #51

titankronos opened this issue May 9, 2014 · 5 comments

Comments

@titankronos
Copy link

I was curious if there were any plans for supporting Roll-over Counter Carrying in SRTP?

It is defined here: http://www.rfc-base.org/txt/rfc-4771.txt

I know VLC has integrated this concept in their implementation of SRTP, which can be found at: https://gitorious.org/vlc-dcinema/vlc-dcinema/raw/71f3fa810e50e598cb32919d46993ba0de698633:modules/access/rtp/srtp.c

@jfigus
Copy link
Contributor

jfigus commented May 9, 2014

I'm not aware of any plans to support RFC 4771. There is support for EKT, which appears to solve the same problem (late receivers joining a stream). While I haven't read through 4711 in detail, it appears to relay on truncating the auth tag, which reduces the security level of the session. This is will be a problem for some SRTP use cases (e.g. FIPS compliance, Common Criteria, etc.).

You may want to take a look at http://tools.ietf.org/html/draft-mcgrew-srtp-aero-01. This is another approach to solving the same problem by eliminating the need for the ROC.

@titankronos
Copy link
Author

Is the EKT support enabled by default? At first glance, it seems like it is always used. Is this correct? I apologize, I'm fairly new to this library and SRTP itself. Thanks.

@jfigus
Copy link
Contributor

jfigus commented May 12, 2014

I don't think it's enabled by default. There's an EKT policy underneath the SRTP policy. If this is null, then EKT isn't initialized. Unfortunately there are not a lot of comments in the code on how to use EKT. The only example of using it is located in test/srtp_driver.c. Sorry I can't be more helpful, the EKT code was contributed prior to my involvement in the project.

Be aware the EKT draft was never ratified. There are rumors this draft may be resurrected in the future, which will likely result in changes to the current EKT code.

@titankronos
Copy link
Author

I'll take a look at the example. Thanks for the response!

@jfigus
Copy link
Contributor

jfigus commented Oct 8, 2014

Closing this issue due to lack of inactivity on the thread.

@jfigus jfigus closed this as completed Oct 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants