Documentation ¶
Index ¶
- Variables
- func New(testMode bool, results publish.Transactions, cfg *ucfg.Config) (protos.Plugin, error)
- type Mongodb
- func (mongodb *Mongodb) ConnectionTimeout() time.Duration
- func (mongodb *Mongodb) GapInStream(tcptuple *common.TcpTuple, dir uint8, nbytes int, private protos.ProtocolData) (priv protos.ProtocolData, drop bool)
- func (mongodb *Mongodb) GetPorts() []int
- func (mongodb *Mongodb) Parse(pkt *protos.Packet, tcptuple *common.TcpTuple, dir uint8, ...) protos.ProtocolData
- func (mongodb *Mongodb) ReceivedFin(tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
Constants ¶
This section is empty.
Variables ¶
View Source
var DatabaseCommands = []string{}/* 141 elements not displayed */
List of mongodb user commands (send throuwh a query of the legacy protocol) see http://docs.mongodb.org/manual/reference/command/
This list was obtained by calling db.listCommands() and some grepping. They are compared cased insensitive
Functions ¶
Types ¶
type Mongodb ¶
type Mongodb struct { // config Ports []int SendRequest bool SendResponse bool MaxDocs int MaxDocLength int // contains filtered or unexported fields }
func (*Mongodb) ConnectionTimeout ¶
func (*Mongodb) GapInStream ¶
func (mongodb *Mongodb) GapInStream(tcptuple *common.TcpTuple, dir uint8, nbytes int, private protos.ProtocolData) (priv protos.ProtocolData, drop bool)
func (*Mongodb) Parse ¶
func (mongodb *Mongodb) Parse( pkt *protos.Packet, tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData, ) protos.ProtocolData
func (*Mongodb) ReceivedFin ¶
func (mongodb *Mongodb) ReceivedFin(tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
Click to show internal directories.
Click to hide internal directories.