-
Notifications
You must be signed in to change notification settings - Fork 272
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
I want to get all the extension information of client hello, not just server name , what can I do? #410
Comments
You can refer to this function https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/ssl/clienthello.lua#L145 to write your own function |
I don't know what types are supported by ext_type, I don't see the definition anywhere The source code has been traced back to the openssl SSL_client_hello_get0_ext() I guess calling get_client_hello_ext() and passing in ext_type will get the supported_groups information, but I don't see what ext_type supported_groups belong to |
Thank friend, I'll debug again for a while |
hope someone proposes a good solution |
local ssl_clt = require "ngx.ssl.clienthello"
local ext = ssl_clt.get_client_hello_ext(0)
The ext_type represented by 0 is server name, is there any other ext_type?
I want to get supported_groups and ec_point_formats.
The text was updated successfully, but these errors were encountered: