[srslte-users] Plain UL NAS: Authentication Failure

Andre Puschmann andre.puschmann at softwareradiosystems.com
Wed Jun 6 09:56:09 UTC 2018


Hey,

this is a bug in the current release that is fixed in 18.06 already,
which will be available shortly. For the moment, you can add it manually
if you wish.

diff --git a/srsue/src/upper/nas.cc b/srsue/src/upper/nas.cc
index 4df7d5c31..8bc8e5d12 100644
--- a/srsue/src/upper/nas.cc
+++ b/srsue/src/upper/nas.cc
@@ -732,6 +732,8 @@ void nas::parse_authentication_request(uint32_t
lcid, byte_buffer_t *pdu) {
   // Deallocate PDU after parsing
   pool->deallocate(pdu);

+  ctxt.rx_count++;
+
   // Generate authentication response using RAND, AUTN & KSI-ASME
   uint16 mcc, mnc;
   mcc = rrc->get_mcc();


Cheers
Andre


On 06/06/18 11:51, putaogan wrote:
> Dear all,
> Yesterday i succeeded in connecting my phone to srsepc and have access
> to internet.
> But today i try again and find something wrong.
> I can find something in srsepc as follows:
> /Received Attach Request /
> /Attach Request -- IMSI-style attach request/
> /Attach Request -- UE is already attached.Attach request -- IMSI:
> 001010123456789/
> /Attach request -- eNB-UE S1AP Id: 2, MME-UE S1AP Id: 2/
> /Attach request -- Attach type: 2/
> /Attach Request -- UE Network Capabilities EEA: 11110000/
> /Attach Request -- UE Network Capabilities EIA: 01110000/
> /Attach Request -- MS Network Capabilities Present: true/
> /PDN Connectivity Request -- EPS Bearer Identity requested: 0/
> /PDN Connectivity Request -- Procedure Transaction Id: 16/
> /PDN Connectivity Request -- ESM Information Transfer requested: true/
> /Downlink NAS: Sending Authentication Request/
> /Plain UL NAS: Authentication Failure/
> /Sequence number synch failure/
> /Downlink NAS: Sent Authentication Request/
> /DL NAS: Sent Downlink NAS Message. DL NAS Count=0, UL NAS count=1/
> /DL NAS: MME UE S1AP id 2/
> /Plain UL NAS: Authentication Failure/
> /Sequence number synch failure/
> /Downlink NAS: Sent Authentication Request/
> /DL NAS: Sent Downlink NAS Message. DL NAS Count=0, UL NAS count=2/
> /DL NAS: MME UE S1AP id 2/
> /Received UE Context Release Request. MME-UE S1AP Id 2/
> /UE is not ECM connected. No need to release S1-U. MME UE S1AP Id 2/
> /UE is ECM IDLE./
> The epc.log is in the attachment.
> If angone knows the reason about this,please let me know.
> 
> Thanks.
> Dongxu
> 
> 
> /
> /
> /
> /
> 
> 
> 
> 
> 
>  
> 
> 
> 
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
> 




More information about the srsran-users mailing list