Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp125847ybi; Fri, 26 Jul 2019 07:09:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwP8Tkd2IHTCFuccTpgKtEbD52CJB8Qw5zEbCusIEg/yyNgLKfPQ/slpoEOaBXM/VpHPq6G X-Received: by 2002:a63:e901:: with SMTP id i1mr74820017pgh.451.1564150195266; Fri, 26 Jul 2019 07:09:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564150195; cv=none; d=google.com; s=arc-20160816; b=xYyCW4eSE4JR31wdYXEIWeBcqNpb8tFO5ojUre41eWk5/m1H0Kq2mDTc0GhJkIdXce k7rO6FzFyNvIxGl1LNNpd43cxSgSp5XB7DiEOvfv9i1yciRg/juth48OkODEu7fz4i2e U66nVCz2esU/N3A9mfF8fndQLUpi2m2cYOApR+cgss1RowPORIJp/X0EHlMjBd+HdnqT kKYKWm4iEuyBMxz6PaWB7FGR2WG47+ZHNMK7YVt0w9LxDBqR78FhNOKxT7G1zN1yqM7w 7K/1qZ2GEagCMMBL5VUNE2xJNdgvpo3+FUyNM7Vp4f2n9PSWgwGKMyo/uWsJOY2PXnDV IQ6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=AyryD7Skv2XXlG6RY5cCFls9MpgjyHKIMbRWmMT3/BI=; b=K+PPZcBsL0Tv7bFNMRbQZ+t+NvOsW6JBgRYnNXr306ZZpz4d6Sd+Tz8TYt69+moKhN RBoPFii8mB3+sNnhqy5MzDFiMMyRrxviyOA9ACw2Lk2c2FIEZ63SUzyxFFHvjE2CaxBn 8n9/z9DYiBEwcWp37TZUaH0JFhFtah65rEOeDFOxuHBCyTzehB/7mE6o2+DrnDi6onpK leVn+q3i7y2JJZS4dQMhWmBZyEKoQI0pTZrjMGvOfuKgI+Mh7FZJpU3L1Ax0yx1Xiq/j nKBQdKh05g5KCK1ab8kPRVkWj44K0B6Gz6KhQwbzZ+CHAbAmg82diLhDspBdlmXcwUk8 5c+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ke0Xfmlx; dkim=pass header.i=@codeaurora.org header.s=default header.b=GkUfkY2f; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23si11048060pgh.298.2019.07.26.07.09.39; Fri, 26 Jul 2019 07:09:55 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=ke0Xfmlx; dkim=pass header.i=@codeaurora.org header.s=default header.b=GkUfkY2f; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727119AbfGZOG0 (ORCPT + 99 others); Fri, 26 Jul 2019 10:06:26 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:56078 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbfGZOG0 (ORCPT ); Fri, 26 Jul 2019 10:06:26 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7CB5161A6F; Fri, 26 Jul 2019 14:06:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1564149984; bh=19BZEf1DFED5lHi5DYyxFy5UVVSdaZ88gNljF/twtns=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ke0XfmlxCihDXuZM5FceJudxO2ODzlQnUQD4guZlwIGHCz1Cl3HjSM/OrRUyer5he f+7IZDmFnBeX7XYcth0scRM3Y36VUoeJtGVN0mTHvAWbNnYpE79GViAgIJE8A4LIcB Rpe2bLODLD1/vTUGZgBK0yRCV72s9OQi+4Niklx8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 2766561A5A; Fri, 26 Jul 2019 14:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1564149982; bh=19BZEf1DFED5lHi5DYyxFy5UVVSdaZ88gNljF/twtns=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GkUfkY2frMBlQ751zK9RvVQICbQ8HUUJh9TgjIa3+6PzIcc+1BNg7tMKysEJqYA6v PfkL71obdjaSBfbrdUcjR+gEu7Wc+WW+j5KhzBlBg7EQXHu0S20YlnurU8iYbncEQA tOsBblpsJMX4QsjhDap7ibloZsAY1BAaUXUOQyrg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 26 Jul 2019 19:36:21 +0530 From: Karthikeyan Periyasamy To: Johannes Berg Cc: linux-wireless@vger.kernel.org Subject: Re: [PATCH] mac80211: reject zero MAC address in add station In-Reply-To: <0cc7d0c578b60730e77ecd03e2df240dd1b393a0.camel@sipsolutions.net> References: <1563959770-21570-1-git-send-email-periyasa@codeaurora.org> <0cc7d0c578b60730e77ecd03e2df240dd1b393a0.camel@sipsolutions.net> Message-ID: X-Sender: periyasa@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org >> Don't allow using a zero MAC address as the station >> MAC address. so validated the MAC address using >> is_valid_ether_addr. > > Theoretically, all zeroes might have been a valid address at some > point. > I see no reason not to reject it, but I'd like to know why you ended up > with this now?? > Its a Wireless fuzz testing tool (codenomicon) which sends out different types of frames to the AP. It actually tampers legitimate wireless frames (Probe, Auth, Assoc, Data etc..) and will send to the AP. I thought allowing a zero MAC address station is not a valid. so validated the given MAC address. Just for curious, which case all zero address is a valid MAC. Thanks, Karthikeyan