Skip to Content.
Sympa Menu

ndt-dev - Re: [ndt-dev] extending the extended login message

Subject: NDT-DEV email list created

List archive

Re: [ndt-dev] extending the extended login message

Chronological Thread 
  • From: Peter Boothe <>
  • To: Aaron Brown <>
  • Cc: "<>" <>
  • Subject: Re: [ndt-dev] extending the extended login message
  • Date: Mon, 11 May 2015 16:01:19 -0400

On Mon, May 11, 2015 at 3:42 PM, Aaron Brown <> wrote:
  1. We agree that the server is not responding saying "I can run your test" or "I can't run your test", it is instead saying "in response to your request, these are the tests I am willing to run, and here are the non-default parameters for each of those tests".  The server is performing capability negotiation with the client, and the server's response is the "take-it-or-leave-it" test parameters offered by the server to the client in response to the client's request.  The client can then either run the tests or close its connection.
So the model isn’t to deny any test, but to give them a different test and let them accept or reject it? e.g. if we put in maximum limit of say 30 seconds for a test, if someone requests a 60 second test, we just give them a 30 second test?

Yes!  It a client requests an hour-long test, then the server will say "I offer you this 30 second test instead, take it or leave it".  Similarly, if we later discover that some other parameter of the tests requests is prone to abuse, then we can change the set of allowable parameters and the server can make sure it never offers a test outside of those parameters.  An extreme example of this is old-style servers which will always respond with the empty arguments message, which means "only the defaults for everything".  If, despite the fact that the client would prefer some fancy new stuff, the defaults are okay for that client, then the new client can run old-style tests with the old-style server.

In order to have this work, it is important to establish from the beginning that clients be robust to the server responding with a modified set of arguments.  Otherwise, we and others will create brittle clients, and NDT server development will have all of the attendant maintenance headaches that come from brittleness in clients we do not control.


Archive powered by MHonArc 2.6.16.

Top of Page