-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(amf): Added Security Indication IE #15312
base: master
Are you sure you want to change the base?
Conversation
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
Bazel unit-test results --config=production 1 files ± 0 86 suites - 43 3m 22s ⏱️ -3s Results for commit ad55f8e. ± Comparison against base commit 81e4e77. This pull request removes 193 tests.
|
Bazel unit-test results 1 files ± 0 86 suites - 146 3m 9s ⏱️ -17s Results for commit ad55f8e. ± Comparison against base commit 81e4e77. This pull request removes 314 tests.
|
ad55f8e
to
27eb623
Compare
@@ -1135,6 +1135,31 @@ int ngap_fill_pdu_session_resource_setup_request_transfer( | |||
qos_flow_add_or_modify_request_list_t* qos_list = | |||
&session_transfer->qos_flow_add_or_mod_request_list; | |||
|
|||
/*Security Indication*/ | |||
transfer_request_ie = | |||
(Ngap_PDUSessionResourceSetupRequestTransferIEs_t*)calloc( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<Ngap_PDUSessionResourceSetupRequestTransferIEs_t*>(...) instead [readability/casting] [4]
Ngap_ConfidentialityProtectionIndication_preferred; | ||
Ngap_MaximumIntegrityProtectedDataRate_t* | ||
Ngap_MaximumIntegrityProtectedDataRate = | ||
(Ngap_MaximumIntegrityProtectedDataRate_t*)calloc( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<Ngap_MaximumIntegrityProtectedDataRate_t*>(...) instead [readability/casting] [4]
Can you explain this more? |
Changes looks good. |
Hi @lucasgonze, this is a fix for issue: #15260 From pcap comparison between the working pcap and magma pcap, we observed that security indication IE is missing, which can be a probable cause for the issue. Side note: Service request flow is successful when tested with UERANSIM. |
Signed-off-by: shashidhar-patil <shashidhar.patil@wavelabs.ai>
27eb623
to
afd4b58
Compare
@shashidhar-patil If you get get the tests to pass, it would be good to get this into 1.9. |
Summary
Issue: MME rejected gNB registration
Observations from Pcap comparison:
Implemented security indication IE.
Test Plan
Tested with UERANSIM for service request scenario.
Attached Pcap and Logs: logs.zip
Additional Information
Security Considerations