mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 13:03:31 +00:00
Compare commits
46 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4018833b3a | ||
|
|
8bc584ce80 | ||
|
|
a7d164c28d | ||
|
|
83d56fe40d | ||
|
|
340b23af94 | ||
|
|
3b275edec7 | ||
|
|
866ae78f5e | ||
|
|
68407efa16 | ||
|
|
c071bf3c6d | ||
|
|
23647f643b | ||
|
|
99d03f9d03 | ||
|
|
9215b69ee1 | ||
|
|
0ff9c3e297 | ||
|
|
776892e09d | ||
|
|
ed3a3a527a | ||
|
|
8955fdcd5d | ||
|
|
b3ac5b35eb | ||
|
|
79239d8eff | ||
|
|
522e835101 | ||
|
|
13dbdb1b18 | ||
|
|
e4f864c1f5 | ||
|
|
f75e51ca46 | ||
|
|
ea6675879c | ||
|
|
fdddeaca98 | ||
|
|
bbd1412a9e | ||
|
|
cfd0193bbd | ||
|
|
2ed35f245d | ||
|
|
070cdbc657 | ||
|
|
715e4c0b50 | ||
|
|
5e5a61b982 | ||
|
|
592b69ef1e | ||
|
|
b6de06ee01 | ||
|
|
b988e7edce | ||
|
|
49d9ed03c7 | ||
|
|
a0f2535cb5 | ||
|
|
6f62839ad3 | ||
|
|
ead9f380a9 | ||
|
|
d87d7c12c2 | ||
|
|
54b919f65f | ||
|
|
1d496e92cd | ||
|
|
414c230f00 | ||
|
|
d02507e90a | ||
|
|
a3166ab537 | ||
|
|
232c387276 | ||
|
|
9b40fe25ff | ||
|
|
e302f727fd |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
# This directory is fetched during first build and is present in this directory
|
||||
subprojects/freeDiameter
|
||||
subprojects/libtins
|
||||
subprojects/usrsctp
|
||||
|
||||
webui/.next
|
||||
webui/.next
|
||||
|
||||
@@ -80,7 +80,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -148,7 +148,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
|
||||
@@ -114,7 +114,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -182,7 +182,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
|
||||
@@ -80,7 +80,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -150,7 +150,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
|
||||
@@ -259,7 +259,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -357,7 +357,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -118,20 +118,20 @@ logger:
|
||||
# o IPv4/IPv6 Pool
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
#
|
||||
#
|
||||
# o Specific DNN/APN(e.g 'ims') uses 10.46.0.1/16, 2001:230:babe::1/48
|
||||
# o Specific DNN/APN(e.g 'ims') uses 10.46.0.1/16, 2001:db8:babe::1/48
|
||||
# ; If the UE has unknown DNN/APN(not internet/ims), SMF/UPF will crash.
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# dnn: internet
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# dnn: internet
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: ims
|
||||
# - addr: 2001:230:babe::1/48
|
||||
# - addr: 2001:db8:babe::1/48
|
||||
# dnn: ims
|
||||
#
|
||||
# o Specific DNN/APN with the FALLBACK SUBNET(10.47.0.1/16)
|
||||
@@ -166,10 +166,10 @@ logger:
|
||||
# range:
|
||||
# - 10.45.0.100-10.45.0.200
|
||||
# - 10.45.1.100-10.45.1.200
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# range:
|
||||
# - 2001:230:cafe:a0::0-2001:230:cafe:b0::0
|
||||
# - 2001:230:cafe:c0::0-2001:230:cafe:d0::0
|
||||
# - 2001:db8:cafe:a0::0-2001:db8:cafe:b0::0
|
||||
# - 2001:db8:cafe:c0::0-2001:db8:cafe:d0::0
|
||||
#
|
||||
# <Domain Name Server>
|
||||
#
|
||||
@@ -342,7 +342,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -466,7 +466,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -93,30 +93,30 @@ logger:
|
||||
#
|
||||
# o IPv4/IPv6 Pool
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
#
|
||||
#
|
||||
# o Specific DNN/APN(e.g 'ims') uses 10.46.0.1/16, 2001:230:babe::1/48
|
||||
# All other APNs use 10.45.0.1/16, 2001:230:cafe::1/48
|
||||
# o Specific DNN/APN(e.g 'ims') uses 10.46.0.1/16, 2001:db8:babe::1/48
|
||||
# All other APNs use 10.45.0.1/16, 2001:db8:cafe::1/48
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 10.46.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:230:babe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:babe::1/48 dev ogstun
|
||||
#
|
||||
# ; If the UE has unknown DNN/APN(not internet/ims), SMF/UPF will crash.
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# dnn: internet
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# dnn: internet
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: ims
|
||||
# - addr: 2001:230:babe::1/48
|
||||
# - addr: 2001:db8:babe::1/48
|
||||
# dnn: ims
|
||||
#
|
||||
# o Specific DNN/APN with the FALLBACK SUBNET(10.47.0.1/16)
|
||||
@@ -131,20 +131,20 @@ logger:
|
||||
#
|
||||
# o Multiple Devices (default: ogstun)
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 2001:230:cafe::1/48 dev ogstun2
|
||||
# $ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun2
|
||||
# $ sudo ip addr add 10.46.0.1/16 dev ogstun3
|
||||
# $ sudo ip addr add 2001:230:babe::1/48 dev ogstun3
|
||||
# $ sudo ip addr add 2001:db8:babe::1/48 dev ogstun3
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# dnn: internet
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# dnn: internet
|
||||
# dev: ogstun2
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: ims
|
||||
# dev: ogstun3
|
||||
# - addr: 2001:230:babe::1/48
|
||||
# - addr: 2001:db8:babe::1/48
|
||||
# dnn: ims
|
||||
# dev: ogstun3
|
||||
#
|
||||
@@ -155,7 +155,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
#
|
||||
# smf:
|
||||
@@ -192,7 +192,7 @@ parameter:
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 32
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -148,7 +148,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
|
||||
@@ -80,7 +80,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -152,7 +152,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
|
||||
@@ -80,7 +80,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -148,7 +148,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
|
||||
@@ -3,4 +3,4 @@ Name=ogstun
|
||||
|
||||
[Network]
|
||||
Address=10.45.0.1/16
|
||||
Address=2001:230:cafe::1/48
|
||||
Address=2001:db8:cafe::1/48
|
||||
|
||||
@@ -44,15 +44,15 @@ mme:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
tac: 12345
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
@@ -80,7 +80,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -115,20 +115,20 @@ amf:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
@@ -151,7 +151,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
|
||||
@@ -80,7 +80,7 @@ smf:
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
@@ -151,7 +151,7 @@ upf:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
|
||||
108
debian/changelog
vendored
108
debian/changelog
vendored
@@ -1,3 +1,111 @@
|
||||
open5gs (2.4.4) unstable; urgency=medium
|
||||
|
||||
* Fixed Memory leak
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 01 Feb 2022 15:03:37 +0900
|
||||
|
||||
open5gs (2.4.4~focal) focal; urgency=medium
|
||||
|
||||
* Fixed Memory leak
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 01 Feb 2022 15:02:35 +0900
|
||||
|
||||
open5gs (2.4.4~bionic) bionic; urgency=medium
|
||||
|
||||
* Fixed Memory leak
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 01 Feb 2022 15:01:31 +0900
|
||||
|
||||
open5gs (2.4.4~impish) impish; urgency=medium
|
||||
|
||||
* Fixed Memory leak
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 01 Feb 2022 14:58:13 +0900
|
||||
|
||||
open5gs (2.4.3) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 20 Jan 2022 17:09:51 +0900
|
||||
|
||||
open5gs (2.4.3~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 20 Jan 2022 17:08:55 +0900
|
||||
|
||||
open5gs (2.4.3~focal) focal; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 20 Jan 2022 17:08:01 +0900
|
||||
|
||||
open5gs (2.4.3~hirsute) hirsute; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 20 Jan 2022 17:06:53 +0900
|
||||
|
||||
open5gs (2.4.3~impish) impish; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 20 Jan 2022 17:05:35 +0900
|
||||
|
||||
open5gs (2.4.2) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 14 Jan 2022 20:39:46 +0900
|
||||
|
||||
open5gs (2.4.2~impish) impish; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 14 Jan 2022 20:38:43 +0900
|
||||
|
||||
open5gs (2.4.2~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 14 Jan 2022 20:37:33 +0900
|
||||
|
||||
open5gs (2.4.2~focal) focal; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 14 Jan 2022 20:36:17 +0900
|
||||
|
||||
open5gs (2.4.2~hirsute) hirsute; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 14 Jan 2022 20:34:57 +0900
|
||||
|
||||
open5gs (2.4.1) unstable; urgency=medium
|
||||
|
||||
* Use talloc & S1AP/NGAP r16.7.0
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 04 Jan 2022 17:34:08 +0900
|
||||
|
||||
open5gs (2.4.1~bionic) bionic; urgency=medium
|
||||
|
||||
* Use talloc & S1AP/NGAP r16.7.0
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 04 Jan 2022 17:33:09 +0900
|
||||
|
||||
open5gs (2.4.1~focal) focal; urgency=medium
|
||||
|
||||
* Use talloc & S1AP/NGAP r16.7.0
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 04 Jan 2022 17:31:56 +0900
|
||||
|
||||
open5gs (2.4.1~hirsute) hirsute; urgency=medium
|
||||
|
||||
* Use talloc & S1AP/NGAP r16.7.0
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 04 Jan 2022 17:27:54 +0900
|
||||
|
||||
open5gs (2.4.0) unstable; urgency=medium
|
||||
|
||||
* VoNR Added
|
||||
|
||||
1
debian/control
vendored
1
debian/control
vendored
@@ -21,6 +21,7 @@ Build-Depends: debhelper (>= 11),
|
||||
libcurl4-gnutls-dev,
|
||||
libnghttp2-dev,
|
||||
libtins-dev,
|
||||
libtalloc-dev,
|
||||
Standards-Version: 4.3.0
|
||||
Rules-Requires-Root: no
|
||||
Homepage: https://open5gs.org
|
||||
|
||||
@@ -23,4 +23,5 @@ RUN apk update && \
|
||||
libmicrohttpd-dev \
|
||||
curl-dev \
|
||||
nghttp2-dev \
|
||||
talloc-dev \
|
||||
iproute2
|
||||
|
||||
@@ -5,6 +5,6 @@ if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del 2001:230:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
ip addr del 2001:db8:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
ip link set ogstun up
|
||||
|
||||
@@ -5,6 +5,6 @@ if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del 2001:230:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
ip addr del 2001:db8:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
ip link set ogstun up
|
||||
|
||||
@@ -29,6 +29,7 @@ RUN apt-get update && \
|
||||
libcurl4-gnutls-dev \
|
||||
libnghttp2-dev \
|
||||
libtins-dev \
|
||||
libtalloc-dev \
|
||||
iproute2 \
|
||||
ca-certificates \
|
||||
netbase \
|
||||
|
||||
@@ -5,6 +5,6 @@ if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del 2001:230:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
ip addr del 2001:db8:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
ip link set ogstun up
|
||||
|
||||
@@ -23,6 +23,7 @@ RUN dnf -y install \
|
||||
libmicrohttpd-devel \
|
||||
libcurl-devel \
|
||||
libnghttp2-devel \
|
||||
libtalloc-devel \
|
||||
iproute
|
||||
|
||||
RUN dnf -y install meson
|
||||
|
||||
@@ -5,6 +5,6 @@ if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del 2001:230:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
ip addr del 2001:db8:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
ip link set ogstun up
|
||||
|
||||
@@ -29,6 +29,7 @@ RUN apt-get update && \
|
||||
libcurl4-gnutls-dev \
|
||||
libnghttp2-dev \
|
||||
libtins-dev \
|
||||
libtalloc-dev \
|
||||
iproute2 \
|
||||
ca-certificates \
|
||||
netbase \
|
||||
|
||||
@@ -5,6 +5,6 @@ if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del 2001:230:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
ip addr del 2001:db8:cafe::1/48 dev ogstun 2> /dev/null
|
||||
ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
ip link set ogstun up
|
||||
|
||||
@@ -111,6 +111,7 @@ https://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/xUbunt
|
||||
https://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/xUbuntu_20.04/
|
||||
https://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/xUbuntu_20.10/
|
||||
https://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/xUbuntu_21.04/
|
||||
https://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/xUbuntu_21.10/
|
||||
```
|
||||
|
||||
#### openSUSE
|
||||
@@ -147,6 +148,7 @@ https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.
|
||||
https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.04/
|
||||
https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.10/
|
||||
https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_21.04/
|
||||
https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_21.10/
|
||||
```
|
||||
|
||||
|
||||
@@ -343,7 +345,7 @@ upf:
|
||||
+ - addr: 10.11.0.7 # for external gNB - a local address that can be reached by the gNB
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
```
|
||||
|
||||
@@ -423,7 +425,7 @@ $ sudo sysctl -w net.ipv6.conf.all.forwarding=1
|
||||
|
||||
### Add NAT Rule
|
||||
$ sudo iptables -t nat -A POSTROUTING -s 10.45.0.0/16 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:230:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:db8:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ Create the TUN device with the interface name `ogstun`.
|
||||
```bash
|
||||
$ sudo ip tuntap add name ogstun mode tun
|
||||
$ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
$ sudo ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
$ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
$ sudo ip link set ogstun up
|
||||
```
|
||||
|
||||
@@ -44,7 +44,7 @@ $ sudo ip link set ogstun up
|
||||
Install the dependencies for building the source code.
|
||||
|
||||
```bash
|
||||
$ sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev meson
|
||||
$ sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev meson
|
||||
```
|
||||
|
||||
Git clone.
|
||||
@@ -148,7 +148,7 @@ $ diff -u /etc/open5gs/upf.yaml.old /etc/open5gs/upf.yaml
|
||||
+ - addr: 10.11.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
```
|
||||
##### 4G EPC
|
||||
|
||||
@@ -466,7 +466,7 @@ $ sudo sysctl -w net.ipv6.conf.all.forwarding=1
|
||||
|
||||
### Add NAT Rule
|
||||
$ sudo iptables -t nat -A POSTROUTING -s 10.45.0.0/16 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:230:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:db8:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
```
|
||||
|
||||
**Note:** The above assumes you do not have any existing rules in the filter and nat tables. If a program such as docker has already set up rules, you may need to add the Open5GS related rules differently.
|
||||
|
||||
@@ -124,7 +124,7 @@ $ diff -u /etc/open5gs/smf.yaml.old /etc/open5gs/smf.yaml
|
||||
+ - addr: 10.10.0.4
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
@@ -282,7 +281,7 @@
|
||||
#
|
||||
upf:
|
||||
@@ -217,7 +217,7 @@ $ diff -u /etc/open5gs/upf.yaml.old /etc/open5gs/upf.yaml
|
||||
+ - addr: 10.11.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
```
|
||||
|
||||
After changing conf files, please restart Open5GS daemons.
|
||||
|
||||
@@ -67,7 +67,7 @@ $ sudo sh -c "cat << EOF > /etc/systemd/network/99-open5gs.network
|
||||
Name=ogstun
|
||||
[Network]
|
||||
Address=10.45.0.1/16
|
||||
Address=2001:230:cafe::1/48
|
||||
Address=2001:db8:cafe::1/48
|
||||
EOF"
|
||||
```
|
||||
|
||||
@@ -84,7 +84,7 @@ Make sure it is set up properly.
|
||||
$ ifconfig ogstun
|
||||
ogstun: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
|
||||
inet 10.45.0.1 netmask 255.255.0.0 destination 10.45.0.1
|
||||
inet6 2001:230:cafe::1 prefixlen 64 scopeid 0x0<global>
|
||||
inet6 2001:db8:cafe::1 prefixlen 64 scopeid 0x0<global>
|
||||
inet6 fe80::e86e:86d8:ea24:f8ee prefixlen 64 scopeid 0x20<link>
|
||||
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
|
||||
RX packets 0 bytes 0 (0.0 B)
|
||||
|
||||
@@ -109,7 +109,7 @@ a base CentOS 8 installation.
|
||||
|
||||
|
||||
```bash
|
||||
$ sudo dnf install python3 meson ninja-build gcc gcc-c++ flex bison git lksctp-tools-devel libidn-devel gnutls-devel libgcrypt-devel openssl-devel cyrus-sasl-devel libyaml-devel mongo-c-driver-devel libmicrohttpd-devel libcurl-devel libnghttp2-devel
|
||||
$ sudo dnf install python3 meson ninja-build gcc gcc-c++ flex bison git lksctp-tools-devel libidn-devel gnutls-devel libgcrypt-devel openssl-devel cyrus-sasl-devel libyaml-devel mongo-c-driver-devel libmicrohttpd-devel libcurl-devel libnghttp2-devel libtalloc-devel
|
||||
```
|
||||
|
||||
### Install the SCTP kernel module in kernel-modules-extra.
|
||||
@@ -223,7 +223,7 @@ to support IPv6. This is done by setting the `diable_ipv6` option for
|
||||
$ sysctl -n net.ipv6.conf.ogstun.disable_ipv6
|
||||
1
|
||||
|
||||
$ sudo -w net.ipv6.conf.ogstun.disable_ipv6=0
|
||||
$ sudo sysctl -w net.ipv6.conf.ogstun.disable_ipv6=0
|
||||
|
||||
$ sysctl -n net.ipv6.conf.ogstun.disable_ipv6
|
||||
0
|
||||
@@ -236,7 +236,7 @@ Set the IP address on the `ogstun` TUN interface.
|
||||
|
||||
```bash
|
||||
$ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
$ sudo ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
$ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
```
|
||||
|
||||
Make sure it is set up properly.
|
||||
|
||||
@@ -39,7 +39,7 @@ Then, to support IPv6-enabled UEs, you must configure your TUN device to support
|
||||
$ sysctl -n net.ipv6.conf.ogstun.disable_ipv6
|
||||
1
|
||||
|
||||
$ sudo -w net.ipv6.conf.ogstun.disable_ipv6=0
|
||||
$ sudo -w sysctl net.ipv6.conf.ogstun.disable_ipv6=0
|
||||
|
||||
$ sysctl -n net.ipv6.conf.ogstun.disable_ipv6
|
||||
0
|
||||
@@ -52,7 +52,7 @@ You are now ready to set the IP address on TUN device.
|
||||
|
||||
```bash
|
||||
$ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
$ sudo ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
$ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
```
|
||||
|
||||
Make sure it is set up properly.
|
||||
@@ -70,7 +70,7 @@ $ ip link show
|
||||
|
||||
Install the depedencies for building the source code.
|
||||
```bash
|
||||
$ sudo dnf install python3 ninja-build gcc gcc-c++ flex bison git lksctp-tools-devel libidn-devel gnutls-devel libgcrypt-devel openssl-devel cyrus-sasl-devel libyaml-devel mongo-c-driver-devel libmicrohttpd-devel libcurl-devel libnghttp2-devel iproute
|
||||
$ sudo dnf install python3 ninja-build gcc gcc-c++ flex bison git lksctp-tools-devel libidn-devel gnutls-devel libgcrypt-devel openssl-devel cyrus-sasl-devel libyaml-devel mongo-c-driver-devel libmicrohttpd-devel libcurl-devel libnghttp2-devel libtalloc-devel iproute
|
||||
```
|
||||
|
||||
Install Meson
|
||||
|
||||
@@ -76,7 +76,7 @@ Enable IP forwarding & Masquerading
|
||||
$ sudo sysctl -w net.inet.ip.forwarding=1
|
||||
$ sudo sysctl -w net.inet6.ip6.forwarding=1
|
||||
$ sudo sh -c "echo 'nat on {en0} from 10.45.0.0/16 to any -> {en0}' > /etc/pf.anchors/org.open5gs"
|
||||
$ sudo sh -c "echo 'nat on {en0} from 2001:230:cafe::1/48 to any -> {en0}' > /etc/pf.anchors/org.open5gs"
|
||||
$ sudo sh -c "echo 'nat on {en0} from 2001:db8:cafe::1/48 to any -> {en0}' > /etc/pf.anchors/org.open5gs"
|
||||
$ sudo pfctl -e -f /etc/pf.anchors/org.open5gs
|
||||
```
|
||||
|
||||
@@ -89,7 +89,7 @@ $ sudo pfctl -e -f /etc/pf.anchors/org.open5gs
|
||||
|
||||
Install the depedencies for building the source code.
|
||||
```bash
|
||||
$ brew install mongo-c-driver gnutls libgcrypt libidn libyaml libmicrohttpd nghttp2 pkg-config bison libusrsctp libtins
|
||||
$ brew install mongo-c-driver gnutls libgcrypt libidn libyaml libmicrohttpd nghttp2 pkg-config bison libusrsctp libtins talloc
|
||||
```
|
||||
|
||||
Configure Homebrew PATH
|
||||
|
||||
@@ -76,7 +76,7 @@ Enable IP forwarding & Masquerading
|
||||
$ sudo sysctl -w net.inet.ip.forwarding=1
|
||||
$ sudo sysctl -w net.inet6.ip6.forwarding=1
|
||||
$ sudo sh -c "echo 'nat on {en0} from 10.45.0.0/16 to any -> {en0}' > /etc/pf.anchors/org.open5gs"
|
||||
$ sudo sh -c "echo 'nat on {en0} from 2001:230:cafe::1/48 to any -> {en0}' > /etc/pf.anchors/org.open5gs"
|
||||
$ sudo sh -c "echo 'nat on {en0} from 2001:db8:cafe::1/48 to any -> {en0}' > /etc/pf.anchors/org.open5gs"
|
||||
$ sudo pfctl -e -f /etc/pf.anchors/org.open5gs
|
||||
```
|
||||
|
||||
@@ -89,7 +89,7 @@ $ sudo pfctl -e -f /etc/pf.anchors/org.open5gs
|
||||
|
||||
Install the depedencies for building the source code.
|
||||
```bash
|
||||
$ brew install mongo-c-driver gnutls libgcrypt libidn libyaml libmicrohttpd nghttp2 pkg-config libusrsctp libtins
|
||||
$ brew install mongo-c-driver gnutls libgcrypt libidn libyaml libmicrohttpd nghttp2 pkg-config libusrsctp libtins talloc
|
||||
```
|
||||
|
||||
Install Bison and Create soft link.
|
||||
|
||||
@@ -106,7 +106,7 @@ $ sudo sysctl -w net.inet6.ip6.forwarding=1
|
||||
|
||||
Install the depedencies for building the source code.
|
||||
```bash
|
||||
$ sudo pkg install meson ninja gcc bison gsed pkgconf git mongo-c-driver gnutls libgcrypt libidn libyaml libmicrohttpd nghttp2
|
||||
$ sudo pkg install meson ninja gcc bison gsed pkgconf git mongo-c-driver gnutls libgcrypt libidn libyaml libmicrohttpd nghttp2 talloc
|
||||
```
|
||||
|
||||
Configure gcc PATH
|
||||
|
||||
@@ -35,7 +35,7 @@ You are now ready to set the IP address on TUN device.
|
||||
|
||||
```bash
|
||||
$ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
$ sudo ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
$ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
```
|
||||
|
||||
Make sure it is set up properly.
|
||||
@@ -53,7 +53,7 @@ $ ip link show
|
||||
|
||||
Install the depedencies for building the source code.
|
||||
```bash
|
||||
$ sudo apk add alpine-sdk bison flex git meson bash sudo linux-headers bsd-compat-headers yaml-dev lksctp-tools-dev gnutls-dev libgcrypt-dev libidn-dev mongo-c-driver-dev libmicrohttpd-dev curl-dev nghttp2-dev
|
||||
$ sudo apk add alpine-sdk bison flex git meson bash sudo linux-headers bsd-compat-headers yaml-dev lksctp-tools-dev gnutls-dev libgcrypt-dev libidn-dev mongo-c-driver-dev libmicrohttpd-dev curl-dev nghttp2-dev talloc-dev
|
||||
```
|
||||
|
||||
Git clone.
|
||||
|
||||
@@ -484,7 +484,7 @@ $ diff -u /etc/systemd/network/99-open5gs.network /etc/systemd/network/99-open5g
|
||||
[Network]
|
||||
-Address=10.45.0.1/16
|
||||
+Address=10.46.0.1/16
|
||||
Address=2001:230:cafe::1/48
|
||||
Address=2001:db8:cafe::1/48
|
||||
```
|
||||
|
||||
Restart systemd-networkd
|
||||
@@ -509,7 +509,7 @@ $ diff -u smf.yaml smf.yaml.new
|
||||
subnet:
|
||||
- - addr: 10.45.0.1/16
|
||||
+ - addr: 10.46.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
```
|
||||
@@ -524,7 +524,7 @@ $ diff -u upf.yaml upf.yaml.new
|
||||
subnet:
|
||||
- - addr: 10.45.0.1/16
|
||||
+ - addr: 10.46.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
#
|
||||
```
|
||||
@@ -796,7 +796,7 @@ $ sudo iptables-restore < newtables
|
||||
|
||||
Docker doesn't have IPv6 NAT rules. In this case, you just add the NAT rule as below.
|
||||
```
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:230:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:db8:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
```
|
||||
|
||||
The above operation is the same as described in the following manuals.
|
||||
@@ -832,7 +832,7 @@ $ sudo sysctl -w net.ipv6.conf.all.forwarding=1
|
||||
|
||||
### Add NAT Rule
|
||||
$ sudo iptables -t nat -A POSTROUTING -s 10.45.0.0/16 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:230:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:db8:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
```
|
||||
|
||||
#### How to use a different DNN/APN for each SMF
|
||||
@@ -897,26 +897,26 @@ The IP address of the UE can also use a different UE pool depending on the DNN/A
|
||||
#
|
||||
# o IPv4/IPv6 Pool
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
#
|
||||
#
|
||||
# o Specific DNN/APN(e.g 'volte') uses 10.46.0.1/16, 2001:230:babe::1/48
|
||||
# All other DNNs/APNs use 10.45.0.1/16, 2001:230:cafe::1/48
|
||||
# o Specific DNN/APN(e.g 'volte') uses 10.46.0.1/16, 2001:db8:babe::1/48
|
||||
# All other DNNs/APNs use 10.45.0.1/16, 2001:db8:cafe::1/48
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 10.46.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 2001:230:cafe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:230:babe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:babe::1/48 dev ogstun
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: volte
|
||||
# - addr: 2001:230:babe::1/48
|
||||
# - addr: 2001:db8:babe::1/48
|
||||
# dnn: volte
|
||||
#
|
||||
# o Pool Range Sample
|
||||
@@ -941,10 +941,10 @@ The IP address of the UE can also use a different UE pool depending on the DNN/A
|
||||
# range:
|
||||
# - 10.45.0.100-10.45.0.200
|
||||
# - 10.45.1.100-10.45.1.200
|
||||
# - addr: 2001:230:cafe::1/48
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# range:
|
||||
# - 2001:230:cafe:a0::0-2001:230:cafe:b0::0
|
||||
# - 2001:230:cafe:c0::0-2001:230:cafe:d0::0
|
||||
# - 2001:db8:cafe:a0::0-2001:db8:cafe:b0::0
|
||||
# - 2001:db8:cafe:c0::0-2001:db8:cafe:d0::0
|
||||
#
|
||||
```
|
||||
|
||||
@@ -1125,7 +1125,7 @@ Currently, the number of UE is limited to `128*128`.
|
||||
|
||||
```
|
||||
* IPv4 : 10.45.0.1/16
|
||||
* IPv6 : 2001:230:cafe::1/48
|
||||
* IPv6 : 2001:db8:cafe::1/48
|
||||
```
|
||||
|
||||
- DNS
|
||||
|
||||
@@ -144,9 +144,9 @@ Download and build srsLTE:
|
||||
```bash
|
||||
$ git clone https://github.com/srsRAN/srsRAN.git
|
||||
$ cd srsRAN
|
||||
$ git checkout release_21_04
|
||||
$ git checkout release_21_10
|
||||
$ git rev-parse HEAD
|
||||
1c6dd8c4adc8419d4a431f382283539f1719582a
|
||||
5275f33360f1b3f1ee8d1c4d9ae951ac7c4ecd4e
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ../
|
||||
@@ -228,12 +228,12 @@ Modify [install/etc/open5gs/mme.yaml](https://github.com/{{ site.github_username
|
||||
$ diff -u /etc/open5gs/mme.yaml.old /etc/open5gs/mme.yaml
|
||||
--- mme.yaml.old 2020-08-22 12:07:32.755250028 -0400
|
||||
+++ mme.yaml 2020-08-22 12:08:17.309320211 -0400
|
||||
@@ -204,20 +204,20 @@
|
||||
@@ -208,20 +208,20 @@
|
||||
mme:
|
||||
freeDiameter: /home/acetcom/Documents/git/open5gs/install/etc/freeDiameter/mme.conf
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
+ addr: 127.0.1.100
|
||||
+ addr: 127.0.1.2
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
gummei:
|
||||
@@ -251,7 +251,7 @@ $ diff -u /etc/open5gs/mme.yaml.old /etc/open5gs/mme.yaml
|
||||
- tac: 1
|
||||
+ mcc: 310
|
||||
+ mnc: 789
|
||||
+ tac: 7
|
||||
+ tac: 2
|
||||
security:
|
||||
integrity_order : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
@@ -262,7 +262,7 @@ Modify [install/etc/open5gs/sgwu.yaml](https://github.com/{{ site.github_usernam
|
||||
$ diff -u /etc/open5gs/sgwu.yaml.old /etc/open5gs/sgwu.yaml
|
||||
--- sgwu.yaml.old 2020-08-22 12:08:44.782880778 -0400
|
||||
+++ sgwu.yaml 2020-08-22 12:06:49.809299514 -0400
|
||||
@@ -51,7 +51,7 @@
|
||||
@@ -82,7 +82,7 @@
|
||||
#
|
||||
sgwu:
|
||||
gtpu:
|
||||
@@ -314,7 +314,7 @@ $ sudo sysctl -w net.ipv6.conf.all.forwarding=1
|
||||
|
||||
### Add NAT Rule
|
||||
$ sudo iptables -t nat -A POSTROUTING -s 10.45.0.0/16 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:230:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:db8:cafe::/48 ! -o ogstun -j MASQUERADE
|
||||
```
|
||||
|
||||
**Note:** For the first time, it is a good condition if you do not have any rules in the IP/NAT tables. If a program such as docker has already set up a rule, you will need to add a rule differently.
|
||||
@@ -335,22 +335,22 @@ You should check your phone frequency. If your phone does not support Band-3, yo
|
||||
|
||||
```diff
|
||||
$ diff -u enb.conf.example enb.conf
|
||||
--- enb.conf.example 2021-08-23 12:00:03.975297244 +0900
|
||||
+++ enb.conf 2021-08-23 14:34:01.794290668 +0900
|
||||
@@ -19,8 +19,10 @@
|
||||
-- enb.conf.example 2022-01-19 20:30:13.612993155 +0900
|
||||
+++ enb.conf 2022-01-19 21:04:15.674419300 +0900
|
||||
@@ -20,9 +20,9 @@
|
||||
#####################################################################
|
||||
[enb]
|
||||
enb_id = 0x19B
|
||||
-mcc = 001
|
||||
-mnc = 01
|
||||
+#mcc = 001
|
||||
+#mnc = 01
|
||||
+mcc = 901
|
||||
+mnc = 70
|
||||
mme_addr = 127.0.1.100
|
||||
-mme_addr = 127.0.1.100
|
||||
+mcc = 310
|
||||
+mnc = 789
|
||||
+mme_addr = 127.0.1.2
|
||||
gtp_bind_addr = 127.0.1.1
|
||||
s1c_bind_addr = 127.0.1.1
|
||||
@@ -65,7 +67,7 @@
|
||||
s1c_bind_port = 0
|
||||
@@ -67,7 +67,7 @@
|
||||
tx_gain = 80
|
||||
rx_gain = 40
|
||||
|
||||
@@ -359,43 +359,61 @@ $ diff -u enb.conf.example enb.conf
|
||||
|
||||
# For best performance in 2x2 MIMO and >= 15 MHz use the following device_args settings:
|
||||
# USRP B210: num_recv_frames=64,num_send_frames=64
|
||||
@@ -80,6 +82,7 @@
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
# Example for ZMQ-based operation with TCP transport for I/Q samples
|
||||
#device_name = zmq
|
||||
#device_args = fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6
|
||||
-#device_args = fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6
|
||||
+device_args = clock=external
|
||||
|
||||
#####################################################################
|
||||
# Packet capture configuration
|
||||
```
|
||||
|
||||
```diff
|
||||
$ diff -u rr.conf.example rr.conf
|
||||
diff rr.conf.example rr.conf
|
||||
61c61,62
|
||||
< dl_earfcn = 3350;
|
||||
---
|
||||
> // dl_earfcn = 3350;
|
||||
> dl_earfcn = 1600;
|
||||
-- rr.conf.example 2022-01-19 20:30:13.620992794 +0900
|
||||
+++ rr.conf 2022-01-19 21:05:21.959044145 +0900
|
||||
@@ -55,10 +55,10 @@
|
||||
{
|
||||
// rf_port = 0;
|
||||
cell_id = 0x01;
|
||||
- tac = 0x0007;
|
||||
+ tac = 0x0002;
|
||||
pci = 1;
|
||||
// root_seq_idx = 204;
|
||||
- dl_earfcn = 3350;
|
||||
+ dl_earfcn = 1600;
|
||||
//ul_earfcn = 21400;
|
||||
ho_active = false;
|
||||
//meas_gap_period = 0; // 0 (inactive), 40 or 80
|
||||
@@ -114,4 +114,4 @@
|
||||
nr_cell_list =
|
||||
(
|
||||
// no NR cells
|
||||
```
|
||||
|
||||
PLMN ID, DL EARFCN, and Device Argument are updated as belows.
|
||||
MME Address, TAC, PLMN ID, DL EARFCN, and Device Argument are updated as belows.
|
||||
|
||||
```
|
||||
MME Address : 127.0.1.2
|
||||
TAC : 2
|
||||
PLMN ID : MNC(310), MCC(789) programmed USIM with a card reader
|
||||
DL EARFCN : Band-3 - from your Phone
|
||||
Device Argument : Clock source from external GPS-DO
|
||||
```
|
||||
|
||||
If you do not use the GPS-DO, you should use:
|
||||
If you are not using GPS-DO, you can just comment out `device_args` as shown below.
|
||||
```diff
|
||||
$ diff -u enb.conf.example enb.conf
|
||||
--- enb.conf.example 2021-08-23 14:32:35.585438813 +0900
|
||||
+++ enb.conf 2021-08-23 14:32:08.350450409 +0900
|
||||
@@ -82,7 +82,6 @@
|
||||
$ diff -u enb.conf enb.conf.no_gps_do
|
||||
--- enb.conf 2022-01-19 21:08:32.941527373 +0900
|
||||
+++ enb.conf.no_gps_do 2022-01-19 21:10:18.612581261 +0900
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
# Example for ZMQ-based operation with TCP transport for I/Q samples
|
||||
#device_name = zmq
|
||||
#device_args = fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6
|
||||
-device_args = clock=external
|
||||
+#device_args = fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6
|
||||
|
||||
#####################################################################
|
||||
# Packet capture configuration
|
||||
@@ -405,17 +423,23 @@ Now, run the srsRAN as follows:
|
||||
|
||||
```bash
|
||||
$ cd srsenb/
|
||||
$ sudo ../build/srsenb/src/srsenb ./enb.conf
|
||||
|
||||
Built in Release mode using commit d045213fb on branch HEAD.
|
||||
|
||||
$ sudo UHD_IMAGES_DIR=/usr/share/uhd/images ../build/srsenb/src/srsenb ./enb.conf
|
||||
--- Software Radio Systems LTE eNodeB ---
|
||||
|
||||
Reading configuration file ./enb.conf...
|
||||
Opening 1 RF devices with 1 RF channels...
|
||||
[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.14.1.1-release
|
||||
WARNING: cpu0 scaling governor is not set to performance mode. Realtime processing could be compromised. Consider setting it to performance mode before running the application.
|
||||
|
||||
Built in Release mode using commit 5275f3336 on branch HEAD.
|
||||
|
||||
connect(): Connection refused
|
||||
Failed to initiate S1 connection. Attempting reconnection in 10 seconds
|
||||
Opening 1 channels in RF device=default with args=default
|
||||
Available RF device list: UHD
|
||||
Trying to open RF device 'UHD'
|
||||
[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.1.0.4-release
|
||||
[INFO] [LOGGING] Fastpath logging disabled at runtime.
|
||||
Opening USRP with args: type=b200,master_clock_rate=23.04e6
|
||||
Opening USRP channels=1, args: type=b200,master_clock_rate=23.04e6
|
||||
[INFO] [UHD RF] RF UHD Generic instance constructed
|
||||
[INFO] [B200] Detected Device: B200
|
||||
[INFO] [B200] Operating over USB 3.
|
||||
[INFO] [B200] Initialize CODEC control...
|
||||
@@ -424,8 +448,7 @@ Opening USRP with args: type=b200,master_clock_rate=23.04e6
|
||||
[INFO] [B200] Register loopback test passed
|
||||
[INFO] [B200] Asking for clock rate 23.040000 MHz...
|
||||
[INFO] [B200] Actually got clock rate 23.040000 MHz.
|
||||
Setting frequency: DL=1845.0 Mhz, UL=1750.0 MHz
|
||||
Setting Sampling frequency 11.52 MHz
|
||||
RF device 'UHD' successfully opened
|
||||
|
||||
==== eNodeB started ===
|
||||
Type <t> to view trace
|
||||
|
||||
@@ -31,6 +31,7 @@ head_inline: "<style> ul { padding-bottom: 1em; } </style>"
|
||||
- [eNodeBs/gNodeBs tested on Open5GS](hardware/01-genodebs)
|
||||
|
||||
- @infinitydon
|
||||
- [Open5GS on Amazon Elastic Kubernetes Service](https://aws.amazon.com/blogs/opensource/open-source-mobile-core-network-implementation-on-amazon-elastic-kubernetes-service/)
|
||||
- [Kubernetes Open5GS Deployment](https://dev.to/infinitydon/virtual-4g-simulation-using-kubernetes-and-gns3-3b7k?fbclid=IwAR1p99h13a-mCfejanbBQe0H0-jp5grXkn5mWf1WrTHf47UtegB2-UHGGZQ)
|
||||
|
||||
- @nickvsnetworking
|
||||
|
||||
@@ -79,7 +79,7 @@ pgw:
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:230:cafe::1/48
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
|
||||
25
docs/_posts/2022-01-04-release-v2.4.1.md
Normal file
25
docs/_posts/2022-01-04-release-v2.4.1.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: "v2.4.1 - Use talloc & S1AP/NGAP r16.7.0"
|
||||
date: 2022-01-04 17:38:00 +0900
|
||||
categories:
|
||||
- Release
|
||||
tags:
|
||||
- News
|
||||
- Release
|
||||
head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>"
|
||||
---
|
||||
|
||||
#### Modification
|
||||
- [ALL] Use talloc memory pool ([#1263](https://github.com/open5gs/open5gs/issues/1263)) -- [kbarlee](https://github.com/kbarlee)
|
||||
- [MME/AMF] Upgrade S1AP/NGAP r16.7.0 ([#1263](https://github.com/open5gs/open5gs/issues/1263)) -- [kbarlee](https://github.com/kbarlee)
|
||||
- [SMF/UPF] Added Usage Report in PFCP protocol ([#1289](https://github.com/open5gs/open5gs/pull/1289)) -- [mhkndgn](https://github.com/mhkndgn)
|
||||
|
||||
#### Bug Fixes
|
||||
- [SGW-U/UPF] Fix the crash from a crafted packet from UE ([a0f2535](https://github.com/open5gs/open5gs/commit/a0f2535cb5a29bba6dbbccdb90c74ccd770cc700) -- [CVE-2021-45462](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45462)
|
||||
- [MME] Updated E-RABSetupResponse to support optional parameter ([#1295](https://github.com/open5gs/open5gs/issues/1295)) -- [EugeneBogush](https://github.com/EugeneBogush)
|
||||
- [MME] Fix the crash with Unknown S-NSSAI in DB ([#1287](https://github.com/open5gs/open5gs/issues/1287),[#1294](https://github.com/open5gs/open5gs/pull/1294)) -- [nelsondohua](https://github.com/nelsondohua)
|
||||
- [SMF/UPF] Fix Link-Local Address in Router Advertisement as per RFC4861 ([#1291](https://github.com/open5gs/open5gs/pull/1291),[#1294](https://github.com/open5gs/open5gs/pull/1294)) -- [herlesupreeth](https://github.com/herlesupreeth)
|
||||
- [HSS] Fix the Cx interface crash ([#1264](https://github.com/open5gs/open5gs/issues/1264)) -- [EugeneBogush](https://github.com/EugeneBogush)
|
||||
|
||||
Download -- [v2.4.1.tar.gz](https://github.com/open5gs/open5gs/archive/v2.4.1.tar.gz)
|
||||
{: .notice--info}
|
||||
26
docs/_posts/2022-01-20-release-v2.4.3.md
Normal file
26
docs/_posts/2022-01-20-release-v2.4.3.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "v2.4.3 - Bug Fixes (mostly talloc related)"
|
||||
date: 2022-01-20 19:14:00 +0900
|
||||
categories:
|
||||
- Release
|
||||
tags:
|
||||
- News
|
||||
- Release
|
||||
head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>"
|
||||
---
|
||||
|
||||
#### Modification
|
||||
- [HSS] Changed network_access_mode default to 0 ([#1323](https://github.com/open5gs/open5gs/issues/1323)) -- [kbarlee](https://github.com/kbarlee)
|
||||
- [SMF/UPF] Changed IPv6 prefix to documentation prefix 2001:db8::/32 ([#1320](https://github.com/open5gs/open5gs/issues/1320),[#1321](https://github.com/open5gs/open5gs/pull/1321)) -- [JM-Lemmi](https://github.com/JM-Lemmi)
|
||||
- [ALL] Increased gNB/NF memory pool from 32 to 64 ([ea667587](https://github.com/open5gs/open5gs/commit/ea6675879c52f8c758ca215f70734a9acf54e064))
|
||||
|
||||
#### Bug Fixes
|
||||
- [SBI] FQDN bug from talloc ([#1328](https://github.com/open5gs/open5gs/issues/1328)) -- [UmakantKulkarni](https://github.com/UmakantKulkarni)
|
||||
- [SBI] Fix potential null pointer dereference ([#1324](https://github.com/open5gs/open5gs/pull/1324)) -- [pespin](https://github.com/pespin)
|
||||
- [HSS] Changed PUR-Flags to Optional ([#1298](https://github.com/open5gs/open5gs/issues/1298)) -- [fedkis](https://github.com/fedkis)
|
||||
- [PFCP/DIAMETER] Fixed the crash by flow->description ([#1313](https://github.com/open5gs/open5gs/issues/1313)) -- [WingPig99](https://github.com/WingPig99), [s5uishida](https://github.com/s5uishida)
|
||||
- [ALL] Fixed the crash by epoll ([#1131](https://github.com/open5gs/open5gs/issues/1131)) -- [VLiu7](https://github.com/VLiu7)
|
||||
- [AMF] Should cipher the NAS message container IE ([715e4c0](https://github.com/open5gs/open5gs/commit/715e4c0b506357ee57df3a827ae2cbf0cadf6209))
|
||||
|
||||
Download -- [v2.4.3.tar.gz](https://github.com/open5gs/open5gs/archive/v2.4.3.tar.gz)
|
||||
{: .notice--info}
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
|
||||
PACKAGE="open5gs"
|
||||
VERSION="2.2.8"
|
||||
VERSION="2.4.3"
|
||||
|
||||
print_status() {
|
||||
echo
|
||||
|
||||
@@ -189,7 +189,7 @@ static void app_context_prepare(void)
|
||||
self.sockopt.no_delay = true;
|
||||
|
||||
#define MAX_NUM_OF_UE 1024 /* Num of UE per AMF/MME */
|
||||
#define MAX_NUM_OF_GNB 32 /* Num of gNB per AMF/MME */
|
||||
#define MAX_NUM_OF_GNB 64 /* Num of gNB per AMF/MME */
|
||||
|
||||
self.max.gnb = MAX_NUM_OF_GNB;
|
||||
self.max.ue = MAX_NUM_OF_UE;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <asn_internal.h>
|
||||
#include <INTEGER.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
/*
|
||||
* INTEGER basic type description.
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <asn_codecs_prim.h>
|
||||
#include <limits.h> /* for CHAR_BIT */
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
/*
|
||||
* OBJECT IDENTIFIER basic type description.
|
||||
|
||||
@@ -26,7 +26,7 @@ OCTET_STRING_print(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
* Dump the contents of the buffer in hexadecimal.
|
||||
*/
|
||||
buf = st->buf;
|
||||
end = buf + st->size;
|
||||
end = (buf == NULL)? NULL : buf + st->size;
|
||||
for(i = 0; buf < end; buf++, i++) {
|
||||
if(!(i % 16) && (i || st->size > 16)) {
|
||||
if(cb(scratch, p - scratch, app_key) < 0)
|
||||
|
||||
@@ -41,10 +41,45 @@ int get_asn1c_environment_version(void); /* Run-time version */
|
||||
#define FREEMEM(ptr) free(ptr)
|
||||
#else
|
||||
#include "ogs-core.h"
|
||||
#define CALLOC(nmemb, size) ogs_calloc_or_assert(nmemb, size)
|
||||
#define MALLOC(size) ogs_malloc_or_assert(size)
|
||||
#define REALLOC(oldptr, size) ogs_realloc_or_assert(oldptr, size)
|
||||
#define FREEMEM(ptr) ogs_free(ptr)
|
||||
|
||||
static ogs_inline void *ogs_asn_malloc(size_t size, const char *file_line)
|
||||
{
|
||||
void *ptr = ogs_malloc(size);
|
||||
if (!ptr) {
|
||||
ogs_fatal("asn_malloc() failed in `%s`", file_line);
|
||||
ogs_assert_if_reached();
|
||||
}
|
||||
|
||||
return ptr;
|
||||
}
|
||||
static ogs_inline void *ogs_asn_calloc(
|
||||
size_t nmemb, size_t size, const char *file_line)
|
||||
{
|
||||
void *ptr = ogs_calloc(nmemb, size);
|
||||
if (!ptr) {
|
||||
ogs_fatal("asn_calloc() failed in `%s`", file_line);
|
||||
ogs_assert_if_reached();
|
||||
}
|
||||
|
||||
return ptr;
|
||||
}
|
||||
static ogs_inline void *ogs_asn_realloc(
|
||||
void *oldptr, size_t size, const char *file_line)
|
||||
{
|
||||
void *ptr = ogs_realloc(oldptr, size);
|
||||
if (!ptr) {
|
||||
ogs_fatal("asn_realloc() failed in `%s`", file_line);
|
||||
ogs_assert_if_reached();
|
||||
}
|
||||
|
||||
return ptr;
|
||||
}
|
||||
|
||||
#define CALLOC(nmemb, size) ogs_asn_calloc(nmemb, size, OGS_FILE_LINE)
|
||||
#define MALLOC(size) ogs_asn_malloc(size, OGS_FILE_LINE)
|
||||
#define REALLOC(oldptr, size) ogs_asn_realloc(oldptr, size, OGS_FILE_LINE)
|
||||
#define FREEMEM(ptr) ogs_free(ptr)
|
||||
|
||||
#endif
|
||||
|
||||
#define asn_debug_indent 0
|
||||
|
||||
@@ -27,12 +27,15 @@
|
||||
#include <limits.h> /* For LONG_MAX */
|
||||
#include <stdarg.h> /* For va_start */
|
||||
#include <stddef.h> /* for offsetof and ptrdiff_t */
|
||||
#include <inttypes.h> /* for PRIdMAX */
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <malloc.h>
|
||||
#ifndef __MINGW32__
|
||||
#define snprintf _snprintf
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
||||
/* To avoid linking with ws2_32.lib, here's the definition of ntohl() */
|
||||
#define sys_ntohl(l) ((((l) << 24) & 0xff000000) \
|
||||
|
||||
@@ -52,21 +52,14 @@ CHOICE_decode_aper(const asn_codec_ctx_t *opt_codec_ctx,
|
||||
} else {
|
||||
if(specs->ext_start == -1)
|
||||
ASN__DECODE_FAILED;
|
||||
/* modified by acetcom for https://github.com/open5gs/open5gs/issues/783 */
|
||||
#if 1
|
||||
if (ct) {
|
||||
#endif
|
||||
|
||||
if (ct && ct->upper_bound >= ct->lower_bound) {
|
||||
value = aper_get_nsnnwn(pd, ct->upper_bound - ct->lower_bound + 1);
|
||||
if(value < 0) ASN__DECODE_STARVED;
|
||||
value += specs->ext_start;
|
||||
/* modified by acetcom for https://github.com/open5gs/open5gs/issues/783 */
|
||||
#if 1
|
||||
} else {
|
||||
value = specs->ext_start;
|
||||
if((unsigned)value >= td->elements_count)
|
||||
ASN__DECODE_FAILED;
|
||||
}
|
||||
#endif
|
||||
if((unsigned)value >= td->elements_count)
|
||||
ASN__DECODE_FAILED;
|
||||
}
|
||||
|
||||
/* Adjust if canonical order is different from natural order */
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -29,7 +29,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMF_TNLAssociationSetupItem_1[] = {
|
||||
{ ATF_POINTER, 1, offsetof(struct NGAP_AMF_TNLAssociationSetupItem, iE_Extensions),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolExtensionContainer_9571P5,
|
||||
&asn_DEF_NGAP_ProtocolExtensionContainer_9625P5,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -63,7 +63,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMF_TNLAssociationToAddItem_1[] = {
|
||||
{ ATF_POINTER, 1, offsetof(struct NGAP_AMF_TNLAssociationToAddItem, iE_Extensions),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolExtensionContainer_9571P6,
|
||||
&asn_DEF_NGAP_ProtocolExtensionContainer_9625P6,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -29,7 +29,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMF_TNLAssociationToRemoveItem_1[] = {
|
||||
{ ATF_POINTER, 1, offsetof(struct NGAP_AMF_TNLAssociationToRemoveItem, iE_Extensions),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolExtensionContainer_9571P7,
|
||||
&asn_DEF_NGAP_ProtocolExtensionContainer_9625P7,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -63,7 +63,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMF_TNLAssociationToUpdateItem_1[] = {
|
||||
{ ATF_POINTER, 1, offsetof(struct NGAP_AMF_TNLAssociationToUpdateItem, iE_Extensions),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolExtensionContainer_9571P8,
|
||||
&asn_DEF_NGAP_ProtocolExtensionContainer_9625P8,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-PDU-Contents"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMFCPRelocationIndication_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct NGAP_AMFCPRelocationIndication, protocolIEs),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolIE_Container_9520P95,
|
||||
&asn_DEF_NGAP_ProtocolIE_Container_9574P95,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-PDU-Contents"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ extern "C" {
|
||||
|
||||
/* NGAP_AMFCPRelocationIndication */
|
||||
typedef struct NGAP_AMFCPRelocationIndication {
|
||||
NGAP_ProtocolIE_Container_9520P95_t protocolIEs;
|
||||
NGAP_ProtocolIE_Container_9574P95_t protocolIEs;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-PDU-Contents"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMFConfigurationUpdate_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct NGAP_AMFConfigurationUpdate, protocolIEs),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolIE_Container_9520P57,
|
||||
&asn_DEF_NGAP_ProtocolIE_Container_9574P57,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-PDU-Contents"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ extern "C" {
|
||||
|
||||
/* NGAP_AMFConfigurationUpdate */
|
||||
typedef struct NGAP_AMFConfigurationUpdate {
|
||||
NGAP_ProtocolIE_Container_9520P57_t protocolIEs;
|
||||
NGAP_ProtocolIE_Container_9574P57_t protocolIEs;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-PDU-Contents"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMFConfigurationUpdateAcknowledge_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct NGAP_AMFConfigurationUpdateAcknowledge, protocolIEs),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolIE_Container_9520P58,
|
||||
&asn_DEF_NGAP_ProtocolIE_Container_9574P58,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-PDU-Contents"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ extern "C" {
|
||||
|
||||
/* NGAP_AMFConfigurationUpdateAcknowledge */
|
||||
typedef struct NGAP_AMFConfigurationUpdateAcknowledge {
|
||||
NGAP_ProtocolIE_Container_9520P58_t protocolIEs;
|
||||
NGAP_ProtocolIE_Container_9574P58_t protocolIEs;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-PDU-Contents"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMFConfigurationUpdateFailure_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct NGAP_AMFConfigurationUpdateFailure, protocolIEs),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolIE_Container_9520P59,
|
||||
&asn_DEF_NGAP_ProtocolIE_Container_9574P59,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-PDU-Contents"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ extern "C" {
|
||||
|
||||
/* NGAP_AMFConfigurationUpdateFailure */
|
||||
typedef struct NGAP_AMFConfigurationUpdateFailure {
|
||||
NGAP_ProtocolIE_Container_9520P59_t protocolIEs;
|
||||
NGAP_ProtocolIE_Container_9574P59_t protocolIEs;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@ asn_per_constraints_t asn_PER_type_NGAP_AMFNameUTF8String_constr_1 CC_NOTUSED =
|
||||
#if 0 /* modified by acetcom */
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
#else
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 8, 8, 1, 150 } /* (SIZE(1..150,...)) */,
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 8, 8, 1, 150 } /* (SIZE(1..150,...)) */,
|
||||
#endif
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
@@ -55,7 +55,7 @@ asn_TYPE_member_t asn_MBR_NGAP_AMFPagingTarget_1[] = {
|
||||
{ ATF_POINTER, 0, offsetof(struct NGAP_AMFPagingTarget, choice.choice_Extensions),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NGAP_ProtocolIE_SingleContainer_9523P0,
|
||||
&asn_DEF_NGAP_ProtocolIE_SingleContainer_9577P0,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "NGAP-IEs"
|
||||
* found in "../support/ngap-r16.4.0/38413-g40.asn"
|
||||
* found in "../support/ngap-r16.7.0/38413-g70.asn"
|
||||
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
|
||||
*/
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user