Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerProxy ¶
type DockerProxy struct {
// contains filtered or unexported fields
}
DockerProxy keeps track of every docker-proxy instance and filters network traffic going through them
func NewDockerProxy ¶
func NewDockerProxy() *DockerProxy
NewDockerProxy instantiates a new filter loaded with docker-proxy instance information
func (*DockerProxy) Filter ¶
func (d *DockerProxy) Filter(payload *model.Connections)
Filter all connections that have a docker-proxy at one end
type ServiceExtractor ¶
type ServiceExtractor struct {
// contains filtered or unexported fields
}
ServiceExtractor infers a service tag by extracting it from a process
func NewServiceExtractor ¶
func NewServiceExtractor(enabled, useWindowsServiceName, useImprovedAlgorithm bool) *ServiceExtractor
NewServiceExtractor instantiates a new service discovery extractor
func (*ServiceExtractor) Extract ¶
func (d *ServiceExtractor) Extract(processes map[int32]*procutil.Process)
func (*ServiceExtractor) GetServiceContext ¶
func (d *ServiceExtractor) GetServiceContext(pid int32) []string
type WindowsServiceInfo ¶
WindowsServiceInfo represents service data that is parsed from the SCM. On non-Windows platforms these fields should always be empty. On Windows, multiple services can be binpacked into a single `svchost.exe`, which is why `ServiceName` and `DisplayName` are slices.
Directories ¶
Path | Synopsis |
---|---|
Package javaparser contains functions to autodetect service name for java applications
|
Package javaparser contains functions to autodetect service name for java applications |
Package nodejsparser wraps functions to guess service name for node applications
|
Package nodejsparser wraps functions to guess service name for node applications |