config

package
v0.0.0-...-6718cd6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

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