Versions in this module Expand all Collapse all v1 v1.1.0 Feb 2, 2016 Changes in this version + const DefaultTransactionExpiration + const DefaultTransactionHashSize + var ErrInvalidPort = errors.New("port number out of range") + var ProtocolNames = []string + type Packet struct + Payload []byte + Ts time.Time + Tuple common.IpPortTuple + type PortsConfig struct + Ports []int + func (p *PortsConfig) Init(ports ...int) error + func (p *PortsConfig) Set(ports []int) error + type Protocol uint16 + const DnsProtocol + const HttpProtocol + const MemcacheProtocol + const MongodbProtocol + const MysqlProtocol + const PgsqlProtocol + const RedisProtocol + const ThriftProtocol + const UnknownProtocol + func (p Protocol) String() string + type ProtocolData interface + type ProtocolPlugin interface + GetPorts func() []int + Init func(test_mode bool, results publish.Transactions) error + type Protocols interface + BpfFilter func(with_vlans bool, with_icmp bool) string + GetAll func() map[Protocol]ProtocolPlugin + GetAllTcp func() map[Protocol]TcpProtocolPlugin + GetAllUdp func() map[Protocol]UdpProtocolPlugin + GetTcp func(proto Protocol) TcpProtocolPlugin + GetUdp func(proto Protocol) UdpProtocolPlugin + Register func(proto Protocol, plugin ProtocolPlugin) + type ProtocolsStruct struct + var Protos ProtocolsStruct + func (protocols ProtocolsStruct) BpfFilter(with_vlans bool, with_icmp bool) string + func (protocols ProtocolsStruct) GetAll() map[Protocol]ProtocolPlugin + func (protocols ProtocolsStruct) GetAllTcp() map[Protocol]TcpProtocolPlugin + func (protocols ProtocolsStruct) GetAllUdp() map[Protocol]UdpProtocolPlugin + func (protocols ProtocolsStruct) GetTcp(proto Protocol) TcpProtocolPlugin + func (protocols ProtocolsStruct) GetUdp(proto Protocol) UdpProtocolPlugin + func (protos ProtocolsStruct) Register(proto Protocol, plugin ProtocolPlugin) + type TcpProtocolPlugin interface + ConnectionTimeout func() time.Duration + GapInStream func(tcptuple *common.TcpTuple, dir uint8, nbytes int, private ProtocolData) (priv ProtocolData, drop bool) + Parse func(pkt *Packet, tcptuple *common.TcpTuple, dir uint8, private ProtocolData) ProtocolData + ReceivedFin func(tcptuple *common.TcpTuple, dir uint8, private ProtocolData) ProtocolData + type UdpProtocolPlugin interface + ParseUdp func(pkt *Packet) v1.0.1 Dec 17, 2015