tests: RADIUS MAC ACL
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8943cc998a
commit
19d64886ef
2 changed files with 10 additions and 0 deletions
|
@ -25,6 +25,8 @@ radius_accept_attr=25:x:00112233445566778899
|
|||
radius_accept_attr=89:s:gpsk-chargeable-user-identity
|
||||
radius_accept_attr=25:x:00112233445566778899aa
|
||||
|
||||
"020000000000" MACACL "020000000000"
|
||||
|
||||
"0"* AKA
|
||||
"1"* SIM
|
||||
"2"* AKA
|
||||
|
|
|
@ -476,3 +476,11 @@ def test_radius_ipv6(dev, apdev):
|
|||
params['own_ip_addr'] = "::0"
|
||||
hostapd.add_ap(apdev[0]['ifname'], params)
|
||||
connect(dev[0], "radius-ipv6")
|
||||
|
||||
def test_radius_macacl(dev, apdev):
|
||||
"""RADIUS MAC ACL"""
|
||||
params = hostapd.radius_params()
|
||||
params["ssid"] = "radius"
|
||||
params["macaddr_acl"] = "2"
|
||||
hostapd.add_ap(apdev[0]['ifname'], params)
|
||||
dev[0].connect("radius", key_mgmt="NONE", scan_freq="2412")
|
||||
|
|
Loading…
Reference in a new issue