Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5845972ybf; Thu, 5 Mar 2020 08:07:10 -0800 (PST) X-Google-Smtp-Source: ADFU+vs9TwiG94EnxNQp3OLZDyEbcEOP0EG11SBlzuSfKf4NjioTnUv0xMZ3xcM8MMpM3sEO1Z7n X-Received: by 2002:aca:5357:: with SMTP id h84mr5980282oib.32.1583424430649; Thu, 05 Mar 2020 08:07:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1583424430; cv=pass; d=google.com; s=arc-20160816; b=qfzQp+AGLxgFHWEyUAEESo0IkszrMPN7yKYKWYQMpvOAgrknm8DnPLjYwNa/3jkhAz pKHrlH72tx9sRKVvMem6tLbKRWC6WfJ091YMDsdn+UgE5jZNjUWzr7Ta53wZ32LHWV/D E2nsphXGrjc8znKtUoOWlzzEFIjeMnY/xnA24j5oxozlVH+h2aqy2yUg7RPiKfDz1+sN JrZX8ol5NJuSNj9TdD1/bdgCCFRkfw88xXfaVUHysfsRFh9C6QEnwcLpqmr6l9L9jHMZ eVS05l574lHr1bkWPXCl176WIfsRBQ96KsThLmNK9TB3yUbKTo53Y1PZkdhcF4J64QNA uWyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=kvUWks+JL+Hk9nHrl5/HqDLxC1RiAr9s6EsFF3SOuKg=; b=OGg+vvimua9MxxMJmEb5WI18tqVI+FDVkC8zISWNSrMjjxL6eCQz+7paxa5QHooCkG Q/sLH3OerUE1PR2JriXadjEzWxmZQw9Lf8LT7ELpmmMFA0Zf/DGYfM5gqC38UWD3q3xb whER1C80w/KCksc6mmu6WYB1dWP5gMH3vpUwsMBQPRAbNvQ5v6OxUg/kOBra+t3f14sq UY7Szfndl4gKaPRHwcBJ61JTb7STktoNMItxRjhiesC6HSQ6W8Ds8o4mmGdT1IPUlGdT g/XFPJ2vsgf/5gF9/7uV/T4+0lrUjI2m+wiJpTQ0hRLocW/9Fe70g8y8sxDjC/PB5wka Qz5A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b="h/A7D9YM"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u15si3654780oic.269.2020.03.05.08.06.57; Thu, 05 Mar 2020 08:07:10 -0800 (PST) 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=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b="h/A7D9YM"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726273AbgCEQER (ORCPT + 99 others); Thu, 5 Mar 2020 11:04:17 -0500 Received: from mga11.intel.com ([192.55.52.93]:36534 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbgCEQER (ORCPT ); Thu, 5 Mar 2020 11:04:17 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2020 08:04:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,518,1574150400"; d="scan'208";a="439544254" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 05 Mar 2020 08:04:16 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Mar 2020 08:04:16 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 5 Mar 2020 08:04:16 -0800 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 5 Mar 2020 08:04:16 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Mar 2020 08:04:11 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gNWnKNhGZJZ0ejSy2dlo0Un/y4xr/kx09bOYSjXLv3c/xpQ+DO2rV7tHpeaI10f9RWDK6d04v2R8oCMjVXYfyDeGNf3RLVcjfZR65zlxUoIw4EeeS1YBgdpPK9hU2E2veBFMbZy3tsKZqeOMg1mOdh4NljgMauBaC30CQNKPRc27DfioVjBYES9uszHnFuN2qKUEO2leuY81LZXnirM1Pf2lkX19WuP2KpXUdliy7j3pKZqzdQFjZ9ZoFvjWTqdbL0Afos02lzHIC5rMR3J2QpoRhR0D5PLNGyMQA0eGkbZI5L1H1EddN9P/ne0DpCGjU63TDl3MwR7yGUwqEpDfVg== 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-SenderADCheck; bh=kvUWks+JL+Hk9nHrl5/HqDLxC1RiAr9s6EsFF3SOuKg=; b=NCR5L3SxOeZiZqcLPZtq2OUm3Din8JmurFxZMc+RuYoOvxqIgAqujWiWycLdC+ZMUKn38U1uTj16AJIlAojvrRwAXi9HyzsZtvrkhwKNOaFpzv+4AoyWoaqTVIbLUGoLrHZpgMByS0ETwSmAF2TVYLcMoCjV0C940K7ftXZ9IRjN0vLvrNf1I6PlvYffzTYmsA860sNWvmPwyWKUVN+hYSwCJ3s59in3ucBvjcHbMQ0/2XhDoDVbiQumD/M0sJNCC0frO68NkfVD6gLtl+8pnvi3m3jHuOCxkkXLmpaJcN3eP9dQU3xO1tElLKNANzAJL2GFr5/4hlTt/u1t+svXLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kvUWks+JL+Hk9nHrl5/HqDLxC1RiAr9s6EsFF3SOuKg=; b=h/A7D9YMN1Z/kIpeVHXOsI6IcjBvzVjr+nuhaUvVRsRv2oSHwvy/TNNePx0irCEj920Z4rIsCh/PwzOSfGLE64odiKibWSadQ0rnt3KhpyRnFfpLV9VUCCwb7GXCR2/xWQ3Asw4BV98xLH2v2ZbECHxxgZRM48mAFV13rcDQJ8c= Received: from MW3PR11MB4539.namprd11.prod.outlook.com (2603:10b6:303:2f::13) by MW3PR11MB4553.namprd11.prod.outlook.com (2603:10b6:303:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.16; Thu, 5 Mar 2020 16:04:10 +0000 Received: from MW3PR11MB4539.namprd11.prod.outlook.com ([fe80::39a4:4e3:2bb2:dd3a]) by MW3PR11MB4539.namprd11.prod.outlook.com ([fe80::39a4:4e3:2bb2:dd3a%3]) with mapi id 15.20.2793.013; Thu, 5 Mar 2020 16:04:09 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ] tools/mesh-cfgclient: Add address checks for pub/sub commands Thread-Topic: [PATCH BlueZ] tools/mesh-cfgclient: Add address checks for pub/sub commands Thread-Index: AQHV8NLpTr01oXUJMUWaU22/DG1tiqg6LcEA Date: Thu, 5 Mar 2020 16:04:09 +0000 Message-ID: <307481e5a956bc551c3266c5d64e951ac7d1b9e9.camel@intel.com> References: <20200302204030.9150-1-inga.stotland@intel.com> In-Reply-To: <20200302204030.9150-1-inga.stotland@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=brian.gix@intel.com; x-originating-ip: [192.55.54.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 42b58b2e-ddb1-4530-3c0b-08d7c11ed6d8 x-ms-traffictypediagnostic: MW3PR11MB4553: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 03333C607F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39860400002)(376002)(136003)(396003)(346002)(199004)(189003)(110136005)(71200400001)(6506007)(2906002)(86362001)(81156014)(8936002)(81166006)(6636002)(8676002)(316002)(91956017)(186003)(66476007)(5660300002)(66556008)(66446008)(66946007)(36756003)(2616005)(64756008)(76116006)(26005)(6486002)(478600001)(6512007);DIR:OUT;SFP:1102;SCL:1;SRVR:MW3PR11MB4553;H:MW3PR11MB4539.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hcCRQZqs89W1Cfes2cB0XcQ33ejvyqqx3QI9MLCu+AxwWxZQdCNmXbno9be6yLzgiRrahxmlpjcdOxoK5WdNirMDjwIisTIUAVAMuuoGHE0DzSaE2HfZePITJqcv7L/+YZYfQmY8hJD/WRCYavA3yzW0Fe2II7BOnnkB2b71i76FwttKumUj8ODfrNXN/u/0RVEFBjQ93cEFhmbzFnacy7ENNzhAfgFFmNrBDvZJFi5UStZDqBhXvLhUy3sR9jV/s54AWOWq6JsPNVpER6FS/sEn0y5qdZS1INVAUKUPlspAS4O3Y7/SN1KESFtTey7M743GFo4cwg4yy93IG4HDPRfF8UjUgutlO9ZwjoCVhTc6dd/K/jM+6n1m1PYTwIB2srf0as5MqNhwXNqJ8lgyo080IuIizLNRVTORnCikKiarjqfgA+XMM8tjhmYGxZ8L x-ms-exchange-antispam-messagedata: /gW8HARwKeT3tEEmKwaoz42w0hkjfheCARvAf33EZ6asUNwAHR/fwmx7O5HP8g4nbi+QH5XVxIvPfELZWvkDrpJppjvvFNgaPwZGo0+We8Aj3K1fjw5TBJ+F0KV1zk7pSGj6k8SzrxT4kkAll3oUIQ== Content-Type: text/plain; charset="utf-8" Content-ID: <24F8B2742FC1244BB7D5021E9EED6953@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 42b58b2e-ddb1-4530-3c0b-08d7c11ed6d8 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2020 16:04:09.2679 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yFgNa667YybGTrlhLs/HXSi6LycwrmclkX4dGQRyYecEGaTlTWnLkgHYAOkVtgKLQks75D0zG1FRvjKTOkHMuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4553 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org QXBwbGllZA0KT24gTW9uLCAyMDIwLTAzLTAyIGF0IDEyOjQwIC0wODAwLCBJbmdhIFN0b3RsYW5k IHdyb3RlOg0KPiBUaGlzIGFkZHJzIHZlcmlmaWNhdGlvbiBvZiBzdWJzY3JpcHRwaW9uIGFkZHJl c3MgdmFsdWUgZW50ZXJlZCBvbg0KPiB0aGUgY29tbWFuZCBsaW5lOiB1bmFzc2lnbmVkIGFkZHJl c3MsIHVuaWNhc3QgYWRkcmVzcywgYW5kDQo+IGFsbC1ub2RlcyBhZGRyZXNzIGFyZSBub3QgYWxs b3dlZC4gUHVibGljYXRpb24gYWRkcmVzcyBjaGVjayB2ZXJpZmllcw0KPiB0aGF0IHRoZSBlbnRl cmVkIHZhbHVlIGZhbGxzIGludG8gbWVzaCBhZGRyZXNzIHNwYWNlLg0KPiANCj4gQWxzbywgY2hh bmdlIHRoZSB0eXBlIG9mIHBhcmFtZXRlciBjb3VudCBpbiBjb21hYW5kIHByb2Nlc3Npbmcgcm91 dGluZXMNCj4gZnJvbSBpbnQgdG8gdWludDMyX3QgdG8gbWF0Y2ggdGhlIHJldHJ1biB0eXBlIG9m IHRoZSBwYXJhbWV0ZXIgcGFyc2luZw0KPiByb3V0aW5lLg0KPiAtLS0NCj4gIHRvb2xzL21lc2gv Y2ZnY2xpLmMgfCA0NyArKysrKysrKysrKysrKysrKysrKysrKysrKysrLS0tLS0tLS0tLS0tLS0t LS0NCj4gIDEgZmlsZSBjaGFuZ2VkL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