Ethr- A Network Performance Measurement Tool For TCP, UDP And HTTP

Ethr- A Network Performance Measurement Tool For TCP, UDP And HTTP



Ethr is a cross platform network performance measurement tool written in golang. 


The goal of this project is to provide a native tool for network performance measurements of bandwidth, connections/s, packets/s, latency, loss & jitter, across multiple protocols such as TCP, UDP, HTTP, HTTPS, and across multiple platforms such as Windows, Linux and other Unix systems.

Ethr is a cross platform network performance measurement tool written in golang. The goal of this project is to provide a native tool for network performance measurements of bandwidth, connections/s, packets/s, latency, loss and jitter, across multiple protocols such as TCP, UDP, HTTP, HTTPS, and across multiple platforms such as Windows, Linux and other Unix systems.

Download

  • For Windows 10: https://ift.tt/2PCPqwJ
  • For Ubuntu: https://ift.tt/2A07mfX
  • For ArchLinux: https://ift.tt/2PC5P4z

Installation

Note: go version 1.10 or higher is required building it from the source.

Building from Source

git clone https://ift.tt/2zXMEgH
cd ethr
dep ensure -v
go build

Using go get

go get github.com/Microsoft/ethr

Using ArchLinux AUR

Assuming you are using yay (https://github.com/Jguer/yay):

yay -S ethr

Usage

Simple Usage

Help:
ethr -h

Server:
ethr -s

Server with Text UI:
ethr -s -ui

Client:
ethr -c <server ip>

Example:

// Start server
ethr -s

// Start client for default (bandwidth) test measurement using 1 thread
ethr -c localhost

// Start connections/s test using 64 threads
ethr -c localhost -t c -n 64

Complete Command Line

Common Parameters
-h                        Help
-no                       Disable logging to a file
-o <filename>             Log to the file specified by filename.
                          By default Ethr logs to ./ethrs.log for server & ./ethrc.log for client mode
-debug                    Log debug output

Server Parameters
-s                        Server mode
-ui                       Display text UI

Client Parameters
-c <server>                   Client mode, connect to name or IP specified by server
-t <b|c|p|l>                  Test to be done, b: bandwidth, c: connections/s, p: packets/s, l: latency
                              Default is bandwidth test
-p <tcp|udp|http|https|icmp>  Protocol to use, default is TCP
-n <number>                   Number of sessions/threads to use
-l <number>                   Buffer size to use for each request
-i <number>                   Number of iterations for latency test

Status

Protocol   Bandwidth Connections/s Packets/s Latency
TCP              Yes                  Yes                      No           Yes
UDP      Yes                  NA                      Yes           No
HTTP      Yes                  No                      No           No
HTTPS      No                  No                      No           No
ICMP      No                  NA                      No           No

Platform Support

Windows

Tested: Windows 10, Windows 7 SP1

Untested: Other Windows versions

Linux

Tested: Ubuntu Linux 18.04.1 LTS, OpenSuse Leap 15

Untested: Other Linux versions

Other

No other platforms are tested at this time

Todo List

Todo list work items are shown below. Contributions are most welcome for these work items or any other features and bugfixes.
  • Test Ethr on other Windows versions, other Linux versions, FreeBSD and other OS
  • Support for UDP bandwidth & latency testing
  • Support for HTTPS bandwidth, latency, requests/s
  • Support for HTTP latency and requests/s
  • Support for ICMP bandwidth, latency and packets/s


from Hackers Online Club (HOC) https://ift.tt/2PCZYfs

Comments