mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-03 05:23:38 +00:00
cb2359dca059ceecf8a03d7c1500d268b4666dbf
This commit introduces robust validation for the F-TEID information element in the PFCP message handling. Previously, malformed F-TEID values (such as a zero length, zero TEID, or a TEID exceeding the pool size) could lead to an assertion failure and crash the UPF. The changes ensure that: - The F-TEID length is greater than zero, confirming the IE is present. - The TEID is a non-zero value, as a valid TEID must be positive. - The TEID does not exceed the allowed pool size (max_ue * 4 * 16). If any of these conditions are not met, an error is logged with the F-TEID length and TEID value, and the function returns an error code (OGS_PFCP_CAUSE_MANDATORY_IE_INCORRECT), preventing further processing of the malformed message.
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%
