Documentation ¶
Index ¶
- Variables
- func ContainerCreate(containers *containers.Containers) deriveFunction
- func ContainerRemove(containers *containers.Containers) deriveFunction
- func DeriveEvent(event trace.Event, derivationTable Table) ([]trace.Event, []error)
- func DetectHookedSyscall(kernelSymbols *helpers.KernelSymbolTable) deriveFunction
- func HookedSeqOps(kernelSymbols *helpers.KernelSymbolTable) deriveFunction
- func NetPacket() deriveFunction
- func SymbolsLoaded(soLoader sharedobjs.DynamicSymbolsLoader, watchedSymbols []string, ...) deriveFunction
- type Table
Constants ¶
This section is empty.
Variables ¶
var NetSeqOps = [6]string{
"tcp4_seq_ops",
"tcp6_seq_ops",
"udp_seq_ops",
"udp6_seq_ops",
"raw_seq_ops",
"raw6_seq_ops",
}
Struct names for the interfaces HookedSeqOpsEventID checks for hooks The show,start,next and stop operation function pointers will be checked for each of those
var NetSeqOpsFuncs = [4]string{
"show",
"start",
"next",
"stop",
}
Functions ¶
func ContainerCreate ¶
func ContainerCreate(containers *containers.Containers) deriveFunction
ContainerCreate receives a containers as a closure argument to track it's containers. If it receives a cgroup_mkdir event, it can derive a container_create event from it.
func ContainerRemove ¶
func ContainerRemove(containers *containers.Containers) deriveFunction
ContainerRemove receives a containers.Containers object as a closure argument to track it's containers. If it receives a cgroup_rmdir event, it can derive a container_remove event from it.
func DeriveEvent ¶ added in v0.8.3
DeriveEvent takes a trace.Event and checks if it can derive additional events from it as defined by a derivationTable.
func DetectHookedSyscall ¶
func DetectHookedSyscall(kernelSymbols *helpers.KernelSymbolTable) deriveFunction
func HookedSeqOps ¶
func HookedSeqOps(kernelSymbols *helpers.KernelSymbolTable) deriveFunction
func NetPacket ¶
func NetPacket() deriveFunction
NetPacket derives net_packet from net events with 'metadata' arg
func SymbolsLoaded ¶ added in v0.8.1
func SymbolsLoaded(soLoader sharedobjs.DynamicSymbolsLoader, watchedSymbols []string, whitelistedLibsPrefixes []string, isDebug bool) deriveFunction