OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Damien Bergamini (damiencvs.openbsd.org)
Date: Sat Aug 02 2008 - 03:20:16 CDT


CVSROOT: /cvs
Module name: src
Changes by: damiencvs.openbsd.org 2008/08/02 02:20:16

Modified files:
        sys/net80211 : ieee80211_input.c ieee80211_node.c
                         ieee80211_node.h ieee80211_output.c
                         ieee80211_pae_input.c

Log message:
Drop frames that are received unencrypted when WEP is on or when
WPA is on and RX protection for TA is on.
Keep track of the TX/RX protection for each node when WPA is on.

tested by djm (ral+wpa), ckuethe (ath-noenc) and krw (wpi<->ral+wpa).
hints from bluhm
has been in snaps for a few days.

pointed out by bluhm something like 1 year ago but we did not have
the right infrastructure to fix it properly at that time.

ok deraadt