Cipher support - #107
Draft
elfranne wants to merge 1 commit into
Draft
Conversation
elfranne
marked this pull request as draft
March 1, 2021 12:00
Author
|
This does not work with TLS 1.3. Previous to TLS 1.3 uses SSL_CTX_set_cipher_list but 1.3 uses SSL_CTX_set_ciphersuites. So my idea is now to detect the TLS protocol using SSL_CIPHER_get_protocol_id but I am not sure if that is the right way to do it... Also how can you get the protocol when some ciphers are compatible with multiple TLS versions ? Like ECDHE-RSA-AES128-SHA is compatible the 3 first iteration of TLS ... |
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Feb 28, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR # 51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Feb 28, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Feb 28, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Feb 28, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Feb 28, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL to master from GitHub as Submodule - Update LuaJit to 2.1 from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional (use UINT64_MAX) - PR giltene#130
guilt
added a commit
to guilt/wrk2
that referenced
this pull request
Mar 2, 2023
- Remove Usage of System OpenSSL - Update OpenSSL from GitHub as Submodule - Update LuaJit from GitHub as Submodule - Fixes for gettimeofday() - Fixes to use x86 intrinsics only on x86 - Rename to wrk2 Integrate Improvements from GitHub: - Fixes to Script Copy Value Order - PR giltene#113 - Add Fixes for Mutual TLS Authentication - PR giltene#99 - Add Fixes for TLS Ciphers - PR giltene#107 - Add EOF Handling Error - PR giltene#33 - Add JSON Example - PR giltene#51 - Make Rate Optional - PR giltene#130
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
All credits are to @jayce from its PR in 2016 : https://github.com/wg/wrk/pull/220 .
So you can specify the cipher you want to test with -z. The cipher format is openssl (and not IANA).
wrk -t4 -c100 -d3s -R2000 -z AES256-GCM-SHA384 https://example.com