mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3750] [Feature Request] 设置TLS版本 #2982
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2982
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SidneyLann on GitHub (Nov 7, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3750
Describe the feature request
有些程序要求TLS1.2以上,如何设置TLS的版本?
Describe alternatives you've considered
No response
Affected area
@DEEPAO commented on GitHub (Nov 16, 2023):
同问
@github-actions[bot] commented on GitHub (Dec 17, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@SidneyLann commented on GitHub (Dec 17, 2023):
redis 默认就是1.2 1.3, 1.2以下基本就是裸奔
@redlert commented on GitHub (Jan 10, 2024):
唉, 都是为了完全加固!
这个我已经改好了, 不过还没试怎么提交代码, 如果你们不嫌麻烦也可以自己改一下.
func NewServerTLSConfig(certPath, keyPath, caPath string) (*tls.Config, error) {
base := &tls.Config{}
base.MinVersion = tls.VersionTLS12
base.CipherSuites = []uint16{
tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
tls.TLS_RSA_WITH_AES_128_CBC_SHA,
tls.TLS_RSA_WITH_AES_256_CBC_SHA,
}
就可以看出已经禁用掉了
@SidneyLann commented on GitHub (Jan 10, 2024):
犀利。提PR嘛
@github-actions[bot] commented on GitHub (Feb 1, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@SidneyLann commented on GitHub (Feb 4, 2024):
?
@github-actions[bot] commented on GitHub (Feb 26, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@SidneyLann commented on GitHub (Feb 27, 2024):
Set default tls to 1.2
@github-actions[bot] commented on GitHub (Mar 20, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@SidneyLann commented on GitHub (Mar 22, 2024):
.