mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
tests: RADIUS Class attribute
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
18b92c6cfe
commit
4056b0c747
@ -18,8 +18,12 @@ radius_accept_attr=64:d:13
|
|||||||
radius_accept_attr=65:d:6
|
radius_accept_attr=65:d:6
|
||||||
radius_accept_attr=81:s:2
|
radius_accept_attr=81:s:2
|
||||||
|
|
||||||
|
"test-class" PAX 0123456789abcdef0123456789abcdef
|
||||||
|
radius_accept_attr=25:x:00112233445566778899
|
||||||
|
|
||||||
"gpsk-cui" GPSK "abcdefghijklmnop0123456789abcdef"
|
"gpsk-cui" GPSK "abcdefghijklmnop0123456789abcdef"
|
||||||
radius_accept_attr=89:s:gpsk-chargeable-user-identity
|
radius_accept_attr=89:s:gpsk-chargeable-user-identity
|
||||||
|
radius_accept_attr=25:x:00112233445566778899aa
|
||||||
|
|
||||||
"0"* AKA
|
"0"* AKA
|
||||||
"1"* SIM
|
"1"* SIM
|
||||||
|
@ -68,6 +68,9 @@ def test_radius_acct(dev, apdev):
|
|||||||
hostapd.add_ap(apdev[0]['ifname'], params)
|
hostapd.add_ap(apdev[0]['ifname'], params)
|
||||||
hapd = hostapd.Hostapd(apdev[0]['ifname'])
|
hapd = hostapd.Hostapd(apdev[0]['ifname'])
|
||||||
connect(dev[0], "radius-acct")
|
connect(dev[0], "radius-acct")
|
||||||
|
dev[1].connect("radius-acct", key_mgmt="WPA-EAP", scan_freq="2412",
|
||||||
|
eap="PAX", identity="test-class",
|
||||||
|
password_hex="0123456789abcdef0123456789abcdef")
|
||||||
logger.info("Checking for RADIUS counters")
|
logger.info("Checking for RADIUS counters")
|
||||||
count = 0
|
count = 0
|
||||||
while True:
|
while True:
|
||||||
|
Loading…
Reference in New Issue
Block a user