From owner-shim6@psg.com Wed Dec 12 11:29:29 2007
Return-path: <owner-shim6@psg.com>
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J2USf-0006O4-Gy
	for shim6-archive-oY2iet1p@lists.ietf.org; Wed, 12 Dec 2007 11:29:29 -0500
Received: from psg.com ([147.28.0.62])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1J2USe-0001Rb-0g
	for shim6-archive-oY2iet1p@lists.ietf.org; Wed, 12 Dec 2007 11:29:29 -0500
Received: from majordom by psg.com with local (Exim 4.68 (FreeBSD))
	(envelope-from <owner-shim6@psg.com>)
	id 1J2UF9-000BCr-BD
	for shim6-data@psg.com; Wed, 12 Dec 2007 16:15:31 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on psg.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RDNS_NONE
	autolearn=no version=3.2.3
Received: from [163.117.176.131] (helo=smtp01.uc3m.es)
	by psg.com with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.68 (FreeBSD))
	(envelope-from <alberto@it.uc3m.es>)
	id 1J2UF6-000BBz-82
	for shim6@psg.com; Wed, 12 Dec 2007 16:15:29 +0000
Received: from bombo (bombo.it.uc3m.es [163.117.139.125])by smtp01.uc3m.es 
	(Postfix) with ESMTP id 585D328F8FFfor <shim6@psg.com>; Wed, 12 Dec 2007 
	17:15:25 +0100 (CET)
From: =?ISO-8859-15?Q?Alberto_Garc=EDa?= <alberto@it.uc3m.es>
To: <shim6@psg.com>
Subject: Question about REAP state transition 
	(draft-ietf-shim6-failure-detection-09)
Date: Wed, 12 Dec 2007 17:15:25 +0100
Message-ID: <00a901c83cda$348270c0$7d8b75a3@bombo>
MIME-Version: 1.0
Content-Type: text/plain;
	charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.3198
Thread-Index: Acg82QD1Z2w9h6gqSByGfpiYk1Ka1w==
X-imss-version: 2.049
X-imss-result: Passed
X-imss-scanInfo: M:B L:N SM:2
X-imss-tmaseResult: TT:1 TS:-6.3302 TC:1F TRN:31 TV:5.0.1023(15602.000)
X-imss-scores: Clean:100.00000 C:0 M:0 S:0 R:0
X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000)
Sender: owner-shim6@psg.com
Precedence: bulk
X-Spam-Score: -4.0 (----)
X-Scan-Signature: bb8f917bb6b8da28fc948aeffb74aa17

Hi
I have a question about draft-ietf-shim6-failure-detection-09.

First, my understanding of the specification is that Probe Exploring
messages do not carry neither "probe received information source address"
nor "probe received information destination address", etc. Although this
information is not normally available at the Exploring state, it could be
available if the node was in the past in the Inbound_OK state, but a Send
Timeout occurred to move it to the Exploring state.
If this is true, I wonder if it is possible that the exploration process
could not find two valid unidirectional paths (on each direction) even if
they exist. Suppose that a node A in Exploring state receives a Probe
Exploring, so it moves to Inbound_OK. For the next Probes it sends, it
includes the information about the valid locators for its incoming paths (B
to A), but it is not able to find a working path from A to B for some time.
In B, the Retransmission Timer of B expires because a valid path from A to B
was not found, so B starts testing other paths that are not working. Then, A
stops receiving data from B, so the Send timer expires (I don't find any
reason why all the possible paths should be explored in less than Send
Timeout time, so A could not test all possible paths from A to B in this
time). Then, A falls to the Exploring state, and (in the supposition of the
previous paragraph) forgets about the working path from B to A. May be now A
sends a probe to B through a working path. but in B happens the same (it
tries now with different paths from B to A that are no valid, so A tries
another paths from A to B abandoning the good one...). In this case, two
valid unidirectional paths existed, one from A to B, and other from B to A,
but the protocol could not find them, because they not were known at the
same time by both nodes.
I'm missing something?

Best regards,
Alberto






From owner-shim6@psg.com Sat Dec 15 11:43:28 2007
Return-path: <owner-shim6@psg.com>
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J3a6q-0008TN-3D
	for shim6-archive-oY2iet1p@lists.ietf.org; Sat, 15 Dec 2007 11:43:28 -0500
Received: from psg.com ([147.28.0.62])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1J3a6o-0000vq-9q
	for shim6-archive-oY2iet1p@lists.ietf.org; Sat, 15 Dec 2007 11:43:28 -0500
Received: from majordom by psg.com with local (Exim 4.68 (FreeBSD))
	(envelope-from <owner-shim6@psg.com>)
	id 1J3Ztd-000EOs-Hm
	for shim6-data@psg.com; Sat, 15 Dec 2007 16:29:49 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on psg.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RDNS_NONE
	autolearn=no version=3.2.3
Received: from [83.149.65.1] (helo=sequoia.muada.com)
	by psg.com with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.68 (FreeBSD))
	(envelope-from <iljitsch@muada.com>)
	id 1J3ZtS-000ENr-Fq
	for shim6@psg.com; Sat, 15 Dec 2007 16:29:45 +0000
Received: from [163.117.139.241] ([163.117.139.241])
	(authenticated bits=0)
	by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id lBFGTGVx062699
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
	Sat, 15 Dec 2007 17:29:19 +0100 (CET)
	(envelope-from iljitsch@muada.com)
Cc: <shim6@psg.com>
Message-Id: <F2BAA8B3-38D1-4A8C-BF8E-1B0B149730E4@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: =?ISO-8859-1?Q?Alberto_Garc=EDa?= <alberto@it.uc3m.es>
In-Reply-To: <00a901c83cda$348270c0$7d8b75a3@bombo>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v915)
Subject: Re: Question about REAP state transition  (draft-ietf-shim6-failure-detection-09)
Date: Sat, 15 Dec 2007 14:41:20 +0100
References: <00a901c83cda$348270c0$7d8b75a3@bombo>
X-Mailer: Apple Mail (2.915)
Sender: owner-shim6@psg.com
Precedence: bulk
X-Spam-Score: -4.0 (----)
X-Scan-Signature: 6ffdee8af20de249c24731d8414917d3

On 12 dec 2007, at 17:15, Alberto Garc=EDa wrote:

> First, my understanding of the specification is that Probe Exploring
> messages do not carry neither "probe received information source =20
> address"
> nor "probe received information destination address", etc.

In the specification it's required for probe packets to contain the =20
source and destination addresses that are used to send the current =20
probe as well as "probe nonce" and "probe data" fields. It is allowed, =20=

but not required, for a probe to also contain the source/dest/nonce/=20
data values from probes that were sent earlier. The reason to include =20=

this is because that way, the receiver knows which address pair =20
combinations were tried by the sender in previous packets, and if the =20=

probes with those address pairs didn't make it to the receiver, that's =20=

a hint that those address pairs won't work in the opposite direction =20
either.

It's also allowed but not required to copy back the source/dest/nonce/=20=

data fields from one or more received probes. This tells the receiver =20=

which probes it sent previously were successful so it can select a =20
working address pair. Without this information, it's probably hard for =20=

a receiver to draw definitive conclusions about which address pairs =20
work.

Would you say that we should require that at least the set of source/=20
dest/nonce/data fields from the last successfully received probe is =20
included in outgoing probes?

> If this is true, I wonder if it is possible that the exploration =20
> process
> could not find two valid unidirectional paths (on each direction) =20
> even if
> they exist. Suppose that a node A in Exploring state receives a Probe
> Exploring, so it moves to Inbound_OK.

Ok.

> For the next Probes it sends, it
> includes the information about the valid locators for its incoming =20
> paths (B
> to A), but it is not able to find a working path from A to B for =20
> some time.

Hm, if there is a unidirectional path, wouldn't A find it at some point?

And if A inclues source/dest/nonce/data fields from B's probe then B =20
knows which address pair from B to A works, so both unidirectional =20
paths will be found.

The trouble would be when A doesn't include information from pobes it =20=

received from B, so that by the time that B sees a successful packet =20
from A, B has already moved on to a new pair so both ends think there =20=

is working connectivity but there is only connectivity from A to B but =20=

not from B to A.

> In B, the Retransmission Timer of B expires because a valid path =20
> from A to B
> was not found, so B starts testing other paths that are not working.

Retransmission timer =3D a new probe is sent? Note that we don't =20
explicitly use this terminology in REAP. Think of each probe as a new =20=

probe without relationship to earlier ones.

> Then, A
> stops receiving data from B, so the Send timer expires (I don't find =20=

> any
> reason why all the possible paths should be explored in less than Send
> Timeout time, so A could not test all possible paths from A to B in =20=

> this
> time).

The Send Timeout keeps track of when to send a keepalive. This is part =20=

of the failure detection mechanism, which runs when data is flowing. =20
Only when there has been no incoming traffic (but there is outgoing =20
traffic) the reachability exploration procedure is started, which =20
doesn't use the Send Timeout. In practice, data traffic will continue =20=

to be generated concurrently with the reachability exploration, but =20
the two types of packets don't interact.

> Then, A falls to the Exploring state, and (in the supposition of the
> previous paragraph) forgets about the working path from B to A.

A host should only enter the Exploring state when it has been sending =20=

outgoing packets but isn't seeing incoming packets. So it SHOULD be =20
impossible to get into the Exploring state when there is working =20
reachability in both directions.

> May be now A
> sends a probe to B through a working path. but in B happens the same =20=

> (it
> tries now with different paths from B to A that are no valid, so A =20
> tries
> another paths from A to B abandoning the good one...). In this case, =20=

> two
> valid unidirectional paths existed, one from A to B, and other from =20=

> B to A,
> but the protocol could not find them, because they not were known at =20=

> the
> same time by both nodes.
> I'm missing something?

I'm thinking something like this could happen if one end doesn't copy =20=

back the other's probe information, but not in any other circumstance.=




From owner-shim6@psg.com Sat Dec 15 11:44:37 2007
Return-path: <owner-shim6@psg.com>
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J3a7x-0001mK-2v
	for shim6-archive-oY2iet1p@lists.ietf.org; Sat, 15 Dec 2007 11:44:37 -0500
Received: from psg.com ([147.28.0.62])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1J3a7w-0000zS-MG
	for shim6-archive-oY2iet1p@lists.ietf.org; Sat, 15 Dec 2007 11:44:37 -0500
Received: from majordom by psg.com with local (Exim 4.68 (FreeBSD))
	(envelope-from <owner-shim6@psg.com>)
	id 1J3Ztg-000EPG-S1
	for shim6-data@psg.com; Sat, 15 Dec 2007 16:29:52 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on psg.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RDNS_NONE
	autolearn=no version=3.2.3
Received: from [83.149.65.1] (helo=sequoia.muada.com)
	by psg.com with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.68 (FreeBSD))
	(envelope-from <iljitsch@muada.com>)
	id 1J3Ztd-000EOn-UW
	for shim6@psg.com; Sat, 15 Dec 2007 16:29:51 +0000
Received: from [163.117.139.241] ([163.117.139.241])
	(authenticated bits=0)
	by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id lBFGTGW0062699
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO)
	for <shim6@psg.com>; Sat, 15 Dec 2007 17:29:23 +0100 (CET)
	(envelope-from iljitsch@muada.com)
Message-Id: <1E19A763-72A5-46E5-A8C8-A651A6149623@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: shim6-wg <shim6@psg.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v915)
Subject: ICMP message for ingress filtering
Date: Sat, 15 Dec 2007 14:59:00 +0100
X-Mailer: Apple Mail (2.915)
Sender: owner-shim6@psg.com
Precedence: bulk
X-Spam-Score: -4.0 (----)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9

Hi shimmers,

After a discussion about performing proxy shim operation and the  
acceptability of NAT for that, it occurs to me that we never actually  
solved the ingress filtering issue.

When a host connects to ISPs A and B and then sends a packet with a  
source address from ISP A's address range out to ISP B, it's likely  
that ISP B will drop the packet because it has an "invalid" source  
address. Solving this in the general case is non-trivial, but I think  
it should be possible to get us most of the way there with a fairly  
simple mechanism: a new "source address prohibited" ICMP message. Just  
like when a host receives a "destination unreachable" message it tries  
a different destination address, receiving a "source address  
prohibited" message would make the host try a different source address.

Since this isn't a shim6- or even IPv6-specific issue (IPv4 hosts can  
also have multiple addresses, it's just not all that common) this  
would probably have to happen in the internet area working group but I  
thought I'd ask for feedback from this wg first.

The reason this came up in regard to shim6 proxying is that if a host  
behind such a proxy has ULA addresses or another address type with  
similar properties, it would be necessary to perform NAT to  
communicate with legacy IPv6 destinations. If you give the host behind  
the proxy regular PA addresses on the other hand, you are still  
largely bound by the limitations of those addresses. Alternatively, we  
could give a proxied host both ULA-like identifier addresses for use  
towards shim6-capable destinations and regular PA addresses for use  
towards legacy destinations. RFC 3484 address selection should help  
select the right source address here, but this isn't fool proof. So in  
case the host selects the wrong type of address, the proxy could send  
back a "source address prohibited" ICMP message and the host would  
retry with a different source address.

It would be good to get this into host IPv6 stacks even if routers  
won't support it immediately so that we can make use of this when we  
create shim6 proxies.

An ICMP message like this would also be useful for sites that would  
like to use ULA addressing for their internal network but regular  
addresses for connectivity to the internet.




From owner-shim6@psg.com Tue Dec 18 09:25:38 2007
Return-path: <owner-shim6@psg.com>
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J4dO6-0002q0-FS
	for shim6-archive-oY2iet1p@lists.ietf.org; Tue, 18 Dec 2007 09:25:38 -0500
Received: from psg.com ([147.28.0.62])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1J4dO4-0007zP-5A
	for shim6-archive-oY2iet1p@lists.ietf.org; Tue, 18 Dec 2007 09:25:38 -0500
Received: from majordom by psg.com with local (Exim 4.68 (FreeBSD))
	(envelope-from <owner-shim6@psg.com>)
	id 1J4dBj-000Cj8-3Z
	for shim6-data@psg.com; Tue, 18 Dec 2007 14:12:51 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on psg.com
X-Spam-Level: 
X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_BAD_ID,
	RDNS_NONE autolearn=no version=3.2.3
Received: from [163.117.176.133] (helo=smtp03.uc3m.es)
	by psg.com with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.68 (FreeBSD))
	(envelope-from <alberto@it.uc3m.es>)
	id 1J4dBc-000CgT-Tx
	for shim6@psg.com; Tue, 18 Dec 2007 14:12:49 +0000
Received: from bombo (bombo.it.uc3m.es [163.117.139.125])by smtp03.uc3m.es 
	(Postfix) with ESMTP id B92D429639A;Tue, 18 Dec 2007 15:12:41 +0100 (CET)
From: =?ISO-8859-15?Q?Alberto_Garc=EDa?= <alberto@it.uc3m.es>
To: "'Iljitsch van Beijnum'" <iljitsch@muada.com>
Cc: <shim6@psg.com>
References: <00a901c83cda$348270c0$7d8b75a3@bombo> 
	<F2BAA8B3-38D1-4A8C-BF8E-1B0B149730E4@muada.com>
Subject: RE: Question about REAP state transition  
	(draft-ietf-shim6-failure-detection-09)
Date: Tue, 18 Dec 2007 15:12:42 +0100
Message-ID: <00e501c84180$0e0e59e0$7d8b75a3@bombo>
MIME-Version: 1.0
Content-Type: text/plain;
	charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Thread-Index: Acg/N67ke1rvOx8PSEaS7NUNflJ/7gCNtLbg
In-Reply-To: <F2BAA8B3-38D1-4A8C-BF8E-1B0B149730E4@muada.com>
X-imss-version: 2.049
X-imss-result: Passed
X-imss-scanInfo: M:B L:N SM:2
X-imss-tmaseResult: TT:1 TS:-29.6317 TC:1F TRN:74 TV:5.0.1023(15614.000)
X-imss-scores: Clean:100.00000 C:0 M:0 S:0 R:0
X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000)
Sender: owner-shim6@psg.com
Precedence: bulk
X-Spam-Score: -1.9 (-)
X-Scan-Signature: a8041eca2a724d631b098c15e9048ce9

Some commments inline.

|  -----Mensaje original-----
|  De: Iljitsch van Beijnum [mailto:iljitsch@muada.com]
|  Enviado el: s=E1bado, 15 de diciembre de 2007 14:41
|  Para: Alberto Garc=EDa
|  CC: shim6@psg.com
|  Asunto: Re: Question about REAP state transition
(draft-ietf-shim6-failure-
|  detection-09)
| =20
|  On 12 dec 2007, at 17:15, Alberto Garc=EDa wrote:
| =20
|  > First, my understanding of the specification is that Probe =
Exploring
|  > messages do not carry neither "probe received information source
|  > address"
|  > nor "probe received information destination address", etc.
| =20
|  In the specification it's required for probe packets to contain the
|  source and destination addresses that are used to send the current
|  probe as well as "probe nonce" and "probe data" fields. It is =
allowed,
|  but not required, for a probe to also contain the source/dest/nonce/
|  data values from probes that were sent earlier. The reason to include
|  this is because that way, the receiver knows which address pair
|  combinations were tried by the sender in previous packets, and if the
|  probes with those address pairs didn't make it to the receiver, =
that's
|  a hint that those address pairs won't work in the opposite direction
|  either.
| =20
|  It's also allowed but not required to copy back the =
source/dest/nonce/
|  data fields from one or more received probes. This tells the receiver
|  which probes it sent previously were successful so it can select a
|  working address pair. Without this information, it's probably hard =
for
|  a receiver to draw definitive conclusions about which address pairs
|  work.
| =20
|  Would you say that we should require that at least the set of source/
|  dest/nonce/data fields from the last successfully received probe is
|  included in outgoing probes?
| =20

Ummm. My understanding of the protocol was that it was important for =
Probes
sent by nodes in Inbound_OK or in Operational state (at least - maybe =
also
in the Exploring state) to inform the other side which incoming paths =
were
successful. Otherwise, it is not easy for the other side to assume any
outgoing path as successful, specially when we are considering that
bidirectional communication is not working.
I also think that this information must also be included in the Probes =
sent
when the node is in Exploring state, if it knows it (because it was in =
the
past in the Inbound_OK state)
May be this should be more explicitly stated.
However, if this is the case, I don't fully understand why the Send =
timer is
used in the Inbound_OK state (as I comment at the end of the email)

|  > If this is true, I wonder if it is possible that the exploration
|  > process
|  > could not find two valid unidirectional paths (on each direction)
|  > even if
|  > they exist. Suppose that a node A in Exploring state receives a =
Probe
|  > Exploring, so it moves to Inbound_OK.
| =20
|  Ok.
| =20
|  > For the next Probes it sends, it
|  > includes the information about the valid locators for its incoming
|  > paths (B
|  > to A), but it is not able to find a working path from A to B for
|  > some time.
| =20
|  Hm, if there is a unidirectional path, wouldn't A find it at some =
point?
|  And if A inclues source/dest/nonce/data fields from B's probe then B
|  knows which address pair from B to A works, so both unidirectional
|  paths will be found.
| =20
|  The trouble would be when A doesn't include information from pobes it
|  received from B, so that by the time that B sees a successful packet
|  from A, B has already moved on to a new pair so both ends think there
|  is working connectivity but there is only connectivity from A to B =
but
|  not from B to A.
| =20
|  > In B, the Retransmission Timer of B expires because a valid path

OK, "Initial Probe Timeout".=20
Regardless the name, probes could be sent one after the other, with some
interval in between, so it would take some time to test all possible =
paths.

|  > from A to B
|  > was not found, so B starts testing other paths that are not =
working.
|  Retransmission timer =3D a new probe is sent? Note that we don't
|  explicitly use this terminology in REAP. Think of each probe as a new
|  probe without relationship to earlier ones.
| =20
|  > Then, A
|  > stops receiving data from B, so the Send timer expires (I don't =
find
|  > any
|  > reason why all the possible paths should be explored in less than =
Send
|  > Timeout time, so A could not test all possible paths from A to B in
|  > this
|  > time).
| =20
|  The Send Timeout keeps track of when to send a keepalive. This is =
part

Umm, that is the Keepalive timer, isn't it? The Send Timeout keeps track =
of
when you should consider that the incoming path is no longer valid:=20
"6.  Send Timeout seconds after the transmission of a data packet with
       no return traffic on this context, a full reachability
       exploration is started."

And it is running when the node is at the Inbound_OK state (=3Dit thinks =
that
the incoming path is working... but after Send timer time without =
receiving
anything, it gives up, and moves again to the Exploring state)=20

|  of the failure detection mechanism, which runs when data is flowing.
|  Only when there has been no incoming traffic (but there is outgoing
|  traffic) the reachability exploration procedure is started, which
|  doesn't use the Send Timeout. In practice, data traffic will continue

The exploration process does use the Send timeout.

|  to be generated concurrently with the reachability exploration, but
|  the two types of packets don't interact.
| =20
|  > Then, A falls to the Exploring state, and (in the supposition of =
the
|  > previous paragraph) forgets about the working path from B to A.
| =20
|  A host should only enter the Exploring state when it has been sending
|  outgoing packets but isn't seeing incoming packets. So it SHOULD be
|  impossible to get into the Exploring state when there is working
|  reachability in both directions.
 =20
The problem is that may be reachability for both directions may not =
occur
during the same period (being this period related to the Send Timeout
duration). So I think it CAN be possible to get into the Exploring state
although valid paths for both directions exist.

|  > May be now A
|  > sends a probe to B through a working path. but in B happens the =
same
|  > (it
|  > tries now with different paths from B to A that are no valid, so A
|  > tries
|  > another paths from A to B abandoning the good one...). In this =
case,
|  > two
|  > valid unidirectional paths existed, one from A to B, and other from
|  > B to A,
|  > but the protocol could not find them, because they not were known =
at
|  > the
|  > same time by both nodes.
|  > I'm missing something?
| =20
|  I'm thinking something like this could happen if one end doesn't copy
|  back the other's probe information, but not in any other =
circumstance.=3D

That's my point. It should be stated that this information should be
included in all Probes.

However, then another question arises: then, what is the difference =
moving
from the Inbound_OK state to the Exploring one? Since the Probes should
contain the same information (even if the state is back to Exploring), =
why
moving to the Exploring state when the Send timer expires? (or what is =
being
made different depending on if the Send timer has not expired yet in the
Inbound_OK state, or if it has expired and we have moved to the =
Exploring
state?).

Regards,
Alberto







Envelope-to: shim6-data@psg.com
Delivery-date: Tue, 18 Dec 2007 14:14:33 +0000
From: =?ISO-8859-15?Q?Alberto_Garc=EDa?= <alberto@it.uc3m.es>
To: "'Iljitsch van Beijnum'" <iljitsch@muada.com>
Cc: <shim6@psg.com>
Subject: RE: Question about REAP state transition   (draft-ietf-shim6-failure-detection-09)
Date: Tue, 18 Dec 2007 15:12:42 +0100
Message-ID: <00e501c84180$0e0e59e0$7d8b75a3@bombo>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
Thread-Index: Acg/N67ke1rvOx8PSEaS7NUNflJ/7gCNtLbg

Some commments inline.

|  -----Mensaje original-----
|  De: Iljitsch van Beijnum [mailto:iljitsch@muada.com]
|  Enviado el: s=E1bado, 15 de diciembre de 2007 14:41
|  Para: Alberto Garc=EDa
|  CC: shim6@psg.com
|  Asunto: Re: Question about REAP state transition
(draft-ietf-shim6-failure-
|  detection-09)
| =20
|  On 12 dec 2007, at 17:15, Alberto Garc=EDa wrote:
| =20
|  > First, my understanding of the specification is that Probe =
Exploring
|  > messages do not carry neither "probe received information source
|  > address"
|  > nor "probe received information destination address", etc.
| =20
|  In the specification it's required for probe packets to contain the
|  source and destination addresses that are used to send the current
|  probe as well as "probe nonce" and "probe data" fields. It is =
allowed,
|  but not required, for a probe to also contain the source/dest/nonce/
|  data values from probes that were sent earlier. The reason to include
|  this is because that way, the receiver knows which address pair
|  combinations were tried by the sender in previous packets, and if the
|  probes with those address pairs didn't make it to the receiver, =
that's
|  a hint that those address pairs won't work in the opposite direction
|  either.
| =20
|  It's also allowed but not required to copy back the =
source/dest/nonce/
|  data fields from one or more received probes. This tells the receiver
|  which probes it sent previously were successful so it can select a
|  working address pair. Without this information, it's probably hard =
for
|  a receiver to draw definitive conclusions about which address pairs
|  work.
| =20
|  Would you say that we should require that at least the set of source/
|  dest/nonce/data fields from the last successfully received probe is
|  included in outgoing probes?
| =20

Ummm. My understanding of the protocol was that it was important for =
Probes
sent by nodes in Inbound_OK or in Operational state (at least - maybe =
also
in the Exploring state) to inform the other side which incoming paths =
were
successful. Otherwise, it is not easy for the other side to assume any
outgoing path as successful, specially when we are considering that
bidirectional communication is not working.
I also think that this information must also be included in the Probes =
sent
when the node is in Exploring state, if it knows it (because it was in =
the
past in the Inbound_OK state)
May be this should be more explicitly stated.
However, if this is the case, I don't fully understand why the Send =
timer is
used in the Inbound_OK state (as I comment at the end of the email)

|  > If this is true, I wonder if it is possible that the exploration
|  > process
|  > could not find two valid unidirectional paths (on each direction)
|  > even if
|  > they exist. Suppose that a node A in Exploring state receives a =
Probe
|  > Exploring, so it moves to Inbound_OK.
| =20
|  Ok.
| =20
|  > For the next Probes it sends, it
|  > includes the information about the valid locators for its incoming
|  > paths (B
|  > to A), but it is not able to find a working path from A to B for
|  > some time.
| =20
|  Hm, if there is a unidirectional path, wouldn't A find it at some =
point?
|  And if A inclues source/dest/nonce/data fields from B's probe then B
|  knows which address pair from B to A works, so both unidirectional
|  paths will be found.
| =20
|  The trouble would be when A doesn't include information from pobes it
|  received from B, so that by the time that B sees a successful packet
|  from A, B has already moved on to a new pair so both ends think there
|  is working connectivity but there is only connectivity from A to B =
but
|  not from B to A.
| =20
|  > In B, the Retransmission Timer of B expires because a valid path

OK, "Initial Probe Timeout".=20
Regardless the name, probes could be sent one after the other, with some
interval in between, so it would take some time to test all possible =
paths.

|  > from A to B
|  > was not found, so B starts testing other paths that are not =
working.
|  Retransmission timer =3D a new probe is sent? Note that we don't
|  explicitly use this terminology in REAP. Think of each probe as a new
|  probe without relationship to earlier ones.
| =20
|  > Then, A
|  > stops receiving data from B, so the Send timer expires (I don't =
find
|  > any
|  > reason why all the possible paths should be explored in less than =
Send
|  > Timeout time, so A could not test all possible paths from A to B in
|  > this
|  > time).
| =20
|  The Send Timeout keeps track of when to send a keepalive. This is =
part

Umm, that is the Keepalive timer, isn't it? The Send Timeout keeps track =
of
when you should consider that the incoming path is no longer valid:=20
"6.  Send Timeout seconds after the transmission of a data packet with
       no return traffic on this context, a full reachability
       exploration is started."

And it is running when the node is at the Inbound_OK state (=3Dit thinks =
that
the incoming path is working... but after Send timer time without =
receiving
anything, it gives up, and moves again to the Exploring state)=20

|  of the failure detection mechanism, which runs when data is flowing.
|  Only when there has been no incoming traffic (but there is outgoing
|  traffic) the reachability exploration procedure is started, which
|  doesn't use the Send Timeout. In practice, data traffic will continue

The exploration process does use the Send timeout.

|  to be generated concurrently with the reachability exploration, but
|  the two types of packets don't interact.
| =20
|  > Then, A falls to the Exploring state, and (in the supposition of =
the
|  > previous paragraph) forgets about the working path from B to A.
| =20
|  A host should only enter the Exploring state when it has been sending
|  outgoing packets but isn't seeing incoming packets. So it SHOULD be
|  impossible to get into the Exploring state when there is working
|  reachability in both directions.
 =20
The problem is that may be reachability for both directions may not =
occur
during the same period (being this period related to the Send Timeout
duration). So I think it CAN be possible to get into the Exploring state
although valid paths for both directions exist.

|  > May be now A
|  > sends a probe to B through a working path. but in B happens the =
same
|  > (it
|  > tries now with different paths from B to A that are no valid, so A
|  > tries
|  > another paths from A to B abandoning the good one...). In this =
case,
|  > two
|  > valid unidirectional paths existed, one from A to B, and other from
|  > B to A,
|  > but the protocol could not find them, because they not were known =
at
|  > the
|  > same time by both nodes.
|  > I'm missing something?
| =20
|  I'm thinking something like this could happen if one end doesn't copy
|  back the other's probe information, but not in any other =
circumstance.=3D

That's my point. It should be stated that this information should be
included in all Probes.

However, then another question arises: then, what is the difference =
moving
from the Inbound_OK state to the Exploring one? Since the Probes should
contain the same information (even if the state is back to Exploring), =
why
moving to the Exploring state when the Send timer expires? (or what is =
being
made different depending on if the Send timer has not expired yet in the
Inbound_OK state, or if it has expired and we have moved to the =
Exploring
state?).

Regards,
Alberto





Envelope-to: shim6-data@psg.com
Delivery-date: Sat, 15 Dec 2007 16:31:55 +0000
Cc: <shim6@psg.com>
Message-Id: <F2BAA8B3-38D1-4A8C-BF8E-1B0B149730E4@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: =?ISO-8859-1?Q?Alberto_Garc=EDa?= <alberto@it.uc3m.es>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v915)
Subject: Re: Question about REAP state transition  (draft-ietf-shim6-failure-detection-09)
Date: Sat, 15 Dec 2007 14:41:20 +0100

On 12 dec 2007, at 17:15, Alberto Garc=EDa wrote:

> First, my understanding of the specification is that Probe Exploring
> messages do not carry neither "probe received information source =20
> address"
> nor "probe received information destination address", etc.

In the specification it's required for probe packets to contain the =20
source and destination addresses that are used to send the current =20
probe as well as "probe nonce" and "probe data" fields. It is allowed, =20=

but not required, for a probe to also contain the source/dest/nonce/=20
data values from probes that were sent earlier. The reason to include =20=

this is because that way, the receiver knows which address pair =20
combinations were tried by the sender in previous packets, and if the =20=

probes with those address pairs didn't make it to the receiver, that's =20=

a hint that those address pairs won't work in the opposite direction =20
either.

It's also allowed but not required to copy back the source/dest/nonce/=20=

data fields from one or more received probes. This tells the receiver =20=

which probes it sent previously were successful so it can select a =20
working address pair. Without this information, it's probably hard for =20=

a receiver to draw definitive conclusions about which address pairs =20
work.

Would you say that we should require that at least the set of source/=20
dest/nonce/data fields from the last successfully received probe is =20
included in outgoing probes?

> If this is true, I wonder if it is possible that the exploration =20
> process
> could not find two valid unidirectional paths (on each direction) =20
> even if
> they exist. Suppose that a node A in Exploring state receives a Probe
> Exploring, so it moves to Inbound_OK.

Ok.

> For the next Probes it sends, it
> includes the information about the valid locators for its incoming =20
> paths (B
> to A), but it is not able to find a working path from A to B for =20
> some time.

Hm, if there is a unidirectional path, wouldn't A find it at some point?

And if A inclues source/dest/nonce/data fields from B's probe then B =20
knows which address pair from B to A works, so both unidirectional =20
paths will be found.

The trouble would be when A doesn't include information from pobes it =20=

received from B, so that by the time that B sees a successful packet =20
from A, B has already moved on to a new pair so both ends think there =20=

is working connectivity but there is only connectivity from A to B but =20=

not from B to A.

> In B, the Retransmission Timer of B expires because a valid path =20
> from A to B
> was not found, so B starts testing other paths that are not working.

Retransmission timer =3D a new probe is sent? Note that we don't =20
explicitly use this terminology in REAP. Think of each probe as a new =20=

probe without relationship to earlier ones.

> Then, A
> stops receiving data from B, so the Send timer expires (I don't find =20=

> any
> reason why all the possible paths should be explored in less than Send
> Timeout time, so A could not test all possible paths from A to B in =20=

> this
> time).

The Send Timeout keeps track of when to send a keepalive. This is part =20=

of the failure detection mechanism, which runs when data is flowing. =20
Only when there has been no incoming traffic (but there is outgoing =20
traffic) the reachability exploration procedure is started, which =20
doesn't use the Send Timeout. In practice, data traffic will continue =20=

to be generated concurrently with the reachability exploration, but =20
the two types of packets don't interact.

> Then, A falls to the Exploring state, and (in the supposition of the
> previous paragraph) forgets about the working path from B to A.

A host should only enter the Exploring state when it has been sending =20=

outgoing packets but isn't seeing incoming packets. So it SHOULD be =20
impossible to get into the Exploring state when there is working =20
reachability in both directions.

> May be now A
> sends a probe to B through a working path. but in B happens the same =20=

> (it
> tries now with different paths from B to A that are no valid, so A =20
> tries
> another paths from A to B abandoning the good one...). In this case, =20=

> two
> valid unidirectional paths existed, one from A to B, and other from =20=

> B to A,
> but the protocol could not find them, because they not were known at =20=

> the
> same time by both nodes.
> I'm missing something?

I'm thinking something like this could happen if one end doesn't copy =20=

back the other's probe information, but not in any other circumstance.=



Envelope-to: shim6-data@psg.com
Delivery-date: Sat, 15 Dec 2007 16:31:24 +0000
Message-Id: <1E19A763-72A5-46E5-A8C8-A651A6149623@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: shim6-wg <shim6@psg.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v915)
Subject: ICMP message for ingress filtering
Date: Sat, 15 Dec 2007 14:59:00 +0100

Hi shimmers,

After a discussion about performing proxy shim operation and the  
acceptability of NAT for that, it occurs to me that we never actually  
solved the ingress filtering issue.

When a host connects to ISPs A and B and then sends a packet with a  
source address from ISP A's address range out to ISP B, it's likely  
that ISP B will drop the packet because it has an "invalid" source  
address. Solving this in the general case is non-trivial, but I think  
it should be possible to get us most of the way there with a fairly  
simple mechanism: a new "source address prohibited" ICMP message. Just  
like when a host receives a "destination unreachable" message it tries  
a different destination address, receiving a "source address  
prohibited" message would make the host try a different source address.

Since this isn't a shim6- or even IPv6-specific issue (IPv4 hosts can  
also have multiple addresses, it's just not all that common) this  
would probably have to happen in the internet area working group but I  
thought I'd ask for feedback from this wg first.

The reason this came up in regard to shim6 proxying is that if a host  
behind such a proxy has ULA addresses or another address type with  
similar properties, it would be necessary to perform NAT to  
communicate with legacy IPv6 destinations. If you give the host behind  
the proxy regular PA addresses on the other hand, you are still  
largely bound by the limitations of those addresses. Alternatively, we  
could give a proxied host both ULA-like identifier addresses for use  
towards shim6-capable destinations and regular PA addresses for use  
towards legacy destinations. RFC 3484 address selection should help  
select the right source address here, but this isn't fool proof. So in  
case the host selects the wrong type of address, the proxy could send  
back a "source address prohibited" ICMP message and the host would  
retry with a different source address.

It would be good to get this into host IPv6 stacks even if routers  
won't support it immediately so that we can make use of this when we  
create shim6 proxies.

An ICMP message like this would also be useful for sites that would  
like to use ULA addressing for their internal network but regular  
addresses for connectivity to the internet.



Envelope-to: shim6-data@psg.com
Delivery-date: Wed, 12 Dec 2007 16:17:11 +0000
From: =?ISO-8859-15?Q?Alberto_Garc=EDa?= <alberto@it.uc3m.es>
To: <shim6@psg.com>
Subject: Question about REAP state transition  (draft-ietf-shim6-failure-detection-09)
Date: Wed, 12 Dec 2007 17:15:25 +0100
Message-ID: <00a901c83cda$348270c0$7d8b75a3@bombo>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
Thread-Index: Acg82QD1Z2w9h6gqSByGfpiYk1Ka1w==

Hi
I have a question about draft-ietf-shim6-failure-detection-09.

First, my understanding of the specification is that Probe Exploring
messages do not carry neither "probe received information source address"
nor "probe received information destination address", etc. Although this
information is not normally available at the Exploring state, it could be
available if the node was in the past in the Inbound_OK state, but a Send
Timeout occurred to move it to the Exploring state.
If this is true, I wonder if it is possible that the exploration process
could not find two valid unidirectional paths (on each direction) even if
they exist. Suppose that a node A in Exploring state receives a Probe
Exploring, so it moves to Inbound_OK. For the next Probes it sends, it
includes the information about the valid locators for its incoming paths (B
to A), but it is not able to find a working path from A to B for some time.
In B, the Retransmission Timer of B expires because a valid path from A to B
was not found, so B starts testing other paths that are not working. Then, A
stops receiving data from B, so the Send timer expires (I don't find any
reason why all the possible paths should be explored in less than Send
Timeout time, so A could not test all possible paths from A to B in this
time). Then, A falls to the Exploring state, and (in the supposition of the
previous paragraph) forgets about the working path from B to A. May be now A
sends a probe to B through a working path. but in B happens the same (it
tries now with different paths from B to A that are no valid, so A tries
another paths from A to B abandoning the good one...). In this case, two
valid unidirectional paths existed, one from A to B, and other from B to A,
but the protocol could not find them, because they not were known at the
same time by both nodes.
I'm missing something?

Best regards,
Alberto




