<div dir="ltr">Hi,<div><br></div><div>We have an application which has SCTP connections we have secured the SCTP connections using the openssl DTLS. DTLS is working as expected other than the SCTP events.</div><div><br></div><div>We use the API "BIO_new_dgram_sctp" to create a BIO objects and we register a callback function to openssl using API "BIO_dgram_sctp_notification_cb" to populate the SCTP events. I observe that openssl enables only authentication related events, do not enable any other events like association, shutdown etc.</div><div><br></div><div>Code snippet from the API "BIO_new_dgram_sctp":</div><div><br></div><div><div>    event.sctp_authentication_event = 1;</div><div><br></div><div>    ret =</div><div>        setsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event,</div><div>                   sizeof(struct sctp_event_subscribe));</div><div>    if (ret < 0) {</div><div>        BIO_vfree(bio);</div><div>        return (NULL);</div><div>    }</div></div><div><br></div><div>Is there any specific reason for just enabling the authentication events ?</div><div><br></div><div>If yes, is there any way applications register for other events like shutdown, association etc. We have a requirement where based on the SCTP events application executes certain business logic.</div><div><br></div><div>Thanks,</div><div>Mahesh G S</div></div>