Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp718747ybl; Fri, 16 Aug 2019 02:57:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWoptqVgNSpXhypfBJOsjF4lqppG5LkDutfE4z/sirJkv9j4Htp7ffINSuXddiPh7cxJVI X-Received: by 2002:aa7:9591:: with SMTP id z17mr10017411pfj.215.1565949429713; Fri, 16 Aug 2019 02:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565949429; cv=none; d=google.com; s=arc-20160816; b=M5rstQgWdS+MBYXUHXViC+ShXTrxAzRIhAw3tQHz4UScQhs5bj2mNOZWuvvhQ1C9iQ Jr2gVmWccurcHtqb9hlLf8AH8GOdz8E1aBOSr8/f6aH1DlxEUgpWv0HecklZ38O4I7J3 6TkYuV3834KWl8Xf7JfU5cA3m0kDrdj3ug13Mz+a1RLc90k9XBZLVO1+sNg+qz8gw+Tt HHpDv6NwiocKcc32rWNAbEuh7u0eAKvU3FUhSodPG5pU6s3FVoLwdRbOPpB+6nwUpytr Xj8FzM7E5MJksieg7WCpSwqXn4aw0R9JpfAA3MGpy0JbmxCKqDNfovdbJyKG9zBneHLT lloQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=DVmDCVA+evLtq2XLreSXuYjIzjRadJcmpmk+J0XOpeo=; b=IiP26o783G+p5G7LzHOFtpz1uDHUmv3fnCVU6fCZ8ZuhIXzOSnBT0D0S+Xk4i3bthh 4/BGzH0osNTgNgq+dC4iT9oOhwBbMo9XI1FcQV3KgWuSVfjkMEVagd3q/1ZH9KJkB07L f+S6EeYlpSipp1RTg43zWJbugFmTOHhWkqymc6vL8Cxj1gDokSCT/WmzOczBrDQ4cyHh 1cZVjcVAcwAlIwOwQmLcyi/xXkQv6GA6v/+jU3iWCwjRc+EFIx4IMyZpw0WkD5L/EIim zULlQu17jLi0XPLe1p3RJS9H39fbIzeOamgiZY3YO8QQWm8dSbx5ZSxT/8mw8P0aPzVX TSRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si3515190pgg.490.2019.08.16.02.56.44; Fri, 16 Aug 2019 02:57:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbfHPJ41 (ORCPT + 99 others); Fri, 16 Aug 2019 05:56:27 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:41687 "EHLO mail-ed1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbfHPJ41 (ORCPT ); Fri, 16 Aug 2019 05:56:27 -0400 Received: by mail-ed1-f43.google.com with SMTP id w5so4623149edl.8 for ; Fri, 16 Aug 2019 02:56:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=DVmDCVA+evLtq2XLreSXuYjIzjRadJcmpmk+J0XOpeo=; b=lat511NjSmWysS+jh6qx10YI6zfAvAl3UvGISeewdyVwH5IyL40Bci1cTrql59VsjR jHHElwltIA5TXQ88WQ/pmDKdX/0AkrBR4Eud/jbBQIUnfk/tqw15/jldgnVeOHI2vC+2 At1M2VWygBEet76wy9xiLZ4o/sDuMsVB3tIHRj+/i8nScm8aE5UclGvAZR1SUfY0lBfa mfar/f3RuHTdfhJCc15hIpd9X6hKGYEtDrEpDmyv8UcpYmCIxZ3tjTIuhbq2VY+jrD6a 4BCkMzr5JxFkE1KLgqvyROoxh3gQoJbgGpytuXD/iFWtk1Qvlf4hHCtrUjGmkp8f8Egt c9Dg== X-Gm-Message-State: APjAAAWAQqHrHj5ZCzeE/gxUVMqX+7m9AZN9UQViPAhRTDdopeRpSMS9 nbA0c3Lf107odr/eJqq9xgJDmUa7iD0= X-Received: by 2002:a50:cdd9:: with SMTP id h25mr9784639edj.231.1565949385699; Fri, 16 Aug 2019 02:56:25 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a00:7660:6da:443::2]) by smtp.gmail.com with ESMTPSA id s4sm755452ejq.72.2019.08.16.02.56.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 02:56:24 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 06EFD1800B1; Fri, 16 Aug 2019 11:56:24 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Jeff Johnson , James Prestwood Cc: linux-wireless@vger.kernel.org, linux-wireless-owner@vger.kernel.org Subject: Re: [RFC 0/1] Allow MAC change on up interface In-Reply-To: <46810d9dbb674fb8d8fb442f2418868a@codeaurora.org> References: <20190815185702.30937-1-prestwoj@gmail.com> <46810d9dbb674fb8d8fb442f2418868a@codeaurora.org> X-Clacks-Overhead: GNU Terry Pratchett Date: Fri, 16 Aug 2019 11:56:23 +0200 Message-ID: <877e7dwi0o.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Jeff Johnson writes: > On 2019-08-15 11:57, James Prestwood wrote: >> - Adds a new NL80211_ATTR for including a "random mac" to >> CMD_CONNECT. This MAC is passed down the stack and gets set to >> the net_device's address. > > My initial reaction is that I'd avoid using the term "random". +1 - from the description I was expecting calls to get_random_bytes() in the setter function :) > For some use cases the address may truly be random, but for other use > cases it may be derived, perhaps in an AP-specific manner. Other terms > which may be more appropriate are "spoofed mac", "administered mac", > etc. "custom mac"?