Re: [OPSEC] [Last-Call] Tsvart last call review of draft-ietf-opsec-probe-attribution-05

Magnus Westerlund <magnus.westerlund@ericsson.com> Mon, 12 June 2023 11:26 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: opsec@ietfa.amsl.com
Delivered-To: opsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E9D2C1522C2; Mon, 12 Jun 2023 04:26:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0EyManzV6Uw8; Mon, 12 Jun 2023 04:26:22 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20621.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::621]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 89226C14EB19; Mon, 12 Jun 2023 04:26:21 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=giizVxN7fvJvhE2FT7rSFHtPCvGvTHIXYUG9s3UP9+ny4GutTHmcBjGzguJPTh+7eNdTwNemOWZJZMc4kPCYedt9/WRxnR0tr8By/ddTIzy8A0epw1PaQ+HMUuD/ft/8b1SOG+ol+FZPZQUp/AoH4G2riArEF7DicmI7UvPP9MNiIMZ3yy7PvwLImWTS5NzDMf0CFjBNoldnW8UdefB/oDC21SnbqXMSF9hj6Xe+lpwUQtRiH0OBn7gWz6fQfK0DPfBTHA8GGFGwgi8iLRChn50BIPaY2v7kjrFOfIC1X59ENy0rZNNcy/qve1Sl1Rh0vnJJkaVQuCjVTwq22+egNw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TkbpqPKQr5BwrDywqCth+Htcd4IqIjOulOS/iaIgZUw=; b=oeHAuS0DEObRKX1qU8O8xerlu5LqbIbD4yLBoon1S6MPZvYxPv+H2F015iwYytUrSVo/guWgscNXCa9EDd4AnXUgBbhZXcOugfquteo41LilM5PzmCkWUhPZhy9FPGdPj12qvf2YcfUqHeHEYSuBVij/rTikYkyfA808/uO7I5uBsRSX0wVI9aj/L5R5eIhVE5YcYU4uxG3iXX6xGiOZXas+umDO8YCxFe5+GqGoQ3An9hxSIOXgCDKRDWsTsN8mPrdbKpjZYsR2kCCz5ha+IzvUSljfQ8iNgcdZt4mNLuarVAtAbbjRTbizTxe0Gta1ahRzkk2WGcDXjhcnzWwpHw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TkbpqPKQr5BwrDywqCth+Htcd4IqIjOulOS/iaIgZUw=; b=Ti5meuKBqYcj06qdjIN91URdfLS8iMZFV8T0M4IBBHfyS1GDhQLRTTPQ5YUvrG395IYX7zHXLFuK3zUF3B08jqXjqBEKA9u2rbYXI0JI52VM7mOieQiBlouOeHXhshrjNK3mW6c5C4W+xuEDojL3AbSKZ8AQOpRgRy3w5FxSaNs=
Received: from DU0PR07MB8970.eurprd07.prod.outlook.com (2603:10a6:10:40e::17) by AS5PR07MB9748.eurprd07.prod.outlook.com (2603:10a6:20b:678::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.41; Mon, 12 Jun 2023 11:26:16 +0000
Received: from DU0PR07MB8970.eurprd07.prod.outlook.com ([fe80::38c7:d6ca:110a:abad]) by DU0PR07MB8970.eurprd07.prod.outlook.com ([fe80::38c7:d6ca:110a:abad%6]) with mapi id 15.20.6455.030; Mon, 12 Jun 2023 11:26:16 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: Justin Iurman <justin.iurman@uliege.be>, "tsv-art@ietf.org" <tsv-art@ietf.org>
CC: "draft-ietf-opsec-probe-attribution.all@ietf.org" <draft-ietf-opsec-probe-attribution.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "opsec@ietf.org" <opsec@ietf.org>
Thread-Topic: [Last-Call] Tsvart last call review of draft-ietf-opsec-probe-attribution-05
Thread-Index: AQHZmubDJQ8FHV4OIUqTQE5a2xA/Vq+HA112
Date: Mon, 12 Jun 2023 11:26:16 +0000
Message-ID: <DU0PR07MB897095F787A29231F0F173129554A@DU0PR07MB8970.eurprd07.prod.outlook.com>
References: <168596102948.13374.4476143366687447773@ietfa.amsl.com> <c94fde98-f9c0-f17b-a2bb-1cf9b7907bd1@uliege.be>
In-Reply-To: <c94fde98-f9c0-f17b-a2bb-1cf9b7907bd1@uliege.be>
Accept-Language: en-US, sv-SE
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DU0PR07MB8970:EE_|AS5PR07MB9748:EE_
x-ms-office365-filtering-correlation-id: bd14da08-1372-4e9b-572a-08db6b37d67c
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 2rL0ahoWHJ2O7cX5eWJDkMD9h370Bwej94OlF9uYwT/AUkhokw3oSuXPKEQiv9Dt07PdmOGQI0Eds/61ls1aGfJMxOEmK7v4suRqREB+oAHbD/PUkmWaN7wKkhuQlENGvQz8YnP2lYQE35JBVCxttOInQu1qmtA4wQgudOKansFj1ouSyp1laCq3DMnS5UI57q77uUK/iva0oD406dI4pY8iTP5bpZYbekfX9UuWDWX4MXwB7xvnLXdvd0CILeOjhFJwGbzgX/5rmCCk/uvmhxKviiEZr5p4mSc19VN/8rQFDXdIqg6YU11dpN+wthC7D2zSANSjjKtlHH6YrdFZVqluViRn6cB4AOBQtgBV1hb7owZvFkhjeEZHAG1oAhT5AEPya/E2cjz6GCshSNuOmqt5Vz0xS9fiR6H011r4Y5NUAtjbKJVbXnNsyO2n7DWfXwDCZteQz8NckJZnY6QKB9HFBwvPZHhK0A3Zwlmky/Kj14GCskHADS7w8osKAVeBVhGXx6rfvknjjb7dcZRyoI2mo2C0oBMTTpiqvKzDlWb1gzVr1H11fPCtS4mgabh/s+1mA76d/UPZnlbmzwbsPI++vFpDYuZlRC8hC/Jo+20=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR07MB8970.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(366004)(39860400002)(346002)(396003)(376002)(451199021)(26005)(9686003)(53546011)(6506007)(186003)(966005)(83380400001)(7696005)(44832011)(2906002)(71200400001)(82960400001)(8676002)(33656002)(8936002)(478600001)(54906003)(55016003)(41300700001)(122000001)(4326008)(86362001)(110136005)(316002)(5660300002)(166002)(38100700002)(38070700005)(91956017)(52536014)(66476007)(66446008)(66556008)(64756008)(66946007)(76116006); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: o4CqkqiTDWWCckk5DgTilvFEbUPoz36N8OJLv4QceHbivXSRfwvqI7s2ACajCN5HndgR1IgEqciQEML3Je6CwpUbkMCs4r9SSuMb/wC9J16WluAAwsss1GKOvzq5BkR/TtkulsFEl0eIXI3B+kxEWNdghotwa0sxN6FQiWCtU1Vr0MIZ3Hg/qyrzuE3ld21gkpfsZlFQPYFEhMLR5s4Jqtvkpuc042du2cOytbG+2afVgOJX6cJtvpv1LjKspUmatHLdBqo75cljpLQVo56i+xOJsPfpzmhwEaT9CoswQbGrO2SKG+ZJbIEpyfUebmFMLbQpBnVU+CdtPDuZ2sEsha9jBdbvy/xVMMZZ4+7UdX/WFkJ+yoYp0SWwep8hPk/mICyHV7956OkXkXScXQ3M3i+g+MEzhiYKVEQ+LjLyIpTnV1YD74en8SnYVvd9V/PbOXXvEy/GiFpGPR9lWCZ/r2zmAKmjLNq5EH8dY250gghzWL0bxwPGojBFOXrt4qwaq0rCaPbpmo3YmdPmD9pIzeFcFWNAMBzL/tn4cxSrUD73Xf96cfE4Y9q7Mb4iaBOkKrwMuTI7wKgNA+nK4dSpxMV64SQmjDB4N0wu4ELWgwSwrUOGL2BKblRMFj5YzgAsuP9s6E6//OqfXNNXp1HRD4wmz2wTwd5n0OvCPFh+yLxRwt71a1xA5G5YHwaBf9SlgJlWsUo/4152HFG7xhKO53SlIP8kqVizDXd1Ij8C+Z9lnRVueDTzivmHXG7Pgn9YEBGtE746qFvwhaaq32JbAZGmpzxF7NdSux8GEwk4OuscOXE26fc6yyynt3LDUe9cTAKsB/Agjzb+EgDwTt56b48n0M32yOPo64Bwqu1Rtf4veZSvud9WS/zL45yMY3c8J6qZmY1DBcxIP1K/jT82OUBW74B1zJ+wczVJN+WjoLPLLcSnfRbyH63G5ddk2G87fsql5UL+1N9cVob7NqovLAWZaH8NVoM5VkH75ODANPle/FAxjNYmdlSBrduDMzhB0UBt9t2q+W+5G599l3aTlkKHBk7b7YqhP7g0YPEBxqWSizacq3jnuyDlRRFZFmZAT5Oy+YxaPPeCcWHl2msMNAll1hr5IwxHwK8ry9PScIBSt/fsVSENgumF9dqseoMscKzGMXv5oO16xBtJ0Gc6MVem/RWwRxl1ZU3G6qPNT8urC5pVORYrHQZ9XVBEV6IT/8m8wjFCpJnqfejXJQzM1/ThiQtv2Lf4YQ8/mc4dqYFyO7/AuPvTrq7Yd+xdhYSIprfV0Bd6mERQxb8fP+Y3Rf0Kp/ZEGCGk5e8+i7NI21QZxW6nTsVxpNZe0h+FpmTPxDgVEP44xTeowvqHc/tqn7BqHmBfAUPMAu0xJVLV2SRICL6Y9lrHUAvCnf6aWeWJqtYxtW6JUXlu20CUbhBVdQkThnUoXqKt6CE//sruwN/5RSy1BzfwXnpFCXxVNzkCSojXpUwY+GLXInb+V3oDu4Vp6oZmFhRL5dk9Yz9SGAjoWSBwlIdfQDuPEyuW55wzxRZUKIXU7f8KNKFYelcXNNW5n7lmo3FGZP1HZv6/CwSILO1CWpsjCssg9G/Sbue6W/TL9zC2PgfwDdLjDkII4H72e6j5ddcy6Jx73zFPN9k=
Content-Type: multipart/alternative; boundary="_000_DU0PR07MB897095F787A29231F0F173129554ADU0PR07MB8970eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DU0PR07MB8970.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bd14da08-1372-4e9b-572a-08db6b37d67c
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2023 11:26:16.8332 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: tek0cjn3LYdqhgsbX/Sd1BurEOdcg7LFXeKawD4tOtoQ3PbadPYcXb0MPv+W/eX/0pTwvlw7JiqoMuj50H/UkJU63CE25CsEtxQADrih9h0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR07MB9748
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsec/hzp7e9Do58BIhvvdD6550mzyMfk>
Subject: Re: [OPSEC] [Last-Call] Tsvart last call review of draft-ietf-opsec-probe-attribution-05
X-BeenThere: opsec@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: opsec wg mailing list <opsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsec>, <mailto:opsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsec/>
List-Post: <mailto:opsec@ietf.org>
List-Help: <mailto:opsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsec>, <mailto:opsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Jun 2023 11:26:26 -0000

Hi,

Comments inline.

From: last-call <last-call-bounces@ietf.org> on behalf of Justin Iurman <justin.iurman@uliege.be>
Date: Friday, 9 June 2023 at 17:26
To: Magnus Westerlund <magnus.westerlund@ericsson.com>, tsv-art@ietf.org <tsv-art@ietf.org>
Cc: draft-ietf-opsec-probe-attribution.all@ietf.org <draft-ietf-opsec-probe-attribution.all@ietf.org>, last-call@ietf.org <last-call@ietf.org>, opsec@ietf.org <opsec@ietf.org>
Subject: Re: [Last-Call] Tsvart last call review of draft-ietf-opsec-probe-attribution-05
Hi Magnus,

Thanks for the review. Please see inline ([JI]).

On 6/5/23 12:30, Magnus Westerlund via Datatracker wrote:
> Reviewer: Magnus Westerlund
> Review result: Not Ready
>
> This document has been reviewed as part of the transport area review team's
> ongoing effort to review key IETF documents. These comments were written
> primarily for the transport area directors, but are copied to the document's
> authors and WG to allow them to address any issues raised and also to the IETF
> discussion list for information.
>
> When done at the time of IETF Last Call, the authors should consider this
> review as part of the last-call comments they receive. Please always CC
> tsv-art@ietf.org if you reply to or forward this review.
>
> I questions why this document is published as informational status. It appears
> to at least define a format with a well known URI. I would think a standards
> track would be a more approrpiate status.

[JI] As you mentioned at the end of your email, RFC 9116 is
informational and did get a permanent well known URI, which is similar
to this draft. Initially, we wanted to keep things simple (hence the
informational status), so we would prefer to keep the current status as
is (although we do not have a strong opinion), unless consensus decides
otherwise.

[MW] If the registry experts are fine with this overstep of the rules I have no reason to raise it more.



> Section 3:
>
> "if the reverse DNS record for 2001:db8::dead exists"
>
> What should one do if there are multiple PTR records for a given address? This
> I would expect to be fairly likely in some multi-tennant systems.

[JI] Good catch, we'll clarify that part.

> Section 4:
>
> • for a [RFC4443] ICMPv6 echo request: in the optional data (see section 4.1 of
> [RFC4443]); • for a [RFC792] ICMPv4 echo request: in the optional data;
>
> First of all there are no "optional data" there is a "data" field. I think the
> reference to which field should be clearer, i.e. "in the data field".
>
> "for a [RFC768] UDP datagram: in the data part. Note that if the probe is
> destined to a listened-to/well-known UDP port, the inclusion of the probe
> description URI may produce undefined results;"
>
> I think this is really understating the issue. If the probe is done using a
> protocol that has any fields in the UDP payload it is unlikely that the
> placement of the URI first will work at all, unless the measurement protocol is
> updated. I would think an placement in the end would be more likely to
> function, unless the UDP payload has no other than random data. However, in
> some case it will simply not work without updating the probe protocol.
>
> For the future including the attribution URI in an UDP options would be a
> potential solution that can be looked into.
> https://datatracker.ietf.org/doc/draft-ietf-tsvwg-udp-options/

[JI] Indeed. Probe attribution should probably be restricted to probes
with random data payload. Otherwise, it becomes too complicated (see the
explanation below, at the end).




> "for a [RFC9293] TCP packet with the SYN flag: data is allowed in TCP packets
> with the SYN flag per section 3.4 of [RFC9293] (2nd paragraph). However, it may
> change the way the packet is processed, i.e., SYN packets containing data might
> be discarded;"
>
> So from an TCP using protocol, there are little difference in sending the data
> in syn, or sending it in the first packets after established state. The data
> will reach the application layer, this does not bypass the issue of the data
> ending up in the upper layer application. So why are there specific discussion
> of the data in TCP syn.

[JI] Unfortunately, if you have SYN+data, you are more exposed to a drop
(hence the discussion).

[MW] So the issue is that this bullet appears to be general advice for TCP, and only talks about data in SYN. So it can easily be interpreted to mean that if one uses TCP one should put the abbtribution in the data payload of the SYN, rather than just include it first in the data.

I would suggest that you reformulate this bullet to something like:


  *   For a TCP packet [RFC9293] include it first in the data payload of this TCP connection if the data payload content has no structure.

Using something like this I don’t think you necessarily need to add a note about data in syn at all. If you really want you can, but I think this usage should be if the goal of the probing is to determine if this works or not otherwise I think most probing will benefit from a more base line usage of TCP.

> Also, I think the reference to Section 3.4 of RFC9293 is pointing to the wrong
> section. Because that paragraph discusses sequence number space wrapping which
> appear not that relevant here.
>
> So in general I think the attempt to apply in-band URI to UDP and TCP are
> likely problematic and may have to be dialed back into being recommended to be
> included in protocol fields that otherwise would include random data. Have it
> been considered to define a magical word that would prefix the URI so that it
> might be easier to look for potential matches in the payloads? It makes sense
> to volunteerily include this URI in probe packets for measurements that can do
> that without making there packets unusable for their main purpose.

[JI] Yes, having a magical word was considered. However, as mentioned,
we wanted to keep things simple. Besides, having a magical word would
allow for an easy filtering, which could be worse. Indeed, if I'm the
researcher and decide to identify my probes (good intention), I don't
want to get shot for that in return (if so, why should I bother
identifying my probes?). So this is a double-edged weapon and my
measurements could be biased in that case.

[MW] I understand this issue. And you mention it briefly in Section 5 for example. I think what I struggle with is the inconsistency in the recommendation for in-band attribution. To me it appears that the decision process for inband attribution is to consider several aspects:


  1.  Will attribution result in filtering or other biasing of the probes?
  2.  Where in the packet can the in-band attribution be placed?

     *   Follow protocol specific recommendation and if multiple options exists, like IPv6 options vs others consider the rest of the questions.
     *   If payload is random one is recommended to put it first
     *   Else put it where it is possible to not affect the probe protocol

Based on the motivation text it appears that it is more important to have the attribution somewhere than first as it a tool for someone that like to understand what the traffic is and thus can be expected to do a bit more work to find the attribution.



> Section 8.
>
> I noted that you expect permanent status.
>
> Reading RFC 8615 I noticed this paragraph:
>
> Values defined by Standards Track RFCs and other open standards (in
>     the sense of [RFC2026], Section 7.1.1) have a status of "permanent".
>     Other values can also be registered as permanent, if the experts find
>     that they are in use, in consultation with the community.  Other
>     values should be registered as "provisional".
>
> This document is targeting informational status. Which I personally questions.
> However, I do see the point of having this format have a well-known URI that
> are permanent, but according to instruction this ends up in a grey zone. It
> might be that the expert want to waive this. I do also note that RFC 9116 did
> get permanent.
>
> Another aspect that I find worrying.
>
> This draft appear to never to have been even mentioned in the IPPM group. Being
> a WG that define active measurements it should have been done, and
> consideration of how to include the attribution in the IPPM protocols should
> have taken place. Although IPPM targets measurements between collaborating
> nodes, it appears some of the concerns from on path nodes about measurement
> could still be relevant. So I would recommend that this work is at least
> brought up in IPPM to discuss if there are need to extend.

[JI] The problem is, what is the limit then? If we do this, we should
also ask other WGs to have probe attribution extended to many, MANY
protocols. Besides, this draft does not necessarily target
IPPM/measurement protocols specifically. I think we should definitely
clarify that, and maybe provide a solution for UDP and TCP with
non-random payload data (i.e., real traffic), with e.g., UDP and TCP
options, although it is probably expected to have a probe attribution
for weird, crafted or unexpected probes rather than real traffic.

[MW] my point is that you are doing work, and you are not informing the one WG that do works with active measurements using probe traffic, I find this strange. Sure some of the participants may follow OPSEC, but you could have easily informed IPPM by sending an email. And you would likely have gotten more feedback on this work.

Cheers

Magnus