Re: [Int-area] Opsdir telechat review of draft-ietf-intarea-probe-07

Ron Bonica <> Thu, 07 December 2017 22:07 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 0EBE2127599; Thu, 7 Dec 2017 14:07:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id GE2Dqmh4zpyG; Thu, 7 Dec 2017 14:07:17 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 31F3612025C; Thu, 7 Dec 2017 14:07:17 -0800 (PST)
Received: from pps.filterd ( []) by ( with SMTP id vB7M5H6Q007080; Thu, 7 Dec 2017 14:07:14 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=PPS1017; bh=kin/qUGiRk01G7b5OWbtTaNVAMn+eGFPMm89K3TtnRk=; b=APYJCfG+hn8kHHSDgWNX3efEhh5y7btQPV8aEym+ZNXYsH0UYMWj6zUuYuKmb2KaKQYo A1TS/XuKaliuJyb2AfIeQt28daT+n5WDblFG3/brxr8WGtH8vIH/IZCpIJSgn54RhC4C f4IJk+vO50FLp/Q7SlEnU9IvmT/j7f/9RVaMPB4RugLNYEw164Xrzf8vIw+c8PKuXTXl QLA0+jDzWIZEyzyfOOzLEgznzvCtXLeVWiezQsFKypRWqmMF0SvoVoruuNabT7qltXKG iDM1LZeMb3tH7Le8SiHwsOyffGlT8SbOZW9xzqlh0qExbsI9iXTXet3GgQqfQ648pA5v lw==
Received: from ( []) by with ESMTP id 2eqdb6g3xr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 07 Dec 2017 14:07:13 -0800
Received: from ( by ( with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.4; Thu, 7 Dec 2017 22:07:11 +0000
Received: from ([]) by ([]) with mapi id 15.20.0323.004; Thu, 7 Dec 2017 22:07:11 +0000
From: Ron Bonica <>
To: Stefan Winter <>, "" <>
CC: "" <>, "" <>, "" <>
Thread-Topic: Opsdir telechat review of draft-ietf-intarea-probe-07
Thread-Index: AQHTbQjIP6zaU4VAtEOBHcAML0TTkaM4bDkA
Date: Thu, 7 Dec 2017 22:07:11 +0000
Message-ID: <>
References: <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
x-originating-ip: []
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BLUPR0501MB2051; 6:p0lIiNLI5O6+qruXZzZAVTVvnYK6mUpElyNmC+o3lAZjqv+ZxefPCj7rw+nCvmDTIJeTKrJyIj2D8WUybdP5HC+nRLOIwhpsijc2DmrhOXRq5YZQjpW0ApkWWeB7Q7Pm09HRwxIQbfjDimu4wZg1OmV1unlr84IXzlj6LoUrMkxDvJf4TzWAYqs74woge+weQJfek6l0kMRwgbz52jZDkfSIwRBZJjSDNnQAcUOdpnQPfeT6oE4UnQ6PExMRImWTQRVc4bhW886rCFaqRZlLR9NzHp6ntspg++66NkCXeLRhCwciNFdoGKMT/htozIK1qiFGdJH8OCYChcuIqBwJ2VyjXjfiHL/DCvUXIHspbls=; 5:9sVMIro7OLjD6algPlmaFY5Fkj85JWU7Yi0+gfNii6i9RgyprV4ltn+FCdLINf+VnpI2S43JL0VfRqVdqR2AiuJ/QdtbHmNSVMb2zgkBXJzN7EeUnMYVh9y0RSF+RH3ipal+e4rMX5M3E1Hm3MPsm3xWajlJmUDVt+FRnGSIrng=; 24:6yHxub+CzcfTNCGmFP+fsTkJCBhfkAbDOIYJav0u5V8MR3YNa1wgG9vxG98GJiLJGNmoqmBhFjw3P+mFnA2cqVVJSALDbf4KShg5SeRu+ts=; 7:X3Qd3o4+UnmuGZJJ5DDF/h7iZWFUrHqaq0M00MACt7LRc8AZMsn/exsN0FPFc+znVXq0oehvsIoepxKzALUva6sqasLA6+Hzzb2xN7Mh0E12hQt7NIrQt98ovIcMYsjqS2YjRjeb2wksbSgbAtNvLMckp0Lsly9QcTmibNIhYv9ktbwayANADVpKDplx+LiiETo7Iwab2d/ST9UM9wZm2YfVhBsETRLji74TG6EuBXBWtAlR/JRtorNP0vyrFasp
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: f59eb8f8-f266-4d1e-e180-08d53dbeddb0
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603306); SRVR:BLUPR0501MB2051;
x-ms-traffictypediagnostic: BLUPR0501MB2051:
x-microsoft-antispam-prvs: <>
x-exchange-antispam-report-test: UriScan:(192374486261705)(211171220733660);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3231022)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123558100)(20161123555025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BLUPR0501MB2051; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BLUPR0501MB2051;
x-forefront-prvs: 05143A8241
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(39860400002)(346002)(366004)(189003)(199004)(13464003)(51914003)(68736007)(3660700001)(229853002)(4326008)(110136005)(54906003)(3280700002)(316002)(9686003)(55016002)(105586002)(8676002)(106356001)(66066001)(230783001)(8936002)(81166006)(81156014)(77096006)(6436002)(6506006)(33656002)(2906002)(14454004)(74316002)(6246003)(478600001)(97736004)(53936002)(25786009)(2501003)(6116002)(3846002)(102836003)(86362001)(305945005)(99286004)(5660300001)(53546010)(7736002)(2950100002)(76176011)(2900100001)(7696005); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0501MB2051;; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None ( does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: f59eb8f8-f266-4d1e-e180-08d53dbeddb0
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2017 22:07:11.4761 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB2051
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-12-07_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712070323
Archived-At: <>
Subject: Re: [Int-area] Opsdir telechat review of draft-ietf-intarea-probe-07
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF Internet Area Mailing List <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 07 Dec 2017 22:07:20 -0000


Thanks for the thoughtful review. Responses inline.


> -----Original Message-----
> From: ietf [] On Behalf Of Stefan Winter
> Sent: Monday, December 4, 2017 9:02 AM
> To:
> Cc:;;
> Subject: Opsdir telechat review of draft-ietf-intarea-probe-07
> Reviewer: Stefan Winter
> Review result: Has Issues
> Issues:
> * Introduction
> states "[...] if it appears in the IPv4 Address Resolution Protocol (ARP) table
> [RFC0826] or IPv6 Neighbor Cache [RFC4861]." "Appears" is a rather loose
> word, as entries in those tables can have multiple states. E.g. for IPv6, which
> of the states DELAY, STALE, REACHABLE do you mean? All? Or only a subset?
> In IPv4, do you mean the "C" flag exclusively? Also, when the proxy operates
> remotely (i.e. bases the reply on ARP/Neighbor Cache rather than
> ifOperStatus), does it actively ping the interface in question itself? If not,
> how does it handle an interface address which is not in the ARP/Neighbour
> table simply because the entry has timed out? The interface might be up and
> active nontheless. In such a case, reporting "does not exist" is false.

[RB ] 
If the L-bit is clear, the proxy interface does not ping the probed interface. Instead, the node upon which the proxy interface resides executes the following procedure:

- Search ARP Table / Neighbor Cache for the address that appear in the Interface Identification Object.
- If no entry is found, send a reply stating No Such Interface
- If an entry is found, send a reply stating that the interface is active

As you point out, the node upon which the proxy interface resides cannot infer that an interface is active because it appears in the ARP Table / Neighbor Cache. Likewise, the node upon which the proxy interface resides cannot infer that an interface does not exist  because it does not appear in the ARP Table / Neighbor Cache.

So, I recommend that we change the procedure as follows:

- Search ARP Table / Neighbor Cache for the address that appear in the Interface Identification Object.
- If no entry is found, send a reply stating No Such ARP / NC Entry (This is a new error code)
- If an entry is found, send a reply with error code equal to 0 and the A, F, and S flags all clear

Does this work for you?

> * Request -> L-Bit.
> I don't get it. The Request part of the spec is used by the probING node. It
> always sends the request to a proxy node. The proxy node then is the one to
> figure out by local state if the interface that is to be probed is local to itself, or
> on a link.
[RB ] 
Sometimes, this is not possible. For example, assume that a router has interfaces ge-0/0/0.0 and ge-0/0/1.0. The local side of ge-0/0/0.0 had the IPv6 link local address fe80::dead:beef. The remote side of the interface ge-0/0/1.0 has the same IPv6 link local address.

The user can set or clear the L-bit to indicate which interface is being probed. Without the L-but, PROBE would return an error (Multiple Interfaces Satisfy Query).

[RB ] > Now the question is of course: what purpose does setting the L-Bit
> on the *request* serve? The probed interface either is local to the proxy
> node or it's not; no amount of flipping bits changes the reality. I can see how
> this L-bit information could be set in a *Response* as an information
> element. But that's not what the document says;
[RB ] 
See above

 the document actually
> states two contradictory things a) L (local) - The L-bit is set if the probed
> interface resides on
>    the probed node.  The L-bit is clear if the probed interface is
>    directly connected to the probed node
>    [doesn't make sense, see above]
[RB ] 

How are these contradictory? The user sets the L-bit if the proxy and probed interfaces are on the same node. The user clears the L-bit of the proxy interface is on a node that is directly connected to the probed interface?

> b) If the L-bit is set, the Interface Identification Object identifies
>    the probed interface by name, index or address.  It the L-bit is
>    clear, the Interface Identification Object identifies the probed
>    interface by address.
>    [ makes more sense, but conflicts with previous statement] 
[RB ] 

I don't see the contradiction. If you are querying a non-local interface, you are going to search the ARP Table / Neighbor Cache. So, you need to query by address. You don't know the remote interface name or interface index.

The latter
> formulation be also begs the questions a) why would one ever clear the L-Bit;
> identifying an interface by address is also possible when it's set, so setting
> the L-bit is fit for all situations envisaged and provides a true superset of
> functionality that L-Bit cleared offers; b) what do you mean with "name,
> index **or** address". Is that an exclusive OR, or any subset of the three, or
> can they all three be set? Later text suggests that each Interface
> Identification Object can carry only one of the three (XOR), but previous text
> suggests that two such Objects might be required for unique idenficiation. So
> in the end either one or two can be used to identify an object, but not all
> three? That's totally fine, but could be made more obvious. I also suggest to
> ditch the L-Bit and operate in a mode as if the L-Bit was always set. It adds no
> value. I also contemplate later in the text that L-Bit set is default-on while L-
> Bit clear is default off already.
[RB ] 
I'm not sure that I follow this paragraph

> * Response (chapter 3)
> The choice of flag names is not very intuitive. Why is IPv4 "F" and IPv6 "S"? I
> understand that those are the first letters of the words FOUR and SIX in
> English. But maybe the flags could actually be named "4" and "6". Those are
> ASCII characters like any other, and have a more direct recognition by
> humans (e.g. when the flags are displayed in protocol decoders).
[RB ] 
Fair enough. I will change them to 4-bit and 6-bit

> Chapter 4, authorisation:
> "not explicitly authorized for the incoming ICMP Extended Echo Request L-bit
> setting" I don't understand why the L-bit is a major decision point for
> authorisation checks. It is in principle superfluous anyway as above, and then
> one is expecting that policy decisions of sorts "this probing address is allowed
> ask for interfaces based on properties different from the address, but this
> other node is only allowed to operate on address"? The use case for that
> escapes me; and also, it can be achieved with "define enabled query types"
> as per Security Considerations.
[RB ] 
This objection may be cleared up as a side effect of clearing the previous objection

> * Security Considerations
> "For example, a malicious party can use PROBE to discover interface names."
> This would be discovery by brute forcing the interface name space? Because
> the reply doesn't give away the name when the request was via address -
> right? It would be good to make clear that this discovery has to happen as a
> hit-and-miss of guessed names rather than getting an enumeration on the
> silver platter.
> OTOH, there are many well-known naming conventions for interfaces and it's
> more like a dictionary attack rather than simple brute-force.
[RB ] 
It is a dictionary attack using a very small dictionary ;-)

My point wasn't so much to explain how an attacker might discover interface names, but to warn that it is possible.

> Nits:
> * Chapter 2, Page 4, first bullet of the "ICMP fields" enumeration. The value
> is TTTT0 (four T's) but you then ask IANA to register things with only TTTx
> (three T's). The fourth T is superfluous.
[RB ] 
Good catch. Fixed in the next version.