On Tue, Jan 19, 2016 at 3:27 AM, Alexander Abagian <[email protected]>
wrote:
> This question is mostly intended for Eric as being DTLS guru.
>
> I have a case when in the end of DTLS handshaking between our server and
> Firefox, the server sends Encryption Alert (this name I see in Wireshark),
> and after receiving that the Firefox closes corresponding media pipeline. I
> couldn't find enough information about this alert and how receivers should
> dispatch it. The server uses common open source SSL library for DTLS (DTLS
> 1.0).
>
> Here's the function from the library which sends the alert :
>
> int ssl3_shutdown(SSL *s)
> {
> if ((s->quiet_shutdown) || (s->state == SSL_ST_BEFORE))
> {
> ...
> ssl3_send_alert(s,SSL3_AL_WARNING,SSL_AD_CLOSE_NOTIFY);
> }
> }
>
> If I cancel the alert sending (using SSL_set_quiet_shutdown()), Firefox
> successfully accepts the flow.
>
> The question is : is it correct behaviour for Firefox to recognize this
> alert as the reason to close the channel ?
>
Yes. This is DTLS's signal to close the connection.
Why are you calling ssl3_shutdown?
-Ekr
> _______________________________________________
> dev-media mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-media
>
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media