From: charlie Date: Sat, 14 Nov 2015 13:45:35 +0000 (+0100) Subject: Merge branch 'master' of https://github.com/dopefishh/tt2015 X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=77f330957957adaaa9bef237609c6d81e9c3bda7;hp=c1bee8c922255c3df4a064ecce42bae489ccadd0;p=tt2015.git Merge branch 'master' of https://github.com/dopefishh/tt2015 --- diff --git a/a2/1cases.tex b/a2/1cases.tex index 4bd81ff..d339dfa 100644 --- a/a2/1cases.tex +++ b/a2/1cases.tex @@ -129,7 +129,22 @@ these partitions are given. \end{enumerate} These partitions were chosen since they correspond to key parts of the TCP -specification. +specification. A single request consists of a number of packets that sent a +to the \emph{echo-server} and back. The TCP specification state that such a +transaction requires the following messages. + +\begin{center} + Script $-$ SYN $A$ $\rightarrow$ SUT \\ + Script $\leftarrow$ SYN-ACK $(A+1)$ $B$ $-$ SUT \\ + Script $-$ ACK $(A+1)$ $(B+1)$ $\rightarrow$ SUT \\ + Script $-$ ACK-PUSH $(A+1)$ $(B+2)$ \emph{msg} $\rightarrow$ SUT \\ + Script $\leftarrow$ ACK $(A+2+msg_{length})$ $(B+3)$ $-$ SUT \\ + Script $\leftarrow$ ACK-PUSH $(A+2+msg_{length})$ $(B+3)$ \emph{msg} $-$ SUT +\end{center} + +% +% één na laatste packket, moet dit B+3 of B+2 zijn? +% TCP segments are send over a TCP connection from a \emph{source} to a \emph{destination port}. Therefore segments which are received that have a source or destination port set to an incorrect value should not be regarded diff --git a/a2/code/client/gen.py b/a2/code/client/gen.py old mode 100755 new mode 100644 diff --git a/a2/code/client/helloworld.py b/a2/code/client/helloworld.py old mode 100755 new mode 100644 diff --git a/a2/code/setup/iptables.sh b/a2/code/setup/iptables.sh old mode 100755 new mode 100644