Skip to content

A simple speedtest with self-hosted server

License

Notifications You must be signed in to change notification settings

sundararajan20/nettest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nettest - a simple speedtest

Compiling

Install rust nightly, then run

cargo build --release

Installing

sudo cp target/release/nettest /usr/local/bin

Usage

First, run the server. The server needs to allow incoming connections on port 5001

nettest -s

Then connect to the server using

nettest -c <ip or hostname of server>

Backstory

Once upon a time there was a poor student (me) in the library. Just for the fun of it he tried doing a speedtest, however the speedtest servers were not able to cope with the high speed. So he resorted to using iperf for upstream and hack consisiting of netcat, pv, dd and unix-shell-fu for downstream (iperf does not allow downstream testing behind a firewall that blocks incoming connections). This tool has been made to allow both downstream and upstream testing through a firewall

About

A simple speedtest with self-hosted server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%