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

DTLS handshake fragmentation #4

Closed
ibc opened this issue Apr 9, 2015 · 1 comment
Closed

DTLS handshake fragmentation #4

ibc opened this issue Apr 9, 2015 · 1 comment
Assignees

Comments

@ibc
Copy link
Member

ibc commented Apr 9, 2015

https://tools.ietf.org/html/rfc6347#section-4.2.2

Solution in OpenSSL:

#define RTPPAYLOADSIZE 1350

// Disable automatic MTU discovery.
SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_QUERY_MTU);

// Set MTU of datagrams so it fits in an UDP packet.
SSL_set_mtu(ssl, RTPPAYLOADSIZE);
// DTLS_set_link_mtu(ssl, MTU);   // ¿?¿?¿?
BIO_ctrl(write_bio, BIO_CTRL_DGRAM_SET_MTU, RTPPAYLOADSIZE, NULL);
@ibc ibc added the enhancement label Apr 9, 2015
@ibc ibc self-assigned this Apr 9, 2015
@ibc
Copy link
Member Author

ibc commented Jan 12, 2016

Also consider: openssl/openssl#346

@ibc ibc modified the milestone: 1.X.Y Feb 26, 2016
@ibc ibc assigned ibc and unassigned ibc Jun 20, 2016
@ibc ibc removed this from the 1.0.0 milestone Jan 2, 2017
@ibc ibc modified the milestone: 1.X.Y Apr 15, 2017
@ibc ibc modified the milestones: 1.X.Y, 2.0.0 Aug 22, 2017
@ibc ibc modified the milestones: v2, Future Nov 1, 2017
@ibc ibc closed this as completed in 3d5bc02 Oct 11, 2018
lavarsicious pushed a commit to lavarsicious/mediasoup that referenced this issue Feb 5, 2019
@ibc ibc removed this from the Future milestone May 6, 2019
nazar-pc referenced this issue in nazar-pc/mediasoup Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant