Refactoring
Refactored Protocol.Name -> Protocol.Type; added Encapsulation field Refactored TLS parsing; added support for ALPN
This commit is contained in:
@@ -58,7 +58,7 @@ func detectSSH(dir Direction, data []byte, srcPort, dstPort int) (proto *Protoco
|
||||
}
|
||||
}
|
||||
return &Protocol{
|
||||
Name: ProtocolSSH,
|
||||
Type: TypeSSH,
|
||||
Version: Version{
|
||||
Major: 2,
|
||||
Minor: 0,
|
||||
@@ -78,7 +78,7 @@ func detectSSH(dir Direction, data []byte, srcPort, dstPort int) (proto *Protoco
|
||||
}
|
||||
}
|
||||
return &Protocol{
|
||||
Name: ProtocolSSH,
|
||||
Type: TypeSSH,
|
||||
Version: Version{
|
||||
Major: 1,
|
||||
Minor: 99,
|
||||
|
Reference in New Issue
Block a user