Documentation ¶
Index ¶
- Variables
- func DecodeConversation(ident string, data core.DataFragments, client func(buf *bufio.Reader) error, ...)
- func SaveConversation(proto string, conversation core.DataFragments, ident string, ...) error
- func SaveFile(conv *core.ConversationInfo, source, name string, err error, body []byte, ...) error
- func SetLogger(l *zap.Logger)
Constants ¶
This section is empty.
Variables ¶
View Source
var Stats struct { sync.Mutex IPdefrag int64 MissedBytes int64 Pkt int64 Sz int64 Totalsz int64 RejectFsm int64 RejectOpt int64 RejectConnFsm int64 Reassembled int64 OutOfOrderBytes int64 OutOfOrderPackets int64 BiggestChunkBytes int64 BiggestChunkPackets int64 OverlapBytes int64 OverlapPackets int64 SavedTCPConnections int64 SavedUDPConnections int64 NumSoftware int64 NumServices int64 Requests int64 Responses int64 Count int64 DataBytes int64 NumConns int64 NumFlows int64 // HTTP NumUnmatchedResp int64 NumNilRequests int64 NumFoundRequests int64 NumRemovedRequests int64 NumUnansweredRequests int64 NumClientStreamNotFound int64 NumRequests int64 NumResponses int64 // keep this one after all 64bit types to fix alignment problems on ARM NumErrors uint }
Stats contains statistics about the stream reassembly.
Functions ¶
func DecodeConversation ¶
func DecodeConversation( ident string, data core.DataFragments, client func(buf *bufio.Reader) error, server func(buf *bufio.Reader) error, )
DecodeConversation is a Transport layer agnostic util to decode client / server data streams.
func SaveConversation ¶
func SaveConversation(proto string, conversation core.DataFragments, ident string, firstPacket time.Time, transport gopacket.Flow) error
SaveConversation will save TCP / UDP conversations to disk this also invokes the harvesters on the conversation banner
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.