outbound/ssh: add cipher, MAC, and key exchange configuration#4066
Open
rojer wants to merge 54 commits intoSagerNet:testingfrom
Open
outbound/ssh: add cipher, MAC, and key exchange configuration#4066rojer wants to merge 54 commits intoSagerNet:testingfrom
rojer wants to merge 54 commits intoSagerNet:testingfrom
Conversation
99e1ffe to
8130928
Compare
`SecTrustEvaluateWithError` is serial
This reverts commit 62cb06c.
DNS rules referencing rule-sets that contain only ip_cidr predicates silently stopped matching when legacy DNS mode was disabled, because the IP-CIDR branch cannot match against an in-flight DNS query. The existing validation intentionally let every rule_set through on the premise that mixed sets still work via their non-IP branches, which is only true when such a branch exists. Track whether a rule-set carries any non-IP-CIDR predicate and reject pure-IP references the same way bare ip_cidr fields are already rejected.
Serialize probe rounds in startProber to eliminate unbounded fan-out of fire-and-forget probe goroutines (up to 100/sec per direction), and close HTTP/3 transports via transport.Close() in addition to CloseIdleConnections.
Ability to specify client's cipher preference is useful. In particular, often `aes128-gcm` is more efficient but `chacha-poly1305` is selected instead.
Author
|
@nekohasekai this is a small change that shouldn't be controversial, any chance it can be merged before 0.14? |
1b0e6c5 to
abedea4
Compare
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.
Ability to specify client's cipher preference is useful. In particular, often
aes128-gcmis more efficient butchacha-poly1305is selected instead.