aboutsummaryrefslogtreecommitdiff
path: root/src/iperf_locale.h
diff options
context:
space:
mode:
authorralcini <roberto.alcini@gmail.com>2017-04-20 19:01:08 +0200
committerBruce A. Mah <bmah@kitchenlab.org>2017-04-20 10:01:08 -0700
commita51045de196f762fb74c86184b03da148c4e8f07 (patch)
tree2d6d223168994e38f93cd635d12caeb55ca6d82c /src/iperf_locale.h
parent05600c201ac47d02c33e8ccfb2f17f1bcc977c4b (diff)
downloadiperf3-a51045de196f762fb74c86184b03da148c4e8f07.tar.gz
Service Authentication (#517)
Add an optional mode that requires clients to authenticate with the server. In this mode, clients need to provide a username and a password, which are checked against a password file on the server. The authentication credentials are protected by an RSA public keypair...the encrypted credentials are sent along with the test parameters. Operationally the use of this feature places the following additional requirements on the build and installation of iperf3: o The presence of the OpenSSL headers and libraries to build iperf3, and the libraries available on the client and server at runtime. o Generation of an RSA public keypair; the private part is used by the server and the public part must be distributed to the clients. o Username/password pairs for all authorized users, to be stored in a file on the server. o Loose time synchronization between the server and clients (to within approximately 30 seconds). o Appropriate command-line flags given on the client and server. Note that iperf3 can be built and run as before, without fulfilling any of these requirements. Partial documentation for this feature is included in this commit. It is anticipated that additional documentation text and editing will follow this merge. Submitted by @ralcini. First suggested by @codyhanson in pull request #242.
Diffstat (limited to 'src/iperf_locale.h')
-rw-r--r--src/iperf_locale.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iperf_locale.h b/src/iperf_locale.h
index 4bfd99b..e1c8383 100644
--- a/src/iperf_locale.h
+++ b/src/iperf_locale.h
@@ -54,6 +54,8 @@ extern const char report_reverse[] ;
extern const char report_accepted[] ;
extern const char report_cookie[] ;
extern const char report_connected[] ;
+extern const char report_authetication_successed[] ;
+extern const char report_authetication_failed[] ;
extern const char report_window[] ;
extern const char report_autotune[] ;
extern const char report_omit_done[] ;