goodies/simcards.dat
from Radiator SIM
Pack directory into the testing directory.*.cfg
) into the
testing directory.radiusd
processes in the following
order:
radiusd
processes, execute
the following commands in the testing directory: radiusd -dictionary /etc/radiator/dictionary -log_stdout -foreground -trace 4 -config 3gpp-aaa-server.cfg radiusd -dictionary /etc/radiator/dictionary -log_stdout -foreground -trace 4 -config server-hss.cfg radiusd -dictionary /etc/radiator/dictionary -log_stdout -foreground -trace 4 -config server-s6b.cfg radiusd -dictionary /etc/radiator/dictionary -log_stdout -foreground -trace 4 -config server-swm.cfg
radiusd -dictionary /etc/radiator/dictionary -log_stdout -foreground -trace 4 -config radius-eap-convert.cfg
eapol_test
eapol_test
is a part of wpa_supplicant
suite . It is a tool for testing Radiator EAP-SIM (Extensible Authentication Protocol - Subscriber
Identity Module), EAP-AKA, and
EAP-AKA' (Extensible Authentication Protocol -
Authentication and Key Agreement Prime) protocols. You can configure it
to act as a supplicant to generate RADIUS requests which are sent directly
to the RADIUS server. With eapol_test
, you can test the
system without the hardware client, supplicant, and wireless access
point.eapol_test
configuration
.config
file is in directory
wpa_supplicant/
. After creating or updating it,
always rerun make eapol_test
because the eapol_test
target is not a part of the
default make
target.password="Ki:OPc:SQN"
in eapol_test
.config
file.echo CONFIG_EAP_AKA=y >> .config echo CONFIG_EAP_AKA_PRIME=y >> .config echo CONFIG_USIM_SIMULATOR=y >> .config make eapol_test
aka-simulator.conf
, located in Radiator
SIM Pack's /goodies
directory, and check that
identity is
0232010000000000@nai.epc.mnc001.mcc232.3gppnetwork.org
.eapol_test
to make sure the authentication
works correctly. This sends a RADIUS EAP-AKA request to a Radiator
radiusd instance started with
radius-eap-convert.cfg
. The request is converted
to a DER (Diameter EAP Request) and sent over SWm.-session_id
from a previous DER. To do this, execute the following command in the
Radiator SIM Pack directory:
perl goodies/diapwtst-3gpp -trace 4 -swm aar -originhost epdg3.epc.mnc001.mcc232.3gppnetwork.org -originrealm epc.mnc001.mcc232.3gppnetwork.org -user 232010000000000@nai.epc.mnc001.mcc232.3gppnetwork.org -session_id 'epdg.epc.mnc001.mcc232.3gppnetwork.org;1450276781;831118;0'
epdg3.epc.mnc001.mcc232.3gppnetwork.org
because
epdg.epc.mnc001.mcc232.3gppnetwork.org
already
has a session with Radiator 3GPP AAA Server.-session_id
. To do this, execute the
following command in the Radiator SIM Pack directory:
perl goodies/diapwtst-3gpp -trace 4 -swm str -originhost epdg3.epc.mnc001.mcc232.3gppnetwork.org -originrealm epc.mnc001.mcc232.3gppnetwork.org -user 232010000000000@nai.epc.mnc001.mcc232.3gppnetwork.org Termination-Cause=DIAMETER_LOGOUT -session_id 'epdg.epc.mnc001.mcc232.3gppnetwork.org;1450276781;831118;0'
perl goodies/diapwtst-3gpp -trace 4 -s6b aar -originhost pgw.epc.mnc001.mcc232.3gppnetwork.org -originrealm epc.mnc001.mcc232.3gppnetwork.org -user 232010000000000@nai.epc.mnc001.mcc232.3gppnetwork.org
-session_id
. To do this, execute the following
command in the Radiator SIM Pack directory:
perl goodies/diapwtst-3gpp -trace 4 -s6b str -originhost pgw.epc.mnc001.mcc232.3gppnetwork.org -originrealm epc.mnc001.mcc232.3gppnetwork.org -user 232010000000000@nai.epc.mnc001.mcc232.3gppnetwork.org Termination-Cause=DIAMETER_LOGOUT -session_id 'pgw.epc.mnc001.mcc232.3gppnetwork.org;1234;1'
perl goodies/diapwtst-3gpp -trace 4 -originhost hss2.aaa.mnc001.mcc232.3gppnetwork.org -originrealm aaa.mnc001.mcc232.3gppnetwork.org -desthost radiator-3gpp.aaa.mnc001.mcc232.3gppnetwork.org -swx rtr -user 232010000000000
perl goodies/diapwtst-3gpp -trace 4 -originhost hss2.aaa.mnc001.mcc232.3gppnetwork.org -originrealm aaa.mnc001.mcc232.3gppnetwork.org -desthost radiator-3gpp.aaa.mnc001.mcc232.3gppnetwork.org -swx ppr -user 232010000000000
PPR-Flags=1
to the command to send
PPR-Flags
parameter with the desired
value.Origin-Host
hss.aaa.mnc001.mcc232.3gppnetwork.org
is used,
3gpp-aaa-server.cfg
instance must be restarted after
RTR or other request over
SWx.