Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3373411ybn; Fri, 27 Sep 2019 05:31:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3IhZMrQ+EtyiUC/UkfOMXmJcI4jXmJMaOnHsPyTtUj709WFWui/7wgpVDuUbubGbdbOUK X-Received: by 2002:a17:906:c7d4:: with SMTP id dc20mr7527792ejb.235.1569587479047; Fri, 27 Sep 2019 05:31:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569587479; cv=none; d=google.com; s=arc-20160816; b=NYYrNB+8DwZmJabRfP5YA42PG5vuonca4Hl5JJ3hE7InNIuPhBdVTnBYq2aBoHQarz UVIklo5a0p6leAHr7dx5jjajciPhmksoT4B25KlWwjWPmmYVH/RrBwlaWinJejy6RY6s FXyq24q+tUNdMFOud8m1NNDfy+PQNN/Qd2fMSjwQp7ITVhTkgnz4e216E8Xlf++ZhD6o /gRnOv5dKqbJ8Q96ryfvATWoYd8e5IG9zK3NJ8NNDFwlFOeVqSCNS4A5yDYxyVH9CYcE 6nORB6LpPXT66JpArTudcQ/dqqrIIKEx4phPVh7IxUhjWZUQpC+wjwFpqk8Ttz4Ls339 iomA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zT+XJ8rgbvvgqu15vgJ1VYmsyRkxzmWrc4dnnHHU3yA=; b=QAO6QYmWCVfZDD3/47H1LMGVxeVyUptlOJFLIhL20xrAyIFjX/M81O8kutujlig3FB mNuyHfbO7JJcEdoZlHNQksXiyJ6qVYPu/oSwpFnCp4W/ICZjCD8Ey7qkNO0BUSiSjW5F 834UYOptZ2wGv15bFTpY7QypOQsMsVE92Bj8ZVUM3liGnaaZVJKKJgeZ23kH5tk79oIG p0753zrslluHISgWwp1vZubjhhe+ZN9y/eULKL5NUBnC2DI1IlMLRcOz+mEOuuBjQk2l Kw+1z/OeC6QBWr+WonhPnaYV1KQBoiV1ene/qqmFIBsQ/oYzSx/On9UzZ8MaUhzFRmXW mBpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AtlepkPs; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f31si1528955ede.253.2019.09.27.05.30.47; Fri, 27 Sep 2019 05:31:19 -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=@gmail.com header.s=20161025 header.b=AtlepkPs; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727343AbfI0Maf (ORCPT + 99 others); Fri, 27 Sep 2019 08:30:35 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:37453 "EHLO mail-lf1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727085AbfI0Maf (ORCPT ); Fri, 27 Sep 2019 08:30:35 -0400 Received: by mail-lf1-f51.google.com with SMTP id w67so1788176lff.4 for ; Fri, 27 Sep 2019 05:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zT+XJ8rgbvvgqu15vgJ1VYmsyRkxzmWrc4dnnHHU3yA=; b=AtlepkPsysu2pUUMVS1Q3NqsT7PE7X7hGG6XW/yT0Ad7VlkuzCZG7EV6kqlBSfHi5C D5dHO85XNeT7suWZsD0QGwOC/Eh/1O7SnlfMqrBavTdYxJCWI1m2w/3cyL9SdlQHZ2r8 PTE7GoB9VLre9BuZemraPAVogVZUZWO2vfqq5bAB8Jd78sHFZoukn97Zr3DYxL4RMXKM +NnQ8DTzB7l1IBB9lg/uWosV3Xzz8m+xYGS8BKB785/RcRRcWw+XdRlpALeK5y1g0qRA +qGUk+hu5QkAE5b5Y4YvrfDszjKGdOhvFZ+b6yQRsA0yZISGdERfAEkeMeRhr77WoIXk /hfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zT+XJ8rgbvvgqu15vgJ1VYmsyRkxzmWrc4dnnHHU3yA=; b=cz5IU8/jhabzaGZePnpiebw3VZ5Re2tn0t8GsgxESDgrJfHtGmj6pwH0u5O1ACTpX6 m5JI835Exa1E0jkO/Gs05A5do7lFwn6KV9OpbJGHgUfG4zLQjdXFvydDSYWFCBTchHB5 m0V0PVZhXr0WDyYZEKvUIChrf8ASgg+ZQPTle7SV6EfEnv2EaYiUknOIwkOQhhbzFcgb bwN5DTB7BUyCt9zasuFt1vfVFbyne7koGCaB8WUjejJlFJZJmDvlEOHX9toqkpYAX/gB BzdqIjYgVonqtDdw1uOfXDoAvWX4FYXI+P4f/7lhXfonGE/eQPrvDKNX2bP8d9Q26D3P YcTw== X-Gm-Message-State: APjAAAUdtp+p6wvRnrxgcnu+KvKIN6r1vika6B4dEEKRWOtFgmYkAQXG g+0xqfZIleAOV+CcL+obw3WZ5n/kAkoU5HyvsCE= X-Received: by 2002:a19:7715:: with SMTP id s21mr2567405lfc.98.1569587433069; Fri, 27 Sep 2019 05:30:33 -0700 (PDT) MIME-Version: 1.0 References: <49ded6ae8a23c29168ab7061235292ac7a853e0f.camel@sipsolutions.net> In-Reply-To: <49ded6ae8a23c29168ab7061235292ac7a853e0f.camel@sipsolutions.net> From: Ramon Fontes Date: Fri, 27 Sep 2019 09:30:21 -0300 Message-ID: Subject: Re: mac80211_hwsim: packets being transmitted through the monitor interface To: Johannes Berg Cc: linux-wireless@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Yes, I agree that they are different things, but I can also see the packets through the monitor interface created via iw. Is this expected too? On Fri, Sep 27, 2019 at 9:16 AM Johannes Berg wrote: > > On Thu, 2019-09-26 at 22:54 -0300, Ramon Fontes wrote: > > Hello, > > > > I've noticed that packets transmitted between two clients connected to > > a hostapd AP are also transmitted (injected) through the monitor > > interface. Is this expected behavior? > > You mean on 'hwsim0'? That interface is just for monitoring what's > happening on the 'virtual air', so yes. > > > I can easily modify such > > behavior by changing mac80211_hwsim, but it works only with hwsim0. On > > the other hand, if I create a monitor interface via iw it doesn't > > work. > > The two are completely different/unrelated things. > > johannes >