feat: support OpenVPN CBC ciphers#2818
Merged
Merged
Conversation
Add AES-CBC data channel support with SHA1/SHA256 HMAC authentication, allow OpenVPN profiles without tls-crypt, and document the new options.
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.
变更说明
本 PR 继续完善 OpenVPN outbound 支持,主要补充对传统 OpenVPN / SoftEther / VPNGate 配置中常见加密组合的兼容性。
新增能力
cipher新增支持:AES-128-CBCAES-256-CBCAES-CBC作为AES-128-CBC的兼容别名auth新增支持:SHA1SHA-1作为SHA1的兼容写法tls-crypt的 OpenVPN 配置,兼容部分 SoftEther / VPNGate 生成的.ovpn配置。docs/config.yaml中 OpenVPN outbound 的配置说明。测试
已测试:
go test -tags with_gvisor ./transport/openvpn ./adapter/outbound并且,在 Windows 环境下使用多个 VPNGate / SoftEther 风格节点(使用的是如上所述新支持的加密认证方式)进行的实际连接测试皆成功,其中节点使用 AES-128-CBC + SHA1,可以正常连接和代理流量、进行分流。