[PATCHv2 0/3] Fix unencrypted broadcast frames with VLANs

Michael Braun michael-dev
Mon Oct 5 07:14:24 PDT 2015


Hi,

currently, WPA group key setup is done when the first station is assigned to a VLAN interface.
This works well in case of dynamic vlans, but not when using WPA with static vlan interfaces, as there can be packets on the interface even before the first station connects.

This series adds a test case and fix for this.

Regards,
M. Braun

v2: Rebase onto current git HEAD.

Michael Braun (3):
  tests: verify group encryption is set up for vlans early
  wpa: fix init of group state machine for static vlans
  Remove WEP support from VLAN

 src/ap/sta_info.c           |  70 ++++++++++----------------
 src/ap/vlan_init.c          | 118 +++++++++++++++++++++++++++-----------------
 src/ap/vlan_init.h          |   8 ---
 src/ap/wpa_auth.c           |  89 +++++++++++++++++++++++++++++++++
 src/ap/wpa_auth.h           |   2 +
 src/ap/wpa_auth_glue.c      |   9 ++++
 src/ap/wpa_auth_glue.h      |   2 +
 src/ap/wpa_auth_i.h         |   1 +
 tests/hwsim/test_ap_vlan.py |  83 +++++++++++++++++++++++++++++++
 9 files changed, 284 insertions(+), 98 deletions(-)

-- 
2.1.4




More information about the Hostap mailing list