|
|
|
@ -284,7 +284,7 @@ s1ap_nas_transport::handle_uplink_nas_transport(LIBLTE_S1AP_MESSAGE_UPLINKNASTRA
|
|
|
|
|
}
|
|
|
|
|
else if(sec_hdr_type == LIBLTE_MME_SECURITY_HDR_TYPE_INTEGRITY || sec_hdr_type == LIBLTE_MME_SECURITY_HDR_TYPE_INTEGRITY_AND_CIPHERED)
|
|
|
|
|
{
|
|
|
|
|
//Integrity protected NAS message, possibly chiphered.
|
|
|
|
|
//Integrity protected NAS message, possibly ciphered.
|
|
|
|
|
emm_ctx->security_ctxt.ul_nas_count++;
|
|
|
|
|
mac_valid = integrity_check(emm_ctx,nas_msg);
|
|
|
|
|
if(!mac_valid){
|
|
|
|
@ -1145,8 +1145,8 @@ s1ap_nas_transport::handle_esm_information_response(srslte::byte_buffer_t *nas_m
|
|
|
|
|
m_s1ap_log->info("ESM Info: EPS bearer id %d\n",esm_info_resp.eps_bearer_id);
|
|
|
|
|
if(esm_info_resp.apn_present)
|
|
|
|
|
{
|
|
|
|
|
m_s1ap_log->info("ESM Info: APN %d\n",esm_info_resp.eps_bearer_id);
|
|
|
|
|
m_s1ap_log->console("ESM Info: APN %d\n",esm_info_resp.eps_bearer_id);
|
|
|
|
|
m_s1ap_log->info("ESM Info: APN %s\n",esm_info_resp.apn.apn.c_str());
|
|
|
|
|
m_s1ap_log->console("ESM Info: APN %s\n",esm_info_resp.apn.apn.c_str());
|
|
|
|
|
}
|
|
|
|
|
if(esm_info_resp.protocol_cnfg_opts_present)
|
|
|
|
|
{
|
|
|
|
@ -1686,7 +1686,7 @@ s1ap_nas_transport::pack_esm_information_request(srslte::byte_buffer_t *reply_ms
|
|
|
|
|
esm_info_req.eps_bearer_id = 0;
|
|
|
|
|
esm_info_req.proc_transaction_id = ue_emm_ctx->procedure_transaction_id;
|
|
|
|
|
|
|
|
|
|
uint8_t sec_hdr_type=2;
|
|
|
|
|
uint8_t sec_hdr_type = LIBLTE_MME_SECURITY_HDR_TYPE_INTEGRITY_AND_CIPHERED;
|
|
|
|
|
|
|
|
|
|
ue_emm_ctx->security_ctxt.dl_nas_count++;
|
|
|
|
|
|
|
|
|
|