Documentation
¶
Overview ¶
package mongocaputils provides utilities for working with mongodb pcap files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoOpStream ¶
type MongoOpStream struct { Ops chan OpWithTime FirstSeen time.Time // contains filtered or unexported fields }
func NewMongoOpStream ¶
func NewMongoOpStream(heapBufSize int) *MongoOpStream
func (*MongoOpStream) Close ¶
func (s *MongoOpStream) Close() error
func (*MongoOpStream) New ¶
func (s *MongoOpStream) New(a, b gopacket.Flow) tcpassembly.Stream
func (*MongoOpStream) SetFirstSeen ¶
func (s *MongoOpStream) SetFirstSeen(t time.Time)
type OpWithTime ¶
type PacketHandler ¶
type PacketHandler struct { Verbose bool // contains filtered or unexported fields }
func NewPacketHandler ¶
func NewPacketHandler(pcapHandle *pcap.Handle) *PacketHandler
func (*PacketHandler) Handle ¶
func (p *PacketHandler) Handle(streamHandler StreamHandler, numToHandle int) error
type SetFirstSeener ¶
type StreamHandler ¶
type StreamHandler interface { tcpassembly.StreamFactory io.Closer }
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
foo
|
|
Package mongoproto specifies the MongoDB wire protocol See http://docs.mongodb.org/meta-driver/latest/legacy/mongodb-wire-protocol/
|
Package mongoproto specifies the MongoDB wire protocol See http://docs.mongodb.org/meta-driver/latest/legacy/mongodb-wire-protocol/ |
package tcpreaderwrapper wraps a gopacket tcpassembly.tcpreader.ReaderStream and holds recent resassemblies to fetch timing information Package tcpreaderwrapper wraps a gopacket tcpassembly.tcpreader.ReaderStream
|
package tcpreaderwrapper wraps a gopacket tcpassembly.tcpreader.ReaderStream and holds recent resassemblies to fetch timing information Package tcpreaderwrapper wraps a gopacket tcpassembly.tcpreader.ReaderStream |
Click to show internal directories.
Click to hide internal directories.