From 4c4cdd5d71d9e6b8a010ac56ad3d3c6b54faaa87 Mon Sep 17 00:00:00 2001 From: charlie Date: Sun, 15 Nov 2015 17:00:59 +0100 Subject: [PATCH] push om beneden achter de pc F1 te kunnen kijken. --- a2/1cases.tex | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/a2/1cases.tex b/a2/1cases.tex index b785956..28fa599 100644 --- a/a2/1cases.tex +++ b/a2/1cases.tex @@ -304,6 +304,7 @@ described in Table~\ref{tbl:testpairs}. \hline Test number & Expected results\\ \hline\hline + \doTCC & An ACK\# of the sequence number of the SYN packet + 1. \\ \hline \doTCC & An ACK\# of the send sequence number + 1.\\ \hline \doTCC & An ACK\# of the sequence number of the last send segment + the size of the payload of that segment.\\ \hline @@ -348,26 +349,37 @@ described in Table~\ref{tbl:testpairs}. \begin{longtable}{|p{.2\linewidth}|p{.8\linewidth}|} \hline + Nr & 1 \\\hline - Title & Single valid request with 1byte payload. \\\hline + Title & Connect to the \emph{echo-server} without sending a payload. \\\hline Input & Generated packets. \\\hline - Expected output & Packets echoed back by Echo-Server. \\\hline + Expected output & \emph{Echo-server} accepts the connection. \\\hline \multirow{2}{*}{Course of action} - & 1. Use the steps listed above in order to start the SUT. \\ - & 2. Execute the script by running \texttt{\# code/client/tests/1.py} \\\hline + & 1. Use the steps listed above in order to start the SUT. \\ + & 2. Execute the script by running \texttt{\# code/client/tests/1.py} \\\hline Valid trace & Verify that the script prints 'Success'. \\\hline \hline Nr & 2 \\\hline - Title & Single valid request with 65495bytes payload. \\\hline + Title & Single valid request with 1byte payload. \\\hline Input & Generated packets. \\\hline Expected output & Packets echoed back by Echo-Server. \\\hline \multirow{2}{*}{Course of action} - & 1. Use the steps listed above in order to start the SUT. \\ - & 2. Execute the script by running \texttt{\# code/client/tests/2.py} \\\hline + & 1. Use the steps listed above in order to start the SUT. \\ + & 2. Execute the script by running \texttt{\# code/client/tests/1.py} \\\hline Valid trace & Verify that the script prints 'Success'. \\\hline \hline +% Nr & 3 \\\hline +% Title & Single valid request with 65495bytes payload. \\\hline +% Input & Generated packets. \\\hline +% Expected output & Packets echoed back by Echo-Server. \\\hline +% \multirow{2}{*}{Course of action} +% & 1. Use the steps listed above in order to start the SUT. \\ +% & 2. Execute the script by running \texttt{\# code/client/tests/2.py} \\\hline +% Valid trace & Verify that the script prints 'Success'. \\\hline +% \hline + Nr & 3 \\\hline Title & 5 valid requests with 1byte payload. \\\hline Input & Generated packets. \\\hline @@ -389,7 +401,7 @@ described in Table~\ref{tbl:testpairs}. \hline Nr & 5 \\\hline - Title & 5 valid requests with 1byte payload sent out of order. \\\hline + Title & 5 valid requests with 1byte payload with corrupted source port, destination port and checksum. The second segment is omitted in order to simulate a packet drop on the client side. \\\hline Input & Generated packets with 1byte payload, two packets are swapped in position. \\\hline Expected output & All requests sent up to and including the swapped packet with the lowest sequence number, the remaining packets are ropped. \\\hline -- 2.20.1