Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r431 committed - Added information about TEST_STATUS mechanism.

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r431 committed - Added information about TEST_STATUS mechanism.


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r431 committed - Added information about TEST_STATUS mechanism.
  • Date: Mon, 01 Aug 2011 12:12:58 +0000

Revision: 431
Author:

Date: Mon Aug 1 05:12:48 2011
Log: Added information about TEST_STATUS mechanism.
http://code.google.com/p/ndt/source/detail?r=431

Modified:
/wiki/NDTProtocol.wiki

=======================================
--- /wiki/NDTProtocol.wiki Fri Jul 29 07:27:47 2011
+++ /wiki/NDTProtocol.wiki Mon Aug 1 05:12:48 2011
@@ -141,6 +141,8 @@

Where TESTS is a bitwise OR of the tests' ids that should be run in a requested test-suite.

+All new clients SHOULD always request TEST_STATUS (16 (1L << 4)) test in order to notify server that they support MSG_WAITING messages introduced in NDT v3.5.5.
+
==== Kick off message to disconnect old clients ====

In the same time Server sends the specially crafted 13 octets long data that kicks off the old clients ("123456 654321"):
@@ -167,7 +169,7 @@
|| "9977" || Server Fault: test session will be terminated for unknown reason. Client SHOULD drop the connection after receiving this message. *Not used currently by the server* ||
|| "9988" || If this is a first message from server, then it means that server is busy. In other cases it means Server Fault. Client SHOULD drop the connection after receiving this message. ||
|| "9999" || Server Busy: Please wait 60 seconds for the current test to finish. Client SHOULD drop the connection after receiving this message. *Deprecated/Not used by the server* ||
-|| "9990" || This is a check from server to verify if the client is alive. Available from v3.5.5. The client SHOULD respond to this message by sending 'MSG_WAITING' empty message. ||
+|| "9990" || This is a check from server to verify if the client is alive. Available from v3.5.5. The client SHOULD respond to this message by sending 'MSG_WAITING' empty message. Server will only send these messages when client requested TEST_STATUS test. ||
|| "N" || Where N is any other value. It means the estimated number of minutes that client will wait for its test to begin. ||

When server decides that client can start its test session, it sends SRV_QUEUE message with value *"0"*:
@@ -223,6 +225,13 @@
|| TEST_SFW || 8 (1L << 3) || Simple firewall test ||
|| TEST_META || 32 (1L << 5) || META test ||

+Moreover, NDT v3.5.5 introduced a new mechanism to avoid zombie clients (i.e. queued clients that will never start their test session). In order to enable this mechanism client MUST add the following test to its test suite request:
+
+|| *C constant name* || *Integer value* || *Description* ||
+|| TEST_STATUS || 16 (1L << 4) || Special flag to notify server that this client will respond to status requests ||
+
+It is highly RECOMMENDED that all new clients support TEST_STATUS mechanism.
+
=== Middlebox test ===
=== Simple firewall test ===
=== C2S throughput test ===


  • [ndt-dev] [ndt] r431 committed - Added information about TEST_STATUS mechanism., ndt, 08/01/2011

Archive powered by MHonArc 2.6.16.

Top of Page