[anonsec] I-D Action:draft-ietf-btns-connection-latching-06.txt

Nicolas Williams Nicolas.Williams at sun.com
Wed Apr 9 10:00:22 PDT 2008


On Wed, Apr 09, 2008 at 10:51:39AM -0500, Nicolas Williams wrote:
> On Wed, Apr 09, 2008 at 04:57:19PM +0200, Daniel Migault wrote:
> > >Never mind.  I've written one:
> > >
> > Here are my comments they might result from mis-interpretation of the 
> > draft, but that how I understood it.
> > 
> > On the figure there is a transition from LISTEN to ESTABLISH state. I 
> > might be wrong but I understood LISTEN state as an established state for 
> > Listener connection Latch.  So I  would  not expect transition from 
> > LISTEN to ESTABLISHED state. The only transition would be from LISTEN to 
> > CLOSE state.
> 
> I didn't know how to draw this, but yes, LISTEN *spawns* ESTABLISHED
> latches.  I thinkI'll just add text to the diagram, or use a different
> style of line.

OK, how about this:

                  |
          <CREATE_LISTENER_LATCH()>
                  |
                  v
             +--------+                  /
      +----..|LISTENER|........     <CREATE_CONNECTION_LATCH()>
      |    : +--------+       :        /
      |    <conn. trigger event>      /
      |   (e.g., TCP SYN receipt,    +
      |    : connect() call)  :      |
      |    :                  v      v
      |    :               +-----------+
      |    :        +------|ESTABLISHED|
      |    :        |      +--+-----^--+
      |    :    <conflict>    |     |
      |    :        |   <conflict> <conflict
      |    :        |         |     cleared>
      | <conflict>  |         v     |
      |    :        |  +------------+-------+
      |    :........|.>|SUSPENDED (OPTIONAL)|
      |    :        |  +---------+----------+
      |    :        v            |
      |    :      +------+       |
      |    :.....>|BROKEN|       |
      |           +-+----+   <RELEASE_LATCH()> +----------------------+
      |             |            |             |Legend:               |
      |   <RELEASE_LATCH()>      |             |  dotted lines denote |
      |             |            v             |     latch creation   |
   <RELEASE_LATCH()>|          +------+        |  solid lines denote  |
      +-------------+--------> |CLOSED|        |     state transition |
                               +------+        +----------------------+


PS: ASCII art drawing is fun!


More information about the ANONSEC mailing list