nt

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 5 Imported by: 0

README

nt (Net Test)

nt is a Swiss Army knife for network troubleshooting and testing written in Go. It provides continuous testing of network connectivity using various protocols using subcommands, including icmp, tcp, http, and dns. Monitor round-trip times (RTT), track packet loss rates, and log high latency events with timestamps to ensure your network's reliability.

Features

  • Subcommands for Protocols: Use specific subcommands (icmp, tcp, http, dns) to perform tests.
  • Continuous ICMP Ping: Monitor network latency and packet loss using ICMP echo requests.
  • TCP Connectivity Testing: Check the availability and response times of TCP ports.
  • HTTP/HTTPS Testing: Test web server availability and measure HTTP/HTTPS response times.
  • DNS Ping: Verify DNS server responsiveness and resolve lookup times.
  • MTU Testing: Determine the Maximum Transmission Unit (MTU) size to a given destination host/IP.
  • TCP Port Testing: Test if the remote server is listening on one or multiple given TCP ports.
  • Recording and Logging: Save test results to a CSV file for later analysis.
  • Customizable Output: Adjust the number of rows displayed in the terminal during live tests.
  • Cross-Platform: Compatible with Windows, macOS, and Linux.

Installation

Prerequisites
  • Go 1.22 or higher installed on your system.
Install via go install
go install github.com/yourusername/nt@latest

Compile for Windows Executable

GOOS=windows GOARCH=amd64 go build -o nt.exe main.go

Compile for macOS Executable

GOOS=darwin GOARCH=amd64 go build -o nt.exe main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳