[Dime] Clarification regarding Diameter as Stateless Server and its state Machine implementation

Bharath Meduri <bharath.meduri@mavenir.com> Tue, 11 July 2023 12:03 UTC

Return-Path: <bharath.meduri@mavenir.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 20DC1C14F736 for <dime@ietfa.amsl.com>; Tue, 11 Jul 2023 05:03:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.097
X-Spam-Level:
X-Spam-Status: No, score=-7.097 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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-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 (2048-bit key) header.d=mavenir.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 V4EspewKJBHZ for <dime@ietfa.amsl.com>; Tue, 11 Jul 2023 05:03:54 -0700 (PDT)
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2070.outbound.protection.outlook.com [40.107.220.70]) (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 A10E6C151522 for <dime@ietf.org>; Tue, 11 Jul 2023 05:03:54 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MUNAIwg0QJAzjOuwT+eK11uBN5NCgXKbf2Gjr1bj//XCY6vFpvX5hhwwe41gpNQjSDIwKvidXt+e64cojsyr+O88hOs7B6o3B9F9Sq8HIszTARc2pBL3/19bHWtr4Qqn/2K3NMh4l9Hs/bn+khAdkznGyG4YKXQFFTfmdoLjlSba80CP2zo1+nrkbCKlGVWrOjLhY3bvzdea9ufpZT2n202GwYPLfN/FZbKT4w3gD6HGPIqBnayK7MXL+IBB/XpmQcKl4Uw/ddj0g9C8MGvOF2lNlBejoPE/08CN6nAZSmm7mtIQ5uty148ojxuZFIl1H8xRzw6ZAwANNqDi5ZwwFQ==
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=F+OjDMSsysDJN5k3A4resCZJmIw9ACU8SVzB8wNfHx0=; b=Ez0zedDidlU6mzyrignOOdI7VahNXgtRLuYhWvN7inBWkeaAqlQmoQjDNuW/GW2srNmlpu/lanmvUn172srcQVrx6wW4VuAmP+S4aihhG286a4fq1C8PJJjesbxYYCMGV+yuVup0Nh/+kIXdExGjyjT2pFbikoNcJaNJHWmfB7ZEA+iYLBbaPcEg6cpYSNscXloyk4++rPZoTgf643BXXty7d7e2hQuKef+Cy3J6XhOSmiIqSiJF5mQxc9TBiL15xQUqBVKhFQC8ssogRZxjYH00dLNflN7z1pXotcFe83V4coSctwZLPxsCNDxmamljGnQ3i6cEjmQCcinOlV4HuQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mavenir.com; dmarc=pass action=none header.from=mavenir.com; dkim=pass header.d=mavenir.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavenir.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F+OjDMSsysDJN5k3A4resCZJmIw9ACU8SVzB8wNfHx0=; b=rwicd31iag8xckEXx8GATsfPWpWhBBiyHU6YM19FWED5wb6xN1PXDcPGhwcMgOWNQpACBHVLpJC9UgYtKtW6KQHbWUQyU5+2PcIjHLOnjyVy5VxswyUccYYSUR3D3/jRihF0WSDYbOGEX0b/0k5PIE+EMtDhBWQT7BRmvmxyZlzUUU0WIljJStgnqKbv3E2ziVGB3uk9jUfkvIg2emFYcH5w71Fj/7IUuXkdr8TvFau98AO/A+cEu0PMIJCdTrC17qAinGUcmR7zbEKgBv+/FGnbTYrNIk0ByrVv0SeWJncDEbjNzBxELsdMqNw0mUaUA7BseTbGM+ana+BJewzXgA==
Received: from SA1PR11MB8253.namprd11.prod.outlook.com (2603:10b6:806:250::12) by CY5PR11MB6366.namprd11.prod.outlook.com (2603:10b6:930:3a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Tue, 11 Jul 2023 12:03:52 +0000
Received: from SA1PR11MB8253.namprd11.prod.outlook.com ([fe80::ddfb:85a8:9c59:39a0]) by SA1PR11MB8253.namprd11.prod.outlook.com ([fe80::ddfb:85a8:9c59:39a0%4]) with mapi id 15.20.6565.026; Tue, 11 Jul 2023 12:03:52 +0000
From: Bharath Meduri <bharath.meduri@mavenir.com>
To: "dime@ietf.org" <dime@ietf.org>
CC: Anoop T <anoop.t@mavenir.com>, Vasikar Surayagari <vasikar.surayagari@mavenir.com>
Thread-Topic: Clarification regarding Diameter as Stateless Server and its state Machine implementation
Thread-Index: AQHZs+yW9qZPOFEjwEivXSaXjB2Nyg==
Date: Tue, 11 Jul 2023 12:03:52 +0000
Message-ID: <SA1PR11MB82534B88DCCE5EA23E822FE39731A@SA1PR11MB8253.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mavenir.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SA1PR11MB8253:EE_|CY5PR11MB6366:EE_
x-ms-office365-filtering-correlation-id: ff87ad6f-fce6-472e-1da3-08db8206e4a4
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: gV1jgxNqak+kd2RuaSAYT48XnzASh5syKgdXB6JOZDQZueIxbdnxz5IfCv3UC85tlHG4wCHZynG1foxkIKT9HJu5aa9Zec+kcVOZoH9gpg9gb59GKJMreN/bozg1QBNOvuL5xJ8zQW5oBreSXhEywEmkVmBtHj3gkFWqQNc9kcIcFAaT472dupobYHlSDRArD8x4jcjh4J6PPgF722EAHNNtEx/1bQPNwdKnjXTLJb1YyEMk2MJLxTxfV/Et9H1tWOMytL2XHdwvHsaFBMX/3KlZifyrLaJLNgqw0S1n6oqqoX206/ClgavnRMXOfR3Xgoee2HhmBVCRwYuiKGCteqbs2pKeG98qpUm5BaK8GI5eJMHU5NwNpK/9uHQEInBWIDQYrrCSgrDGn/1JymkXY/rk6ItsZ9MUEr9bz8taDWNztvOOqdBeXQZezYJAzQdKi170K2+38NzGYL5RWSwpGcOq3dbx13u0/cc5eLjFtGpndrSbX5TJ6qIu7EBcKbzusEVQj979kmNRRhX0OV5+se72Ca0Lly4b6mKK8xrqPBBOm1eYlMxhJ8V1L/j0yz43lCxDaW53CuS1WUrcrXA3Arp7qeE6haaWwo2fXganIjR+XAMA+VsX0xEdNQPjjNrV
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR11MB8253.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(39860400002)(366004)(136003)(346002)(396003)(451199021)(26005)(186003)(9686003)(6506007)(107886003)(66574015)(83380400001)(64756008)(66446008)(41300700001)(4326008)(6916009)(478600001)(66556008)(2906002)(316002)(5660300002)(66476007)(8676002)(66946007)(44832011)(8936002)(7696005)(54906003)(76116006)(91956017)(71200400001)(33656002)(55016003)(122000001)(52536014)(38100700002)(86362001)(38070700005)(19627405001)(99936003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: hO2aaL0lI8gmw/at1t4SbhdcxCrfgYO+iHgTP6dJTIc+E4oswF1/iPKMQO0FifSnZdbKZLeWILvyKqXHvqptuXA8t+45j51EpLMPzTr/OzJEk9l6seG/A4qATw3sjHbVSq5K4m4LJKwZ7XL37bsUQfUKfvTVnRGInD0qZEMn6dfFRtqjImRMScjpTzbBbtNM3qC+zKrOyhnkLXbhiiUDBHkJdnY1oDRhYmnyll/y+KK7b/4XJGW5WZydO6kDPS7Sm5z9rgFAzm1ls7terGQgeUjloiL6xnujT9x34czbcfmwDhG4tyQcIdtVOECsYN4ulOZey+Hsut+fxnWeAgl30P/Q2xeEcWevBptG0RjyHUUgpR4QJJAu+DTlzCHP9ruEp+ZH/Yg1qRB+rAqkP6myjSiXP1WgaRGVMLlKyMTgS1oQSimbSGsJTXRlSPUMXTiiKNK6ovLK90K8oYG1PRKtjzNyYYzB4Z1zUzxZLi9ioZE6CZ1zz2uGCcwXtgtrt6ZWri7a0eXoHlwRkTDJrVLmAG5eLpf2F2xmj7QM7iooe9yI6vkxs52AulH5qCFFMYfhIvHnfJhkHGVPcwgTQXOGkajFu0HeqX4XvxrNQNhZFJCJxrcUJR6lcfHBFgTLN2bSZf2n0RQK8tEcXTvVFT0cHQ3yHqkIpL5nWwpZQMfxxmN3SqQ7ksplHi3w+KnweoLXcDYbdq5X34y/NJTSYP5eeTt7TnvDWU8evt8wFdflx+X1yTnv8x7ki1ttqHl2NfJi9I90iM0pgkyblpS5Gztkj3W84LQ4bWzqTY+gFpF0/CFTUGitxdigDhP4ly7nirRYPn6B0uRtSmi3vpL/G0H8Qdbm4xFJVrLLG5Fe2AVesJkIdh7hQPtJNQ7KQqpM1Q5Vz2wgu0cml5gZHKAjI4ObtwJhFcwXsEU43weijPgqS8bFMA/elMpsGqriveSXZtg8rluYiC6fdGC+sODLrE6F1hRMsFMeoucSybB85qgKOZxPd6s4Y8TF3E4+yACxko7SZHvhPkPsbC2e6RBtjQbuHjvpLoIsQXRPeII97EvzQLRrIFFbcMaaEi6vEqw3gqt5lsuDZlDTnlH8V8ErIz9R7866XsyIshkJeYlCe4Hgkr6A8rGhDGuGEpKIK5sb0bG/wRXICDwIb2i4U3vfvET3l9eBDQDV6MkM2ZspjpWNLR+lWX3tn20ISVUXtv9oisgqX/9luP7/7cf+hJ7cc0PGXK4x/VaTukWH4p54RfDHZlpJ1wqO/N077dVJ+tHZMEtHOfODxfzpm/+a4N+g3PreYW1ZNpmoTPX4GU1ijN5nwzGy8Nae+tcL1vRp5KXJuPyI1P/wcZXBCQa3fMIN0G9w6/RhD17qAdH3CS8NGFBSiRuEUbcT3lfiHp6WRLZO2dUbqIA0x3W6ruzozUl/27fGLj0nH/SR58Z42prWlxH5GUs2MaGcsqr1OQ7Z4foscVuuxG5KX6n6Sje9VcF+8raUchYE/+AvD0T8P8cG1bZC+Gf9J+p3knTc6GV7lg5ak60LM0H/lqjlOlFQrRXVaNGU6hjzyuVxiNOSCDBGtLbo2BhjSutp5BwZH6siFaYro5NI
Content-Type: multipart/related; boundary="_006_SA1PR11MB82534B88DCCE5EA23E822FE39731ASA1PR11MB8253namp_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: mavenir.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB8253.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ff87ad6f-fce6-472e-1da3-08db8206e4a4
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2023 12:03:52.0071 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 7fa7d4ff-bf19-464b-89a6-a132b269d68c
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Fy1Er51eQCLFPpEfmOvjfLaLFyBAIfIUlBuIZlkYL/pqurlQs2qtz8qWIMt0b1q4rJRAIY+5ZA/fokjhdXyKLG9ljbWzFeedFr/Dof2OCdY=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6366
Archived-At: <https://mailarchive.ietf.org/arch/msg/dime/Br7wB-YCz2wKUSRVRQlEkpMAMoY>
Subject: [Dime] Clarification regarding Diameter as Stateless Server and its state Machine implementation
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dime/>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Jul 2023 14:07:30 -0000

Hi Team,

          We are using Diameter stack in stateless Server Mode , and stuck with few RFC points for a Server initiated RAR .

The Stateless Server FSM State machine as per RFC 6733 Section  8.1 Authorization Session State Machine is defined below as

[cid:0a45f6db-fb66-4bb3-b227-a5c90f699a25]

and in Same Section:
=================
When a session is moved to the Idle state, any resources that were allocated for the particular session must be released.
Any event not listed in the state machines MUST be considered an error condition,  and an answer, if applicable, MUST be returned to the originator of the message.

-------> Is this means that Stateless Server cannot initiate RAR??

So we have a Case where Stateless Server should initiate a RAR and this has been failing when There is Open Session for Same Session ID pending to be responded.

Ex:


























[cid:ed9c0004-e2a2-4602-bbd9-cbb5d868f627]

But the same works Stack forwards RAR when there is no Open AAR Session
[cid:61ec0189-6a3c-488d-b126-0de4eb43f5ae]


So, Can please someone help to explain if this behavior is correct that in stateless Server mode The Diameter can Drop RAR ?
 Our expectation is that Since only state defined in RFC is  IDLE State it should be able to send RAR . And in Our case this RAR is required for Location details Updating to AF in case of 3gpp.

Thanks&Rgs
Bharath M
________________________________
This e-mail message may contain confidential or proprietary information of Mavenir Systems, Inc. or its affiliates and is intended solely for the use of the intended recipient(s). If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies in your control and contact us by e-mailing to security@mavenir.com. This message contains the views of its author and may not necessarily reflect the views of Mavenir Systems, Inc. or its affiliates, who employ systems to monitor email messages, but make no representation that such messages are authorized, secure, uncompromised, or free from computer viruses, malware, or other defects. Thank You