Re: [Ecrit] planned-changes: two questions

Jeff Martin <jeff.martin@comtechtel.com> Thu, 09 September 2021 20:08 UTC

Return-Path: <jeff.martin@comtechtel.com>
X-Original-To: ecrit@ietfa.amsl.com
Delivered-To: ecrit@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 982AB3A149B for <ecrit@ietfa.amsl.com>; Thu, 9 Sep 2021 13:08:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comtechtel.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XuzJaXQBbh-7 for <ecrit@ietfa.amsl.com>; Thu, 9 Sep 2021 13:08:47 -0700 (PDT)
Received: from GCC02-BL0-obe.outbound.protection.outlook.com (mail-bl2gcc02on2116.outbound.protection.outlook.com [40.107.89.116]) (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 9B3EC3A1497 for <ecrit@ietf.org>; Thu, 9 Sep 2021 13:08:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V1X4Vu64EVYkgH5nMZpU26od7fK/11x9MKPxnU+PuEZ3qf+PdaadrCzpSyvKYEfl864t7H+d9r7FmrDRSwbMg3PLt3MaS1cFBz7xyvbGnqp9QfG1kHu9KB50qjd25UAOitFCTG0Nmv+NsTpBlK/6Efz86H6IHxaE39O4kV1b3q/7YUdhEfuZQTUt6COTAslU+NJshhsj7cypUWocfEugQBw6DCwOiVY/W35JKxRrRBGHExzW469NZf1r8b8/dN65B+2+auFv85fef5ctpDglZO71arJRv1sZqHD5PFy6G+DzOpVdtMwxn0bG/8AFUrACgPhf7/UgGeJutXD69faxMQ==
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; bh=K/KlodZi+iSrtk0esXx+zfHdnFvh6zQmeFdgKNPClss=; b=eTBYXZJnBO74JgVStBFn9XD+XdNdsYO9mnzwqF5kKnEgGeq2Y/1QfmET3CdoU/sMkzaxjE+DoR6CJPDS+qhqKKjE2mqT/hLdPWSQXjmekFsC5nPSXW++wNG56rxdFulMpyTXm1BeR6qG2EE5qhO4CO2h064v/8QnU1JGmsDWxyFdo6mjmjSXQh0FOKa42wTvR1lBBF70rmpFXpFUHgrTOLvPuKwx9TG3enCXsS776qTmks7LmLU1K6tM60NKRFoWT6vr2Zw40FtZxunIDJpZg2S5QBxshewVmdFXJR0uWi43ryCeRGPqek+/2O3j/7XfOTa4IqT1vCKN7vCI8dY5FQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=comtechtel.com; dmarc=pass action=none header.from=comtechtel.com; dkim=pass header.d=comtechtel.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comtechtel.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K/KlodZi+iSrtk0esXx+zfHdnFvh6zQmeFdgKNPClss=; b=bZztWAB1xucgnjzNiF3Xhf/E1oQKLSebei9hoIOAG0UEtcdhx1pOB2jNLHzK+AqRiwjkOfe7PdyybzzKMsXgKNS3i3V8nE4XgRvV3UkXvm+f84nKo7U4wzFDuyA9e/qtMI/KbJmnV9S3yUkmrO5U8tJP8/DSi5dJeUZoXL8AzCVLgF7VjJw+94Ta+yaorefuwHlnV1yYGnBtQ4NFYRJPYWi2pRthTYR2E3TPBO83Q1STpqBjmLVUqAvJ6JMdSm1BhstXfaYqM59ak/3e1kOU3Zq5QujrjPA5YfAKrJAX1rlCHKebY0t2E8D7CkTDloGXYvgu7VJ1O16AXe36obFfMA==
Received: from CO6PR09MB8600.namprd09.prod.outlook.com (2603:10b6:303:d3::6) by CO6PR09MB7335.namprd09.prod.outlook.com (2603:10b6:303:c6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Thu, 9 Sep 2021 20:08:44 +0000
Received: from CO6PR09MB8600.namprd09.prod.outlook.com ([fe80::ad23:15a4:3895:e9e1]) by CO6PR09MB8600.namprd09.prod.outlook.com ([fe80::ad23:15a4:3895:e9e1%4]) with mapi id 15.20.4500.017; Thu, 9 Sep 2021 20:08:44 +0000
From: Jeff Martin <jeff.martin@comtechtel.com>
To: "ecrit@ietf.org" <ecrit@ietf.org>
Thread-Topic: [Ecrit] planned-changes: two questions
Thread-Index: AQHXm4xJLyESbsinzUOXHOd6AUvs8KuMLoYAgAFTpQCAAAkhgIAADlIAgABKPwCAAAI9gIAABQyAgAGs4oCAAD+ygIABWCMAgAAcQgCACA6AgIABOrMAgAAfowCAAANKAIAABnqAgAAdf4CAAPBHAIAAXFyw
Date: Thu, 09 Sep 2021 20:08:44 +0000
Message-ID: <CO6PR09MB8600D17E58AECCC9E80C20889FD59@CO6PR09MB8600.namprd09.prod.outlook.com>
References: <A0FC259C-DF34-4496-9013-422006278DA6@randy.pensive.org> <FB2A33E8-E146-404B-B150-1496C40510EF@brianrosen.net> <5577e2e6daa4405bbe12ef61675e1f55@bell.ca> <DE195D79-5A01-48EE-95CA-6C4B82E0886D@brianrosen.net> <e6e17f501711441188119cdfbe384d3d@bell.ca> <3AD58DEC-1DC9-4BC0-B55C-4E782E4AAA74@brianrosen.net> <E20342E7-2EFB-4479-96C2-85B4B7E16989@randy.pensive.org> <A7D59E8E-A014-4CC8-A0FF-5F58E81C6D4A@brianrosen.net> <2b4abbef37be4131a87471af75b6e7da@bell.ca> <CF2E8EDC-B38D-4742-B317-F3CE3E831578@brianrosen.net> <f82108f590674341a22da9c2e4c649e0@bell.ca> <7C4F6B87-C480-4963-B582-7639A9A1B029@brianrosen.net> <89a34416a9224a3bbccb520408283373@bell.ca> <D3AA7F51-01F4-4ED6-BFC3-2B3BF5AB1536@brianrosen.net> <DA890A1B-E22F-4EBB-B312-53A6C5BCD7B9@randy.pensive.org> <3441984B-D273-48FC-BCF1-AACB4AFCA2BF@brianrosen.net> <E31A5619-0FC6-45FD-8541-644C269AE5EC@randy.pensive.org> <83D1AC98-BE13-4BB7-AAC0-D9D60719D0F6@brianrosen.net> <4aa79e0c61394f588c61badeb779de16@bell.ca>
In-Reply-To: <4aa79e0c61394f588c61badeb779de16@bell.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=comtechtel.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a8932eb6-e9d7-42e6-9609-08d973cda052
x-ms-traffictypediagnostic: CO6PR09MB7335:
x-microsoft-antispam-prvs: <CO6PR09MB73355FD999C5E8C463BD54739FD59@CO6PR09MB7335.namprd09.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3631;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: pCPJC990iVITlI56mWjfSgk2g0J4MbRtNXfVhy9bL9XqASvUjQSb0IWsNr2hHyx8qTuLdKxjp24YC1TcLkOM6p9mSfwwiBmyob9n4ScxK3DCKfYjr4IEDl2BTZaz2NqudMHuLEAPr6kR+ufjctjJ+0fCuNo0zBk2q1Y6jjDZsVOJV2U20qphd9v64seV/tRI1quCa7A1227Q5fB3i+oXyJlYKghqB+hwSk0Oqwiselh1aDHR+lLZmCbLKdHohEsJP4oWVODlHDzCSadnWrbItrbikxd5T7WIRJCe2ww/BOTDw11xF5OxyMPsZ7SwkDflNowyu75dtSPt2xk1Q9eG8h3QMec3myXWKVYofJKw9J2TernLdJSntnCaemuzJm9UxaJ4acAZxSnWiE5AbY8ZgwJSLKL8jsnU7URrWxwJp8Rxxnh2O8CEB6Wwmb//bOnGzioqNTEqgIFxjvpwt62B01Wg0O8TlSyG4XMd0FLVacP8jwts8wWNdDv1MLm926TF5FuVfK+bIyXGEYfJHHUVzCXItPdfa3la6X/M66oEhykY0pO+WwPPhr0BPSK7UM5IWjA2IqpvqEWwkxAXIrBa+XDtn+5wt2nMza1MQBL2h1fYMPKmuLonCNg4W1JrOfZ8RDRjk94PDQp1nNXXbzZqATrLKJuZ546MmH5ckdk7V4a8MnQ/QjvAjTlv+Dxk+wzbI4dcM0+5p/mlTlzZJulBnQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR09MB8600.namprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39860400002)(136003)(346002)(396003)(366004)(122000001)(5660300002)(71200400001)(38070700005)(86362001)(38100700002)(44832011)(6506007)(316002)(2906002)(26005)(66556008)(52536014)(30864003)(33656002)(83380400001)(8936002)(6916009)(478600001)(9686003)(186003)(66476007)(76116006)(7696005)(55016002)(8676002)(53546011)(64756008)(66446008)(66946007); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: VDb3/v5z/nTrcsFfpc+CyBb+CnyGNCaM71nIrL06EzwdIiZSwGQDH6M39vgIdPXOtuPuyKJSlomvHjj9q+pAlCgV3q1fQdVVWFk294mS9ifvSqK5wi2GPJI8odN2baWmDTtgr1QH/iqgeoaXejzauHPUt+HMvjNtmA7mlTcQp73Vni6kQCtkYBc6qTn5xSx+KbRwKgt0Shpde0vha8rRBZ7zlaS0K7L8wA7Gd6LUe7uHpzf66/r0r8bI0UIS9RrJdjScQFOjHxd7TrZNeHQuV4gU7v8rocmmEjAfBDc2VL/9to26E+NfCXQGO+0YwJn+OalTg1paa6h47Aw52IWN+YcQ/hc4wW5X4ZXznhwU/CrIUd/nLbzsHnuhINLbY3CKZ7sUrEGcAhxklRE8aMM+GZCoQwyb6sarnOo8UW3Y7zQrqFA9YgeeI2XF8KLD+0Yw78wqIHr4Q1i7acrXgSFIWTU4RG8foMH89TZNLJfY823X4APazDudg55yLC/45SRevkZuCxDV/heEdvYgUip+loVyNCepZsGET8mraz5TJgcDSoYbTbOnJbtYqfRkMpr7rNPIwFK8VyfDnm4mQ0FQ12qaE2hkZbym83d5XxwThbAVzGuKlv1YJGpAWPUZrQFPPN1QXaDmEcjx49B5bnHVVof+ngCss+V2ysjjJ5GrqjWiIdN3H0RVI5spJCYM3MNRplG8Py6pUE+3r9nxdHyArtH5tsVNEJOE/B9QNED8U4wlU6V8BagVEPm0ajQ1saHmidxIpgKHjuePQExvzMGN7L7gHBoRqPCtWqClHWcLCcl6NcksxzgTFaMtawEtb+8HSGCFIy9drMRjcvWoH/vkduRsjwZc4sb5q9eCmPTgr1yYdb6UcF6Wl6tPz8A6DxPfBB85Ug9Xrot1PHX7IQt3CVX58Dxo733bl8q8S679wJTC/3pMdkaG8J8R3zQaNecNE0Lju14D9mocVd+rGwHivoXgI4Y9Kx4UNSdLzzAi8i7Cley4Husp3N/bzPVEGhauoRoyhSx7ItmOpGMclhtdqXOKaV3yqLmS+Msr4vjyM9SUhoceMjy73wEaIpYPrbXjqI/x4hEKVd4gU0EO0v1mnupRXLGWZsbPNqJryHBpYB6TL1YHljrtWbWGW/QJiGWnlIq53NYWirp+1+hfFShn2lA1zYCYTfUZ+mcxzOH+upqZrQMWFvUBmdH9ABoQY+CxFwqB5jYi7m4DPrxB8gnfhPh1pAi6Ygp0Fbo3RpTw9oFjcxCm0HiW51NhT12QthBP/JtT21BRyCcJD/qkbv7f5RTm8i1C6DZF+3mFizxuKOJH8SBolCS83Xc2aXzOFQIM
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_CO6PR09MB8600D17E58AECCC9E80C20889FD59CO6PR09MB8600namp_"
MIME-Version: 1.0
X-OriginatorOrg: comtechtel.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CO6PR09MB8600.namprd09.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a8932eb6-e9d7-42e6-9609-08d973cda052
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2021 20:08:44.3478 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: a9a26e69-6ae0-40c1-bd80-1ca6cc677828
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR09MB7335
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecrit/ZUQK2J_iZQvEo99JZFw3qAWQ0tg>
Subject: Re: [Ecrit] planned-changes: two questions
X-BeenThere: ecrit@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Emergency Context Resolution with Internet Technologies <ecrit.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ecrit>, <mailto:ecrit-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ecrit/>
List-Post: <mailto:ecrit@ietf.org>
List-Help: <mailto:ecrit-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ecrit>, <mailto:ecrit-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Sep 2021 20:08:54 -0000

Asking a server to store and later user a client-provided uri opens the door for abuse by malicious actors.   Which got me to thinking, what if we removed the client-provided uri entirely?  If no uris then no risk of abuse.

Keep the new optional <plannedChange asOf="..."> but without 'uri' in the client's <findServiceRequest>.  Keep the new optional <ttl> in the server's <findServiceResponse> as a hint to clients that may want to initiate revalidation from the client side.  Keep the new optional server "unique location ID" in the server response as discussed on this list (but not yet in published draft), which the client could choose to associate with the client's internal records.

The server periodically (server policy) issues a set of "potentially impacted" ids, where "potentially impacted" has already been discussed on this list. Each set includes: the ids that have been "potentially impacted" since the previous set was issued; the time-range covered; and a TTL hint on how long until the server is likely to issue the next list.  The server keeps the sets going back some interval defined by server policy.

Client sends a "discovery" query to server, where server response is: the url(s) of the most recent and past set(s); and a TTL hint on how long until next list likely to be released.  Client then queries any of these urls, and server responds with the set that includes: the ids that have been "potentially impacted" since the previous set was issued; the time-range covered; and a TTL hint on how long until the server is likely to issue the next list.

For clients that want to be highly proactive for changes, the client can store the "unique location id" from <findServiceResponse> and associate to the client's internal records.  The client then periodically queries the server for the set(s) of impacted IDs, and client gets a copy of each set. The client uses these sets of impacted ids from the servers list to check the clients internal records, and client can then revalidate those.

No more client-provided uris entirely removing the possibility of abuse by malicious actors.

The data in the issued set could be further extended to convey upcoming potential impacts to ids that have not yet been impacted.


/Jeff/

From: Ecrit <ecrit-bounces@ietf.org> On Behalf Of Caron, Guy
Sent: Thursday, September 9, 2021 7:52 AM
To: Brian Rosen <br@brianrosen.net>; Randall Gellens <rg+ietf@randy.pensive.org>
Cc: ECRIT <ecrit@ietf.org>
Subject: Re: [Ecrit] planned-changes: two questions

I’m aligned with Brian on the proposal to embed a reverse HTTP transaction within an existing one. I think this is asking for trouble.

Guy

De : Brian Rosen <br@brianrosen.net>
Envoyé : 8 septembre 2021 19:32
À : Randall Gellens <rg+ietf@randy.pensive.org>
Cc : Caron, Guy <g.caron@bell.ca>; ECRIT <ecrit@ietf.org>
Objet : [EXT]Re: [Ecrit] planned-changes: two questions

Inline.  I think we need other opinions.  Certainly, we don’t have rough consensus.


________________________________________________________
On Sep 8, 2021, at 5:45 PM, Randall Gellens <rg+ietf@randy.pensive.org<mailto:rg+ietf@randy.pensive.org>> wrote:

Why is a subsequent transaction better than a parallel one? The subsequent transaction model delays knowledge of the state.
If the client doesn't see an immediate POST, it doesn't know if there's been an error or not.
Yes it does.  If it doesn’t see an immediate POST, then there was a problem and it has to try again.
If the client sees a POST and sends an ID, it doesn't know if the server received it and stored the URI.
Technically true, but vanishingly small issue.  You had a complete HTTPS transaction, but somehow the client isn’t sure the server got the ID.
If the server tries a POST but gets an error, it may retry but meanwhile the client may retry the query, since it didn't get a POST.
That's always going to be something the server has to deal with: re-enrollment of the URI.  The client gets a normal response, and that tells it the URI was accepted.
Should a client retain IDs if it hasn't seen a POST?
No, lack of POST means URI is not enrolled
Also, requiring that the client send an ID seems like it may constrain client architectures since any part of the client system that receives a POST must know which IDs are pending.
I don’t agree.  This is a pretty normal “I send you a magic number and you have to return it to me” thing.  There are no “pending IDs”.  This is the first ID, so you need to return it, and only it, but it’s the only ID the client has at this point.
What is the objection to a parallel POST?
I was taught that you don’t embed an HTTP transaction in another with the same partner because things go wrong with timeouts and logic.  It’s not a parallel POST, it’s an HTTPS transaction one way that encloses another HTTPS transaction the other way.  You are dependent on the inner one completing before the outer one times out or has some other issue.  I just think that’s dangerous.  I will admit that I was taught this quite a long time ago (before HTTPS for sure) and things could have changed, but I can’t recall an API that does that.  Also note that keep alive works exactly the same way as the initial POST.  In your proposal, those are different.  That’s not much, but it’s some code.  The “test” transaction tells you that the mechanism works and your URI is being retained, whether that happens the first time, or a year later.
--Randall
On 8 Sep 2021, at 14:22, Brian Rosen wrote:
I don’t think there is any fragility in the URI setup.  For a new URI, the client requests the server to keep it in a findService.  That transaction concludes by sending an ID.  The server immediately sends the test notification, to which the client responds with the ID.  At that point both sides know the URI was accepted and the client is valid.  That may be repeated periodically so both sides know the other is happy with the arrangements.  If the client doesn’t get the test notification, it knows the URI isn’t accepted.  If the server doesn’t see the ID, it’s knows that was a bogus request, or there is some other problem, and it shouldn’t save the URI.

I proposed a null ID as the test transaction flag.  That would be a piece of XML with the right namespace, the right element name, but no value.  I think that is adequate and meets Guy’s minimal mechanism criteria.  The same XML is always sent.  It either has a set of IDs or it’s empty.

Brian

On Sep 8, 2021, at 5:11 PM, Randall Gellens <rg+ietf@randy.pensive.org<mailto:rg+ietf@randy.pensive.org>> wrote:

The proposed mechanism seems fragile. A client has no way to know if its request to store a URI was accepted. That makes it hard to debug. If there are errors of any kind when the server initially verifies a URI, the client has no idea. Even if the client repeats the transaction, the server will silently discard the URI. To me, that's asking for problems.
In my proposal, when the client requests to be notified and provides a URI, the server immediately does a parallel POST to that URI. If it gets a 202 Accepted response to the POST (or we can choose a different value), it stores the URI and returns the query result. If it gets a different response, it does not store the URI and returns the query result with a uriNotStored warning. If a client is trying to get the server to launch an attack on a third party entity, that entity will likely not support the URI in the first place, or will likely return an error response. If you want additional verification, have the server include the queried location in its test POST. That way, if the client maliciously sent a URI of a third party LIS, that LIS will know it does not have a query with that location outstanding.
Doing a parallel POST from the server to the client is one small transaction; this mechanism provides immediate feedback to both client and server. If there are DNS failures or network congestion or whatever, the server returns uriNotStored and the client can try again later.
As for multiple IDs in a single notification POST, having the client specify in the initial request the maximum it is prepared to accept seems reasonable. We can require that clients support a minimum number. If a server has more than the maximum, it sends them in multiple POSTs, with whatever separation in time it chooses. A server can include fewer IDs in a POST than the client's maximum.
We can have a 'test' notification value that is used both for the initial verification test and for periodic keep-alive tests.
--Randall
On 8 Sep 2021, at 12:17, Brian Rosen wrote:
Okay, I think the three of us are converging,  Here is a restatement of your description:
1) In a validation query, a Client can request to be notified when the proffered LI should be revalidated, and provides a URI to send the notifications to;
2) In the validation response, the Server provides an ID that the Client associates with the LI it just validated.   The server may silently ignore repeated requests to store a URI where the test in 4 below fails.
3) Immediately thereafter, if the URI is new to the Server, the Server sends a ‘test’ notification to the URI, with an empty ID.
4) The recipient at the URI is expected to respond with the ID provided in step 2. If it does, the Server stores the URI for future notifications.  If it does not, the server ignores the request to store the URI.
5) Some time after, the Server notifies the Client of an upcoming planned change by sending a notification to the successfully tested URI with the location ID;
6) The client revalidates each LI in its database that matches the ID as of the date of the planned change. If no ID matches, it is a no-op at the Client. Revalidations may also result in no-op at the Client.
7) LIs at the Client that are invalidated by the planned change are modified in its database to be valid (which probably mean another revalidation cycle) with an effective date set to <revalidateAsoF> value.
8) The Server may send ’test’ notifications to the URI without any ID as a form of “keep-alive”.  Any ID provided by the Server to the client may be used as the response to the test transaction


There has been a discussion of sending more than one ID in a transaction.  I think that is a decent idea, but I worry about how big that could be.  Either we put a hard limit in the text or have something in the response to the test transaction that specifies a size limit for that client.

Brian

On Sep 7, 2021, at 8:31 PM, Caron, Guy <g.caron@bell.ca<mailto:g.caron@bell.ca>> wrote:

1) In a validation query, a Client can request to be notified when the proffered LI should be revalidated, and provides a URI to send the notifications to;
2) In the validation response, the Server provides an ID that the Client associates with the LI it just validated;
3) Immediately thereafter, the Server sends a ‘test’ notification to the URI, without any ID;\
[br[For every new ID?  Or just once?  I wanted this to be a one time registration.
[GC] Just once per offered URI.


4) The recipient at the URI is expected to respond with the ID provided in step 2. If it does, the Server stores the URI for future notifications. If it does not, the Server [let’s pick one: reject silently the URI and block the Client permanently/provides a ‘uriNotStored’ warning response to the URI {not compatible with the current proposal to test outside of LoST}/reject silently the URI and block the Client temporarily/other?];
[br]I don’t think an explicit failure is a problem.  The LoST server can limit retries if it needs to.
[GC] Ok for HTTP failures but what I’m talking about is when it fails to return the ID, like in your DoS example.



5) Some time after, the Server notifies the Client of an upcoming planned change by sending a notification to the successfully tested URI with the location ID;
6) The client revalidates each LI in its database that matches the ID as of the date of the planned change. If no ID matches, it is a no-op at the Client. Revalidations may also result in no-op at the Client.
7) LIs at the Client that are invalidated by the planned change are modified in its database to be valid (which probably mean another revalidation cycle) with an effective date set to <revalidateAsoF> value.
[br]I wanted periodic keep alives.  How would that work?
[GC] You mean at step 3? As I mentioned below, I was wondering about the necessity for periodic tests. If the group is convinced it is needed, the Server can simply redo step 3 and the Client can respond with one or many IDs it has from that Server.


NOTICE TO RECIPIENT: This email, including attachments, may contain information which is confidential, proprietary, attorney-client privileged and / or controlled under U.S. export laws and regulations and may be restricted from disclosure by applicable State and Federal law. Nothing in this email shall create any legal binding agreement between the parties unless expressly stated herein and provided by an authorized representative of Comtech Telecommunications Corp. or its subsidiaries. If you are not the intended recipient of this message, be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify us immediately by return email and permanently delete all copies of the original email and any attached documentation from any computer or other media.