mirror of
https://github.com/open5gs/open5gs.git
synced 2025-10-23 07:41:57 +00:00
Added support for binding to local IP addresses in ogs_sctp_client and ogs_sctp_server, and correct SGsAP configuration Implemented the ability to bind to one or multiple local IP addresses using `sctp_bindx()` in both the `ogs_sctp_client()` and `ogs_sctp_server()` APIs. Users can now specify local addresses in the configuration files under the new `local_addresses` field, reducing unnecessary complexity and signaling caused by binding to `ANY_ADDR`. This update addresses issue https://osmocom.org/issues/6509 by ensuring correct operation in multi-interface and complex networking setups. Additionally, corrected the `sgsap` configuration by changing it from `server` to `client`, and added support for specifying `local_addresses` for local binding as follows: ``` sgsap: client: - address: msc.open5gs.org # SCTP server address configured on the MSC/VL local_address: 127.0.0.2 # SCTP local IP addresses to be bound in the M ```