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

Cipher support #107

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Cipher support #107

wants to merge 1 commit into from

Conversation

elfranne
Copy link

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

@elfranne elfranne marked this pull request as draft March 1, 2021 12:00
@elfranne
Copy link
Author

elfranne commented Mar 1, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant