Commit graph

97 commits

Author SHA1 Message Date
Pankaj Garg
8de3b2e88a
Merge client & external client mode code. Add ICMP support and many other fixes. (#130)
* Simpler single port version of Ethr working now.

* More simplification to use single port

* Minor changes

* More fixes to enable single port and no control channel sync.

* Further improve code, merge client & xclient, add conn latency for both, pretty print.

* Intermediate change

* Initial traceRoute is working.

* Cleanup MTR functionality.

* Organize help better and add validations.

* Update README.md

* Update README.md

* Make ICMP ping and traceRoute working.

* Update README.md

Co-authored-by: Pankaj Garg <pankaj@intellectualheaven.com>
2020-11-10 05:37:52 -08:00
subham sarkar
58c80e3e6e
Update compatible modules to their latest versions (#127)
Update the packages to their latest compatible versions.
Also ran "go mod tidy" which removed the unused "errors"
package.
2020-09-22 16:30:38 -07:00
subham sarkar
5b05e977f4
Use go build instead of go get (#126)
With the migration to Go Modules, one should avoid the use of the "go get".
2020-09-22 16:29:48 -07:00
subham sarkar
233968d71d
Fix handling of interrupts (#125) 2020-09-22 16:28:41 -07:00
gbmsft
83c2ede294
Add support for TCP CPS in external client mode (#123)
* Add support for TCP CPS in external client mode

* Fix call to xcRunTCPCpsTest
2020-09-04 19:56:22 -07:00
Pankaj Garg
ea28260abc
Flatten the file structure (#115)
* Flatten the file structure

* Fix build errors

Co-authored-by: Pankaj Garg <pankaj@intellectualheaven.com>
2020-06-18 10:07:05 -07:00
Chen Yufei
c1ace168b8
Print 3 digits after decimal point for duration. (#109) 2020-02-25 22:03:24 -08:00
der-onkel
aaae682d51
Ignore interfaces that are down (#110)
Because res was initialized with a size of len(ifs), the UI displayed "empty" interfaces.
2020-02-25 22:02:36 -08:00
der-onkel
cca979577e
Add output of accepted IP version (#111) 2020-02-25 22:02:10 -08:00
Vivek Anand
58ae94e286
Nuget package release changes. (#112)
* Update Readme with nuget release details.

* Ethr.nuspec file for nuget package release.

Creating ethr.nuspec file to release nuget package to nuget.org
2020-02-25 22:00:57 -08:00
scrollins
fe09eed5fb Remove hardcoded buffer of 1 from latency test on server and client(#1) (#103)
* Remove hardcoded buffer of 1 from latency test  on server and client(#1)

* Remove hardcoded buffer of 1 from latency test on server and client

* Default latency test (#2)

* Default latency test so we dont introduce regression
2019-10-18 19:41:46 -07:00
Michael Royal
d8bb7f5796 snap (#102)
Added snapcraft.yaml to build [snap](https://snapcraft.io/).
2019-10-16 15:58:16 -07:00
Boyan Soubachov
912915d5dc Refactor logging (#104)
* Move logging into internal folder & package
* Create enum for logging levels
* Start moving functions into a utils package
2019-10-07 14:24:01 -07:00
Boyan Soubachov
f94ebb5224 Fixed /proc/net/snmp parsing bug (#97)
* Fixed /proc/net/snmp parsing bug

* Fixed a bug when parsing /proc/net/snmp for Linux machines
* Removed unused, commented code
* Changed error messages to Go best practices (wrapping-friendly)

* * Upgrade Dockerfile
* Upgrade to Go 1.13
2019-09-30 05:43:51 -07:00
Boyan Soubachov
47b3fe7ca3 Fix bug incorrectly parsing /proc/net/dev (#96) 2019-09-15 08:24:53 -07:00
Boyan Soubachov
f0074aeb35 Fix Linux build (#94) 2019-08-31 11:31:48 -07:00
Boyan Soubachov
abc44bbbe4 Added linux sanity checking for /proc/net/dev (#93) 2019-08-28 05:41:42 -07:00
Boyan Soubachov
0e781d974b Refactor plotter and stats-gathering functionality (#90)
* Refactor the command line plotting & management code into a package
* Refactor the stats-gathering code into a new package
* Switch to build flags for non-portable packages/code
2019-07-22 20:08:04 -07:00
Boyan Soubachov
82c8007bd9 Fix binary generation for builds (#89)
* Fix the binary building script for TravisCI builds
* Goimports code linting fixes
2019-07-21 07:29:59 -07:00
Boyan Soubachov
2f83ae6fb3 Fix Travis builds (#88)
* Fix Travis builds

* Fix windows build
2019-07-21 01:21:38 -07:00
Boyan Soubachov
1c9b13b30e Refactor command line usage functions (#87)
* Created an internal package as an initial framework for refactoring
* Refactored command line usage functions into the new internal package
2019-07-18 11:30:13 -07:00
Yoshiyuki Kurauchi
90c8f2467c fix error handling in establishSession (#85) 2019-06-05 00:47:51 -07:00
HamidReza Koushki
b1baba1892 Using go module instead of dep (#83) 2019-02-22 15:27:28 -08:00
Deepak Thukral
f5c8cd843e Added support for HTTP latency testing (#81)
* Add support for HTTP latency testing
2019-02-04 09:39:02 -08:00
Pankaj Garg
e87aa83cdc Add support for ignore certificate. (#82)
* Add support for ignore certificate.

Also enhance validaiton for reverse mode.

* Go Fmt
2019-02-03 07:53:54 -08:00
Pankaj Garg
f6785ef1ae
Update README.md 2019-02-02 16:57:54 -08:00
Pankaj Garg
d8fe8e3241
Update README.md 2019-02-02 16:53:58 -08:00
Pankaj Garg
a17a98eaeb Update API key to allow upload. 2019-01-30 05:20:38 -08:00
Pankaj Garg
2e7b9b060f Don't store path in the zip files for releases. 2019-01-30 04:52:03 -08:00
Pankaj Garg
500c4eb894 Add support for automatic build deployment for new versions.
Once a tag is created on the repository, a new build would be produced
and automatically released on github. The version of the build is also
set automatically in the binary using -ldflags option.
2019-01-30 04:38:03 -08:00
Pankaj Garg
65627a0423
Update README.md 2019-01-20 09:21:55 -08:00
Pankaj Garg
7f38d662d2 Add support for reverse mode (for TCP). Fixes (#71) (#73)
Initial version of -r for TCP bandwidth tests + few other enhancements:
- Add timestamp in log messages.
- Handle the case where timer tick is delayed on client side. Server side still
needs work.
- Use high value of GOMAXPROCS to fix starvation of some goroutines.
- Support option to disable per connection statistics. If large number
of sessions are used, then per connection stats were making it hard
to read the results on console.
- Synchronize stats timer between client/server. This makes server and
client print similar test results. Earlier, under varying TCP throuhgput,
results in server and client side were different due to different time
periods for calculating throughput.
2019-01-20 09:13:47 -08:00
Pankaj Garg
a8036a44fd
Improve help output by using custom usage function. (#72) 2019-01-16 08:12:58 -08:00
Pankaj Garg
1da024d74b
Update README.md 2019-01-14 20:09:14 -08:00
Pankaj Garg
6408636f03
Update README.md 2019-01-14 20:07:56 -08:00
Pankaj Garg
2bbee835b2
Load balancer support via External Mode (#70)
* Fix command line arguments to enable supporting external server mode.

* Initial version of external mode server. This can work behind a load
balancer.

* Intermediate changes for xserver/xclient.

* Few fixes for external mode. Add support for 'g' for gap in connection
latency test.
2019-01-14 13:56:36 -08:00
Pankaj Garg
443da18e43
Add support for HTTPS (#68)
Initial version of HTTPS support. This uses a dynamically generated self-signed certificate. The main use case is to measure performance of middle boxes like firewalls and proxies.
2019-01-07 09:15:09 -08:00
Stefano Sambi
57b2abda1b fix a runtime error thrown when running on x86-32 (#67) 2019-01-04 03:59:09 -08:00
Pankaj Garg
5fa0aaf0e4
Update README.md 2019-01-03 17:32:50 -08:00
Pankaj Garg
36c1bbdf3c
Add support for -4 or -6 as parameter. (#65)
This allows using specific IP version for running a test.
2019-01-03 17:25:00 -08:00
Pankaj Garg
7e138fd8c1
Update README.md 2019-01-02 20:28:03 -08:00
Pankaj Garg
17ffab4a2b
Remove zero init and reuse code (#63) 2019-01-02 07:52:35 -08:00
Pankaj Garg
be9bfd8fd6
Minor change to avoid screen flooding due to #60 (#62)
WSL does not seem to have /proc/net/snmp. Convering this error to debug
message since there is nothing actionable on this. This only impacts UI
functionality cosmetically as UI won't be able to display TCP retransmit
count.
2019-01-01 21:28:38 -08:00
Pankaj Garg
33238ab976
Add support for TCP ping (#61)
Initial version of TCP ping.

This needs enhancements listed below, but is a workable solution (for now):
- Better goroutine synchronization for exit tracking
- Code cleanup for handling of warmup run
- Support for custom number of warmup connections
- Support for custom sleep between successive connections
- Option to select -4 or -6 to force IP version
- Logging the results in json format
2019-01-01 21:12:26 -08:00
Pankaj Garg
976343554f
Change Ethr -> ethr (#56) 2018-12-27 09:49:57 -08:00
Tomasz Tomalak
4a3b018d0d Fix .gitignore file to track proper files (#53) 2018-12-19 08:26:10 -08:00
Piotr Zarycki
863b578b98 Add docker command for OS X (#55)
* add support for Docker

* Update README.md

* Update README.md

* Update README.md

Add OS X docker command to README
2018-12-18 19:18:27 -08:00
Tomasz Tomalak
d0fa637f15 Fix ethr when using default ports (#54) 2018-12-18 19:14:24 -08:00
Pankaj Garg
e4d67650ae
Update README.md 2018-12-18 13:57:36 -08:00
Pankaj Garg
5f66c47ea4
Update README.md 2018-12-18 13:54:16 -08:00