mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 03:19:31 +00:00
This update allows the parsing and handling of user-defined port numbers
in the `advertise` field or explicitly in the `server` configuration for
SBI. Users can now specify non-default ports for both binding and
advertising while maintaining compatibility with existing configurations.
The feature includes logic to handle FQDNs with embedded port numbers
(e.g., `example.com:8080`) and ensures proper memory management during
parsing. Updated the client association logic to utilize custom ports
when specified.
Examples:
- Bind to the address on the eth0 and advertise as open5gs-amf.svc.local
```
sbi:
server:
- dev:eth0
advertise: open5gs-amf.svc.local
```
- Specify a custom port number 7777 while binding to the given address
```
sbi:
server:
- address: amf.localdomain
port: 7777
```
- Bind to 127.0.0.5 and advertise as open5gs-amf.svc.local
```
sbi:
server:
- address: 127.0.0.5
port: 7777
advertise: open5gs-amf.svc.local
```
- Bind to port 7777 but advertise with a different port number 8888
```
sbi:
server:
- address: 127.0.0.5
port: 7777
advertise: open5gs-amf.svc.local:8888
```
|
||
|---|---|---|
| .. | ||
| examples | ||
| freeDiameter | ||
| logrotate | ||
| newsyslog | ||
| open5gs | ||
| systemd | ||
| 310014.yaml.in | ||
| csfb.yaml.in | ||
| meson.build | ||
| non3gpp.yaml.in | ||
| sample.yaml.in | ||
| slice.yaml.in | ||
| srsenb.yaml.in | ||
| transfer.yaml.in | ||
| volte.yaml.in | ||
| vonr.yaml.in | ||