-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
enhancementNew feature or requestNew feature or request🐞 bugSomething isn't workingSomething isn't working
Description
when run ./bin/ecapture tls on text mode, no tls version info can be found, is there any way to get this, tls version is an important check item in the telecommunication security specification.
2025-05-08T10:54:51+08:00 ??? UUID:223380_223380_curl_5_0_192.168.10.122:60316-192.168.10.122:4443, Name:HTTP2Response, Type:4, Length:626
Frame Type => SETTINGS
Frame StreamID => 0
I noticed that the code has defined a constant string of TlsVersion, but it is not displayed in the output message
func (t TlsVersion) String() string {
switch t.Version {
case Ssl2Version:
return "SSL2_VERSION"
case Ssl3Version:
return "SSL3_VERSION"
case Tls1Version:
return "TLS1_VERSION"
case Tls11Version:
return "TLS1_1_VERSION"
case Tls12Version:
return "TLS1_2_VERSION"
case Tls13Version:
return "TLS1_3_VERSION"
case Dtls1Version:
return "DTLS1_VERSION"
case Dtls12Version:
return "DTLS1_2_VERSION"
}
return fmt.Sprintf("TLS_VERSION_UNKNOW_%d", t.Version)
}
dosubot
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request🐞 bugSomething isn't workingSomething isn't working