mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-03 13:33:26 +00:00
5b0a0bf6cf98c08d82421f63c51a7ccaefe9bf32
As per 3GPP TS 23.401 Annex D.3.6 step 6, "Security functions may be executed" during TAU (UE cell reselection 2g->4g). The idea is that the 4G network should check the integrity of the TAU, and only if iexisting and valid then accept it right away. Otherwise, an authorization procedure is started. Until now, during 2g->4g TAU we were retrieving and acking the PDP Context received from the SGSN and creating the session against the SGW right away. Tests done so far with real phones ended up in unsuccesful results when tring to reuse the 4g context derived from 2g, due to yet unknown reasons. Hence, with this patch we simply force for now the re-auth and recreation of security context before completing the TAU. This showed good results during testing with real phones. The security context is recreated through: * S6a 3gpp-Authentication-Info towards HSS * S1AP/NAS Authentication Request+Response towards UE * SecurityModeCommand towards UE. This patch is the first step towards delaying SGSN Context Ack after the whole authentication is done against the UE. Patches are splitted for ease of review. This patch is only delaying session setup after the S6a procedure. Follow-up patch will delay it further.
Getting Started
Please follow the documentation at open5gs.org!
Sponsors
If you find Open5GS useful for work, please consider supporting this Open Source project by Becoming a sponsor. To manage the funding transactions transparently, you can donate through OpenCollective.
Special Sponsor
Community
- Problem with Open5GS can be filed as issues in this repository.
- Other topics related to this project are happening on the discussions.
- Voice and text chat are available in Open5GS's Discord workspace. Use this link to get started.
Contributing
If you're contributing through a pull request to Open5GS project on GitHub, please read the Contributor License Agreement in advance.
License
- Open5GS Open Source files are made available under the terms of the GNU Affero General Public License (GNU AGPL v3.0).
- Commercial licenses are also available from NewPlane at sales@newplane.io.
Support
Technical support and customized services for Open5GS are provided by NewPlane at support@newplane.io.
Languages
C
97.6%
Mustache
0.9%
JavaScript
0.5%
Meson
0.5%
Python
0.3%
Other
0.2%
