ndt-dev - [ndt-dev] [ndt] r441 committed - Added sequence diagram to Simple firewall test description.
Subject: NDT-DEV email list created
List archive
[ndt-dev] [ndt] r441 committed - Added sequence diagram to Simple firewall test description.
Chronological Thread
- From:
- To:
- Subject: [ndt-dev] [ndt] r441 committed - Added sequence diagram to Simple firewall test description.
- Date: Tue, 02 Aug 2011 10:22:34 +0000
Revision: 441
Author:
Date: Tue Aug 2 03:21:56 2011
Log: Added sequence diagram to Simple firewall test description.
http://code.google.com/p/ndt/source/detail?r=441
Modified:
/wiki/NDTProtocol.wiki
=======================================
--- /wiki/NDTProtocol.wiki Tue Aug 2 03:06:54 2011
+++ /wiki/NDTProtocol.wiki Tue Aug 2 03:21:56 2011
@@ -283,7 +283,7 @@
Middlebox test is a short throughput S2C test with a limited CWND to check for a duplex mismatch condition. Moreover, this test uses pre-defined MSS value to check if any intermediate node will modify its connection settings.
-==== Sequence diagram ====
+==== MID Sequence diagram ====
A Middlebox test session overview can be seen on the following sequence diagram:
@@ -344,6 +344,39 @@
|| SFW_UNKNOWN || 2 || There was a connection to ephemeral port, but it was not recognized properly ||
|| SFW_POSSIBLE || 3 || There was no connection to ephemeral port within the specified time ||
+==== SFW Sequence diagram ====
+
+A Simple firewall test session overview can be seen on the following sequence diagram:
+
+{{{
+ +----------------+ +------------------+
+ | Client | | Server |
+ +----------------+ +------------------+
+ | |
+ | |----BIND NEW PORT--|
+ | |
+ |<----TEST_PREPARE (S_PORT TEST_TIME)---|
+ | |
+ |--BIND NEW PORT----| |
+ | |
+ |----------TEST_MSG (C_PORT)----------->|
+ | |
+ |<-------------TEST_START---------------|
+ | |
+ |-----------CONNECT (S_PORT)----------->|
+ |<----------CONNECT (C_PORT)------------|
+ |---TEST_MSG ("Simple firewall test")-->|
+ |<--TEST_MSG ("Simple firewall test")---|
+ | |
+ |<---------TEST_MSG (RESULTS)-----------|
+ | |
+ |<----------TEST_FINALIZE---------------|
+ | |
+ |<-----CLOSE CONNECTION (S_PORT)-------x|
+ |x-----CLOSE CONNECTION (C_PORT)------->|
+}}}
+
+
==== SFW protocol ====
As a first step Server MUST bind ephemeral port and send TEST_PREPARE message containing this port number and test time (in seconds) to Client. Port number and test time MUST be encoded as strings and separated by a single space, for example:
@@ -371,7 +404,7 @@
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
}}}
-After performing Simple firewall test in both directions, Server MUST send to Client its c2s results encoded as string in the TEST_MSG message.
+After performing Simple firewall test in both directions, Server MUST send to Client its SFW (c2s) results encoded as string in the TEST_MSG message.
At the end Server MUST close SFW test session by sending an empty TEST_FINALIZE message.
- [ndt-dev] [ndt] r441 committed - Added sequence diagram to Simple firewall test description., ndt, 08/02/2011
Archive powered by MHonArc 2.6.16.