-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Backport 3.6] Defragment incoming TLS handshake messages (context extension pointer) #9949
Closed
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
707eeff
Defragment incoming TLS handshake messages
rojer 8679220
Update ChangeLog.d/tls-hs-defrag-in.txt
rojer 7fff111
Review comments
rojer 2fd90c9
Remove mbedtls_ssl_reset_in_out_pointers
rojer 738d394
Allow fragments less HS msg header size (4 bytes)
rojer 3ec7cef
Add a safety check for in_hsfraglen
rojer d09f14f
Add TLS Hanshake defragmentation tests
waleed-elmelegy-arm 01abaec
Improve TLS handshake defragmentation tests
waleed-elmelegy-arm 5bc6e26
Fix typo in TLS Handshake defrafmentation tests
waleed-elmelegy-arm fc8957a
Remove unnecessary string check in handshake defragmentation tests
waleed-elmelegy-arm 0c7d3fa
Require openssl to support TLS 1.3 in handshake defragmentation tests
waleed-elmelegy-arm 5aff4d0
Add client authentication to handshake defragmentation tests
waleed-elmelegy-arm f752cdf
Remove unneeded mtu option from handshake fragmentation tests
waleed-elmelegy-arm 3f8d6fa
Enforce client authentication in handshake fragmentation tests
waleed-elmelegy-arm dd9b4c5
Add a comment to elaborate using split_send_frag in handshake defragm…
waleed-elmelegy-arm 2a984b9
Remove obselete checks due to the introduction of handhsake defragmen…
waleed-elmelegy-arm 0541040
Remove unused variable in ssl_server.c
waleed-elmelegy-arm acfacde
Add guard to handshake defragmentation tests for client certificate
waleed-elmelegy-arm 3a7f67f
Test Handshake defragmentation only for TLS 1.3 only for small values
waleed-elmelegy-arm 270f9d5
Add missing client certificate check in handshake defragmentation tests
waleed-elmelegy-arm dee86dd
Add extension structure to ssl_context
mpg 31ea34b
Move in_iv to the extension structure
mpg 8d0111b
Move in_hshdr, in_hsfraglen to the extension struct
mpg 0521d64
Improve ABI compat trick
mpg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Changes | ||
* Defragment incoming TLS handshake messages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the record, I am approving the design using an extension structure to keep the same general structure of the patch but preserve the ABI.
(This is not an approval on GitHub because I haven't done a full code review.)