-
Notifications
You must be signed in to change notification settings - Fork 390
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
Cipher support #107
base: master
Are you sure you want to change the base?
Cipher support #107
Conversation
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 ... |
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
All credits are to @jayce from its PR in 2016 : wg/wrk#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