From: Jouni Malinen <j@w1.fi>
To: Christian Lamparter <chunkeey@googlemail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
Saqeb Akhter <saqeb.akhter@gmail.com>,
linux-wireless@vger.kernel.org, linville@tuxdriver.com
Subject: Re: [PATCH for-2.6.37 v2] mac80211: ignore non-bcast mcast deauth/disassoc franes
Date: Sat, 4 Dec 2010 13:38:54 -0800 [thread overview]
Message-ID: <20101204213854.GA10286@jm.kir.nu> (raw)
In-Reply-To: <201011292053.24717.chunkeey@googlemail.com>
On Mon, Nov 29, 2010 at 08:53:23PM +0100, Christian Lamparter wrote:
> This patch fixes an curious issue due to insufficient
> rx frame filtering.
Well.. In theory, there is nothing saying that Deauthentication /
Disassociation frames could not be used with multicast addresses.. Not
that I would expect anyone to really use this option ever.
> [ 2352.453804] Ignore 0d:1f:31:f8:64:ff
> [ 2352.453808] Ignore 0d:1f:31:f8:64:ff
> ^^ the group-address flag is set!
> (the correct SA/TA would be: 00:1f:31:f8:64:ff)
>
> Since the AP does not know from where the frames come, it
> generates a DEAUTH response for the (invalid) mcast address.
> This mcast deauth frame then passes through all filters and
> tricks the stack into thinking that the AP brutally kicked
> us!
This is an interesting frame for from the AP view point, too.. I don't
remember whether there is any explicit statement about the SA being
individual address, but it would sounds reasonable to avoid sending out
Deauth/Disassoc frames based on this type of bogus addresses if the
result would go out as a multicast frame.
> This patch fixes the problem by simply ignoring
> non-broadcast, group-addressed deauth/disassoc frames.
While this is not strictly speaking correct (i.e., we would need to
check whether we are part of the multicast group group), this sounds
like a reasonable thing to do in case of Deauthentication and
Disassociation frames. I don't really see any reasonable use cases for
non-broadcast multicast with them. Action frames may actually get such
use, so the v2 is a good update.
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2010-12-04 21:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTimN3X_e4fZhUSoTs-GmQ9kmaJUrgnxAu8=W2dT_@mail.gmail.com>
2010-10-01 14:22 ` carl9170: wnda3100 only 54MB/s Saqeb Akhter
2010-10-01 14:36 ` Christian Lamparter
[not found] ` <AANLkTimZYgDLLag+uGgdojrckZ5tgySC+UeyHCfee74J@mail.gmail.com>
2010-10-01 22:34 ` Saqeb Akhter
2010-10-01 22:52 ` Christian Lamparter
2010-10-01 23:56 ` Saqeb Akhter
2010-10-02 0:26 ` Christian Lamparter
2010-10-02 2:32 ` Saqeb Akhter
2010-10-02 2:52 ` Christian Lamparter
2010-10-02 2:56 ` Saqeb Akhter
2010-10-02 3:19 ` Christian Lamparter
2010-10-02 3:28 ` Saqeb Akhter
2010-10-02 6:18 ` Saqeb Akhter
2010-10-02 11:32 ` Christian Lamparter
2010-10-02 16:40 ` Saqeb Akhter
2010-11-29 17:14 ` [RFC] mac80211: filter multicast rx (was: Re: carl9170: wnda3100 only 54MB/s) Christian Lamparter
2010-11-29 18:37 ` [PATCH for-2.6.37?] mac80211: ignore non-bcast mcast managment frames Christian Lamparter
2010-11-29 18:45 ` Johannes Berg
2010-11-29 19:53 ` [PATCH for-2.6.37 v2] mac80211: ignore non-bcast mcast deauth/disassoc franes Christian Lamparter
2010-12-04 21:38 ` Jouni Malinen [this message]
2010-10-04 17:58 ` carl9170: wnda3100 only 54MB/s Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101204213854.GA10286@jm.kir.nu \
--to=j@w1.fi \
--cc=chunkeey@googlemail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=saqeb.akhter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).