Documentation ¶
Overview ¶
Package traceroute adds traceroute functionality to the agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostname ¶
GetHostname returns the hostname for the given IP address as a string.
func GetReverseDNSForIP ¶
GetReverseDNSForIP returns the reverse DNS for the given IP address as a net.IP.
Types ¶
type LinuxTraceroute ¶
type LinuxTraceroute struct {
// contains filtered or unexported fields
}
LinuxTraceroute defines a structure for running traceroute from an agent running on Linux
func (*LinuxTraceroute) Run ¶
func (l *LinuxTraceroute) Run(_ context.Context) (payload.NetworkPath, error)
Run executes a traceroute
Directories ¶
Path | Synopsis |
---|---|
Package common contains common functionality for both TCP and UDP traceroute implementations
|
Package common contains common functionality for both TCP and UDP traceroute implementations |
Package config is the configuration for the traceroute functionality
|
Package config is the configuration for the traceroute functionality |
Package runner is the functionality for actually performing traceroutes
|
Package runner is the functionality for actually performing traceroutes |
Package tcp adds a TCP traceroute implementation to the agent
|
Package tcp adds a TCP traceroute implementation to the agent |
Package testutils contains utilities for testing traceroute code
|
Package testutils contains utilities for testing traceroute code |
Click to show internal directories.
Click to hide internal directories.