Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2235952ybd; Thu, 27 Jun 2019 09:00:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqx05jqmkwubLFwEybnAYpWn3a8jOQH/UOQqq6XXePCwrOmKfwyXvA608/0Nu6fAt7FusKmM X-Received: by 2002:a17:90a:8c18:: with SMTP id a24mr6706971pjo.111.1561651227738; Thu, 27 Jun 2019 09:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561651227; cv=none; d=google.com; s=arc-20160816; b=NF026S8V/35ckVJHQAKtc25IaS61tiQWKmoVKhmaoOrWlCBsKDJg134+o0N/DqqjAM a73ThnKkQie43m1AvcizoX0KbkBgDQVbwpUIdMQAqLYLgGfyNCo5NWHn60OULHKH0FfR 5tqucUg6Pttn3/LUWDO6Jztls9AgAzHIGNMUZAzOLrmmzrGGzAK+qlBxoDpVLjB/iwLR rQdMkBG5KkEvw1k2aLSSGAoZkQK9oqbYnYCy7IWn9aMg51G0kICN7w33gcopJun3PFwE t4C+9T0MGZncF3NVEwJVi1oSzZbXTBD4fc0g4CwJM6sPYn08Of3LCOdLPuGqI8Puo1ha Jilw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HpCMC7TUABljT51JTu3RzvvF/L5Hk52YfzurL3ch5qI=; b=ezjEYvVQQZMfR00mmMQY0oqEiLPWqXlSPrk8BaIzQjY5xTQS4UbO5kvqF2l92yKj6L SUznMAmOsxda+VZQDjTLTfOkvcvGboDRCo7dLeTJsvhUE5fQYvUEowHPhrFF8gCTwuZN EDElAgEv1YGk783cGNwIJCpAazuA7w3DmqJqZGFJiA+Gp1W2zn7NH9FHebkKgRSFvq6a tlpcaPj1K+bofXU9pD/GHSF/LSjL1dgWBK2nXJyr0+es6C+Re9oYG+LMTZ/j+h/wf5qz G1Kb3OFNXVO8+2d7sB7hjbSk+/j39CVeaibC2LOpaoP+xu/75W7oDb0lbnzPfD5mpCka TNkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=uDBBLAUQ; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9si2638904plq.376.2019.06.27.09.00.02; Thu, 27 Jun 2019 09:00:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=uDBBLAUQ; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726384AbfF0P6T (ORCPT + 99 others); Thu, 27 Jun 2019 11:58:19 -0400 Received: from mail-lf1-f54.google.com ([209.85.167.54]:44918 "EHLO mail-lf1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726370AbfF0P6T (ORCPT ); Thu, 27 Jun 2019 11:58:19 -0400 Received: by mail-lf1-f54.google.com with SMTP id r15so1903049lfm.11 for ; Thu, 27 Jun 2019 08:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=HpCMC7TUABljT51JTu3RzvvF/L5Hk52YfzurL3ch5qI=; b=uDBBLAUQ+rVcFp6lupJGvpjiC73gK/CN4ikpiXKWxEJEO0Q3MMoKXT+V7zLYSgQSgs zZYKf1a4rcAHuw6qgEOX8myAjPXlkZivIGwPYuTbkb1QkYsmnxzZrNHcEMnpzbYTybCI BWdyGefQ3esZO/U21nseXGoNXX6rP9cUeHZ4/kMbLdBqopbVhfLnwh31mxpKITbQnQP/ +Rag2/80hCnmByQjhNOCN4W35RpMpvkcxsneygNq0/Cg+A5FrdE0Mdo5tZ/vwOciK4O3 Sv1bX1Ih92IlCZYPWCQJpNskUcAWtzUlrYa+pEQK4ItnJmDpoYyHW8w3jkfSI0Sehu+K jfIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=HpCMC7TUABljT51JTu3RzvvF/L5Hk52YfzurL3ch5qI=; b=OhkxX70O81hxBZx6HxieuQHgAjZCwtEsW5pK/lxzW7bDsjjcYY/JWIci/6vDvDoh7I PGrMrT7BjHnL9Lb67lohVgPJ7BxTrFfVOltzqYR8iyauMKKrmgl7McFvHZYafomddSWB hdo8voSopsRzYBlGj+f60pQ9omQYHbWVPIaKePB6yVBtvCN1TeRG7V2YJRxaNfwf+Yp8 Z0vuy1dSSPny4mmkzcDxbcNXufjk9Mn1ek4ROm92faE1hCiqUBheDLqXj6hB0oB1Opa9 +9FwbYadDpTcR0RJ9GBamo+aKATnX62BHwXxiZhTtD1/lizeYU/qjIcIjpEEMKHaW3ts bqqQ== X-Gm-Message-State: APjAAAWHRp5fcAInvj3S/E/vZLUNVDZB9UERBC+XQmVNh1bGt7Yv6AGx ejymbacNOZTGHlPyDT0ugDVOuscACho= X-Received: by 2002:a19:490d:: with SMTP id w13mr2421367lfa.58.1561651096924; Thu, 27 Jun 2019 08:58:16 -0700 (PDT) Received: from kynes (apn-77-112-37-101.dynamic.gprs.plus.pl. [77.112.37.101]) by smtp.gmail.com with ESMTPSA id y12sm500761lfy.36.2019.06.27.08.58.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Jun 2019 08:58:16 -0700 (PDT) Date: Thu, 27 Jun 2019 17:58:14 +0200 From: Michal Lowas-Rzechonek To: "Gix, Brian" Cc: "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH BlueZ v3 2/2] mesh: Use current IV Index when relaying Message-ID: <20190627155814.iyxx3a6vezpvlney@kynes> Mail-Followup-To: "Gix, Brian" , "linux-bluetooth@vger.kernel.org" References: <20190627074043.22891-1-michal.lowas-rzechonek@silvair.com> <20190627074043.22891-3-michal.lowas-rzechonek@silvair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Brian, On 06/27, Gix, Brian wrote: > I don't think this is correct. *relayed* packets must preserve the > originators IV_Index... Correct. I realized my mistake and quoted the appropriate section of the spec - there is a message about it on the list. The other patch stands, though - as it happens, our network is in the middle of IV Update at the moment and I've been getting failures about decrypting application payloads. cheers -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND