EAP SIM Server
EAP-SIM configuration in v4 is handled through the eap-aka-sim
virtual server (see sites-available/eap-aka-sim). The server
calls sections of this virtual server at each stage of the EAP-SIM
exchange.
To supply GSM triplets retrieved from an Authentication Centre (AuC),
set the following control attributes inside the send
Challenge-Request section. EAP-SIM requires three triplets, so each
attribute must be provided three times:
| Attribute | Size | Description |
|---|---|---|
|
16 bytes |
Random challenge sent to the SIM. |
|
4 bytes |
Signing response from the AuC. |
|
8 bytes |
Session key derived by the AuC. |
To generate triplets locally using the Milenage algorithm, set these
control attributes instead:
| Attribute | Size | Description |
|---|---|---|
|
16 bytes |
Subscriber key shared between the AuC and SIM. |
|
6 bytes |
Sequence number for replay protection. |
|
16 bytes |
Derived operator variant (preferred over |
|
16 bytes |
Operator variant field (used to derive |