Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHeaderItem ¶
HTTPHeaderItem is HTTP header key-value pair
type HTTPRequestEvent ¶
type HTTPRequestEvent struct { HTTPEvent ClientAddr string ServerAddr string Method string URI string Version string Headers []HTTPHeaderItem Body []byte }
HTTPRequestEvent is HTTP request
type HTTPResponseEvent ¶
type HTTPResponseEvent struct { HTTPEvent ClientAddr string ServerAddr string Version string Code uint Reason string Headers []HTTPHeaderItem Body []byte }
HTTPResponseEvent is HTTP response
type HTTPStreamFactory ¶
type HTTPStreamFactory struct {
// contains filtered or unexported fields
}
HTTPStreamFactory implements StreamFactory interface for tcpassembly
func NewHTTPStreamFactory ¶
func NewHTTPStreamFactory(out chan<- interface{}) HTTPStreamFactory
NewHTTPStreamFactory create a NewHTTPStreamFactory
func (HTTPStreamFactory) New ¶
func (f HTTPStreamFactory) New(netFlow, tcpFlow gopacket.Flow) (ret tcpassembly.Stream)
New creates a HTTPStreamFactory
func (*HTTPStreamFactory) RunningStreamCount ¶
func (f *HTTPStreamFactory) RunningStreamCount() int32
RunningStreamCount get the running stream count
type StreamDataBlock ¶
StreamDataBlock is copied from tcpassembly.Reassembly
func NewStreamDataBlock ¶
func NewStreamDataBlock(bytes []byte, seen time.Time) *StreamDataBlock
NewStreamDataBlock create a new StreamDataBlock
type StreamReader ¶
type StreamReader struct {
// contains filtered or unexported fields
}
StreamReader read data from tcp stream
func NewStreamReader ¶
func NewStreamReader() *StreamReader
NewStreamReader create a new StreamReader
Click to show internal directories.
Click to hide internal directories.