UERANSIM icon indicating copy to clipboard operation
UERANSIM copied to clipboard

EapAttributes get functions looking for 'Actual Network Name Length' in reserved bytes

Open intrstlr opened this issue 3 years ago • 0 comments

Hello, I have a setup with EURANSIM+free5GC, I am trying to registration with EAP_AKA_PRIME authentication. UERANSIM keeps rejecting the incoming EAP message with response code 95 (Semantically incorrect message). The auth.cpp code (NasMm::receiveAuthenticationRequestEap) rejects the message after length-check on RAND, MAC and AUTN. On some debugging I noticed that the corresponding 'get' functions for RAN, MAC and AUTN are expecting actual length specified in the two bytes following the 'length' field. But these bytes are marked as 'reserved' RFC4187.

What am I missing?

intrstlr avatar Nov 10 '22 22:11 intrstlr