traceroute

package
v0.9.1-0...-9c46226 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 13 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 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

Jump to

Keyboard shortcuts

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