Refactoring
Refactored Protocol.Name -> Protocol.Type; added Encapsulation field Refactored TLS parsing; added support for ALPN
This commit is contained in:
@@ -43,7 +43,7 @@ func TestDetectMySQL(t *testing.T) {
|
||||
Direction: Server,
|
||||
Data: mysql8Banner,
|
||||
SrcPort: 3306,
|
||||
WantProto: ProtocolMySQL,
|
||||
WantType: TypeMySQL,
|
||||
WantConfidence: .85,
|
||||
},
|
||||
{
|
||||
@@ -51,7 +51,7 @@ func TestDetectMySQL(t *testing.T) {
|
||||
Direction: Server,
|
||||
Data: mariaDBBanner,
|
||||
SrcPort: 3306,
|
||||
WantProto: ProtocolMySQL,
|
||||
WantType: TypeMySQL,
|
||||
WantConfidence: .85,
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user