Refactoring
Refactored Protocol.Name -> Protocol.Type; added Encapsulation field Refactored TLS parsing; added support for ALPN
This commit is contained in:
@@ -32,7 +32,7 @@ func detectMQTT(dir Direction, data []byte, srcPort, dstPort int) (proto *Protoc
|
||||
|
||||
// We are reasonabily sure this is MQTT now.
|
||||
proto = &Protocol{
|
||||
Name: ProtocolMQTT,
|
||||
Type: TypeMQTT,
|
||||
}
|
||||
confidence = 0.5
|
||||
|
||||
|
Reference in New Issue
Block a user