[PATCH 0/2] reject non-802.1x stations without VLAN

Michael Braun michael-dev
Tue Apr 14 07:56:36 PDT 2015


Hi,

when running a BSS mit WPA-PSK and macaddr_acl=radius and dynamic_vlan=required,
hostapd accepts stations even if the RADIUS server reply did not contain a
valid VLAN-ID.

The patches fixes this and adds a hwsim test case.

Regards,
 M. Braun

Michael Braun (2):
  test: verify check dynamic_vlan=required is honored with
    macaddr_acl=radius
  vlan: verify radius returned VLAN-ID if dynamic_vlan = required in
    macaddr_acl

 src/ap/ieee802_11_auth.c      | 13 +++++++
 tests/hwsim/dictionary.radius |  3 ++
 tests/hwsim/test_radius.py    | 88 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 104 insertions(+)

-- 
1.9.1




More information about the Hostap mailing list