<div dir="ltr">Just to answer my own question for any others.<div><br></div><div>I've played around with it a for a few days and it seems the intermediate ORs don't maintain windows, it's only the edge nodes, maintaining a circuit, and individual stream windows.</div>

<div><br></div><div>Hope someone can update the spec to be clearer on this to save others the effort.  The offending sentence is:</div><div><br></div><i>"The OP behaves identically, except that it must track a packaging window and a delivery window for every OR in the circuit."</i><div>

<br></div><div>Best</div><div>Gareth</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 July 2014 09:51, Gareth Owen <span dir="ltr"><<a href="mailto:gareth.owen@port.ac.uk" target="_blank">gareth.owen@port.ac.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">(sorry re-post - forgot subject)</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Dear all</span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">I'm working on a tor research project and am having difficulty understanding the SENDME cells.  The tor spec acknowledges that it isn't particularly clear so I would welcome some clarification please.</span></div>



<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><font face="arial, sans-serif">The spec says that <b>all</b> nodes in a circuit maintain a send and receive window, and that this window is decremented on each RELAY_DATA and incremented on each SENDME.  Cells that are neither of these do not affect the window size.  The problem I have understanding is, that only edge nodes will know whether a cell is a RELAY_DATA, the intermediate nodes only know that its a RELAY but not what type.  So, if only RELAY_DATA decrements the window size, and intermediate nodes cannot spot these, what point is there in intermediate nodes having a window?</font></div>



<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Any help greatly appreciated.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Gareth</font></div>



<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">---</span></div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Dr Gareth Owen</span><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">



Senior Lecturer</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">School of Computing, University of Portsmouth</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br>



</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">W: <a href="http://ghowen.me" target="_blank">ghowen.me</a><br></div></div>
</div><br><br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Dr Gareth Owen<div>Senior Lecturer</div><div>School of Computing, University of Portsmouth</div><div><br></div><div>Tel: 02392 846423</div><div>

Web: <a href="http://ghowen.me" target="_blank">ghowen.me</a></div></div>
</div>