Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1933614rwb; Thu, 29 Sep 2022 04:15:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7d26fWt0UwTQnhqT8qlrdoiJM+JYdGfY+4PgYY3Rf65JLEm5qSDuPpVE1HBMTQEwGwWbIT X-Received: by 2002:a17:907:3f0f:b0:782:395f:cd69 with SMTP id hq15-20020a1709073f0f00b00782395fcd69mr2358561ejc.406.1664450137064; Thu, 29 Sep 2022 04:15:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664450137; cv=none; d=google.com; s=arc-20160816; b=KbVUSZ+RnrUiuNEaWeqOIgNGYXPNKMgL7yQUKPsIvvbMntrFppRMtShc5UAQuP96wr YQlUYNCnESJ5KnAjXXBS4wJW5ejF5AMG030XUke2vpwJ67IzMJ/4GcG9DpjmOlwe/eDP Nn8IkMt0tpYs1KkTQeaLVBJBWrbHtqtMox7EgmA/pNrVgtOCd7XOrUN80r8Nfk/hE9SF 7imu9Hd4w7LUguIAW3WQ2YxFcgURpXXqbCpvNPCTCr5jW4vR3dn+Z1d8x6O4/ztZDyTl YR+7FCjlkwRkkKwYDHccJPuI7uXmYdUT6nB1WUp4agKxd6MCCaSFagDaZQ8NNf7nVx2/ B69g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=PXrunLKGMBwBKk63VUbWKdl1jnCHqFWlMBizfgH73EM=; b=uES/ZTkA6zZg8Y00BukZtuYZVvPCwlSXQh14ZLV+mAeuhviyViFkAMmuDFxHaux96e l9uUBlV9riJypZKgsfUkTWJVH+RwXUyLaEslgeh54LvqOjAZtz8lAo6Nt4t4vE6JKHSK uaT7krTdERYCI9Z/DLPb19CnwtwCOSVY6vPjKRLk6XE89och3BqOK2h/9OF5WMV9V5Te 0DWdrcZ7nMpihPp65rzbGkj+X5MzX6eeJ5YjLSgYoCyI3cCWtUSzb/V+yXdEcaWpoXOU MDQlT9bnmb/42eaLpab3gNMwzPmex7fg0yU7CzlKCbn9cByynTEFkvCYMy4OzcphVTJk ZqpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k22-20020a170906579600b0078015cf132bsi7055988ejq.946.2022.09.29.04.14.37; Thu, 29 Sep 2022 04:15:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235199AbiI2LEN (ORCPT + 99 others); Thu, 29 Sep 2022 07:04:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235166AbiI2LEM (ORCPT ); Thu, 29 Sep 2022 07:04:12 -0400 Received: from voyager.loytec.com (voyager.loytec.com [88.198.4.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECEF8E7E1D for ; Thu, 29 Sep 2022 04:04:10 -0700 (PDT) Received: from 212-17-98-152.static.upcbusiness.at ([212.17.98.152] helo=lexx.office.loytec.com) by voyager.loytec.com with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odrKp-0007JT-Mz for linux-bluetooth@vger.kernel.org; Thu, 29 Sep 2022 13:04:07 +0200 Received: from loytec-dev-vm.delta.corp ([10.101.25.21]) by lexx.office.loytec.com (8.15.2/8.15.2/Some OS 1.2.3-4.5) with ESMTP id 28TB45CE3109252; Thu, 29 Sep 2022 13:04:05 +0200 From: Isak Westin To: linux-bluetooth@vger.kernel.org Cc: Isak Westin Subject: [PATCH BlueZ 0/4] Mesh: Fix IV update and KeyRefresh procedures Date: Thu, 29 Sep 2022 13:03:40 +0200 Message-Id: <20220929110344.26130-1-isak.westin@loytec.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 212.17.98.152 X-SA-Exim-Mail-From: isak.westin@loytec.com X-SA-Exim-Scanned: No (on voyager.loytec.com); SAEximRunCond expanded to false X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, Here are some modifications to the IV Update and Key Refresh procedures, based on PTS tests: - MESH/NODE/IVU/* - MESH/NODE/KR/* Best regards, Isak Isak Westin (4): mesh: Ignore Secure Network Beacon from subnet mesh: Ignore SNB with invalid IV Index values mesh: Allow Key refresh to skip Phase 2 mesh: Allow Key Refresh Phase 0 to 3 transition mesh/cfgmod-server.c | 4 ++++ mesh/net.c | 22 +++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) -- 2.20.1