Documentation
¶
Index ¶
Constants ¶
View Source
const MaxGroupedEventSize int = 10000
Variables ¶
View Source
var ConsistentHeaders = []string{
"Accept-Encoding",
"Accept-Language",
"Connection",
"Host",
"Upgrade-Insecure-Requests",
}
Functions ¶
func GetColumns ¶
func GetPacketDirection ¶
func GetPacketDirection(syscall string) (consts.NetworkDirection, error)
func IsInternal ¶
Types ¶
type Event ¶
type Event struct {
eventtypes.Event
eventtypes.WithMountNsID
Pid uint32 `json:"pid,omitempty" column:"pid,template:pid"`
Uid uint32 `json:"uid,omitempty" column:"uid,template:uid"`
Gid uint32 `json:"gid,omitempty" column:"gid,template:gid"`
OtherPort uint16 `json:"other_port,omitempty" column:"other_port,template:other_port"`
OtherIp string `json:"other_ip,omitempty" column:"other_ip,template:other_ip"`
Internal bool `json:"internal,omitempty" column:"internal,template:internal"`
Direction consts.NetworkDirection `json:"direction,omitempty" column:"direction,template:direction"`
Request *http.Request
Response *http.Response
}
func Base ¶
func Base(ev eventtypes.Event) *Event
type HTTPDataType ¶ added in v0.2.154
type HTTPDataType int
const ( Request HTTPDataType = 2 Response HTTPDataType = 3 )
type HTTPPacket ¶ added in v0.2.154
type HTTPPacket interface {
}
Click to show internal directories.
Click to hide internal directories.