tcpaccept

package
v0.0.0-...-9c67f8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Probe

func Probe(pidList []int, portList []int, protocolList []string, ch chan<- Event)

Probe probes TCP accept event and pushes it out

func Sample

func Sample()

Sample provides a no argument function call

Types

type Event

type Event struct {
	Time  time.Duration `json:"Time,omitempty"`
	Comm  string        `json:"Comm"`
	Pid   int           `json:"Pid"`
	Tid   int           `json:"Tid"`
	SAddr string        `json:"SAddr"`
	DAddr string        `json:"DAddr"`
	LPort int           `json:"LPort"`
	DPort int           `json:"DPort"`
	Ip    int           `json:"Ip"`
}

func (Event) Print

func (e Event) Print()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL