Add TLS fragment support

This commit is contained in:
世界 2025-01-26 09:01:00 +08:00
parent 360b25e53c
commit 8b7c8dcdb4
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
18 changed files with 476 additions and 189 deletions

View file

@ -454,6 +454,10 @@ match:
if routeOptions.UDPTimeout > 0 {
metadata.UDPTimeout = routeOptions.UDPTimeout
}
if routeOptions.TLSFragment {
metadata.TLSFragment = true
metadata.TLSFragmentFallbackDelay = routeOptions.TLSFragmentFallbackDelay
}
}
switch action := currentRule.Action().(type) {
case *rule.RuleActionSniff: