TLS: Add CurvePreferences (to enable kyber768) #3991
Merged
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.
如题 之前的release block一直是utls 不过我想了一下 这和utls完全没关系 xray自始至终都没有放开对utls握手底层的访问 因为它们是握手指纹的一部分 比方说 cipherSuites 这个也应该和它是一个属性的 哪怕utls将来支持了 xray的设置也和utls的实际行为没有关系
这次添加后配置可以指定CurvePreferences 可以优先使用P521 P384之类的 不过最主要是为了用kyber768
配置示例
当然也可也说它除了浪费流量没有弔用 这我管不着了 因为我也觉得