Re: [NSIS] NATFW state machine draft

Niklas Steinleitner <steinleitner@cs.uni-goettingen.de> Sun, 25 June 2006 20:12 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Fuay4-0000az-GX; Sun, 25 Jun 2006 16:12:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Fuay3-0000au-5m for nsis@ietf.org; Sun, 25 Jun 2006 16:12:27 -0400
Received: from mailer.gwdg.de ([134.76.10.26]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Fuay1-0000g6-ET for nsis@ietf.org; Sun, 25 Jun 2006 16:12:27 -0400
Received: from s4.ifi.informatik.uni-goettingen.de ([134.76.81.226] helo=smtp.ifi.informatik.uni-goettingen.de) by mailer.gwdg.de with esmtp (Exim 4.60) (envelope-from <steinleitner@cs.uni-goettingen.de>) id 1Fuaxv-0007hL-Um; Sun, 25 Jun 2006 22:12:22 +0200
Received: from [192.168.0.10] (p5484C436.dip0.t-ipconnect.de [84.132.196.54]) by smtp.ifi.informatik.uni-goettingen.de (Postfix) with ESMTP; Sun, 25 Jun 2006 22:12:19 +0200 (CEST)
Message-ID: <449EEE1F.6060309@cs.uni-goettingen.de>
Date: Sun, 25 Jun 2006 22:12:15 +0200
From: Niklas Steinleitner <steinleitner@cs.uni-goettingen.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Matthias Friedrich <matt@mafr.de>, nsis@ietf.org
Subject: Re: [NSIS] NATFW state machine draft
X-Spam-Level: /
X-Spam-Report: Content analysis: 0.6 points, 6.0 required 0.4 HTML_30_40 BODY: Message is 30% to 40% HTML 0.0 HTML_MESSAGE BODY: HTML included in message 0.2 HTML_TITLE_EMPTY BODY: HTML title contains no text
X-Virus-Scanned: (clean) by exiscan+sophie
X-Spam-Score: 0.2 (/)
X-Scan-Signature: bc6181926481d86059e678c9f7cb8b34
Cc:
X-BeenThere: nsis@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Next Steps in Signaling <nsis.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nsis>, <mailto:nsis-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:nsis@ietf.org>
List-Help: <mailto:nsis-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nsis>, <mailto:nsis-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1417230904=="
Errors-To: nsis-bounces@ietf.org

  Hi Matthias,

sorry for my late response, i before overlook your mail and notice it 
when preparing an update for the statemachine draft.
Thanks for your deep review and helpful comments, please find my 
comments inline.

Matthias Friedrich wrote:

>Hi,
>
>I've got a few questions about version 02 of the NATFW state machine
>draft.
>
> * Section 7 ("State machines for the NAT/FW NF"), state IDLE:
>   What's the tx_CREATE in the last action good for?
>  
>
For "Proxying for a Data Sender", see section 3.8.7.1 in the NAT/FW NSLP 
draft.

> * Section 7 ("State machines for the NAT/FW NF"), state NONEDGE_REA:
>   Is there a rx_RESPONSE(SUCCESS, REA) condition missing? The response
>   could be coming from an upstream NF and should be passed on. The
>   state would stay NONEDGE_REA.
>  
>
Right, it's missing. Will be fixed in the newest version.

> * Section 7 ("State machines for the NAT/FW NF"), state EDGE_REA:
>   The first condition looks like a copy and paste mistake. I think
>   a tx_RESPONSE(SUCCESS, REA) should be sent and the state should
>   stay EDGE_REA. An edge NF shouldn't send REAs any further.
>  
>
Oops, you're right. Thanks.

>   I also wonder where the tx_RESPONSE(ERROR, REA) in the second
>   condition could be coming from. The node is on the edge of the
>   network after all.
>  
>
Totally agree! Will be fixed.

> * Section 8 ("State machine for the NAT/FW NR"), state SESSION:
>   The tg_TEARDOWN looks unnecessary to me, the session should be
>   terminated by a rx_CREATE && CREATE(Lifetime) > 0 condition.
>  
>
Looks also like a copy & paste mistake. Fixed.

> * What about changing all those rx_CREATE && CREATE(Lifetime) > 0
>   style conditions to a more concise syntax, maybe like
>   rx_CREATE(lifetime > 0)? Or, maybe I should stop drawing with
>   a pencil.
>  
>
Good idea, espacily as the transmission style already follows this syntax.

>Since CREATE and REA sessions are different things (as I learned
>recently), it would IMHO make sense to split the NF and NR state
>machines into CREATE and REA parts. That way they'll be easier to
>understand and look nicer on paper (I tested it), especially when more
>conditions will be added later.
>
>The NR would be split into NR and NR-REA (or NI+) parts. The NR would
>consist of IDLE and SESSION states, while the NR-REA would consist of
>IDLE, WAITRESP (formerly REA_WAITRESP), and REA.
>
>The NF would consist of IDLE, WAITRESP, and SESSION states, while
>NF-REA consists of IDLE, EDGE_REA, and NONEDGE_REA.
>  
>

In a former version of the draft, we has split it into two 
statemachines. But we think it is better to have all in one statemachine.
If you have several hours time to draw it, it's looks very nice and is 
not so hard to understand ;-)
You might be interested to take a look to my figures. You can find them at:
http://user.informatik.uni-goettingen.de/~nsteinle/nsis/natfw/statemachine/natfw-statemachine-03.pdf 
<natfw%20statemachine-03.pdf>

Thanks for your helpful comments,
Best Regards,
Niklas

>Thanks,
>	Matthias, who hopes he didn't overlook something :-)
>
>_______________________________________________
>nsis mailing list
>nsis@ietf.org
>https://www1.ietf.org/mailman/listinfo/nsis
>  
>

_______________________________________________
nsis mailing list
nsis@ietf.org
https://www1.ietf.org/mailman/listinfo/nsis