pypeafowl.DissectionInfo.guessProtocol

DissectionInfo.guessProtocol(self: pypeafowl.DissectionInfo) → peafowl::ProtocolL7

Guesses the protocol looking only at source/destination ports. This could be erroneous because sometimes protocols run over ports which are not their well-known ports.

Returns:

The possible matching protocol.