Small utility to measure TCP handshake time (torify-friendly).
- make (tested with GNU Make 3.82)
- gcc (tested with 4.8.2)
- cmake (tested with 2.8.11)
Create build
folder, chdir to it and type:
cmake ..
Then type make
.
Typical usage:
pingtcp kernel.org 443
The following arguments are supported:
- -c <attempts> (optional, defaults to infinity) specifies handshake attempts count;
- -i <milliseconds> (optional, defaults to 1 sec) specifies interval between attempts;
- -t <milliseconds> (optional, defaults to 1 sec) specifies TCP connection timeout;
- --tor (optional) uses libtorsocks to connect over TOR network;
- -6 (optional) use IPv6 (seems to be incompatible with TOR).
Distributed under terms and conditions of GNU GPL v3 (only).
The following people are involved in development:
- Oleksandr Natalenko <o.natalenko@lanet.ua>
Mail them any suggestions, bugreports and comments.