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

When using Openssl as TLS backend, close notify alert is not sent before closing the connection #2221

Closed
pjsipbot opened this issue Aug 28, 2019 · 0 comments

Comments

@pjsipbot
Copy link
Collaborator

2019-08-28 13:01:05: @trengginas created the issue on trac ticket 2221

Before closing a connection, close notify alert must be sent to avoid truncation attack as stated in rfc5246:


7.2.1.  Closure Alerts

   The client and the server must share knowledge that the connection is
   ending in order to avoid a truncation attack.  Either party may
   initiate the exchange of closing messages.

Currently, the close notify alert is not sent before the connection is closed.

Thanks to Peter Koletzki for the report.


2019-08-28 13:02:55: @trengginas changed status from new to closed


2019-08-28 13:02:55: @trengginas set owner to @trengginas


2019-08-28 13:02:55: @trengginas set resolution to fixed


2019-08-28 13:02:55: @trengginas commented

In r6054:
Fixed #2221: When using Openssl as TLS backend, close notify alert is not sent before closing the connection.

@pjsipbot pjsipbot added this to the release-2.10 milestone Feb 14, 2020
qmphan pushed a commit to qmphan/pjproject that referenced this issue Mar 18, 2020
…rt is not sent before closing the connection.

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6054 74dad513-b988-da41-8d7b-12977e46ad98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants