Documentation
¶
Overview ¶
Package config is the configuration for the traceroute functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// TODO: add common configuration
// Destination Hostname
DestHostname string
// Destination Port number
DestPort uint16
// Destination service name
DestinationService string
// Source service name
SourceService string
// Source container ID
SourceContainerID string
// Max number of hops to try
MaxTTL uint8
// Timeout for each hop
Timeout time.Duration
// Protocol is the protocol to use
// for traceroute, default is UDP
Protocol payload.Protocol
// TCPMethod is the method used to run a TCP traceroute.
TCPMethod payload.TCPMethod
// TCPSynParisTracerouteMode makes TCP SYN act like paris traceroute (fixed packet ID, randomized seq)
TCPSynParisTracerouteMode bool
// ReverseDNS enrich IPs with reverse DNS
ReverseDNS bool
// TracerouteQueries is the number of traceroute queries to perform
TracerouteQueries int
// E2eQueries is the number of end-to-end queries to perform
E2eQueries int
// DisableWindowsDriver disables the use of Windows driver for traceroute
DisableWindowsDriver bool
}
Config specifies the configuration of an instance of Traceroute, on the system-probe side
Click to show internal directories.
Click to hide internal directories.