traceroute

package
v0.0.0-...-6caf7d7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package traceroute adds traceroute functionality to the agent

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostname

func GetHostname(ipAddr string) string

GetHostname returns the hostname for the given IP address as a string.

func GetReverseDNSForIP

func GetReverseDNSForIP(destIP net.IP) string

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 New

New creates a new instance of LinuxTraceroute based on an input configuration

func (*LinuxTraceroute) Run

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

Jump to

Keyboard shortcuts

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