issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "free5gc", "free5gc" ]
## Describe the bug Hi, I tried to connect Free5gc SMF to travelping UPF but I keep getting the following error: ## To Reproduce Steps to reproduce the behavior: 1. Create a travelping UPF 2. Try to connect Free5gc SMF to it. ## Expected behavior Free5gc SMF should be able to associate with another 3gpp UPF like travelping ## Environment (please complete the following information): - free5GC Version: [e.g. v3.0.100] - OS: Ubuntu 20.04 Server - Kernel version: [e.g. 5.200.0-0-generic] - go version: [e.g. 1.10.0 linux/amd64] - c compiler version (Option): [e.g. gcc version 1.1.0] ### Configuration File Provide the configuration file here. There is not much to the config, simply change the UPF section in the smf configuration ### Log File ``` 2021-03-23T08:22:59Z [INFO][SMF][App] Send PFCP Association Request to UPF[10.0.0.149] (/go/src/free5gc/src/smf/service/init.go:163 free5gc/src/smf/service.(*SMF).Start) 2021-03-23T08:22:59Z [WARN][SMF][Pfcp] Read PFCP error: Inadequate TLV length: 6 (/go/src/free5gc/src/smf/pfcp/udp/udp.go:37 free5gc/src/smf/pfcp/udp.Run.func1) 2021-03-23T08:23:02Z [WARN][SMF][Pfcp] Read PFCP error: Inadequate TLV length: 6 (/go/src/free5gc/src/smf/pfcp/udp/udp.go:37 free5gc/src/smf/pfcp/udp.Run.func1) 2021-03-23T08:23:05Z [WARN][SMF][Pfcp] Read PFCP error: Inadequate TLV length: 6 (/go/src/free5gc/src/smf/pfcp/udp/udp.go:37 free5gc/src/smf/pfcp/udp.Run.func1) 2021-03-23T08:23:08Z [INFO][LIB][PFCP] Remove Request Transaction [1] 2021-03-23T08:23:09Z [WARN][SMF][Pfcp] PFCP Heartbeat Request handling is not implemented (/go/src/free5gc/src/smf/pfcp/handler/handler.go:17 free5gc/src/smf/pfcp/handler.HandlePfcpHeartbeatRequest) 2021-03-23T08:23:19Z [WARN][SMF][Pfcp] PFCP Heartbeat Request handling is not implemented (/go/src/free5gc/src/smf/pfcp/handler/handler.go:17 free5gc/src/smf/pfcp/handler.HandlePfcpHeartbeatRequest) 2021-03-23T08:23:30Z [WARN][SMF][Pfcp] PFCP Heartbeat Request handling is not implemented (/go/src/free5gc/src/smf/pfcp/handler/handler.go:17 free5gc/src/smf/pfcp/handler.HandlePfcpHeartbeatRequest) ``` An existing issue was also raised in the travelping repo: https://github.com/travelping/upg-vpp/issues/101 The last comment was this: _Seems like the handling of PFPC IE UP Function Features in free5gc is broken. That IE is extensible and has been extended in R16. A length of 6 is perfectly legal and the SMF should ignore the bits it doesn't know about._
[Bugs] SMF Integration With TravelPing UPF
https://api.github.com/repos/free5gc/free5gc/issues/190/comments
10
2021-03-24T07:26:47Z
2021-08-12T10:07:13Z
https://github.com/free5gc/free5gc/issues/190
839,435,294
190
[ "free5gc", "free5gc" ]
error log: 2021-03-18T17:11:29-07:00 [INFO][UPF][Util] Removing DNN routes ls: cannot access '*sslkey.log': No such file or directory signal: terminated here is the full log: user@ubuntu:~/free5gc$ ././test.sh TestNon3GPP 2021-03-18T17:11:09-07:00 [INFO][UPF][Util] Config: /home/user/free5gc/NFs/upf/build/config/upfcfg.test.yaml 2021-03-18T17:11:09-07:00 [INFO][UPF][Util] UPF config version [1.0.0] 2021-03-18T17:11:09-07:00 [INFO][UPF][Util] Set log level: info 2021-03-18T17:11:09-07:00 [INFO][UPF][Util] DNN routes added, main routing table: 2021-03-18T17:11:09-07:00 [INFO][UPF][Util] DstIp Gateway Iface Priority RtProto Type 2021-03-18T17:11:09-07:00 [INFO][UPF][Util] 60.60.0.0 /24 0.0.0.0 upfgtp 0 static unicast 2021-03-18T17:11:09-07:00 [INFO][UPF][Util] 10.200.200.0 /24 0.0.0.0 veth1 0 kernel unicast unable to write file on filehook open ../log/nf/n3iwf.log: permission denied2021-03-18T17:11:24-07:00 [INFO][NRF][Init] NRF Log level is set to [info] level 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][MonDB] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][MonDB] set report call : false 2021-03-18T17:11:24-07:00 [INFO][NRF][CFG] config version [1.0.0] 2021-03-18T17:11:24-07:00 [INFO][NRF][Init] Server started 2021-03-18T17:11:24-07:00 [INFO][NRF][Init] nrfconfig Info: Version[1.0.0] Description[NRF initial local configuration] 2021-03-18T17:11:24-07:00 [INFO][NRF][Init] Binding addr: [127.0.0.10:8000] 2021-03-18T17:11:24-07:00 [INFO][AMF][Init] AMF Log level is set to [info] level 2021-03-18T17:11:24-07:00 [INFO][LIB][NAS] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][NAS] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][NGAP] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][NGAP] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][FSM] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][FSM] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][Aper] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][Aper] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set report call : false 2021-03-18T17:11:24-07:00 [INFO][AMF][CFG] config version [1.0.0] 2021-03-18T17:11:24-07:00 [INFO][AMF][Init] Server started 2021-03-18T17:11:24-07:00 [INFO][AMF][Util] amfconfig Info: Version[1.0.0] Description[AMF initial local configuration] 2021-03-18T17:11:24-07:00 [INFO][AMF][NGAP] Listen on 10.200.200.1:38412 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Handle NFRegisterRequest 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] urilist update 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Create NF Profile 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Location header: http://127.0.0.10:8000/nnrf-nfm/v1/nf-instances/e1f85a3c-da3d-4ac4-bfee-68c295e82188 2021-03-18T17:11:24-07:00 [INFO][NRF][GIN] | 201 | 127.0.0.1 | PUT | /nnrf-nfm/v1/nf-instances/e1f85a3c-da3d-4ac4-bfee-68c295e82188 | 2021-03-18T17:11:24-07:00 [INFO][SMF][Init] SMF Log level is set to [info] level 2021-03-18T17:11:24-07:00 [INFO][LIB][NAS] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][NAS] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][NGAP] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][NGAP] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][Aper] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][Aper] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][PFCP] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][PFCP] set report call : false 2021-03-18T17:11:24-07:00 [INFO][SMF][CFG] SMF config version [1.0.0] 2021-03-18T17:11:24-07:00 [INFO][SMF][CFG] UE-Routing config version [1.0.0] 2021-03-18T17:11:24-07:00 [INFO][SMF][CTX] smfconfig Info: Version[1.0.0] Description[SMF initial local configuration] 2021-03-18T17:11:24-07:00 [INFO][SMF][CTX] Endpoints: [10.200.200.102] 2021-03-18T17:11:24-07:00 [INFO][SMF][Init] Server started 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Handle NFRegisterRequest 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] urilist update 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Create NF Profile 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Location header: http://127.0.0.10:8000/nnrf-nfm/v1/nf-instances/3806e4bb-a541-4142-80f2-c37abef58b28 2021-03-18T17:11:24-07:00 [INFO][NRF][GIN] | 201 | 127.0.0.1 | PUT | /nnrf-nfm/v1/nf-instances/3806e4bb-a541-4142-80f2-c37abef58b28 | 2021-03-18T17:11:24-07:00 [INFO][SMF][Init] SMF Registration to NRF {3806e4bb-a541-4142-80f2-c37abef58b28 SMF REGISTERED 0 0xc000574a80 0xc000574ac0 [] [] [127.0.0.2] [] <nil> [] [] <nil> 0 0 0 <nil> <nil> <nil> <nil> 0xc00027d780 <nil> <nil> <nil> <nil> <nil> map[] <nil> false 0xc000574900 false false []} 2021-03-18T17:11:24-07:00 [INFO][SMF][PFCP] Listen on 10.200.200.1:8805 2021-03-18T17:11:24-07:00 [INFO][SMF][App] Send PFCP Association Request to UPF[10.200.200.101] 2021-03-18T17:11:24-07:00 [INFO][UPF][Util] [PFCP] Handle PFCP association setup request 2021-03-18T17:11:24-07:00 [INFO][UPF][Util] [PFCP] Association Setup Response 2021-03-18T17:11:24-07:00 [INFO][SMF][PFCP] In HandlePfcpAssociationSetupResponse 2021-03-18T17:11:24-07:00 [INFO][SMF][PFCP] Handle PFCP Association Setup Response with NodeID[10.200.200.101] 2021-03-18T17:11:24-07:00 [INFO][SMF][PFCP] UPF(10.200.200.101)[internet] setup association 2021-03-18T17:11:24-07:00 [INFO][LIB][PFCP] Remove Request Transaction [1] 2021-03-18T17:11:24-07:00 [INFO][UDR][Init] UDR Log level is set to [info] level 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][MonDB] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][MonDB] set report call : false 2021-03-18T17:11:24-07:00 [INFO][UDR][CFG] config version [1.0.0] 2021-03-18T17:11:24-07:00 [INFO][UDR][Init] UDR Config Info: Version[1.0.0] Description[UDR initial local configuration] 2021-03-18T17:11:24-07:00 [INFO][UDR][Init] Server started 2021-03-18T17:11:24-07:00 [INFO][UDR][Util] udrconfig Info: Version[1.0.0] Description[UDR initial local configuration] 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Handle NFRegisterRequest 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] urilist update 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Create NF Profile 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Location header: http://127.0.0.10:8000/nnrf-nfm/v1/nf-instances/bbc8d6e7-63f5-40c9-9544-c807e287e894 2021-03-18T17:11:24-07:00 [INFO][NRF][GIN] | 201 | 127.0.0.1 | PUT | /nnrf-nfm/v1/nf-instances/bbc8d6e7-63f5-40c9-9544-c807e287e894 | 2021-03-18T17:11:24-07:00 [INFO][PCF][Init] PCF Log level is set to [info] level 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set log level : info 2021-03-18T17:11:24-07:00 [INFO][LIB][OAPI] set report call : false 2021-03-18T17:11:24-07:00 [INFO][PCF][CFG] config version [1.0.0] 2021-03-18T17:11:24-07:00 [INFO][PCF][Init] Server started 2021-03-18T17:11:24-07:00 [INFO][PCF][Util] pcfconfig Info: Version[1.0.0] Description[PCF initial local configuration] 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Handle NFRegisterRequest 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] urilist update 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Create NF Profile 2021-03-18T17:11:24-07:00 [INFO][NRF][MGMT] Location header: http://127.0.0.10:8000/nnrf-nfm/v1/nf-instances/462f3e45-c0b5-4f0b-8345-0a242191dd14 2021-03-18T17:11:24-07:00 [INFO][NRF][GIN] | 201 | 127.0.0.1 | PUT | /nnrf-nfm/v1/nf-instances/462f3e45-c0b5-4f0b-8345-0a242191dd14 | 2021-03-18T17:11:24-07:00 [INFO][NRF][DSCV] Handle NFDiscoveryRequest 2021-03-18T17:11:24-07:00 [INFO][NRF][GIN] | 200 | 127.0.0.1 | GET | /nnrf-disc/v1/nf-instances?requester-nf-type=PCF&service-names=nudr-dr&target-nf-type=UDR | 2021-03-18T17:11:25-07:00 [INFO][UDM][Init] UDM Log level is set to [info] level 2021-03-18T17:11:25-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:25-07:00 [INFO][LIB][OAPI] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][OAPI] set report call : false 2021-03-18T17:11:25-07:00 [INFO][UDM][CFG] config version [1.0.0] 2021-03-18T17:11:25-07:00 [INFO][UDM][Init] UDM Config Info: Version[1.0.0] Description[UDM initial local configuration] 2021-03-18T17:11:25-07:00 [INFO][UDM][Init] Server started 2021-03-18T17:11:25-07:00 [INFO][UDM][Util] udmconfig Info: Version[1.0.0] Description[UDM initial local configuration] 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Handle NFRegisterRequest 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] urilist update 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Create NF Profile 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Location header: http://127.0.0.10:8000/nnrf-nfm/v1/nf-instances/927fbb25-c080-453d-93d1-2a8a5dbe4347 2021-03-18T17:11:25-07:00 [INFO][NRF][GIN] | 201 | 127.0.0.1 | PUT | /nnrf-nfm/v1/nf-instances/927fbb25-c080-453d-93d1-2a8a5dbe4347 | 2021-03-18T17:11:25-07:00 [INFO][NSSF][Init] NSSF Log level is set to [info] level 2021-03-18T17:11:25-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:25-07:00 [INFO][LIB][OAPI] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][OAPI] set report call : false 2021-03-18T17:11:25-07:00 [INFO][NSSF][CFG] config version [1.0.0] 2021-03-18T17:11:25-07:00 [INFO][NSSF][Init] Server started 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Handle NFRegisterRequest 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] urilist update 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Create NF Profile 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Location header: http://127.0.0.10:8000/nnrf-nfm/v1/nf-instances/679ad4f6-866e-42cc-b273-799116a4b93c 2021-03-18T17:11:25-07:00 [INFO][NRF][GIN] | 201 | 127.0.0.1 | PUT | /nnrf-nfm/v1/nf-instances/679ad4f6-866e-42cc-b273-799116a4b93c | 2021-03-18T17:11:25-07:00 [INFO][AUSF][Init] AUSF Log level is set to [info] level 2021-03-18T17:11:25-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:25-07:00 [INFO][LIB][OAPI] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][OAPI] set report call : false 2021-03-18T17:11:25-07:00 [INFO][AUSF][CFG] config version [1.0.0] 2021-03-18T17:11:25-07:00 [INFO][AUSF][Init] Server started 2021-03-18T17:11:25-07:00 [INFO][AUSF][Init] ausfconfig Info: Version[1.0.0] Description[AUSF initial local configuration] ausf context = &{{{0 0} {<nil>} map[] 0} {{0 0} {<nil>} map[] 0} 46c21667-5af7-426b-9b03-741a6d26e4e5 ausfGroup001 8000 127.0.0.9 127.0.0.9 http://127.0.0.9:8000 http http://127.0.0.10:8000 map[nausf-auth:{46c21667-5af7-426b-9b03-741a6d26e4e5 nausf-auth 0xc0006e92a0 http REGISTERED 0xc0006e9280 [] <nil> [] [] <nil> 0 0 0 <nil> <nil> }] [{208 93} {123 45}] 0xc00043d860} 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Handle NFRegisterRequest 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] urilist update 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Create NF Profile 2021-03-18T17:11:25-07:00 [INFO][NRF][MGMT] Location header: http://127.0.0.10:8000/nnrf-nfm/v1/nf-instances/46c21667-5af7-426b-9b03-741a6d26e4e5 2021-03-18T17:11:25-07:00 [INFO][NRF][GIN] | 201 | 127.0.0.1 | PUT | /nnrf-nfm/v1/nf-instances/46c21667-5af7-426b-9b03-741a6d26e4e5 | 2021-03-18T17:11:25-07:00 [INFO][N3IWF][App] n3iwf 2021-03-18T17:11:25-07:00 [INFO][N3IWF][App] N3IWF version: Not specify ldflags (which link version) during go build go version: go1.14.4 linux/amd64 2021-03-18T17:11:25-07:00 [INFO][N3IWF][Init] N3IWF Log level is set to [info] level 2021-03-18T17:11:25-07:00 [INFO][LIB][NGAP] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][NGAP] set report call : false 2021-03-18T17:11:25-07:00 [INFO][LIB][Aper] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][Aper] set report call : false 2021-03-18T17:11:25-07:00 [INFO][LIB][Path] set log level : info 2021-03-18T17:11:25-07:00 [INFO][LIB][Path] set report call : false 2021-03-18T17:11:25-07:00 [INFO][N3IWF][CFG] config version [1.0.0] 2021-03-18T17:11:25-07:00 [INFO][N3IWF][Init] Server started 2021-03-18T17:11:25-07:00 [WARN][N3IWF][Context] No private key file path specified, load default key file... 2021-03-18T17:11:25-07:00 [WARN][N3IWF][Context] Parse PKCS8 private key failed: x509: failed to parse private key (use ParsePKCS1PrivateKey instead for this key format) 2021-03-18T17:11:25-07:00 [INFO][N3IWF][Context] Parse using PKCS1... 2021-03-18T17:11:25-07:00 [WARN][N3IWF][Context] No certificate authority file path specified, load default CA certificate... 2021-03-18T17:11:25-07:00 [WARN][N3IWF][Context] No certificate file path specified, load default certificate... 2021-03-18T17:11:25-07:00 [INFO][AMF][NGAP] [AMF] SCTP Accept from: 10.200.200.1/60.60.0.1/192.168.2.132/10.200.200.2/192.168.127.1/10.0.0.1:39442 2021-03-18T17:11:25-07:00 [INFO][N3IWF][Init] NGAP service running. 2021-03-18T17:11:25-07:00 [INFO][N3IWF][Init] NAS TCP server successfully started. 2021-03-18T17:11:25-07:00 [INFO][N3IWF][NGAP] [N3IWF] Send NG Setup Request 2021-03-18T17:11:25-07:00 [INFO][N3IWF][Init] Listening NWu user plane traffic 2021-03-18T17:11:25-07:00 [INFO][N3IWF][Init] IKE service running. 2021-03-18T17:11:25-07:00 [INFO][N3IWF][Init] N3IWF running... 2021-03-18T17:11:25-07:00 [INFO][AMF][NGAP] Create a new NG connection for: 10.200.200.1/60.60.0.1/192.168.2.132/10.200.200.2/192.168.127.1/10.0.0.1:39442 2021-03-18T17:11:25-07:00 [INFO][AMF][NGAP][10.200.200.1/60.60.0.1/192.168.2.132/10.200.200.2/192.168.127.1/10.0.0.1:39442] Handle NG Setup request 2021-03-18T17:11:25-07:00 [INFO][AMF][NGAP][10.200.200.1/60.60.0.1/192.168.2.132/10.200.200.2/192.168.127.1/10.0.0.1:39442] Send NG-Setup response 2021-03-18T17:11:25-07:00 [INFO][N3IWF][NGAP] [N3IWF] Handle NG Setup Response === RUN TestCN go: github.com/free5gc/[email protected]: Get "https://proxy.golang.org/github.com/free5gc/%21common%21consumer%21test%21data/@v/v1.0.0.mod": dial tcp: lookup proxy.golang.org: Temporary failure in name resolution 2021-03-18T17:11:29-07:00 [INFO][UPF][Util] Removing DNN routes ls: cannot access '*sslkey.log': No such file or directory signal: terminated 2021-03-18T17:11:30-07:00 [INFO][PCF][Init] Terminating PCF... 2021-03-18T17:11:30-07:00 [INFO][PCF][Consumer] Send Deregister NFInstance 2021-03-18T17:11:30-07:00 [INFO][UDM][Init] Terminating UDM... 2021-03-18T17:11:30-07:00 [INFO][UDM][Consumer] Send Deregister NFInstance 2021-03-18T17:11:30-07:00 [INFO][NSSF][Init] Terminating NSSF... 2021-03-18T17:11:30-07:00 [INFO][NSSF][App] Send Deregister NFInstance 2021-03-18T17:11:30-07:00 [INFO][AUSF][Init] Terminating AUSF... 2021-03-18T17:11:30-07:00 [INFO][AUSF][App] Send Deregister NFInstance 2021-03-18T17:11:30-07:00 [INFO][AMF][Init] Terminating AMF... 2021-03-18T17:11:30-07:00 [INFO][AMF][Consumer] [AMF] Send Deregister NFInstance 2021-03-18T17:11:30-07:00 [INFO][SMF][Init] Terminating SMF... 2021-03-18T17:11:30-07:00 [INFO][SMF][Consumer] Send Deregister NFInstance 2021-03-18T17:11:30-07:00 [INFO][UDR][Init] Terminating UDR... 2021-03-18T17:11:30-07:00 [INFO][UDR][Consumer] Send Deregister NFInstance 2021-03-18T17:11:30-07:00 [INFO][NRF][MGMT] Handle NFDeregisterRequest 2021-03-18T17:11:30-07:00 [INFO][NRF][MGMT] Handle NFDeregisterRequest 2021-03-18T17:11:30-07:00 [INFO][NRF][MGMT] Handle NFDeregisterRequest 2021-03-18T17:11:30-07:00 [INFO][NRF][MGMT] Handle NFDeregisterRequest 2021-03-18T17:11:30-07:00 [INFO][NRF][MGMT] Handle NFDeregisterRequest 2021-03-18T17:11:30-07:00 [INFO][NRF][MGMT] Handle NFDeregisterRequest 2021-03-18T17:11:30-07:00 [INFO][NRF][MGMT] Handle NFDeregisterRequest 2021-03-18T17:11:31-07:00 [INFO][NRF][GIN] | 204 | 127.0.0.1 | DELETE | /nnrf-nfm/v1/nf-instances/bbc8d6e7-63f5-40c9-9544-c807e287e894 | 2021-03-18T17:11:31-07:00 [INFO][NRF][GIN] | 204 | 127.0.0.1 | DELETE | /nnrf-nfm/v1/nf-instances/462f3e45-c0b5-4f0b-8345-0a242191dd14 | 2021-03-18T17:11:31-07:00 [INFO][PCF][Init] Deregister from NRF successfully 2021-03-18T17:11:31-07:00 [INFO][PCF][Init] PCF terminated ok test 7.763s
[Bugs]N3IWF and 5gc start fail
https://api.github.com/repos/free5gc/free5gc/issues/189/comments
4
2021-03-20T05:59:47Z
2023-07-21T07:31:11Z
https://github.com/free5gc/free5gc/issues/189
836,730,836
189
[ "free5gc", "free5gc" ]
Hi @free5gc-org After git clone free5gc, I ran the following script to change each NFs branch to `main` and tried to build all NFs, ``` #!/usr/bin/env bash NF_LIST="nrf amf smf udr pcf udm nssf ausf upf n3iwf" for NF in ${NF_LIST}; do cd NFs/${NF} git checkout main cd ../.. done cd webconsole git checkout main ``` but failed to build `amf` as follows. ``` # make amf Start building amf.... cd NFs/amf && \ CGO_ENABLED=0 go build -ldflags "-X github.com/free5gc/version.VERSION=v3.0.5 -X github.com/free5gc/version.BUILD_TIME=2021-03-16T12:56:40Z -X github.com/free5gc/version.COMMIT_HASH=+941d6ac -X github.com/free5gc/version.COMMIT_TIME=2021-03-12T00:52:26Z" -o /root/free5gc/bin/amf amf.go # github.com/free5gc/amf/ngap/message ngap/message/send.go:16:4: undefined: ngaplog make: *** [Makefile:44: bin/amf] Error 2 ``` I was able to build all other NFs except `amf`. I would be very glad if you could fix it. Best regards, --Shigeru
[Bugs] Failed to build the main branch of amf
https://api.github.com/repos/free5gc/free5gc/issues/188/comments
2
2021-03-16T13:22:17Z
2021-03-21T09:38:41Z
https://github.com/free5gc/free5gc/issues/188
832,794,133
188
[ "free5gc", "free5gc" ]
## Describe the bug I did a clean install of both v3.0.4 and v3.0.5. v3.0.4 was working correctly, but v3.0.5 is not bootstrapping the NRF component correctly anymore. It is crashing with a fatal warning in the MonDB library. [FATA][LIB][MonDB] (BadValue) $or must be an array (/go/pkg/mod/github.com/free5gc/[email protected]/api_mongoDB.go:54 github.com/free5gc/MongoDBLibrary.RestfulAPIGetMany) ## To Reproduce Steps to reproduce the behavior: 1. Install a clean mongo DB 2. Do a clean install of all NFs 3. Observe the startup traces from the NRF function, which is crashing NOTE: all other NF boot correctly and the Mongo DB has registered them correctly ## Expected behavior NRF should start without fatal errors ## Environment (please complete the following information): - free5GC Version: v3.0.5 - OS: Ubuntu 20.04 Server - Mongo DB: v4.2.7 ## Trace File ### Configuration File nrfcfg.conf: | info: version: 1.0.0 description: NRF initial local configuration configuration: MongoDBName: free5gc MongoDBUrl: mongodb://f5gc-mongodb:27017 DefaultServiceIP: f5gc-nrf sbi: scheme: http registerIPv4: f5gc-nrf bindingIPv4: 0.0.0.0 port: 29510 DefaultPlmnId: mcc: "208" mnc: "93" serviceNameList: - nnrf-nfm - nnrf-disc nrfUri: http://f5gc-nrf:29510 db_uri: mongodb://f5gc-mongodb:27017/free5GC # the kind of log output # debugLevel: how detailed to output, value: trace, debug, info, warn, error, fatal, panic # ReportCaller: enable the caller report or not, value: true or false logger: NRF: debugLevel: trace ReportCaller: true PathUtil: debugLevel: trace ReportCaller: false OpenApi: debugLevel: trace ReportCaller: false MongoDBLibrary: debugLevel: trace ReportCaller: true ### Log File 2021-03-09T03:49:52Z [INFO][NRF][App] NRF version: free5GC version: v3.0.5 build time: 2021-03-06T04:02:30Z commit hash: 386a6bdd commit time: 2021-01-30T15:57:26Z go version: go1.14.4 linux/amd64 2021-03-09T03:49:52Z [INFO][NRF][Init] NRF Log level is set to [trace] level 2021-03-09T03:49:52Z [INFO][LIB][Path] set log level : trace 2021-03-09T03:49:52Z [INFO][LIB][Path] set report call : false 2021-03-09T03:49:52Z [INFO][LIB][OAPI] set log level : trace 2021-03-09T03:49:52Z [INFO][LIB][OAPI] set report call : false 2021-03-09T03:49:52Z [INFO][LIB][MonDB] set log level : trace 2021-03-09T03:49:52Z [INFO][LIB][MonDB] set report call : true 2021-03-09T03:49:52Z [INFO][NRF][CFG] config version [1.0.0] (/go/src/free5gc/NFs/nrf/factory/factory.go:41 github.com/free5gc/nrf/factory.CheckConfigVersion) [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET / --> github.com/free5gc/nrf/accesstoken.Index (3 handlers) [GIN-debug] POST /oauth2/token --> github.com/free5gc/nrf/accesstoken.HTTPAccessTokenRequest (3 handlers) [GIN-debug] GET /nnrf-disc/v1/ --> github.com/free5gc/nrf/discovery.Index (3 handlers) [GIN-debug] GET /nnrf-disc/v1/nf-instances --> github.com/free5gc/nrf/discovery.HTTPSearchNFInstances (3 handlers) [GIN-debug] GET /nnrf-nfm/v1/ --> github.com/free5gc/nrf/management.Index (3 handlers) [GIN-debug] DELETE /nnrf-nfm/v1/nf-instances/:nfInstanceID --> github.com/free5gc/nrf/management.HTTPDeregisterNFInstance (3 handlers) [GIN-debug] GET /nnrf-nfm/v1/nf-instances/:nfInstanceID --> github.com/free5gc/nrf/management.HTTPGetNFInstance (3 handlers) [GIN-debug] PUT /nnrf-nfm/v1/nf-instances/:nfInstanceID --> github.com/free5gc/nrf/management.HTTPRegisterNFInstance (3 handlers) [GIN-debug] PATCH /nnrf-nfm/v1/nf-instances/:nfInstanceID --> github.com/free5gc/nrf/management.HTTPUpdateNFInstance (3 handlers) [GIN-debug] GET /nnrf-nfm/v1/nf-instances --> github.com/free5gc/nrf/management.HTTPGetNFInstances (3 handlers) [GIN-debug] DELETE /nnrf-nfm/v1/subscriptions/:subscriptionID --> github.com/free5gc/nrf/management.HTTPRemoveSubscription (3 handlers) [GIN-debug] PATCH /nnrf-nfm/v1/subscriptions/:subscriptionID --> github.com/free5gc/nrf/management.HTTPUpdateSubscription (3 handlers) [GIN-debug] POST /nnrf-nfm/v1/subscriptions --> github.com/free5gc/nrf/management.HTTPCreateSubscription (3 handlers) 2021-03-09T03:49:52Z [INFO][NRF][Init] Server started (/go/src/free5gc/NFs/nrf/service/init.go:177 github.com/free5gc/nrf/service.(*NRF).Start) 2021-03-09T03:49:52Z [INFO][NRF][Init] nrfconfig Info: Version[1.0.0] Description[NRF initial local configuration] (/go/src/free5gc/NFs/nrf/context/context.go:21 github.com/free5gc/nrf/context.InitNrfContext) 2021-03-09T03:49:52Z [INFO][NRF][Init] Binding addr: [0.0.0.0:29510] (/go/src/free5gc/NFs/nrf/service/init.go:198 github.com/free5gc/nrf/service.(*NRF).Start) 2021-03-09T03:49:54Z [INFO][NRF][MGMT] Handle NFRegisterRequest (/go/src/free5gc/NFs/nrf/producer/nf_management.go:55 github.com/free5gc/nrf/producer.HandleNFRegisterRequest) 2021-03-09T03:49:54Z [TRAC][NRF][MGMT] [NRF] In NFRegisterProcedure (/go/src/free5gc/NFs/nrf/producer/nf_management.go:313 github.com/free5gc/nrf/producer.NFRegisterProcedure) 2021-03-09T03:49:54Z [INFO][NRF][MGMT] Handle NFRegisterRequest (/go/src/free5gc/NFs/nrf/producer/nf_management.go:55 github.com/free5gc/nrf/producer.HandleNFRegisterRequest) 2021-03-09T03:49:54Z [TRAC][NRF][MGMT] [NRF] In NFRegisterProcedure (/go/src/free5gc/NFs/nrf/producer/nf_management.go:313 github.com/free5gc/nrf/producer.NFRegisterProcedure) 2021-03-09T03:49:54Z [INFO][NRF][MGMT] urilist update (/go/src/free5gc/NFs/nrf/context/management_data.go:441 github.com/free5gc/nrf/context.SetLocationHeader) 2021-03-09T03:49:54Z [INFO][NRF][MGMT] urilist update (/go/src/free5gc/NFs/nrf/context/management_data.go:441 github.com/free5gc/nrf/context.SetLocationHeader) 2021-03-09T03:49:54Z [INFO][NRF][MGMT] RestfulAPIPutOne True Insert (/go/src/free5gc/NFs/nrf/producer/nf_management.go:346 github.com/free5gc/nrf/producer.NFRegisterProcedure) 2021-03-09T03:49:54Z [INFO][NRF][MGMT] RestfulAPIPutOne True Insert (/go/src/free5gc/NFs/nrf/producer/nf_management.go:346 github.com/free5gc/nrf/producer.NFRegisterProcedure) 2021-03-09T03:49:54Z [TRAC][NRF][MGMT] register success (/go/src/free5gc/NFs/nrf/producer/nf_management.go:61 github.com/free5gc/nrf/producer.HandleNFRegisterRequest) 2021-03-09T03:49:54Z [INFO][NRF][GIN] | 201 | 127.0.0.1 | PUT | /nnrf-nfm/v1/nf-instances/5ef722ed-9f3c-4fd1-b8a4-94ac4edb62ed | (/go/pkg/mod/github.com/free5gc/[email protected]/logger_util.go:76 github.com/free5gc/logger_util.ginToLogrus.func1) 2021-03-09T03:49:54Z [FATA][LIB][MonDB] (BadValue) $or must be an array (/go/pkg/mod/github.com/free5gc/[email protected]/api_mongoDB.go:54 github.com/free5gc/MongoDBLibrary.RestfulAPIGetMany) ## Extra Info The mongo DB (v4.2.7) is initialized correctly and will contain the following collections after a test: - NfProfile - policyData.ues.amData - policyData.ues.smData - subscriptionData.authenticationData.authenticationSubscription - subscriptionData.provisionedData.amData - subscriptionData.provisionedData.smData - subscriptionData.provisionedData.smfSelectionSubscriptionData - urilist The NfProfile and urilist collections, contain 7 documents each: AMF, AUSF, NSSF, PCF, SMF, UDM and UDR.
[Bugs] In 3.0.5 NRF fails initializing with a MonDB Fatal Error
https://api.github.com/repos/free5gc/free5gc/issues/187/comments
2
2021-03-09T04:09:59Z
2022-03-01T11:04:53Z
https://github.com/free5gc/free5gc/issues/187
825,280,249
187
[ "free5gc", "free5gc" ]
## Describe the bug - GTP Tunnel sequence number issue According to 3GPP TS 29.281 GTP Tunnel sequence number should be same "The Sequence Number in a signalling response message shall be copied from the signalling request message that the GTP-U entity is replying to" ![image](https://user-images.githubusercontent.com/26329788/110272881-39094500-8006-11eb-9eee-d0e692b2296d.png) In your implementation, upf/src/up/up_path.c. line 105 ` ._seqNum = (gtpRespHrd.flags & 0x02) ? htons(ntohs(opthrd->_seqNum) + 1) : 0,` there may be something wrong for the seqNum +1 We are tying to attach a 5G SA UE to free5GC UPF (via one of the vendor's RAN & Core), the PDU session will be deleted by SMF, and the reason seems to be incorrect sequence number in GTP_Echo_Response ## Environment (please complete the following information): - free5GC Version: 3.0.5 - OS: Ubuntu
[Bugs]GTP Tunnel sequence number issue
https://api.github.com/repos/free5gc/free5gc/issues/186/comments
4
2021-03-08T04:11:08Z
2021-03-19T10:35:42Z
https://github.com/free5gc/free5gc/issues/186
824,144,980
186
[ "free5gc", "free5gc" ]
## Description UE Identification will fail if SUCI is encrypted with Profile B public key. This because UDM always selects Profile A key. The issue is this line: https://github.com/free5gc/udm/blob/e89dcbf12b4adc1f2b745122b55723089a1d4c45/producer/generate_auth_data.go#L162 Profile A key is passed no matter if SUCI is protected with profile A or B. ## Steps to Reproduce 1.) configure USIM with protection scheme Profile B. 3.) perform authentication to free5gc. The authentication will fail because the UDM always tries Subscription-Identifier Deconcealing (SIDF) with Profile A. ## Expected behavior UDM deconceals SUCI with either Profile A or Profile B. If the Profile B key is passed to `suci.ToSupi()`, the SIDF works as expected. ## Workaround UDM deconceals SUCI with either Profile A or Profile B. As a quick workaround, I'm passing both keys to `suci.toSupi`: https://github.com/mrlnc/udm/commit/9b602ba06fb190754d41ceb94d6d2d2a022ef833 https://github.com/mrlnc/util_3gpp/commit/aeb97ebdd18daa3f06c9ac7acee1b8cacafae0c1 ## Environment - free5GC Version: v3.0.5
[Bugs][UDM] supi/suci: protection scheme Profile A hardcoded in UDM
https://api.github.com/repos/free5gc/free5gc/issues/185/comments
3
2021-02-26T10:51:26Z
2021-08-09T11:35:02Z
https://github.com/free5gc/free5gc/issues/185
817,251,858
185
[ "free5gc", "free5gc" ]
## Describe the bug When i run the ./test.sh TestRegistration i got the error "this upf do not associate with smf", with upf ip : 10.200.200.101. And the test finish on a panic: test timed out after 10min. ## To Reproduce Steps to reproduce the behavior: 1. Install the free5gc package 2. Follow the step and being at the testing one 3. ./test.sh TestRegistration ## Expected behavior Expect SUCCESS at the end of the test. ## Screenshots ![image](https://user-images.githubusercontent.com/38696298/108993908-73d0bc00-769b-11eb-819a-cb8fe029e56c.png) ## Environment (please complete the following information): - free5GC Version v3.0.5 - OS Ubuntu 20.04.1 - Kernel version 5.8.0-43-generic - go version: 1.16 linux/amd64 - gcc version 9.3.0 - mongo 3.6.8 I'm working on Windows with VmWare. ## Trace File ### Configuration File The configuration file for the SMF is the classic one given in the package free5gc. I didn't modify anything. But the TestRegistration add a new UE ID, like we can saw on this screen (the second one, the first was made with the webconsole). ![image](https://user-images.githubusercontent.com/38696298/108994481-23a62980-769c-11eb-92a2-3faadeb859d0.png)
[Bugs] ERROR SMF CTX this upf do not associate with smf
https://api.github.com/repos/free5gc/free5gc/issues/184/comments
2
2021-02-24T11:31:26Z
2022-06-20T19:10:18Z
https://github.com/free5gc/free5gc/issues/184
815,391,225
184
[ "free5gc", "free5gc" ]
## Describe the bug the Configuration of Session-AMBR (Aggregate Maximum Bit Rate)is not in effect ## To Reproduce Steps to reproduce the behavior: 1. I changed the ue subscribe info in mogodb, and the table name is subscriptionData.provisionedData.smData. 2. sessionAmbr:{ "uplink":"1000Kbps", "downlink":"1000Kbps" } 3. Run the free5gc functions use the recommended script run.sh ## Expected behavior The uplink and downlink rate of UE should be controlled within 1000Kbps ## Screenshots However, the rate at which UE can actually receive and transmit is not limited ## Environment : - free5GC Version: [v3.0.5] - OS: [Ubuntu 18.04 Server] - Kernel version: [5.0.0-23-generic] - go version: [1.14.4 linux/amd64]
[Bugs]Session-AMBR is not in effect
https://api.github.com/repos/free5gc/free5gc/issues/183/comments
2
2021-02-24T06:53:44Z
2023-07-03T09:41:57Z
https://github.com/free5gc/free5gc/issues/183
815,168,161
183
[ "free5gc", "free5gc" ]
I am using free5gc ver3.0.5. 1. I registered the UE from the Web Console. 2. After that, I logged out and logged in again. 3. After that, press the change button and confirm the input data I wanted to see the IMSI number data I entered in 1. However, the default value was displayed. In the correct operation, I think that when you press the Modify button, the data on the DB should be read and displayed.
[Bugs]DB contents are not read when Modifying with Webconsole.
https://api.github.com/repos/free5gc/free5gc/issues/182/comments
2
2021-02-22T08:06:11Z
2022-04-19T14:50:33Z
https://github.com/free5gc/free5gc/issues/182
813,246,583
182
[ "free5gc", "free5gc" ]
## Describe the bug When UE sends the Deregistration Request to Core-Network, CN does not respond to UE Deregistration Accept. ## To Reproduce The UE performs registration and deregistration multiple times; eventually, this bug occurs. ## Expected behavior CN needs to respond to UE Deregistration Accept message. ## Root cause Because of SM state transition to `PFCPModification` state after sending the "PFCP Session Deletion Request" message, the SMF receives "PFCP Session Deletion Response" before the state transition, the PFCP handler function `HandlePfcpSessionDeletionResponse` will not perform correctly. ## Environment (please complete the following information): - free5GC Version: v3.0.5 - OS: Ubuntu 18.04 Server - Kernel version: ubuntu 5.0.0-23-generic - go version: 1.14.4 linux/amd64 - c compiler version (Option): gcc Ubuntu 7.5.0-3ubuntu1~18.04 ## Pull Request https://github.com/free5gc/smf/pull/19
[Bugs] UE deregistration failed
https://api.github.com/repos/free5gc/free5gc/issues/181/comments
1
2021-02-19T09:46:34Z
2021-02-20T03:01:00Z
https://github.com/free5gc/free5gc/issues/181
811,870,221
181
[ "free5gc", "free5gc" ]
**If the design issue template is not followed, the issue might be closed.** <!-- Remove above warning line while reporting the issue --> ## Documentation request It looks like " Installation / 4. User-plane Supporting Packages " need to install g++ . Thanks. ## Suggestion -- ## Additional context ![pic_01](https://user-images.githubusercontent.com/36539988/108484832-39e86a00-72d7-11eb-95e2-4e601de564a0.png)
[Docs] Installation / User-plane Supporting Packages
https://api.github.com/repos/free5gc/free5gc/issues/180/comments
3
2021-02-19T09:33:16Z
2021-04-24T04:38:06Z
https://github.com/free5gc/free5gc/issues/180
811,860,950
180
[ "free5gc", "free5gc" ]
## Describe the bug I have an error while i running the following command : ./bin/nrf in the free5gc repository. ## To Reproduce Steps to reproduce the behavior: 1. Install the free5gc package 2. Follow the step one by one on the github free5gc (installation stage 3) 3. ./build.sh 4. ./run.sh or ./bin/nrf ## Expected behavior Launch the NRF. ## Screenshots ![image](https://user-images.githubusercontent.com/38696298/108388962-7781c000-720f-11eb-9f57-732471d6c83b.png) ## Environment (please complete the following information): - free5GC Version v3.0.0 - OS Ubuntu 20.04.1 - Kernel version 5.8.0-43-generic - go version: 1.12.9 linux/amd64 - gcc version 9.3.0 - mongo 3.6.8 I'm working on Windows with VmWare. I think that the problem comes from the mongodb library but i reinstall the latest version to be sure, and it didn't work. Or maybe i start the NRF with the wrong command.
[Bugs] FATAL error while running ./bin/nrf <invalid reflect.Value>MongoDB=MongoDB
https://api.github.com/repos/free5gc/free5gc/issues/179/comments
0
2021-02-18T16:40:59Z
2021-02-24T11:36:57Z
https://github.com/free5gc/free5gc/issues/179
811,269,860
179
[ "free5gc", "free5gc" ]
## Describe the bug Repeated UE connection and disconnection causes no response to Deregistration Request ## To Reproduce Connect and disconnect UE many times eventually cause no response to Deregistration Request. ## Expected behavior SMF to return Deregistration Request. ## Root cause. When SMF receives Deregistration Request following procedure is expected. 1. AMF -> SMF Deregistration Request 1.1 Send PFCP Session Deletion Request 1.2 Set SMContextState to PFCPModification 1.3 Create channel SBIPFCPCommunicationChan for receiving message 2. SMF -> UPF PFCP Session Deletion Request 3. UPF -> SMF PFCP Session Deletion Response 4. SMF -> AMF Deregistration Accept It seems 2. and 3. runs before 1.1 and 1.2 completes. So when SMF receives PFCP Session Deletion Response from UPF. SMContextState is still Active (it should be PFCPModification). The PR try to refer the SMConetxtState to be non Active 10 times. There would be better solution but it solves the issue. ## Environment (please complete the following information): - free5GC Version: 3.0.5 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.15.8 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/smf/pull/16) for the fix.
[Bugs] SMF Repeated UE connection and disconnection causes no response to Deregistration Request
https://api.github.com/repos/free5gc/free5gc/issues/178/comments
3
2021-02-17T12:04:48Z
2021-02-22T06:09:58Z
https://github.com/free5gc/free5gc/issues/178
810,124,543
178
[ "free5gc", "free5gc" ]
## Describe the bug UPF source tree is not sync up with libgtp5gnl v0.3.0. Also upf/updk/src/kernel/rule/qer.c is not implemented. So even if we upgrade to libgtp5gnl v0.3.0, we can't have QER support. ## To Reproduce Upgrade libgtp5gnl to v0.3.0. ## Expected behavior QER support should works fine with libgtp5gnl v0.3.0. ## Environment (please complete the following information): - free5GC Version: 3.0.5 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.15.8 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/upf/pull/17) for the fix.
[Bugs] UPF Sync up to libgtp5gnl v0.3.0 for QER support
https://api.github.com/repos/free5gc/free5gc/issues/177/comments
1
2021-02-17T01:07:33Z
2021-02-19T03:13:38Z
https://github.com/free5gc/free5gc/issues/177
809,766,395
177
[ "free5gc", "free5gc" ]
## Describe the bug AMF fails to recover from Sync Failure scenario described in TS 24.501 5.4.1.3.7 case f. AMF shall include context RAND in UEAuthenticateRequest message when it receives AuthenticationFailure message from UE with cause of SynchFailure. ## To Reproduce UE to send AuthenticationFailure with cause of SynchFailure. ## Expected behavior AMF include context RAND in UEAuthenticateRequest message and recover from Sync Failure scenario. ## Environment (please complete the following information): - free5GC Version: 3.0.5 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.15.8 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/27) for the fix.
[Bugs] AMF shall include context RAND in UEAuthenticateRequest when Synch Failure
https://api.github.com/repos/free5gc/free5gc/issues/176/comments
8
2021-02-15T20:43:24Z
2021-07-27T14:39:11Z
https://github.com/free5gc/free5gc/issues/176
808,807,593
176
[ "free5gc", "free5gc" ]
## Issue Description I think it might be good to include some performance metrics e.g. Prometheus metrics. This will provide an opportunity to have a dashboard that shows how the free5gc deployment is behaving. ### What's the version are you using Not related to a particular free5c version. ### Is your feature request related to a problem? Please describe. No it is not ### Describe the solution you'd like - Free5gc components (amf,smf,pcf,upf etc.) generate metrics that can be scrapped (e.g. Prometheus). - Example of metrics will be Attach Failure/Success Rate, Number of UEs, Number of GnB, Bearer statistics etc. - Metrics can now be used to create dashboards (e.g. Grafana). ### Describe alternatives/workarounds you've considered I don't think there is an existing solution for this with regards to free5gc. ## Issue Template Checklist <!-- Please answer the questions below. If not the issue might be disregarded. --> ### If willing to resolve an issue by submitting Pull request, please consider the points below. <!-- free5GC will be happy to welcome first contributor’s, in order to broaden the community. --> I don't know how to write programs currently. I opened this case maybe it might be interesting for the community to consider it.
[Feat] Key Performance Indicator Metrics (Prometheus)
https://api.github.com/repos/free5gc/free5gc/issues/175/comments
18
2021-02-12T14:35:57Z
2023-10-27T15:28:55Z
https://github.com/free5gc/free5gc/issues/175
807,285,686
175
[ "free5gc", "free5gc" ]
## Describe the bug SMF is not properly include PCO in PDU SessionEstablishmentAccept ## To Reproduce Request to SMF with only DNSIPv4Request in SessionEstablishmentRequest. ## Expected behavior When one of the condition of DNSIPv4Request, DNSIPv6Request, IPv4LinkMTURequest is true, we should have PCO in PDU SessionEstablishmentAccept. ## Environment (please complete the following information): - free5GC Version: 3.0.5 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.15.8 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/smf/pull/14) for the fix.
[Bugs] SMF is not properly include PCO in PDU SessionEstablishmentAccept
https://api.github.com/repos/free5gc/free5gc/issues/174/comments
1
2021-02-11T18:03:57Z
2021-02-19T03:12:36Z
https://github.com/free5gc/free5gc/issues/174
806,620,448
174
[ "free5gc", "free5gc" ]
## Describe the bug SMF does not return proper EndPoint IP Address when PDUSessionTypeIPv4IPv6 is specified ## To Reproduce Request EndPoint IP Address with PDUSessionTypeIPv4IPv6. SMF does not return IP Address at all even SMF has the configuration. ## Expected behavior Return proper EndPoint IP Address ## Environment (please complete the following information): - free5GC Version: 3.0.5 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/smf/pull/13) for the fix.
[Bugs] SMF does not return proper EndPoint IP Address when PDUSessionTypeIPv4IPv6 is specified
https://api.github.com/repos/free5gc/free5gc/issues/173/comments
8
2021-02-11T17:38:20Z
2021-02-19T03:20:43Z
https://github.com/free5gc/free5gc/issues/173
806,602,100
173
[ "free5gc", "free5gc" ]
## Describe the bug AMF crashes when it receives InitialUEMessage before NGSetupRequest ## To Reproduce ``` text +--------+ +-----+ | gNodeB |------------| AMF | +--------+ +-----+ 192.168.55.2 192.168.55.3 ``` Let gNodeB send InitialUEMessage to 192.168.55.3 before sending NGSetupRequest. AMF crashes with following log. * AMF crash log ``` 2021-02-11T22:15:07+09:00 [INFO][AMF][NGAP] [AMF] SCTP Accept from: 192.168.55.1/10.211.55.42/172.18.0.1/172.17.0.1:39532 2021-02-11T22:15:07+09:00 [INFO][AMF][NGAP] Create a new NG connection for: 192.168.55.1/10.211.55.42/172.18.0.1/172.17.0.1:39532 2021-02-11T22:15:07+09:00 [INFO][AMF][NGAP][192.168.55.1/10.211.55.42/172.18.0.1/172.17.0.1:39532] Handle Initial UE Message panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x9f45e0] goroutine 19 [running]: github.com/free5gc/fsm.(*State).Current(0x0, 0x0, 0x0) /home/kunihiro/go/pkg/mod/github.com/free5gc/[email protected]/state.go:24 +0x40 github.com/free5gc/fsm.(*FSM).SendEvent(0xc00001eb20, 0x0, 0xe496de, 0xb, 0xc0004828a0, 0x0, 0xcdbe80) /home/kunihiro/go/pkg/mod/github.com/free5gc/[email protected]/fsm.go:84 +0x45 github.com/free5gc/amf/nas.Dispatch(0xc000500000, 0x0, 0x0, 0xf, 0xc0004f8740, 0x20, 0xc0004f8740) /home/kunihiro/free5gc/NFs/amf/nas/dispatch.go:22 +0x252 github.com/free5gc/amf/nas.HandleNAS(0xc0004ba120, 0xf, 0xc000488200, 0x15, 0x20) /home/kunihiro/free5gc/NFs/amf/nas/handler.go:39 +0x17f github.com/free5gc/amf/ngap.HandleInitialUEMessage(0xc0004aa000, 0xc00048a0e0) /home/kunihiro/free5gc/NFs/amf/ngap/handler.go:1003 +0x50d github.com/free5gc/amf/ngap.Dispatch(0xf6d0c0, 0xc0000a0150, 0xc000484000, 0x3e, 0x2000) /home/kunihiro/free5gc/NFs/amf/ngap/dispatcher.go:47 +0x3dd github.com/free5gc/amf/ngap/service.handleConnection(0xc0000a0150, 0x2000, 0xe7c780, 0xe7c788) /home/kunihiro/free5gc/NFs/amf/ngap/service/service.go:204 +0x729 created by github.com/free5gc/amf/ngap/service.listenAndServe /home/kunihiro/free5gc/NFs/amf/ngap/service/service.go:136 +0xc69 ``` ## Expected behavior No crash. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/26) for the fix.
[Bugs] AMF crashes when it receives InitialUEMessage before NGSetupRequest
https://api.github.com/repos/free5gc/free5gc/issues/172/comments
4
2021-02-11T13:24:05Z
2021-02-13T15:12:19Z
https://github.com/free5gc/free5gc/issues/172
806,386,286
172
[ "free5gc", "free5gc" ]
## Describe the bug I recently upgraded my free5gc from v3.0.4 to v3.0.5. all the tests after installation are running fine. Yet, I am getting a warning in AMF. Can this warning be ignored? ## To Reproduce Steps to reproduce the behavior: 1. Install free5gc as per instructins in the wiki page 2. run ./run.sh ## Expected behavior All NFs should start without any error/warning messages ## Screenshots Even though all the tests are running fine and it passes all the tests, I get the following warning message on console: 2021-02-10T06:38:29+05:30 [WARN][AMF][NGAP] RAN context has been removed[addr: <nil>] 2021-02-10T06:38:29+05:30 [INFO][AMF][NGAP] Handle SCTP Notification[addr: <nil>] 2021-02-10T06:38:29+05:30 [WARN][AMF][NGAP] RAN context has been removed[addr: <nil>] ## Environment (please complete the following information): - free5GC Version: [e.g. v3.0.5] - OS: [ Ubuntu 20.04.1 LTS] - Kernel version: [5.4.0-42-generic] - go version: [go1.14.4] - c compiler version (Option): [gcc version 9.3.0] ### Configuration File have not edited any config files ### PCAP File Dump the packet and provide the pcap file here. [free5gc.zip](https://github.com/free5gc/free5gc/files/5955324/free5gc.zip)
[Bugs] Warning message in AMF while running ./run.sh in v3.0.5
https://api.github.com/repos/free5gc/free5gc/issues/171/comments
1
2021-02-10T01:35:27Z
2021-02-12T13:46:22Z
https://github.com/free5gc/free5gc/issues/171
805,071,870
171
[ "free5gc", "free5gc" ]
Hi @free5gc-org I have one question. After starting C-Plane (except for UPF) on one VM first, then starting U-Plane (UPF only) on another VM, and then trying to register UE after NG-Setup of gNB, the following error occurred between SMF and UPF. As a result, creating a PDU session failed. ``` 2021-02-04T06:36:25Z [ERRO][SMF][CTX] In ActivateUpLinkTunnel UPF IP: 192.168.100.43 2021-02-04T06:36:25Z [ERRO][SMF][CTX] Allocate PDR Error: this upf do not associate with smf 2021-02-04T06:36:25Z [WARN][SMF][CTX] Add PDR failed: this upf do not associate with smf ``` On the other hand, if starting UPF first and then C-Plane, the PDU session was created successfully. Is this the specification? Or am I misunderstanding? If it is the specification, I think it will be very easy to use if the specification is changed so that it does not depend on the order of starting SMF and UPF. Thank you very much in advance.
[Question] About the order to start SMF and UPF
https://api.github.com/repos/free5gc/free5gc/issues/170/comments
7
2021-02-04T07:40:08Z
2022-02-14T06:28:03Z
https://github.com/free5gc/free5gc/issues/170
801,019,742
170
[ "free5gc", "free5gc" ]
## Describe the bug free5gc stage3.0.4 use UERANSimulator to Send UDP Packet Got the Message Pending on the ```Encode ExtendedProtocolConfigurationOptions in EncodePDUSessionEstablishmentRequest``` and watch amf log, got the ```Capability5GMM is nil (/go/src/free5gc/src/amf/gmm/sm.go:274 free5gc/src/amf/gmm.ContextSetup)``` ## To Reproduce Steps to reproduce the behavior: 1. git clone the ```free5gmano``` project, and go to /free5gmano/deploy/free5gc-stage3.0.4/k8s-cni 2. fix amfcfg ```ngapIpList``` to ```amfIp``` and change ```node_id``` to ```upfIp``` in the 00-free5gc-configmap.yaml 3. use free5gmano give's deploy file number to deploy free5gc-3.0.4 with kubernetes CNI (Flannel) 4. go to the testEnv, fix the free5gc/src/test/rawudp.go 5. go to the testEnv, fix the ```free5gc/src/test/ueRanEmulator/config/ueranem.conf``` 6. go to the testEnv, fix the ```free5gc/src/test/ueRanEmulator/main.go``` 7. login free5gc-webUI website, add the subscriber (IMSI, OPc, K) by default. 8. run ```go run main.go``` , and log the ```amf```, and the smf will crash. ## Expected behavior 1. ```go run main.go``` complete UE initial, and create pduSession, then send GTP<UDP> packet to UPF ## Environment (please complete the following information): - free5GC Version: v3.0.4 - OS: Ubuntu 20.04 Server - Kernel version: 5.4.0-62-generic - go version: go1.14.4 linux/amd64 ## Trace File ### Configuration File 1. All of free5gc vNFs ConfigureFile [00-free5gc-configmap.txt](https://github.com/free5gc/free5gc/files/5911124/00-free5gc-configmap.txt) 2. free5gc/test/rawudp.go [rawudp.txt](https://github.com/free5gc/free5gc/files/5911184/rawudp.txt) 3. free5gc/test/uesimulator/main.go [main.txt](https://github.com/free5gc/free5gc/files/5911190/main.txt) 4. free5gc/test/uesimulator/ueranem.conf [ueranem.txt](https://github.com/free5gc/free5gc/files/5911176/ueranem.txt) ### PCAP File [amf-0202.pcap.zip](https://github.com/free5gc/free5gc/files/5911104/amf-0202.pcap.zip) ### Log File 1. amf.log [amf-0202.log](https://github.com/free5gc/free5gc/files/5911133/amf-0202.log) 2. smf.log [smf-0202.log](https://github.com/free5gc/free5gc/files/5911315/smf-0202.log) 3. UERANSimulator [ueransim.log](https://github.com/free5gc/free5gc/files/5911143/ueransim.log) ## System architecture (Option) 1. kubernetes 1.18.5 with docker 20.10.1 2. all of free5gc vNFs are in same node
[Bugs] Stage3.0.4 test in UERANSimulator in AMF got Capability5GMM is nil message.
https://api.github.com/repos/free5gc/free5gc/issues/169/comments
1
2021-02-02T13:09:42Z
2021-03-18T07:11:15Z
https://github.com/free5gc/free5gc/issues/169
799,266,812
169
[ "free5gc", "free5gc" ]
Hi @free5gc-org When I registered the subscriber information using WebConsole, even if I changed the value of **Data Network Name** of **DNN Configurations** from the default `internet` to another string (eg. `internet2`), when I checked the contents of mongodb, it was still `internet`. Also, the function to change subscriber information does not work properly. When will the these major bugs in WebConsole are fixed? Thank you very much in advance.
[Bugs] Data Network Name value in DNN Configurations cannot be changed from the default "internet"
https://api.github.com/repos/free5gc/free5gc/issues/168/comments
13
2021-02-01T04:21:46Z
2021-02-19T09:53:49Z
https://github.com/free5gc/free5gc/issues/168
797,936,134
168
[ "free5gc", "free5gc" ]
Hi everyone, https://github.com/free5gc/free5gc/wiki/Appendix While referring to the above URL, when I started WebConsole with v3.0.5 and tried to connect from the browser, the following was displayed on the browser. ``` 404 page not found ``` In addition, the following log was output to the WebConsole log. ``` 2021-01-31T12:06:00Z [INFO][WebUI][GIN] | 404 | 192.168.0.101 | GET | / | 2021-01-31T12:06:00Z [INFO][WebUI][GIN] | 404 | 192.168.0.101 | GET | /favicon.ico | ``` On the other hand, in the case of v3.0.4, the login screen was displayed properly, and the following log was output to the WebConsole log. ``` 2021-01-31T11:58:31Z [INFO][WebUI][GIN] | 200 | 192.168.0.101 | GET | / | 2021-01-31T11:58:31Z [INFO][WebUI][GIN] | 200 | 192.168.0.101 | GET | /static/js/main.69cbf67c.js | 2021-01-31T11:58:31Z [INFO][WebUI][GIN] | 200 | 192.168.0.101 | GET | /static/media/free5gc_logo.adcdb325.png | 2021-01-31T11:58:31Z [INFO][WebUI][GIN] | 200 | 192.168.0.101 | GET | /favicon.ico | ``` Please let me know how to use the Web Console of v3.0.5. Thank you very much in advance.
[Bugs?] Failed to connect to WebConsole of free5GC v3.0.5
https://api.github.com/repos/free5gc/free5gc/issues/167/comments
5
2021-01-31T12:22:46Z
2021-10-03T00:52:31Z
https://github.com/free5gc/free5gc/issues/167
797,698,774
167
[ "free5gc", "free5gc" ]
## Describe the bug Installed the latest version of free5gc according to installation steps. running ```sudo ./test.sh TestRegistration``` The error says "Nausf_UEAU Authentication Request Error: server no response" ## To Reproduce Steps to reproduce the behavior: 1. follow [installation steps](https://github.com/free5gc/free5gc/wiki/Installation) to install v3.0.5 free5gc 2. run ```sudo ./test.sh TestRegistration``` ## Expected behavior The test is expected to succeed ## Screenshots ![testreg error](https://user-images.githubusercontent.com/71391687/106374811-58300980-63ac-11eb-83c9-926a7a338d14.JPG) ## Environment (please complete the following information): - free5GC Version: v3.0.5 - OS: Ubuntu 18.04 - Kernel version:5.0.0-23-generic - go version:1.14.4 linux/amd64
TestRegistration not working on a fresh install of v3.0.5[Bugs]
https://api.github.com/repos/free5gc/free5gc/issues/166/comments
2
2021-01-31T04:45:58Z
2021-02-01T05:04:33Z
https://github.com/free5gc/free5gc/issues/166
797,617,960
166
[ "free5gc", "free5gc" ]
### Description We attempted to build Release 3.0.5 on **a fresh system** by following the install instructions at https://github.com/free5gc/free5gc/wiki/Installation/b9e8196fdd58cc152bdcd9b7151841b58adbeb8d. However, the build process fails saying (emphasis added): Start building amf.... cd NFs/amf && \ CGO_ENABLED=0 go build -ldflags "-X github.com/free5gc/version.VERSION=v3.0.5 -X github.com/free5gc/version.BUILD_TIME=2021-01-27T18:58:26Z -X github.com/free5gc/version.COMMIT_HASH=a7019d1e -X github.com/free5gc/version.COMMIT_TIME=2021-01-18T14:29:14Z" -o /home/free5gc/free5gc/bin/amf amf.go **amf.go:10:2: cannot find package "github.com/free5gc/amf/logger"** in any of: /usr/local/go/src/github.com/free5gc/amf/logger (from $GOROOT) /home/free5gc/go/src/github.com/free5gc/amf/logger (from $GOPATH) amf.go:11:2: cannot find package "github.com/free5gc/amf/service" in any of: /usr/local/go/src/github.com/free5gc/amf/service (from $GOROOT) /home/free5gc/go/src/github.com/free5gc/amf/service (from $GOPATH) Makefile:43: recipe for target 'bin/amf' failed make: *** [bin/amf] Error 1 ### Steps to Reproduce 1. Complete Part A of the Install Documentation 2. cd ~ 3. git clone --recursive -b v3.0.5 -j `nproc` https://github.com/free5gc/free5gc.git 4. cd free5gc 5. make ### Expected Behavior Successful Build ### Environment - free5GC Version: 3.0.5 - OS: Ubuntu 18.04.5 LTS - Kernel Version: 5.0.0-23-generic - Go Version: go1.14.4 linux/amd64 - C Compiler Version: 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
Release 3.0.5 won't build on fresh install per instructions
https://api.github.com/repos/free5gc/free5gc/issues/165/comments
3
2021-01-27T19:11:28Z
2021-02-02T16:47:32Z
https://github.com/free5gc/free5gc/issues/165
795,369,419
165
[ "free5gc", "free5gc" ]
Syntax error while run run.sh in v3.0.5
Syntax error while run run.sh in v3.0.5
https://api.github.com/repos/free5gc/free5gc/issues/164/comments
1
2021-01-26T08:49:42Z
2021-01-26T09:21:05Z
https://github.com/free5gc/free5gc/issues/164
794,048,613
164
[ "free5gc", "free5gc" ]
Could you provide the github link to install free5gc version 3.0.4 ? The current github has been updated with the newer version 3.0.5 and I could not find the older version anywhere. Thanks, Pradnya
free5gc version 3.0.4
https://api.github.com/repos/free5gc/free5gc/issues/163/comments
18
2021-01-20T16:03:47Z
2021-02-05T13:09:56Z
https://github.com/free5gc/free5gc/issues/163
790,111,508
163
[ "free5gc", "free5gc" ]
## Describe the bug UPF shows double free error `Pool is full, it may not belong to this pool` when DL data continues to flow without a Paging response. ## To Reproduce Keep on sending DL data without having a Paging response. ## Expected behavior No error message display ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/upf/pull/15) for the fix.
[Bugs] UPF shows double free error when DL data continues to flow without a Paging response
https://api.github.com/repos/free5gc/free5gc/issues/162/comments
3
2021-01-19T16:10:02Z
2021-02-19T12:43:55Z
https://github.com/free5gc/free5gc/issues/162
789,155,010
162
[ "free5gc", "free5gc" ]
## Describe the bug UPF crash with SEGV when the UE send registration and deregistration repeatedly ## To Reproduce UE to send registration and deregistration repeatedly. UPF will crash due to missing lock of TimerList. ## Expected behavior No crash. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/upf/pull/14/commits/f4f1fa029a759cc415918da8909e525effcdd9d7) for the fix.
[Bugs] UPF crash with SEGV when the UE send registration and deregistration repeatedly
https://api.github.com/repos/free5gc/free5gc/issues/161/comments
3
2021-01-19T16:05:19Z
2021-02-05T13:10:59Z
https://github.com/free5gc/free5gc/issues/161
789,151,255
161
[ "free5gc", "free5gc" ]
## Describe the bug There is a memory increase in SMF due to the IDGenerator's leakage to Allocate ## To Reproduce Activate/Deactivate uplink tunnel and/or downlink tunnel cause memory leak. ## Expected behavior No memory leak. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/smf/pull/12) for the fix. - PR is updated.
[Bugs] SMF There is a memory increase in AMF due to the IDGenerator's leakage to Allocate
https://api.github.com/repos/free5gc/free5gc/issues/160/comments
1
2021-01-19T15:38:14Z
2021-02-17T13:38:16Z
https://github.com/free5gc/free5gc/issues/160
789,128,917
160
[ "free5gc", "free5gc" ]
## Describe the bug Memory leak in func (ranUe *RanUe) Remove() due to missing IDGenerator clean up. ## To Reproduce Add/delete RanUe and see usage of the memory. ## Expected behavior No memory leak. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/23) for the fix.
[Bugs] AMF There is a memory increase in AMF due to the IDGenerator's leakage to Allocate
https://api.github.com/repos/free5gc/free5gc/issues/159/comments
1
2021-01-19T15:07:41Z
2021-02-05T13:12:49Z
https://github.com/free5gc/free5gc/issues/159
789,103,333
159
[ "free5gc", "free5gc" ]
## Describe the bug AMF TestPDUSessionReleaseRequest sometimes fails due to missing PDUsessionResourceSetupRequest. This is due to missing proper locking. ## To Reproduce Run TestPDUSessionReleaseRequest multiple times. ## Expected behavior TestPDUSessionReleaseRequest must success all the time. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/25) for the fix. - PR is updated for main branch
[Bugs] AMF TestPDUSessionReleaseRequest fails due to missing PDUsessionResourceSetupRequest
https://api.github.com/repos/free5gc/free5gc/issues/158/comments
1
2021-01-19T14:35:44Z
2021-04-30T05:37:57Z
https://github.com/free5gc/free5gc/issues/158
789,076,308
158
[ "free5gc", "free5gc" ]
## Describe the bug AMF and UDM does not have proper Unsubscribe event handler. ## To Reproduce UE to register/unregister multiple times. Due to not handling proper Unsubscribe event, UDR resources are not freed. ## Expected behavior When AMF receives UE Deregistration, AMF should send Unsubscribe message to UDM (DELETE /{supi}/sdm-subscriptions/{subscriptionId}). UDM should handle this event and free corresponding resources. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [AMF Pull Request](https://github.com/free5gc/amf/pull/24) - PR has been updated. [UDM Pull Request](https://github.com/free5gc/udm/pull/4) - PR has been updated.
[Bugs] AMF/UDM Add Unsubscribe event handler
https://api.github.com/repos/free5gc/free5gc/issues/157/comments
1
2021-01-19T14:16:32Z
2021-04-29T14:36:49Z
https://github.com/free5gc/free5gc/issues/157
789,060,051
157
[ "free5gc", "free5gc" ]
## Describe the bug AMF uses DeepEqual between pointer with entity when comparing TargetAmfSet in handleRequestedNssai(). ## To Reproduce Specify TargetAmfSet in Registration with AMF re-allocation. ## Expected behavior Properly compare TrgetAmfSet with configured AMF. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/20) for the fix.
[Bugs] AMF DeepEqual between pointer with entity bug.
https://api.github.com/repos/free5gc/free5gc/issues/156/comments
1
2021-01-19T11:36:06Z
2021-02-05T13:14:36Z
https://github.com/free5gc/free5gc/issues/156
788,948,422
156
[ "free5gc", "free5gc" ]
## Describe the bug AMF Resend Registration Accept even after receiving UEContext Release. Even after receiving UEContext Release, AMF keep on resending Registration Accept message. That is not conforms to the specification and it even cause a crash. ## To Reproduce Send UEContext Release from UE and wait a while. ## Expected behavior Stop resend Registration Accept when AMF receives UEContext Release. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/19) for the fix.
[Bugs] AMF Resend Registration Accept even after receiving UEContext Release
https://api.github.com/repos/free5gc/free5gc/issues/155/comments
1
2021-01-15T12:42:52Z
2021-02-05T13:16:10Z
https://github.com/free5gc/free5gc/issues/155
786,868,172
155
[ "free5gc", "free5gc" ]
## Describe the bug AMF Registration Status Update Error happens when AMF receives Registration Request with Requested NSSAI. This is due to a bug of comparing pointer with entity. ## To Reproduce Send UE Registration request with Requested NSSAI to AMF. Comparison of Requested NSSAI and Subscribed NSSAI always fail due to a bug of comparing pointer with entity. ## Expected behavior Requested NSSAI and Subscribed NSSAI are properly compared ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/18) for the fix.
[Bugs] AMF Registration Status Update Error happens when AMF receives Registration Request with Requested NSSAI.
https://api.github.com/repos/free5gc/free5gc/issues/154/comments
1
2021-01-15T04:09:32Z
2021-02-05T13:17:27Z
https://github.com/free5gc/free5gc/issues/154
786,517,338
154
[ "free5gc", "free5gc" ]
## Describe the bug AMF panics when retransmission processing of Registration Accept. We might need to recover() when exiting SendToRan() to avoid the crash. ## To Reproduce Disconnect SCTP session during retransmission of Registration Accept message. ## Expected behavior No crash of AMF. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/17) for the fix.
[Bugs] AMF panics when retransmission processing of Registration Accept
https://api.github.com/repos/free5gc/free5gc/issues/153/comments
3
2021-01-15T03:33:23Z
2021-03-11T16:47:09Z
https://github.com/free5gc/free5gc/issues/153
786,504,919
153
[ "free5gc", "free5gc" ]
## Describe the bug SMF crashes when connection and disconnection are repeated from 10 UEs simultaneously. It seems no protection of simultaneous accessing to transaction map in PFCP. ## To Reproduce 1. Prepare 10 UEs. 2. connection&disconnection multiple times from all of UEs at the same time. 3. SMF crashes. ## Expected behavior No crash of SMF. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request We introduce sync protection to transaction map in PFCP. Here is a [Pull Request](https://github.com/free5gc/pfcp/pull/4) for the fix.
[Bugs] SMF crashes when connection and disconnection are repeated from multiple UEs.
https://api.github.com/repos/free5gc/free5gc/issues/152/comments
1
2021-01-14T23:50:37Z
2021-02-05T13:19:27Z
https://github.com/free5gc/free5gc/issues/152
786,424,515
152
[ "free5gc", "free5gc" ]
when using ./test.sh TestDeregistration, the error like this: ./test.sh: line 79: 8902 Segmentation fault ${EXEC_UPFNS} ./bin/free5gc-upfd -f config/upfcfg.test.yaml Anyone can help with this?
[Bugs] segmentation fault throw from the test.sh
https://api.github.com/repos/free5gc/free5gc/issues/151/comments
0
2020-12-17T03:45:53Z
2020-12-17T06:00:58Z
https://github.com/free5gc/free5gc/issues/151
769,477,291
151
[ "free5gc", "free5gc" ]
## Describe the bug I was facing an issue with the ngsetup Request, I am able to send a NgSetup Request via SCTP but on receiving the ngap packet the free5gc AMF has a runtime error (“segmentation fault”), and the whole thing crashes. ## To Reproduce Steps to reproduce the behavior: [I ran the following code ](https://github.com/vineet-rarisystems/support_files/blob/main/ngsetup.py) which uses the pycrate and pysctp libraries ## Expected behavior The AMF should ideally accept the ngsetup request and send a ngsetup response ## Screenshots ![error](https://github.com/vineet-rarisystems/support_files/blob/main/runtime_error.PNG) ## Environment (please complete the following information): - free5GC Version: v3.0.4 latest - OS: [e.g. Ubuntu 18.04] - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux - c compiler version 7.3.0 ## Trace File ### Configuration File [config folder](https://github.com/vineet-rarisystems/support_files/blob/main/config.zip) ### PCAP File [error pcap link ](https://github.com/vineet-rarisystems/support_files/blob/main/error.pcapng) ### Log File 2020-12-09T13:55:42+05:30 [DEBU][AMF][NGAP] Set default sent param[value: &{Stream:0 SSN:0 Flags:0 _:0 PPID:1006632960 Context:0 TTL:0 TSN:0 CumTSN:0 AssocID:0}] successfully 2020-12-09T13:55:42+05:30 [DEBU][AMF][NGAP] Subscribe SCTP event DATA_IO successfully 2020-12-09T13:55:42+05:30 [DEBU][AMF][NGAP] Set read buffer to 8192 bytes 2020-12-09T13:55:42+05:30 [INFO][AMF][NGAP] [AMF] SCTP Accept from: 127.0.0.1/10.0.2.15:48511 2020-12-09T13:55:42+05:30 [ERRO][AMF][NGAP] Ran is nil 2020-12-09T13:55:42+05:30 [DEBU][AMF][NGAP] Read EOF from client ## System architecture (Option) VM
[Bugs] AMF crashes on sending ngsetup request via sctp
https://api.github.com/repos/free5gc/free5gc/issues/150/comments
7
2020-12-10T13:20:27Z
2023-07-12T15:18:00Z
https://github.com/free5gc/free5gc/issues/150
761,235,868
150
[ "free5gc", "free5gc" ]
## Describe the bug AMF is not requesting the retransmission of the **Registration Request** message after security context has been established. ## To Reproduce Steps to reproduce the behavior: 1. Basic configuration 2. Real gNB and UE, or simulator 2. Run standard registration procedure ## Expected behavior In the **Security Mode Command** message, in **Additional 5G Security Information** in NAS part, the AMF shall request the retransmission of the original NAS message (Registration Request). **Reference: 3GPP 24.501** Section 5.5.1.2.2 Initial registration initiation, it is specified that: "_If the UE does not have a valid 5G NAS security context, the UE shall send the REGISTRATION REQUEST message without including the NAS message container IE. The UE shall include the entire REGISTRATION REQUEST message (i.e. containing cleartext IEs and non-cleartext IEs, if any) in the NAS message container IE that is sent as part of the SECURITY MODE COMPLETE message as described in subclauses 4.4.6 and 5.4.2.3._" Section 5.4.2.2 NAS security mode control initiation by the network, it is specified that: "_If, during an ongoing registration procedure, the AMF is initiating a SECURITY MODE COMMAND (i.e. after receiving the REGISTRATION REQUEST message, but before sending a response to that message) and: a) the REGISTRATION REQUEST message does not successfully pass the integrity check at the AMF; or b) the AMF can not decipher the value part of the NAS message container IE in the REGISTRATION REQUEST message; the AMF shall include the Additional 5G security information IE with the RINMR bit set to "Retransmission of the initial NAS message requested" in the SECURITY MODE COMMAND message requesting the UE to send the entire REGISTRATION REQUEST message in the SECURITY MODE COMPLETE message as described in 3GPP TS 33.501 [24]._" ## Screenshots **Correct Behaviour** ![image](https://user-images.githubusercontent.com/19303811/101772893-4d63a180-3aec-11eb-82fd-87c2b65590e3.png) **free5gc's AMF** ![image](https://user-images.githubusercontent.com/19303811/101773774-85b7af80-3aed-11eb-9905-b8ecd145b346.png) ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: [e.g. Ubuntu 200.04 Server] - Kernel version: 5.4.0-53-generic - go version: go1.14.4 linux/amd64 ### PCAP File [free5gc_Missing_2nd_Registration_Request.zip](https://github.com/free5gc/free5gc/files/5672775/free5gc_Missing_2nd_Registration_Request.zip)
[Bugs] AMF is not requesting the retransmission of the Registration Request message
https://api.github.com/repos/free5gc/free5gc/issues/149/comments
3
2020-12-10T12:52:59Z
2023-07-12T15:16:50Z
https://github.com/free5gc/free5gc/issues/149
761,216,021
149
[ "free5gc", "free5gc" ]
**If the design issue template is not followed, the issue might be closed.** <!-- Remove above warning line while reporting the issue --> ## Documentation request In the ULCL version, I want let gNB to send UDP packet to both Anchor point1 and Anchor point2 simultaneously. But when the Anchor point1 is sending the traffic to DN1, the Anchor point2 will have some error like this ![image](https://user-images.githubusercontent.com/48347290/101613931-49317880-3a47-11eb-8a8b-7a577178baa7.png) Or can I let one SMF connect to 3 UPF without using ULCL version? Another question is that if I want to send the packet to the DN, in my uerouting.yaml my DestinationI{ should be the last UPF's IP or the DN's IP? ## Suggestion no Suggestion ## Additional context here is my smf config and uerouting.yaml ![image](https://user-images.githubusercontent.com/48347290/101615719-69facd80-3a49-11eb-838d-5073480550ca.png) ![image](https://user-images.githubusercontent.com/48347290/101615499-2738f580-3a49-11eb-9ce9-a52b01e53198.png)
[Docs]Can gNB send the packets to more than one UPF simultaneously in ULCL version
https://api.github.com/repos/free5gc/free5gc/issues/148/comments
1
2020-12-09T10:09:50Z
2023-07-21T08:11:00Z
https://github.com/free5gc/free5gc/issues/148
760,190,772
148
[ "free5gc", "free5gc" ]
## Describe the bug SMF crash when ue preconfig has only one UPF, 'NewUEPreConfigPaths' childName := path.UPF[idx+1], If only on UPF, will panic: runtime error: index out of range [1] with length 1 ## To Reproduce Steps to reproduce the behavior: 1. uerouting config, DestinationIP: 60.60.0.200 only on UPF in path list ``` info: version: 1.0.0 description: Routing information for UE ueRoutingInfo: - SUPI: imsi-2089300007487 AN: 10.200.200.101 PathList: - DestinationIP: 60.60.0.101 UPF: !!seq - BranchingUPF - AnchorUPF1 - DestinationIP: 60.60.0.103 UPF: !!seq - BranchingUPF - AnchorUPF2 - DestinationIP: 60.60.0.200 UPF: !!seq - AnchorUPF1 - SUPI: imsi-2089300007486 AN: 10.200.200.102 PathList: - DestinationIP: 10.0.0.10 UPF: !!seq - BranchingUPF - AnchorUPF1 - DestinationIP: 10.0.0.11 UPF: !!seq - BranchingUPF - AnchorUPF2 ``` 2. Run ./test_ulcl.sh TestRegistration ## Expected behavior No panic ## Screenshots ``` Activated: false IsDefault Path: false Has Braching Point: false Destination IP: 60.60.0.103 Destination Port: DataPath Routing Information 1th Node in the Path Current UPF IP: 10.200.200.102 Previous UPF IP: None Next UPF IP: 10.200.200.103 2th Node in the Path Current UPF IP: 10.200.200.103 Previous UPF IP: 10.200.200.102 Next UPF IP: None panic: runtime error: index out of range [1] with length 1 goroutine 40 [running]: free5gc/src/smf/context.NewUEPreConfigPaths(0xc00040c5c0, 0x12, 0xc00009d8c0, 0x3, 0x3, 0x2, 0x2, 0xc00031b380) /root/go/src/free5gc/src/smf/context/ue_datapath.go:71 +0x906 free5gc/src/smf/context.InitSMFUERouting(0x2116100) /root/go/src/free5gc/src/smf/context/smf_context.go:199 +0x1c4 free5gc/src/smf/service.(*SMF).Start(0x266cfa0) /root/go/src/free5gc/src/smf/service/init.go:124 +0x57 created by free5gc/src/test_test.init.0 /root/go/src/free5gc/src/test/ngsetup_test.go:65 +0x22a ``` ## Environment (please complete the following information): - free5GC Version: [v3.0.4] - OS: [Ubuntu 18.04 Server] - Kernel version: [5.0.0-23-generic] - go version: [1.14.4 linux/amd64] - c compiler version (Option): [gcc version 7.4.0] ## Pull Request [Pull Request](https://github.com/free5gc/smf/pull/10) for the fix.
[Bugs] SMF crash when ue preconfig has only one UPF
https://api.github.com/repos/free5gc/free5gc/issues/147/comments
1
2020-12-08T01:46:30Z
2021-03-11T17:13:02Z
https://github.com/free5gc/free5gc/issues/147
758,988,697
147
[ "free5gc", "free5gc" ]
## Describe the bug AMF send SMContextUpdate request to SMF, In func HandlePDUSessionSMContextUpdate, SMF will change smContext.SMContextState to smf_context.PFCPModification. send PFCP Session Modification Request to UPF, After reveive UPF's response, smContext.SMContextState is Active. Chanel smContext.SBIPFCPCommunicationChan is no assignment, So SMF blocks at this: ```PFCPResponseStatus := <-smContext.SBIPFCPCommunicationChan``` ## To Reproduce Establish PDU Session Proceduce: 1. exec ./test.sh TestRegistration or ./test.sh TestN2Handover or ./test.sh TestPaging ## Expected behavior free5GC v3.0.3 will not blocks, which has no PFCPResponseStatus := <-smContext.SBIPFCPCommunicationChan SMF in func HandlePDUSessionSMContextUpdate will not block, smContext.SBIPFCPCommunicationChan will assign After receive successful PFCP Modification Response from UPF ## Environment (please complete the following information): - free5GC Version: [v3.0.4] - OS: [Ubuntu 18.04 Server] - Kernel version: [5.0.0-23-generic] - go version: [1.14.4 linux/amd64] - c compiler version (Option): [gcc version 7.4.0] ### PCAP File [TestN2Handover.zip](https://github.com/free5gc/free5gc/files/5588841/TestN2Handover.zip) ### Log File 2020-11-24T09:35:18Z [INFO][AMF][Producer] Handle N1N2 Message Transfer Request 2020-11-24T09:35:18Z [INFO][AMF][NGAP] [AMF] Send PDU Session Resource Setup Request 2020-11-24T09:35:18Z [INFO][AMF][NGAP] [AMF] PDU Session Resource Setup Response 2020-11-24T09:35:18Z [INFO][SMF][PduSess] Recieve Update SM Context Request 2020-11-24T09:35:18Z [INFO][SMF][PduSess] In HandlePDUSessionSMContextUpdate 2020-11-24T09:35:18Z [INFO][SMF][PduSess] The SMContext State should be Active State 2020-11-24T09:35:18Z [INFO][SMF][PduSess] SMContext state: ModificationPending 2020-11-24T09:35:18Z [INFO][SMF][Context] zzlinAAAAAAAA smContextUpdateData.HoState: "" 2020-11-24T09:35:18Z [INFO][SMF][PduSess] zzlinAAAAAAA smContext.SMContextState: 5 2020-11-24T09:35:18Z [INFO][SMF][PduSess] zzlinAAAAAAA smContext.SMContextState: 5 2020-11-24T09:35:18Z [INFO][SMF][Context] n case PFCPModification 2020-11-24T09:35:18Z [INFO][AMF][GIN] | 200 | 127.0.0.1 | POST | /namf-comm/v1/ue-contexts/imsi-2089300007487/n1-n2-messages | 2020-11-24T09:35:18Z [INFO][UPF][Util] [PFCP] Handle PFCP session modification request 2020-11-24T09:35:18Z [INFO][SMF][Pfcp] In HandlePfcpSessionModificationResponse 2020-11-24T09:35:18Z [INFO][UPF][Util] [PFCP] Session Modification Response 2020-11-24T09:35:18Z [INFO][SMF][PduSess] [SMF] PFCP Modification Resonse Accept smContext.SMContextState: Active 2020-11-24T09:35:18Z [INFO][SMF][Pfcp] PFCP Session Modification Success[1] 2020-11-24T09:35:18Z [INFO][LIB][PFCP] Remove Request Transaction [3] goroutine 969 [chan receive, 9 minutes]: free5gc/src/smf/producer.HandlePDUSessionSMContextUpdate(0xc0006e43e0, 0x2d, 0xc000095520, 0x0, 0x0, 0x0, 0xc0003f1c00, 0xd, 0x3e8, 0xc00004aba8) **/root/go/src/free5gc/src/smf/producer/pdu_session.go:712** +0xdd6 free5gc/src/smf/pdusession.HTTPUpdateSmContext(0xc0007f5130) /root/go/src/free5gc/src/smf/pdusession/api_individual_sm_context.go:82 +0x410 github.com/gin-gonic/gin.(*Context).Next(0xc0007f5130) /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:124 +0x3b github.com/gin-gonic/gin.RecoveryWithWriter.func1(0xc0007f5130) /root/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:83 +0x60 github.com/gin-gonic/gin.(*Context).Next(0xc0007f5130) /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:124 +0x3b free5gc/lib/logger_util.ginToLogrus.func1(0xc0007f5130) /root/go/src/free5gc/lib/logger_util/logger_util.go:65 +0x7e github.com/gin-gonic/gin.(*Context).Next(0xc0007f5130) /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:124 +0x3b github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00041e3c0, 0xc0007f5130) /root/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:389 +0x5b0 github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00041e3c0, 0x17b1a40, 0xc0000190a8, 0xc00093db00) /root/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:351 +0x133 golang.org/x/net/http2.(*serverConn).runHandler(0xc0009c5c80, 0xc0000190a8, 0xc00093db00, 0xc0005a5920) /root/go/pkg/mod/golang.org/x/[email protected]/http2/server.go:2147 +0x8b created by golang.org/x/net/http2.(*serverConn).processHeaders /root/go/pkg/mod/golang.org/x/[email protected]/http2/server.go:1881 +0x4db exit status 2 FAIL free5gc/src/test 601.700s 2020-11-24T07:53:40Z [INFO][UPF][Util] Removing DNN routes Found ```POST | /namf-comm/v1/ue-contexts/imsi-2089300007487/n1-n2-messages should be handled After PDUSessionSMContextUpdate procedure```
[Bugs] SMF blocks when handling PDU Session SM Context update
https://api.github.com/repos/free5gc/free5gc/issues/145/comments
2
2020-11-24T09:40:31Z
2023-07-09T11:56:45Z
https://github.com/free5gc/free5gc/issues/145
749,542,718
145
[ "free5gc", "free5gc" ]
## Describe the bug AMF does not send "Pdu Session Resource Setup Request" , but it sends "Dl Nas Transport" containing PduSessionEstablishmentAccept. But PduSessionEstablishmentAccept should be sent in "Pdu Session Resource Setup Request". I think this is not the desired behavior. In this way external gNB like UERANSIM cannot know a PDU session has been established. ## To Reproduce Use UERANSIM as gNB and attempt to establish a PDU session in it. ## Expected behavior PduSessionEstablishmentAccept should be sent in "Pdu Session Resource Setup Request" so that gNB knows a PDU session has been established. ## Environment: - free5GC Version: v3.0.4 - OS: Ubuntu 18 64 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 - c compiler version (Option): gcc version 7.4.0 ## Trace File ### Configuration File [config.zip](https://github.com/free5gc/free5gc/files/5576796/config.zip) ### PCAP File [pcap.zip](https://github.com/free5gc/free5gc/files/5576797/pcap.zip) ### Log File [free5gc-ueransim-log.txt](https://github.com/free5gc/free5gc/files/5576800/free5gc-ueransim-log.txt) ## System architecture Attempting to use example 2 in the [free5gc wiki] (https://github.com/free5gc/free5gc/wiki/SMF-Config)
[Bugs] AMF does not send "Pdu Session Resource Setup Request"
https://api.github.com/repos/free5gc/free5gc/issues/142/comments
6
2020-11-21T01:19:15Z
2021-06-23T06:52:54Z
https://github.com/free5gc/free5gc/issues/142
747,891,073
142
[ "free5gc", "free5gc" ]
**If the design issue template is not followed, the issue might be closed.** <!-- Remove above warning line while reporting the issue --> ## Documentation request I understand that the Free5GC follows Apache 2.0 license. We see that only the free5GC repo has the license.txt file mentioned that is Apache 2.0 license. But for all the sub repos the license file is missing which might hinder the usage of the free5GC as Apache 2.0 license. https://github.com/free5gc/free5gc/blob/master/LICENSE.txt ## Suggestion Please add the License.txt file to all the sub repos clarifying the license of the sub repos. ## Additional context None
[Docs] License file is missing for the free5GC subrepos
https://api.github.com/repos/free5gc/free5gc/issues/141/comments
0
2020-11-20T04:01:39Z
2020-11-25T03:26:48Z
https://github.com/free5gc/free5gc/issues/141
747,120,738
141
[ "free5gc", "free5gc" ]
## Describe the bug AMF fails to set NAS security header in service accept. It seems current code set NAS Type Integrity and ciphered to NAS Type even if it is plain NAS message processing. ## To Reproduce Process Plain NAS 5GS Message ## Expected behavior Return plain NAS 5GS Message as NAS type. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/13) for the fix.
[Bugs] AMF fails to set NAS security header in service accept
https://api.github.com/repos/free5gc/free5gc/issues/140/comments
1
2020-11-15T19:49:37Z
2020-12-01T12:20:35Z
https://github.com/free5gc/free5gc/issues/140
743,330,664
140
[ "free5gc", "free5gc" ]
## Describe the bug AMF ServiceRequest occurs two times when CM-CONNECTED transition. In specification: > TS 24.501 8.2.6.21: if the UE is sending a REGISTRATION REQUEST message as an initial NAS message, > the UE has a valid 5G NAS security context and the UE needs to send non-cleartext IEs > TS 24.501 4.4.6: When the UE sends a REGISTRATION REQUEST or SERVICE REQUEST message that includes a NAS message container IE, the UE shall set the security header type of the initial NAS message to "integrity protected" It seems some part of the processing in 4.4.6 is not implemented. We've implemented and fixed the issue. ## To Reproduce Process CM-CONNECTED transition. ## Expected behavior ServiceRequest occurs only once when CM-CONNECTED transition. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/12) for the fix.
[Bugs] AMF ServiceRequest occurs two times when CM-CONNECTED transition
https://api.github.com/repos/free5gc/free5gc/issues/139/comments
1
2020-11-15T19:21:36Z
2021-01-07T10:56:26Z
https://github.com/free5gc/free5gc/issues/139
743,325,485
139
[ "free5gc", "free5gc" ]
## Describe the bug AMF panics at HandleRegistrationComplete() when Mobility/PeriodicUpdateRegistration. We believes that HandleRegistrationComplete() is trying to refer RegistrationRequest's data but that is cleared before hand. The fix is not call ue.ClearRegistrationRequestData(anType). ## To Reproduce Handle Mobility/PeriodicUpdateRegistration. ## Expected behavior No panic. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/11) for the fix.
[Bugs] AMF panics at HandleRegistrationComplete when Mobility/PeriodicUpdateRegistration
https://api.github.com/repos/free5gc/free5gc/issues/138/comments
1
2020-11-15T19:09:29Z
2020-12-02T03:18:37Z
https://github.com/free5gc/free5gc/issues/138
743,323,135
138
[ "free5gc", "free5gc" ]
## Describe the bug UPF fails to free BufPacket when repeatedly setting and releasing PDU session. ## To Reproduce PDU session set & release several times. Current code does not properly free BufPacket. ## Expected behavior When session goes down, the corresponding BufPacket should be freed. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/upf/pulls) for the fix.
[Bugs] UPF fails to free BufPacket when repeatedly setting and releasing PDU session
https://api.github.com/repos/free5gc/free5gc/issues/136/comments
1
2020-11-09T09:32:29Z
2021-02-19T13:13:32Z
https://github.com/free5gc/free5gc/issues/136
738,857,736
136
[ "free5gc", "free5gc" ]
## Describe the bug AMF fails to decode id-UERadioCapability in InitialContextSetupRequest ## To Reproduce Decode id-UERadioCapability in InitialContextSetupRequest ## Expected behavior Field must be decoded as Hex (OCTET STRING) not as String ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/10) for the fix.
[Bugs] AMF fails to decode id-UERadioCapability in InitialContextSetupRequest
https://api.github.com/repos/free5gc/free5gc/issues/135/comments
1
2020-11-09T09:21:01Z
2020-12-21T11:59:57Z
https://github.com/free5gc/free5gc/issues/135
738,848,997
135
[ "free5gc", "free5gc" ]
## Describe the bug NAS LastVisitedRegisteredTAI length should be 7 ## To Reproduce Dump LastVisitedRegisteredTAI ## Expected behavior NAS LastVisitedRegisteredTAI length is 7 ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/nas/pull/6) for the fix.
[Bugs] NAS LastVisitedRegisteredTAI length should be 7
https://api.github.com/repos/free5gc/free5gc/issues/134/comments
1
2020-11-09T08:50:12Z
2020-11-25T07:41:19Z
https://github.com/free5gc/free5gc/issues/134
738,826,229
134
[ "free5gc", "free5gc" ]
Adding Subscribers in frontend works fine. However, a modification is not possilbe. problem on: Ubuntu 18.04 Server free5gc v3.0.4 Browser: Firefox and Chrome tested ## console log (start webserver + modify existing entry): ` 2020-11-02T12:09:49+01:00 [INFO][LIB][OAPI] set report call : false 2020-11-02T12:09:49+01:00 [INFO][LIB][Aper] set log level : info 2020-11-02T12:09:49+01:00 [INFO][LIB][Aper] set report call : false 2020-11-02T12:09:49+01:00 [INFO][CommonTest][Comm] set log level : info 2020-11-02T12:09:49+01:00 [INFO][CommonTest][Comm] set report call : false 2020-11-02T12:09:49+01:00 [INFO][WebUI][Init] Successfully initialize configuration ../config/webuicfg.conf 2020-11-02T12:09:49+01:00 [INFO][WebUI][Init] WEBUI debug level(string): info 2020-11-02T12:09:49+01:00 [INFO][WebUI][Init] Server started [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /api/sample --> free5gc/webconsole/backend/WebUI.GetSampleJSON (3 handlers) [GIN-debug] GET /api/subscriber --> free5gc/webconsole/backend/WebUI.GetSubscribers (3 handlers) [GIN-debug] GET /api/subscriber/:ueId/:servingPlmnId --> free5gc/webconsole/backend/WebUI.GetSubscriberByID (3 handlers) [GIN-debug] POST /api/subscriber/:ueId/:servingPlmnId --> free5gc/webconsole/backend/WebUI.PostSubscriberByID (3 handlers) [GIN-debug] PUT /api/subscriber/:ueId/:servingPlmnId --> free5gc/webconsole/backend/WebUI.PutSubscriberByID (3 handlers) [GIN-debug] DELETE /api/subscriber/:ueId/:servingPlmnId --> free5gc/webconsole/backend/WebUI.DeleteSubscriberByID (3 handlers) [GIN-debug] PATCH /api/subscriber/:ueId/:servingPlmnId --> free5gc/webconsole/backend/WebUI.PatchSubscriberByID (3 handlers) [GIN-debug] GET /api/registered-ue-context --> free5gc/webconsole/backend/WebUI.GetRegisteredUEContext (3 handlers) [GIN-debug] GET /api/registered-ue-context/:supi --> free5gc/webconsole/backend/WebUI.GetRegisteredUEContext (3 handlers) [GIN-debug] GET /api/ue-pdu-session-info/:smContextRef --> free5gc/webconsole/backend/WebUI.GetUEPDUSessionInfo (3 handlers) [GIN-debug] Listening and serving HTTP on :5000 2020-11-02T12:10:55+01:00 [INFO][WebUI][WebUI] Get One Subscriber Data 2020-11-02T12:10:55+01:00 [INFO][WebUI][GIN] | 200 | 192.168.56.1 | GET | /api/subscriber/[object Object]/undefined | ` The last line occurs when clicking on the modify button.
[Bugs] Unable to modify a subscriber entry in frontend
https://api.github.com/repos/free5gc/free5gc/issues/133/comments
1
2020-11-02T11:13:23Z
2021-10-13T08:27:12Z
https://github.com/free5gc/free5gc/issues/133
734,417,411
133
[ "free5gc", "free5gc" ]
I observed that the AMF creates wrong InitialContextSetupRequest messages, in detail the id-UESecurityCapabilites are not correct. ## Expected behavior The first 3 bits of the Capabilities bitstream should be used for encoding (one-hot) if NEA1, NEA2, NEA3 is supported. Same for NIA1, NIA2, NIA3. ## Describe the bug The AMF sets bit 8 of the bitstream to 1 if one of the three is supported. However, bit nr 4 to 16 (starting numbering at 1) should be 0 as they are reserved. The GetEA1_128_5G function returns either 0 or 1. This value is written directly into the variable nrEncryptionAlgorighm[0] which should contain a bitmask instead. (in src/amf/ngap/message/build.go) ## Reproduce it: This behavior can be reproduced by the default free5gc configuration running the test script: ` ./test.sh -o TestRegistration ` on Ubuntu 18.04 Server free5gc v3.0.4 ## Screenshot ![image](https://user-images.githubusercontent.com/16240312/97859842-73ce3a00-1d01-11eb-84ed-8dc6392cecf9.png) # suggested solution in src/amf/ngap/message/build.go adding a bitshift by 5,6,7 bits should solve the problem. (in total 3 times within this module) ` nrEncryptionAlgorighm := []byte{0x00, 0x00} nrEncryptionAlgorighm[0] |= amfUe.UESecurityCapability.GetEA1_128_5G() << 7 nrEncryptionAlgorighm[0] |= amfUe.UESecurityCapability.GetEA2_128_5G() << 6 nrEncryptionAlgorighm[0] |= amfUe.UESecurityCapability.GetEA3_128_5G() << 5 ueSecurityCapabilities.NRencryptionAlgorithms.Value = ngapConvert.ByteToBitString(nrEncryptionAlgorighm, 16) nrIntegrityAlgorithm := []byte{0x00, 0x00} nrIntegrityAlgorithm[0] |= amfUe.UESecurityCapability.GetIA1_128_5G() << 7 nrIntegrityAlgorithm[0] |= amfUe.UESecurityCapability.GetIA2_128_5G() << 6 nrIntegrityAlgorithm[0] |= amfUe.UESecurityCapability.GetIA3_128_5G() << 5 ueSecurityCapabilities.NRintegrityProtectionAlgorithms.Value = ngapConvert.ByteToBitString(nrIntegrityAlgorithm, 16) ` ## tested the suggested solution is tested only very rudimentary. However, the right bits are set to 1 now (at least where I have seen them).
[Bugs] AMF creates wrong InitialContextSetupRequest message
https://api.github.com/repos/free5gc/free5gc/issues/132/comments
4
2020-11-02T10:58:56Z
2020-12-24T07:52:23Z
https://github.com/free5gc/free5gc/issues/132
734,407,084
132
[ "free5gc", "free5gc" ]
## Issue Description ### What's the version are you using v3.0.4 ### Is your feature request related to a problem? Please describe. Free5gc's NF does not support the function to update configuration after the NF started. So we cannot add new SNSSAI to AMF and NSSF while AMF and NSSF are running. ### Describe the solution you'd like AMF and NSSF support the function to reload configuration and to notice the configuration update. ### Describe alternatives/workarounds you've considered None ### Additional context None ## Issue Template Checklist ### If willing to resolve an issue by submitting Pull request, please consider the points below. I've created a sample implementation for updating configuration. [updateconfig.zip](https://github.com/free5gc/free5gc/files/5455543/updateconfig.zip) **How to patch and build** ``` unzip updateconfig.zip cd updateconfig mv updateconfig.patch ~/ cd ~/ patch -p1 -d free5gc < updateconfig.patch cd free5gc go build -o bin/nssf -x src/nssf/nssf.go go build -o bin/amf -x src/amf/amf.go ``` **How to use** AMF Configuration Update ``` curl http://(AMF SBI IP Address):(AMF SBI Port)/namf-oam/v1/update-config ``` - After the above command is executed, this command returns `{"Slices":(supported slice number)}`. - Then AMF executes the following procedures. - Reload `amfcfg.conf` in default config path. - Register "NfProfile" to NRF - Send "AMF Configuration Update" to gNB - Send "Configuration Update Command" to UE NSSF Configuration Update ``` curl http://(NSSF SBI IP Address):(NSSF SBI Port)/nnssf-oam/v1/update-config ``` - After the above command is executed, this command returns `{"Slices":(supported slice number)}`. - Then NSSF executes the following procedures. - Reload `nssfcfg.conf` in default config path. - Register "NfProfile" to NRF
[Feat] Function to update configuration while NF is running
https://api.github.com/repos/free5gc/free5gc/issues/131/comments
3
2020-10-29T00:57:08Z
2023-07-07T04:17:35Z
https://github.com/free5gc/free5gc/issues/131
731,911,604
131
[ "free5gc", "free5gc" ]
I'd like to verify my 5g aka code is correct or not. So I want to ask if anybody can help me to provide any test data of 5g-aka. Thanks.
Is there any 5G AKA test data can be provided?
https://api.github.com/repos/free5gc/free5gc/issues/129/comments
1
2020-10-27T10:02:31Z
2020-10-27T13:28:36Z
https://github.com/free5gc/free5gc/issues/129
730,298,125
129
[ "free5gc", "free5gc" ]
## Describe the bug UDM Crashes when it has zero length sNssaiList ## To Reproduce Configure with null or zero length NSSAI list. ## Expected behavior No crash. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/udm/pull/2) for the fix.
[Bugs] UDM Crashes when it has zero length sNssaiList
https://api.github.com/repos/free5gc/free5gc/issues/128/comments
0
2020-10-23T11:22:31Z
2021-01-14T15:16:46Z
https://github.com/free5gc/free5gc/issues/128
728,137,870
128
[ "free5gc", "free5gc" ]
## Describe the bug AMF Crashes when it access to null `nsiInformation` ## To Reproduce Steps to reproduce the behavior: 1. Change config '...' 2. Code patch '...' (You can fork the project and give us the patch diff you have modified) 3. Run command '...' 4. Dump packet '...' ## Expected behavior No crash. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/9) for the fix
[Bugs] AMF Crashes on accessing null nsiInformation
https://api.github.com/repos/free5gc/free5gc/issues/127/comments
1
2020-10-23T11:07:18Z
2021-01-07T10:56:53Z
https://github.com/free5gc/free5gc/issues/127
728,128,441
127
[ "free5gc", "free5gc" ]
## Describe the bug AMF Crash when it access to null `ue.AccessAndMobilitySubscriptionData` ## To Reproduce Steps to reproduce the behavior: 1. Change config '...' 2. Code patch '...' (You can fork the project and give us the patch diff you have modified) 3. Run command '...' 4. Dump packet '...' ## Expected behavior No crash. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/amf/pull/8)
[Bugs] AMF Crash on accessing null ue.AccessAndMobilitySubscriptionData
https://api.github.com/repos/free5gc/free5gc/issues/126/comments
0
2020-10-23T11:01:07Z
2020-10-26T08:33:29Z
https://github.com/free5gc/free5gc/issues/126
728,124,381
126
[ "free5gc", "free5gc" ]
### Issue Description May be UPF has multiple nic,represent n3 n6 and cp interface in TS 29.244, UPF response Association with multiple UserPlaneIPResourceInformation,so there should be multiple UserPlaneIPResourceInformation fields in the structure of PFCPAssociationSetupRequest ### What's the version are you using free5gc 3.0.4 ### Is your feature request related to a problem? Please describe. func (dataPath *DataPath) ActivateTunnelAndPDR(smContext *SMContext),which should select access,core,N6 interface fill in PDR and FAR ### Describe the solution you'd like The structure of PFCPAssociationSetupRequest in message.go file,like this type PFCPAssociationSetupRequest struct { NodeID *pfcpType.NodeID `tlv:"60"` RecoveryTimeStamp *pfcpType.RecoveryTimeStamp `tlv:"96"` UPFunctionFeatures *pfcpType.UPFunctionFeatures `tlv:"43"` CPFunctionFeatures *pfcpType.CPFunctionFeatures `tlv:"89"` UserPlaneIPResourceInformations []*pfcpType.UserPlaneIPResourceInformation `tlv:"116"` } Need to modify other using UserPlaneIPResourceInformation
[Feat] There should be multiple UserPlaneIPResourceInformation fields in the structure of PFCPAssociationSetupRequest
https://api.github.com/repos/free5gc/free5gc/issues/125/comments
2
2020-10-23T01:09:30Z
2020-12-17T06:03:09Z
https://github.com/free5gc/free5gc/issues/125
727,818,016
125
[ "free5gc", "free5gc" ]
## Describe the bug In TS 24.501 9.11.3.4. "5G-GUTI" has four 1bit in octet 4 (bit 8-5). It is not properly encoded/decoded. ``` text 8 7 6 5 4 3 2 1 +------------------------------+ | 1 | 1 | 1 | 1 | 0 |Type of id| octet 4 +------------------------------+ 5GS mobile identity information element for type of identity "5G-GUTI" ```` ## To Reproduce Just simply dump 5G-GUIT IEI. ## Expected behavior First 4 bit of octet 4 must be filled in 1. ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request [Pull Request](https://github.com/free5gc/nas/pull/5) for the fix.
[Bugs] NAS 5GS mobile identity 5G-GUTI octet 4 (first four 1bits) must be handled
https://api.github.com/repos/free5gc/free5gc/issues/124/comments
1
2020-10-21T05:12:42Z
2020-11-25T07:41:04Z
https://github.com/free5gc/free5gc/issues/124
726,139,092
124
[ "free5gc", "free5gc" ]
## Issue Description webconsole NSSAI configuration feature is not complete. ### What's the version are you using free5gc 3.0.4 ### Is your feature request related to a problem? Please describe. Can't properly configure NSSAI. ### Describe the solution you'd like We've completed the NSSAI configuration feature of webconsole. ### Pull Request Here is a [Pull Request](https://github.com/free5gc/webconsole/pull/8) for the feature.
[Feat] Complete NSSAI configuration feature
https://api.github.com/repos/free5gc/free5gc/issues/123/comments
1
2020-10-20T23:54:58Z
2020-10-26T16:31:59Z
https://github.com/free5gc/free5gc/issues/123
726,022,362
123
[ "free5gc", "free5gc" ]
## Describe the bug The protection scheme output of the SUCI is the cipher text of **nibble swapped MSIN** when profile \<A> or profile \<B> is used as the protection scheme. After the decryption, the scheme output need to be swapped. This fix change - `supi conversion => imsi-460002143658709` to - `supi conversion => imsi-460001234567890`. in `INFO[2020-08-31T16:10:40+09:00]/src/udm/producer/generate_auth_data.go:35 free5gc/src/udm/producer.HandleGenerateAuthData() supi conversion => imsi-XXXXXXXXXX UDM=UEAU` when the UE simulator registers to the Free5GC with config `imsi-460001234567890` and `profile <A/B>`. <details><summary>logs</summary><div> ### before ``` DEBU[2020-08-31T16:10:40+09:00]/src/amf/gmm/handler.go:549 free5gc/src/amf/gmm.HandleRegistrationRequest() RegistrationType: Initial Registration AMF=Gmm DEBU[2020-08-31T16:10:40+09:00]/src/amf/gmm/handler.go:573 free5gc/src/amf/gmm.HandleRegistrationRequest() SUCI: suci-0-460-00-0-1-0-61d041dffd21c9b85c38a623e9e8c8951c28a5a32029978b824f39d5 7fb68f51ab0fb7d9a708cf1883c1f8f81c AMF=Gmm INFO[2020-08-31T16:10:40+09:00]/src/amf/gmm/handler.go:630 free5gc/src/amf/gmm.HandleRegistrationRequest() ue.Capability5GMM is nil in InitialUEMEssage AMF=Gmm TRAC[2020-08-31T16:10:40+09:00]/src/amf/gmm/sm.go:72 free5gc/src/amf/gmm.register_event_3gpp() amfUe.RegistrationType5GS 1 AMF=Gmm INFO[2020-08-31T16:10:40+09:00]/src/amf/gmm/handler.go:1644 free5gc/src/amf/gmm.startAuthenticationProcedure() Start authentication procedure AMF=Gmm 2020/08/31 16:10:40 map[$and:[map[nfType:AUSF] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/31 - 16:10:40 | 200 | 34.796173ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=AUSF INFO[2020-08-31T16:10:40+09:00]/src/ausf/producer/ue_authentication.go:64 free5gc/src/ausf/producer.HandleUeAuthPostRequest() HandleUeAuthPostRequest AUSF=UeAuthPost INFO[2020-08-31T16:10:40+09:00]/src/ausf/producer/ue_authentication.go:96 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() Serving network authorized AUSF=UeAuthPos t 2020/08/31 16:10:40 map[$and:[map[nfType:UDM] map[$or:[map[allowedNfTypes:AUSF] map[allowedNfTypes:map[$exists:false]]]] map[nfServices:map[$elemMatch:map[nfServiceStatus:REGISTERED service Name:map[$in:[nudm-ueau]]]]]]] [GIN] 2020/08/31 - 16:10:40 | 200 | 95.563402ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AUSF&service-names=nudm-ueau&target-nf-type=UDM INFO[2020-08-31T16:10:40+09:00]/lib/util_3gpp/suci/toSupi.go:260 free5gc/lib/util_3gpp/suci.ToSupi() suciPart [suci 0 460 00 0 1 0 61d041dffd21c9b85c38a623e9e8c8951c28a5a32029978b824f39d57f b68f51ab0fb7d9a708cf1883c1f8f81c] UDM=UEAU INFO[2020-08-31T16:10:40+09:00]/lib/util_3gpp/suci/toSupi.go:278 free5gc/lib/util_3gpp/suci.ToSupi() scheme 1 UDM=UEAU INFO[2020-08-31T16:10:40+09:00]/lib/util_3gpp/suci/toSupi.go:285 free5gc/lib/util_3gpp/suci.ToSupi() SUPI type is IMSI UDM=UEAU INFO[2020-08-31T16:10:40+09:00]/lib/util_3gpp/suci/toSupi.go:125 free5gc/lib/util_3gpp/suci.profileA() SuciToSupi Profile A UDM=UEAU INFO[2020-08-31T16:10:40+09:00]/lib/util_3gpp/suci/toSupi.go:159 free5gc/lib/util_3gpp/suci.profileA() decryption MAC match UDM=UEAU INFO[2020-08-31T16:10:40+09:00]/src/udm/producer/generate_auth_data.go:35 free5gc/src/udm/producer.HandleGenerateAuthData() supi conversion => imsi-460000021020000 UDM=UEAU http://127.0.0.1:29510 2020/08/31 16:10:40 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:UDM] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/31 - 16:10:40 | 200 | 33.479546ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=UDM&target-nf-type=UDR [GIN] 2020/08/31 - 16:10:40 | 404 | 1.101564ms | 127.0.0.1 | GET /nudr-dr/v1/subscription-data/imsi-460000021020000/authentication-data/authentication-subscription ERRO[2020-08-31T16:10:40+09:00]/src/udm/producer/generate_auth_data.go:40 free5gc/src/udm/producer.HandleGenerateAuthData() Return from UDR QueryAuthSubsData error UDM=UEAU [GIN] 2020/08/31 - 16:10:40 | 403 | 43.826527ms | 127.0.0.1 | POST /nudm-ueau/v1/suci-0-460-00-0-1-0-61d041dffd21c9b85c38a623e9e8c8951c28a5a32029978b824f39d57fb68f51ab0fb7d9a708 cf1883c1f8f81c/security-information/generate-auth-data INFO[2020-08-31T16:10:40+09:00]/src/ausf/producer/ue_authentication.go:107 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() 403 Forbidden AUSF=UeAuthPo st [GIN] 2020/08/31 - 16:10:40 | 200 | 148.608178ms | 127.0.0.1 | POST /nausf-auth/v1/ue-authentications ERRO[2020-08-31T16:10:40+09:00]/src/amf/nas/handler.go:42 free5gc/src/amf/nas.HandleNAS() Handle NAS Error: 200 is not a valid status code in UeAuthenticationsPost AMF=NGAP ``` ### fixed ``` INFO[2020-09-03T14:27:34+09:00]/src/amf/gmm/handler.go:528 free5gc/src/amf/gmm.HandleRegistrationRequest() [AMF] Handle Registration Request AMF=Gmm DEBU[2020-09-03T14:27:34+09:00]/src/amf/gmm/handler.go:549 free5gc/src/amf/gmm.HandleRegistrationRequest() RegistrationType: Initial Registration AMF=Gmm DEBU[2020-09-03T14:27:34+09:00]/src/amf/gmm/handler.go:573 free5gc/src/amf/gmm.HandleRegistrationRequest() SUCI: suci-0-460-00-0-1-0-028edecea682c097f8ddac193fdeb923538688d2e9333f5cdfa0a9be64f4e662c5a79508e6897769bda9640424 AMF=Gmm INFO[2020-09-03T14:27:34+09:00]/src/amf/gmm/handler.go:630 free5gc/src/amf/gmm.HandleRegistrationRequest() ue.Capability5GMM is nil in InitialUEMEssage AMF=Gmm TRAC[2020-09-03T14:27:34+09:00]/src/amf/gmm/sm.go:72 free5gc/src/amf/gmm.register_event_3gpp() amfUe.RegistrationType5GS 1 AMF=Gmm INFO[2020-09-03T14:27:34+09:00]/src/amf/gmm/handler.go:1644 free5gc/src/amf/gmm.startAuthenticationProcedure() Start authentication procedure AMF=Gmm 2020/09/03 14:27:34 map[$and:[map[nfType:AUSF] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/09/03 - 14:27:34 | 200 | 46.875416ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=AUSF INFO[2020-09-03T14:27:34+09:00]/src/ausf/producer/ue_authentication.go:64 free5gc/src/ausf/producer.HandleUeAuthPostRequest() HandleUeAuthPostRequest AUSF=UeAuthPost INFO[2020-09-03T14:27:34+09:00]/src/ausf/producer/ue_authentication.go:96 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() Serving network authorized AUSF=UeAuthPost 2020/09/03 14:27:34 map[$and:[map[nfType:UDM] map[$or:[map[allowedNfTypes:AUSF] map[allowedNfTypes:map[$exists:false]]]] map[nfServices:map[$elemMatch:map[nfServiceStatus:REGISTERED serviceName:map[$in:[nudm-ueau]]]]]]] [GIN] 2020/09/03 - 14:27:34 | 200 | 105.887844ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AUSF&service-names=nudm-ueau&target-nf-type=UDM INFO[2020-09-03T14:27:34+09:00]/lib/util_3gpp/suci/toSupi.go:289 free5gc/lib/util_3gpp/suci.ToSupi() suciPart [suci 0 460 00 0 1 0 028edecea682c097f8ddac193fdeb923538688d2e9333f5cdfa0a9be64f4e662c5a79508e6897769bda9640424] UDM=UEAU INFO[2020-09-03T14:27:34+09:00]/lib/util_3gpp/suci/toSupi.go:307 free5gc/lib/util_3gpp/suci.ToSupi() scheme 1 UDM=UEAU INFO[2020-09-03T14:27:34+09:00]/lib/util_3gpp/suci/toSupi.go:314 free5gc/lib/util_3gpp/suci.ToSupi() SUPI type is IMSI UDM=UEAU INFO[2020-09-03T14:27:34+09:00]/lib/util_3gpp/suci/toSupi.go:134 free5gc/lib/util_3gpp/suci.profileA() SuciToSupi Profile A UDM=UEAU INFO[2020-09-03T14:27:34+09:00]/lib/util_3gpp/suci/toSupi.go:168 free5gc/lib/util_3gpp/suci.profileA() decryption MAC match UDM=UEAU INFO[2020-09-03T14:27:34+09:00]/src/udm/producer/generate_auth_data.go:35 free5gc/src/udm/producer.HandleGenerateAuthData() supi conversion => imsi-460000012200000 UDM=UEAU http://127.0.0.1:29510 2020/09/03 14:27:34 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:UDM] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/09/03 - 14:27:34 | 200 | 37.497316ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=UDM&target-nf-type=UDR [GIN] 2020/09/03 - 14:27:34 | 200 | 1.271238ms | 127.0.0.1 | GET /nudr-dr/v1/subscription-data/imsi-460000012200000/authentication-data/authentication-subscription ERRO[2020-09-03T14:27:34+09:00]/src/udm/producer/generate_auth_data.go:81 free5gc/src/udm/producer.HandleGenerateAuthData() OP_str length is 0 UDM=UEAU [GIN] 2020/09/03 - 14:27:34 | 200 | 49.119849ms | 127.0.0.1 | POST /nudm-ueau/v1/suci-0-460-00-0-1-0-028edecea682c097f8ddac193fdeb923538688d2e9333f5cdfa0a9be64f4e662c5a79508e6897769bda9640424/security-information/generate-auth-data INFO[2020-09-03T14:27:34+09:00]/src/ausf/producer/ue_authentication.go:124 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() Add SuciSupiPair (suci-0-460-00-0-1-0-028edecea682c097f8ddac193fdeb923538688d2e9333f5cdfa0a9be64f4e662c5a79508e6897769bda9640424, imsi-460000012200000) to map. AUSF=UeAuthPost INFO[2020-09-03T14:27:34+09:00]/src/ausf/producer/ue_authentication.go:130 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() Use 5G AKA auth method AUSF=UeAuthPost INFO[2020-09-03T14:27:34+09:00]/src/ausf/producer/ue_authentication.go:138 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() XresStar = 6132323037336465373762366137303635656462383530346434633834373666 AUSF=5gAkaComfirm [GIN] 2020/09/03 - 14:27:34 | 201 | 177.846174ms | 127.0.0.1 | POST /nausf-auth/v1/ue-authentications INFO[2020-09-03T14:27:34+09:00]/src/amf/gmm/message/send.go:65 free5gc/src/amf/gmm/message.SendAuthenticationRequest() [NAS] Send Authentication Request[Retry: 0] AMF=Gmm INFO[2020-09-03T14:27:34+09:00]/src/amf/ngap/message/send.go:138 free5gc/src/amf/ngap/message.SendDownlinkNasTransport() [AMF] Send Downlink Nas Transport AMF=NGAP DEBU[2020-09-03T14:27:34+09:00]/src/amf/ngap/message/send.go:32 free5gc/src/amf/ngap/message.SendToRan() [NGAP] Send To Ran [IP: 172.17.1.230:38412] AMF=NGAP DEBU[2020-09-03T14:27:34+09:00]/src/amf/ngap/sctp/sctp.go:100 free5gc/src/amf/ngap/sctp.(*SCTPListener).forwardData() Packet get: 0x002e403f000004000a0002000100550005c0bc00000000260016157e00572d10a22073de77b6a7065edb8504d4c8476f0079400f4064f000000000001064f000000001 AMF=NGAP INFO[2020-09-03T14:27:34+09:00]/src/amf/ngap/handler.go:180 free5gc/src/amf/ngap.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP TRAC[2020-09-03T14:27:34+09:00]/src/amf/ngap/handler.go:187 free5gc/src/amf/ngap.HandleUplinkNasTransport() [NGAP] Decode IE AmfUeNgapID AMF=NGAP TRAC[2020-09-03T14:27:34+09:00]/src/amf/ngap/handler.go:194 free5gc/src/amf/ngap.HandleUplinkNasTransport() [NGAP] Decode IE RanUeNgapID AMF=NGAP TRAC[2020-09-03T14:27:34+09:00]/src/amf/ngap/handler.go:201 free5gc/src/amf/ngap.HandleUplinkNasTransport() [NGAP] Decode IE NasPdu AMF=NGAP TRAC[2020-09-03T14:27:34+09:00]/src/amf/ngap/handler.go:208 free5gc/src/amf/ngap.HandleUplinkNasTransport() [NGAP] Decode IE UserLocationInformation AMF=NGAP TRAC[2020-09-03T14:27:34+09:00]/src/amf/ngap/handler.go:4142 free5gc/src/amf/ngap.printRanInfo() IP[172.17.1.230:38412] GNbId[00000000] AMF=NGAP TRAC[2020-09-03T14:27:34+09:00]/src/amf/ngap/handler.go:233 free5gc/src/amf/ngap.HandleUplinkNasTransport() RANUENGAPID[3154116608] AMFUENGAPID[1] AMF=NGAP TRAC[2020-09-03T14:27:34+09:00]/src/amf/nas/nas_security/security.go:90 free5gc/src/amf/nas/nas_security.Decode() securityHeaderType is 0 AMF=NAS INFO[2020-09-03T14:27:34+09:00]/src/amf/gmm/handler.go:1957 free5gc/src/amf/gmm.HandleAuthenticationResponse() [AMF] Handle Authentication Response AMF=Gmm INFO[2020-09-03T14:27:34+09:00]/src/ausf/producer/ue_authentication.go:46 free5gc/src/ausf/producer.HandleAuth5gAkaComfirmRequest() Auth5gAkaComfirmRequest AUSF=5gAkaComfirm INFO[2020-09-03T14:27:34+09:00]/src/ausf/producer/ue_authentication.go:241 free5gc/src/ausf/producer.Auth5gAkaComfirmRequestProcedure() res*: 6132323037336465373762366137303635656462383530346434633834373666 Xres*: 6132323037336465373762366137303635656462383530346434633834373666 AUSF=5gAkaComfirm INFO[2020-09-03T14:27:34+09:00]/src/ausf/producer/ue_authentication.go:246 free5gc/src/ausf/producer.Auth5gAkaComfirmRequestProcedure() 5G AKA confirmation succeeded AUSF=5gAkaComfirm [GIN] 2020/09/03 - 14:27:34 | 204 | 1.157997ms | 127.0.0.1 | PUT /nudr-dr/v1/subscription-data/imsi-460000012200000/authentication-data/authentication-status [GIN] 2020/09/03 - 14:27:34 | 201 | 2.007783ms | 127.0.0.1 | POST /nudm-ueau/v1/imsi-460000012200000/auth-events [GIN] 2020/09/03 - 14:27:34 | 200 | 3.022306ms | 127.0.0.1 | PUT /nausf-auth/v1/ue-authentications/suci-0-460-00-0-1-0-028edecea682c097f8ddac193fdeb923538688d2e9333f5cdfa0a9be64f4e662c5a79508e6897769bda9640424/5g-aka-confirmation DEBU[2020-09-03T14:27:34+09:00]/src/amf/gmm/handler.go:2006 free5gc/src/amf/gmm.HandleAuthenticationResponse() ue.DerivateKamf() 9aad06518598ad4a8216f8e97302c19c67e6131bb052dca2b67ba5a9c341da95 AMF=Gmm INFO[2020-09-03T14:27:34+09:00]/src/amf/gmm/message/send.go:165 free5gc/src/amf/gmm/message.SendSecurityModeCommand() [NAS] Send Security Mode Command AMF=Gmm ``` </div></details> See 3GPP TS33.501 C.4.3 ECIES Profile A. ``` The following test data set corresponds to SUCI computation in the UE for IMSI-based SUPI and ECIES Profile A. IMSI consists of MCC|MNC: '274012' and MSIN: '001002086' ECIES test data Plaintext block: '00012080f6' ``` I used below code as reference. https://github.com/free5gc/nas/blob/963590d1cdbe825b42d2db18b4dbd4fc19b0e793/nasConvert/MobileIdentity5GS.go#L65-L78 ## Environment (please complete the following information): - free5GC Version: 3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## Pull Request Here is a [Pull Request](https://github.com/free5gc/util_3gpp/pull/2) for the fix.
[Bugs] Add swap processing for supiType IMSI
https://api.github.com/repos/free5gc/free5gc/issues/122/comments
1
2020-10-20T23:27:38Z
2020-11-25T07:42:48Z
https://github.com/free5gc/free5gc/issues/122
726,012,939
122
[ "free5gc", "free5gc" ]
**If the design issue template is not followed, the issue might be closed.** <!-- Remove above warning line while reporting the issue --> ## Issue Description ### What's the version are you using v3.0.4 ### Is your feature request related to a problem? Please describe. When free5gc is deployed on the cloud platform, the IP address of the NF is automatically assigned。So, it is very inflexible if we must write it in Configuration file in advance. In the main microservice frameworks, the microservice's IP are all automatically registered with Service Discovery Center. For example,SpringCloud Eureka. ### Describe the solution you'd like 1. Modify SBA service(NFs) listen on "0.0.0.0:port" , that is, "(sbi.IPv4Addr, sbi.Port)" ====> "0.0.0.0:port". 2. If “sbi” is configured in the file, the configuration file has higher priority. ### Describe alternatives/workarounds you've considered None. ### Additional context None. ## Issue Template Checklist <!-- Please answer the questions below. If not the issue might be disregarded. --> ### If willing to resolve an issue by submitting Pull request, please consider the points below. <!-- free5GC will be happy to welcome first contributor’s, in order to broaden the community. --> - [x] Yes, I have the time and I know how to start. - [ ] Yes, I have the time but I don't know how to start, I would need guidance. - [ ] No, I don't have the time, although I believe I could do it if I had the time... - [ ] No, I don't have the time and I wouldn't even know how to start.
[Feat]the IP address of SBA service should be reported automatically to NRF, for deployment on the kubernetes cloud platform
https://api.github.com/repos/free5gc/free5gc/issues/121/comments
4
2020-10-20T09:03:17Z
2020-10-20T09:56:36Z
https://github.com/free5gc/free5gc/issues/121
725,368,411
121
[ "free5gc", "free5gc" ]
## Issue Description ### What's the version are you using v3.0.4 ### Is your feature request related to a problem? Please describe. free5gc's webconsole does not provide the function to modify UE's SNSSAIs and DNN. ### Describe the solution you'd like webconsole or CLI tool provides the function to modify UE's SNSSAIs and DNN. ### Describe alternatives/workarounds you've considered None ### Additional context The current mongodb document format has two problems. - **Problem 1** : defaultSingleNssais and singleNssais include the same SNSSAI. In `subscriptionData.provisionedData.amData`, defaultSingleNssais and singleNssais include the same SNSSAI. `TS 29.503 version 15.7.0 / 6.1.6.2.2 Type: Nssai` says ``` defaultSingleNssais : A list of Single Nssais used as default singleNssais : List of non default Single Nssais. ``` So, defaultSingleNssais and singleNssais are exclusive. If defaultSingleNssais includes a SNSSAI (SST=1 & SD=010203), singleNssais should not include the SNSSAI (SST=1 & SD=010203). - **Problem 2** : SNSSAI string format does not conform to 3GPP specification `subscriptionData.provisionedData.smfSelectionSubscriptionData`'s subscribedSnssaiInfos and `policyData.ues.smData`'s smPolicySnssaiData have the string formatted snssai key such as "01010203". `TS 29.571 version 15.6.0 / 5.4.4.2 Type: Snssai` says ``` When Snssai needs to be converted to string (e.g. when used in maps as key), the string shall be composed of one to three digits "sst" optionally followed by "-" and 6 hexadecimal digits "sd", and shall match the following pattern: ^([0-9]|[1-9][0-9]|1[0-9][0-9]|2([0-4][0-9]|5[0-5]))(-[A-Fa-f0-9]{6})?$ Example 1: "255-19CDE0" Example 2: "29" ``` So, "01010203" should be formatted as "1-010203". ## Issue Template Checklist ### If willing to resolve an issue by submitting Pull request, please consider the points below. I've created a sample implementation of CLI tool which register the mongodb document for UE. [uetool.zip](https://github.com/free5gc/free5gc/files/5389878/uetool.zip) Installation, Configuration and Usage is described in README.md This tool solves Problem 1. the first snssai is set to defaultSingleNnsai, and the others are set to singleNssai. But it doesn't solve Problem 2 because of compatibility. To comforming to 3GPP specification, fix `subscribeUE.go` as follows. ``` - keystring := fmt.Sprintf("%02d%s",cfg.Snssais[i].Sst,cfg.Snssais[i].Sd) + keystring := fmt.Sprintf("%d-%s",cfg.Snssais[i].Sst,cfg.Snssais[i].Sd) ```
[Feat] Function to modify UE's SNSSAIs and DNN in mongodb documents
https://api.github.com/repos/free5gc/free5gc/issues/120/comments
3
2020-10-16T07:23:09Z
2023-07-07T04:21:33Z
https://github.com/free5gc/free5gc/issues/120
722,977,462
120
[ "free5gc", "free5gc" ]
## Describe the bug UPF always outputs "Error handling UP socket" when UPF receives GTP packet. In free5gc v3.0.3's TestRegistration, UPF returns ICMP Echo Reply in GTP. But in free5gc v3.0.4' TestRegistration, UPF does not return ICMP Echo Reply in GTP. ## To Reproduce 1. edit `upfcfg.test.yaml` ``` vi ~/free5gc/src/upf/build/config/upfcfg.test.yaml ``` 2. change `debugLevel` to `trace`. ``` - debugLevel: info + debugLevel: trace ``` 3. run `./test.sh TestRegistration` ``` $ cd ~/free5gc $ ./test.sh TestRegistration ``` 4. check error in `upf.log` ``` $ grep Error ~/free5gc/log/nf/upf.log time="2020-10-08T15:22:10+09:00" level=debug msg="Error handling UP socket" category=Util component=UPF ``` ## Expected behavior UPF handle GTP packets correctly. ## Environment (please complete the following information): - free5GC Version: v3.0.4 - OS: Ubuntu 18.04.1 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64
[Bugs] UPF cannot handle GTP packets
https://api.github.com/repos/free5gc/free5gc/issues/118/comments
1
2020-10-08T07:03:27Z
2020-10-09T03:53:17Z
https://github.com/free5gc/free5gc/issues/118
717,082,241
118
[ "free5gc", "free5gc" ]
## Describe the bug When using IP address as Node ID, the UPF address of Send PFCP Association Request in SMF log is displayed as corrupted character. ## To Reproduce Steps to reproduce the behavior: 1. Run ./test.sh TestRegistration. 2. You will find SMF shows the log as below. ``` [INFO][SMF][App] Send PFCP Association Request to UPF[??e] ``` ## Expected behavior The log should be as below. ``` [INFO][SMF][App] Send PFCP Association Request to UPF[10.200.200.101] ``` ## Environment (please complete the following information): - free5GC Version: v3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.7 - c compiler version (Option): 7.5.0 ## Trace File ### Configuration File Not modified. ### Log File [test.log](https://github.com/free5gc/free5gc/files/5324963/test.log)
[Bugs] UPF address of Send PFCP Association Request in SMF log is corrupted.
https://api.github.com/repos/free5gc/free5gc/issues/117/comments
2
2020-10-05T02:55:32Z
2020-10-14T01:03:39Z
https://github.com/free5gc/free5gc/issues/117
714,472,472
117
[ "free5gc", "free5gc" ]
<!-- Remove warning (above 3 lines) while reporting the issue --> ## Describe the bug SMF set up PFCP association with a last element from SMF's UPFPool if there's no UPF in the UPFPool with the node ID specified in a PFCP Association Setup Response message. Because the node ID in a PFCP Association Setup Response message represented as IPv4, the problem often occurs when using FQDN node_ids in smfcfg.conf. ## To Reproduce Steps to reproduce the behavior: 1. Use https://github.com/free5gc/free5gc-compose/ to deploy Free5GC. 2. You should run more than 2 UPFs to reproduce the issue. 3. You will find that some UPF's addresses of PFCP associate with are duplicated as below. ``` 2020-10-02T01:23:00Z [INFO][SMF][Pfcp] UPF(10.100.200.4)[internet] setup association (/go/src/free5gc/src/smf/pfcp/handler/handler.go:76 free5gc/src/smf/pfcp/handler.HandlePfcpAssociationSetupResponse) 2020-10-02T01:23:00Z [INFO][SMF][Pfcp] UPF(10.100.200.4)[internet] setup association (/go/src/free5gc/src/smf/pfcp/handler/handler.go:76 free5gc/src/smf/pfcp/handler.HandlePfcpAssociationSetupResponse) 2020-10-02T01:23:00Z [INFO][SMF][Pfcp] UPF(10.100.200.4)[internet] setup association (/go/src/free5gc/src/smf/pfcp/handler/handler.go:76 free5gc/src/smf/pfcp/handler.HandlePfcpAssociationSetupResponse) ``` Note that the duplication sometimes may not occur, because it depends on the order of UPFs in UPFPool. ## Expected behavior It should return errors when there is no UPF with the specified Node ID. ## Environment (please complete the following information): - free5GC Version: v3.0.4 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.7 - c compiler version (Option): 7.5 ## Trace File ### Configuration File Same as https://github.com/free5gc/free5gc-compose/ ### PCAP File [smf_bug_capture.pcap.zip](https://github.com/free5gc/free5gc/files/5315539/smf_bug_capture.pcap.zip) ### Log File Log of SMF. [smf_bug.log](https://github.com/free5gc/free5gc/files/5315541/smf_bug.log) ## System architecture (Option) Running on Docker/K8s. ## Walkthrough (Option) Modify RetrieveUPFNodeByNodeID() to fix the issue. I'll create the PR later. ## Additional context The walkthrough will not allow to use FQDN node ID on SMF, but just show error messages. However, I'd like to use FQDN node ID for deploying Free5GC on K8s. I think there're two options for the implementation. 1. Fix UPF to allow to configure its own node ID. 2. Fix SMF to resolve address of FQDN node IDs and match them to the node ID sent from UPFs. I've read the standardization document, but not found which should I do. I suppose that the option 1 is preferable, however the modifications may be more complicated.
[Bugs] SMF sets up PFCP association with a wrong UPF when using FQDN NodeID.
https://api.github.com/repos/free5gc/free5gc/issues/116/comments
1
2020-10-02T02:03:15Z
2020-10-14T03:14:39Z
https://github.com/free5gc/free5gc/issues/116
713,295,172
116
[ "free5gc", "free5gc" ]
## Describe the bug Trying the free5gc core against an external emulator. During the registration, AMF gets stuck due to an internal infinite loop. ## Environment (please complete the following information): - free5GC Version: v3.0.4 - OS: Ubuntu 200.04.1 Server - Kernel version: 5.4.0-48-generic - go version: go1.14.4 linux/amd64 ## Trace File ### Configuration File [amfcfg.conf.txt](https://github.com/free5gc/free5gc/files/5301244/amfcfg.conf.txt) ### PCAP File [Registration_Error_Loop.pcap.zip](https://github.com/free5gc/free5gc/files/5301248/Registration_Error_Loop.pcap.zip) ### Log File [AMF.log](https://github.com/free5gc/free5gc/files/5301249/AMF.log)
[Bugs] AMF getting in loop during Registration
https://api.github.com/repos/free5gc/free5gc/issues/115/comments
3
2020-09-29T18:51:17Z
2023-07-03T08:24:38Z
https://github.com/free5gc/free5gc/issues/115
711,363,199
115
[ "free5gc", "free5gc" ]
## Describe the bug Procedure rejected if 5GMM Capability info missing in _Registration Request_ message. ## Expected behavior According to 3GPP TS 24.501, the 5GMM Capability info in _Registration Request_ message is optional. ## Environment - free5GC Version: v3.0.4 - OS: Ubuntu 200.04.1 Server - Kernel version: 5.4.0-48-generic - go version: go1.14.4 linux/amd64 ### PCAP File [free5gc_Missing_Capability5GMM.pcap.zip](https://github.com/free5gc/free5gc/files/5300963/free5gc_Missing_Capability5GMM.pcap.zip) ### Log File [AMF.log](https://github.com/free5gc/free5gc/files/5300975/AMF.log)
[Bugs] AMF rejecting the registration if 5GMM Capability info missing
https://api.github.com/repos/free5gc/free5gc/issues/114/comments
6
2020-09-29T18:01:19Z
2020-11-21T03:16:01Z
https://github.com/free5gc/free5gc/issues/114
711,333,461
114
[ "free5gc", "free5gc" ]
## Issue Description ### What's the version are you using v3.0.3 ### Is your feature request related to a problem? Please describe. UE can not receive the time that should be synchronized from a network and it may cause large time lag between UE and current time. ### Describe the solution you'd like I expect 1) AMF to send a `Configuration update command` **shortly after** the `Registration complete` and periodic registration update. and 2) this `Configuration update command` includes long and short operator names, universal time, local time zone and daylight saving time. and then, UE can synchronize with this time and time zone and get operator names of a core network. ### Describe alternatives/workarounds you've considered None. ### Additional context See 3GPP TS24.501 5.4.4 Generic UE configuration update procedure -> 5.4.4.1 General ``` This procedure is initiated by the network and can only be used when the UE has an established 5GMM context, and the UE is in 5GMM-CONNECTED mode. ``` ``` The following parameters are supported by the generic UE configuration update procedure without the need to request the UE to perform the registration procedure for mobility and periodic registration update: d) Network identity and time zone information (Full name for network, short name for network, local time zone, universal time and local time zone, network daylight saving time); ``` See also 3GPP TS22.042 Network Identity and TimeZone (NITZ); Service description; Stage 1. ## Issue Template Checklist <!-- Please answer the questions below. If you don't, your issue may be closed. --> ### Would you be willing to resolve this issue by submitting a Pull Request? <!-- Remember that first contributors are welcome! --> - [ ] Yes, I have the time and I know how to start. - [ ] Yes, I have the time but I don't know how to start, I would need guidance. - [x] No, I don't have the time, although I believe I could do it if I had the time... - [ ] No, I don't have the time and I wouldn't even know how to start.
[Feat] NITZ: Inform UE of current time and operator name using configuration update command.
https://api.github.com/repos/free5gc/free5gc/issues/113/comments
1
2020-09-25T06:23:31Z
2023-10-04T07:13:58Z
https://github.com/free5gc/free5gc/issues/113
708,676,571
113
[ "free5gc", "free5gc" ]
## Documentation request Increase realization function,progressing function and pending function,which can let us understand free5gc project ## Suggestion Can free5gc add in the document which functions are implemented and which functions are not implemented? As follows: #### Complete ``` N3, N4, N6, N9 interfacing PDR, FAR ... ``` #### Progressing ``` PCC ``` #### Pending ``` QER ```
[Docs] Add docs with implemented and not implemented function
https://api.github.com/repos/free5gc/free5gc/issues/112/comments
1
2020-09-24T08:52:34Z
2020-10-14T00:51:04Z
https://github.com/free5gc/free5gc/issues/112
707,986,087
112
[ "free5gc", "free5gc" ]
## Issue Description ### What's the version are you using v3.0.3 ### Is your feature request related to a problem? Please describe. I'm trying to run Free5GC on Kubernetes. The container images are based on https://github.com/free5gc/free5gc-compose. I'd like to use hostname to configure node_id in smfcfg.conf, because the IP addresses for Pod is assigned dynamically. Currently, SMF doesn't resolve hostname and treats the string as an IP address. SMF logs when docker-compose up are as below. ``` $ sudo docker logs smf smf INFO[2020-09-18T06:04:10Z]/go/src/free5gc/src/smf/smf.go:35 main.main() SMF version: 2020-03-xx-xx SMF=app CommonConfig file: ../config/free5GC.conf INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/nas/logger/logger.go:60 free5gc/lib/nas/logger.SetLogLevel() set log level : info NAS=message INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/nas/logger/logger.go:65 free5gc/lib/nas/logger.SetReportCaller() set report call : true NAS=message INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/fsm/logger/logger.go:56 free5gc/lib/fsm/logger.SetLogLevel() set log level : info fsm=fsm INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/fsm/logger/logger.go:61 free5gc/lib/fsm/logger.SetReportCaller() set report call : true fsm=fsm INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/ngap/logger/logger.go:56 free5gc/lib/ngap/logger.SetLogLevel() set log level : info NGAP=NGAP INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/ngap/logger/logger.go:61 free5gc/lib/ngap/logger.SetReportCaller() set report call : true NGAP=NGAP INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/Namf_Communication/logger/logger.go:57 free5gc/lib/openapi/Namf_Communication/logger.SetLogLevel() set log level : info Namf=Comm INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/Namf_Communication/logger/logger.go:62 free5gc/lib/openapi/Namf_Communication/logger.SetReportCaller() set report call : true Namf=Comm INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/Namf_EventExposure/logger/logger.go:57 free5gc/lib/openapi/Namf_EventExposure/logger.SetLogLevel() set log level : info Namf=Event INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/Namf_EventExposure/logger/logger.go:62 free5gc/lib/openapi/Namf_EventExposure/logger.SetReportCaller() set report call : true Namf=Event INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/Nsmf_PDUSession/logger/logger.go:57 free5gc/lib/openapi/Nsmf_PDUSession/logger.SetLogLevel() set log level : info Nsmf=PDUSession INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/Nsmf_PDUSession/logger/logger.go:62 free5gc/lib/openapi/Nsmf_PDUSession/logger.SetReportCaller() set report call : true Nsmf=PDUSession INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/Nudr_DataRepository/logger/logger.go:57 free5gc/lib/openapi/Nudr_DataRepository/logger.SetLogLevel() set log level : info Nudr=datarepository INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/Nudr_DataRepository/logger/logger.go:62 free5gc/lib/openapi/Nudr_DataRepository/logger.SetReportCaller() set report call : true Nudr=datarepository INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/logger/logger.go:57 free5gc/lib/openapi/logger.SetLogLevel() set log level : info OpenApi=OpenApi INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/openapi/logger/logger.go:62 free5gc/lib/openapi/logger.SetReportCaller() set report call : true OpenApi=OpenApi INFO[2020-09-18T06:04:10Z] set log level : info aper=aper INFO[2020-09-18T06:04:10Z] set report call : true aper=aper INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/CommonConsumerTestData/logger/logger.go:60 free5gc/lib/CommonConsumerTestData/logger.SetLogLevel() set log level : info CommonTest=comm INFO[2020-09-18T06:04:10Z]/go/src/free5gc/lib/CommonConsumerTestData/logger/logger.go:65 free5gc/lib/CommonConsumerTestData/logger.SetReportCaller() set report call : true CommonTest=comm INFO[2020-09-18T06:04:10Z]/go/src/free5gc/src/smf/factory/factory.go:36 free5gc/src/smf/factory.InitConfigFactory() Successfully initialize configuration ../config/smfcfg.conf SMF=init INFO[2020-09-18T06:04:10Z]/go/src/free5gc/src/smf/factory/factory.go:48 free5gc/src/smf/factory.InitRoutingConfigFactory() Successfully initialize configuration ../config/uerouting.yaml SMF=init INFO[2020-09-18T06:04:10Z]/go/src/free5gc/src/smf/service/init.go:101 free5gc/src/smf/service.(*SMF).Initialize() Log level is set to [info] level SMF=init INFO[2020-09-18T06:04:10Z]/go/src/free5gc/src/smf/context/smf_context.go:78 free5gc/src/smf/context.InitSmfContext() smfconfig Info: Version[1.0.0] Description[AMF initial local configuration] SMF=Context INFO[2020-09-18T06:04:10Z]/go/src/free5gc/src/smf/service/init.go:130 free5gc/src/smf/service.(*SMF).Start() Server started SMF=init INFO[2020-09-18T06:04:14Z]/go/src/free5gc/src/smf/consumer/nnrf.go:61 free5gc/src/smf/consumer.SendNFRegistration() SMF Registration to NRF {1e2ce6e9-5798-4205-a6bd-43990eb4a573 SMF REGISTERED 0 0xc000106400 <nil> [] [] [smf] [] <nil> [] [] <nil> 0 0 0 <nil> <nil> <nil> <nil> 0xc00010e340 <nil> <nil> <nil> <nil> <nil> map[] <nil> false 0xc0001062e0 false false []} SMF=init INFO[2020-09-18T06:04:14Z]/go/src/free5gc/src/smf/pfcp/udp/udp.go:35 free5gc/src/smf/pfcp/udp.Run() Listen on 10.100.200.12:8805 SMF=pfcp INFO[2020-09-18T06:04:14Z]/go/src/free5gc/src/smf/service/init.go:169 free5gc/src/smf/service.(*SMF).Start() Send PFCP Association Request to UPF[117.112.102.49:8805] SMF=app INFO[2020-09-18T06:04:14Z]/go/src/free5gc/src/smf/service/init.go:169 free5gc/src/smf/service.(*SMF).Start() Send PFCP Association Request to UPF[117.112.102.50:8805] SMF=app INFO[2020-09-18T06:04:14Z]/go/src/free5gc/src/smf/service/init.go:169 free5gc/src/smf/service.(*SMF).Start() Send PFCP Association Request to UPF[117.112.102.98:8805] SMF=app INFO[2020-09-18T06:04:23Z]/go/src/free5gc/lib/pfcp/pfcpUdp/udp.go:143 free5gc/lib/pfcp/pfcpUdp.(*PfcpServer).RemoveTransaction() Remove Request Transaction [1] PFCP=PFCP INFO[2020-09-18T06:04:23Z]/go/src/free5gc/lib/pfcp/pfcpUdp/udp.go:143 free5gc/lib/pfcp/pfcpUdp.(*PfcpServer).RemoveTransaction() Remove Request Transaction [2] PFCP=PFCP INFO[2020-09-18T06:04:23Z]/go/src/free5gc/lib/pfcp/pfcpUdp/udp.go:143 free5gc/lib/pfcp/pfcpUdp.(*PfcpServer).RemoveTransaction() Remove Request Transaction [3] PFCP=PFCP ``` The node_ids are configured as "upf1", "upf2", and "upfb". In the logs, PFCP Association Requests are sent to 117.112.102.49, 117.112.102.50, and 117.112.102.98. Those are not valid addresses for UPFs. ("upf1" in ascii code representation is "117 112 102 49") ### Describe the solution you'd like Resolve hostname when loading the node_ids from smfcfg.conf. ### Describe alternatives/workarounds you've considered Resolve hostname before sending PFCP Association Requests. ### Additional context None. ## Issue Template Checklist <!-- Please answer the questions below. If you don't, your issue may be closed. --> ### Would you be willing to resolve this issue by submitting a Pull Request? <!-- Remember that first contributors are welcome! --> - [x] Yes, I have the time and I know how to start. - [ ] Yes, I have the time but I don't know how to start, I would need guidance. - [ ] No, I don't have the time, although I believe I could do it if I had the time... - [ ] No, I don't have the time and I wouldn't even know how to start.
[Feat]Name resolution for node_id in SMF
https://api.github.com/repos/free5gc/free5gc/issues/111/comments
5
2020-09-18T08:56:51Z
2020-09-29T08:04:56Z
https://github.com/free5gc/free5gc/issues/111
704,210,466
111
[ "free5gc", "free5gc" ]
when I test pdu sesssion request report error: ERRO[2020-09-18T05:40:10Z]/src/smf/context/user_plane_information.go:245 free5gc/src/smf/context.(*UserPlaneInformation).GenerateDefaultPath() Can't find UPF with DNN [internet] SMF=Context ERRO[2020-09-18T05:40:10Z]/src/smf/context/user_plane_information.go:178 free5gc/src/smf/context.GenerateDataPath() invalid path SMF=Context
[Feat]
https://api.github.com/repos/free5gc/free5gc/issues/110/comments
1
2020-09-18T07:04:00Z
2020-09-21T03:07:30Z
https://github.com/free5gc/free5gc/issues/110
704,144,163
110
[ "free5gc", "free5gc" ]
Dear community, I found some problems when testing with gNB and 5gUE. For the normal case, UE send the initialUEmessage which only includes one registration request and can pass all the messages as defined by spec. ![](https://i.imgur.com/5Ch1bXV.png) For the abnormal case, the UE send the initialUEmessage which is including two registration request, and UE will be release after security mode complete. ![](https://i.imgur.com/0WkPSL8.png) ## Environment (please complete the following information): - free5GC Version: v3.0.3 - OS: Ubuntu 18.04 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 ### PCAP File See [here](https://drive.google.com/open?id=1k7NA6cZf00KGgURsUJY5R86sXfvzAJWC)e for pcapng file. ### Log File <img width="1141" alt="截圖 2020-09-15 下午11 02 49" src="https://user-images.githubusercontent.com/40885182/93228304-ea41c780-f7a7-11ea-8f14-8c6fc97a9c8a.png"> <img width="1148" alt="截圖 2020-09-15 下午11 04 29" src="https://user-images.githubusercontent.com/40885182/93228316-eca42180-f7a7-11ea-89f0-b1bdcf37b745.png">
[Bugs] Handle security mode complete NULL and cannot process InitialUEmessage which includes two registration request.
https://api.github.com/repos/free5gc/free5gc/issues/108/comments
1
2020-09-15T15:08:43Z
2020-12-08T06:39:43Z
https://github.com/free5gc/free5gc/issues/108
702,015,867
108
[ "free5gc", "free5gc" ]
## Describe the bug TestRegistration Script Failure due NGAP SCTP segmentation fault ## To Reproduce Steps to reproduce the behavior: 1.Followed the installation procedure as per https://www.free5gc.org/stage-3-free5gc 2. Change config 'no Config Changes' 3. Code patch 'v3.0.3' 4. Run command './run.sh, ./test.sh TestRegistration' 5. Dump packet 'tcpdump -i any -w Registration1.pcap' ## Expected behavior Registration Procedure to be successful ## Screenshots If applicable, add screenshots to help explain your problem. ## Environment (please complete the following information): - free5GC Version: v3.0.3 - OS: Ubuntu 18.04 Server - Kernel version:5.0.0-23-generic - go version:1.14.4 linux/amd64 - c compiler version (Option): gcc version 7.3.0 PCAP, LOGS and Config files are uploaded as LOGS.tar file [5GC-Logs.zip](https://github.com/free5gc/free5gc/files/5207728/5GC-Logs.zip)
TestRegistration Script Failure due NGAP SCTP segmentation fault
https://api.github.com/repos/free5gc/free5gc/issues/107/comments
1
2020-09-11T08:42:34Z
2020-09-20T17:31:15Z
https://github.com/free5gc/free5gc/issues/107
699,034,635
107
[ "free5gc", "free5gc" ]
ubuntu@5gc-vm:~/free5gc$ ./test.sh TestRegistration INFO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/src/upf_init.c:164 UpfInit() Config: /home/ubuntu/free5gc/src/upf/build/config/upfcfg.test.yaml UPF=Util INFO[2020-09-10T17:00:26+05:30] Set log level: info UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/lib/gtpv1/src/gtp_link.c:27 GtpLinkCreate() GTP device named upfgtp0 Create fail UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/lib/gtpv1/src/gtp_path.c:49 GtpTunCreate() GtpLinkCreate fail UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/lib/gtpv1/src/gtp_path.c:144 GtpDevListCreate() GTPv1 tunnel create fail : IP[10.200.200.102], ifname[upfgtp0] UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/src/up/up_path.c:74 GTPv1ServerInit() GtpLinkListCreate Fail UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/src/upf_init.c:170 UpfInit() UPF - GTP-U Server error when UPF initializes UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/src/upf.c:28 main() UPF failed to initialize UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/src/up/up_path.c:236 BufferServerTerminate() epoll deregister error UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/src/upf_init.c:183 UpfTerm() UPF - Buffer Server error when UPF terminates UPF=Util ERRO[2020-09-10T17:00:26+05:30] /home/ubuntu/free5gc/src/upf/src/upf.c:36 main() UPF terminate error UPF=Util unable to write file on filehook open ../../log/nf/n3iwf.log: permission deniedunable to write file on filehook open ../../log/nf/amf.log: permission deniedunable to write file on filehook open ../../log/nf/ausf.log: permission deniedunable to write file on filehook open ../../log/nf/nrf.log: permission deniedunable to write file on filehook open ../../log/nf/nssf.log: permission deniedunable to write file on filehook open ../../log/nf/pcf.log: permission deniedunable to write file on filehook open ../../log/nf/smf.log: permission deniedunable to write file on filehook open ../../log/nf/udm.log: permission deniedunable to write file on filehook open ../../log/nf/udr.log: permission deniedCommonConfig file: ../../config/free5GC.conf INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/nas/logger/logger.go:60 free5gc/lib/nas/logger.SetLogLevel() set log level : info NAS=message INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/nas/logger/logger.go:65 free5gc/lib/nas/logger.SetReportCaller() set report call : true NAS=message INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/fsm/logger/logger.go:56 free5gc/lib/fsm/logger.SetLogLevel() set log level : info fsm=fsm INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/fsm/logger/logger.go:61 free5gc/lib/fsm/logger.SetReportCaller() set report call : true fsm=fsm INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/ngap/logger/logger.go:56 free5gc/lib/ngap/logger.SetLogLevel() set log level : info NGAP=NGAP INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/ngap/logger/logger.go:61 free5gc/lib/ngap/logger.SetReportCaller() set report call : true NGAP=NGAP INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/Namf_Communication/logger/logger.go:57 free5gc/lib/openapi/Namf_Communication/logger.SetLogLevel() set log level : info Namf=Comm INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/Namf_Communication/logger/logger.go:62 free5gc/lib/openapi/Namf_Communication/logger.SetReportCaller() set report call : true Namf=Comm INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/Namf_EventExposure/logger/logger.go:57 free5gc/lib/openapi/Namf_EventExposure/logger.SetLogLevel() set log level : info Namf=Event INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/Namf_EventExposure/logger/logger.go:62 free5gc/lib/openapi/Namf_EventExposure/logger.SetReportCaller() set report call : true Namf=Event INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/Nsmf_PDUSession/logger/logger.go:57 free5gc/lib/openapi/Nsmf_PDUSession/logger.SetLogLevel() set log level : info Nsmf=PDUSession INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/Nsmf_PDUSession/logger/logger.go:62 free5gc/lib/openapi/Nsmf_PDUSession/logger.SetReportCaller() set report call : true Nsmf=PDUSession INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/Nudr_DataRepository/logger/logger.go:57 free5gc/lib/openapi/Nudr_DataRepository/logger.SetLogLevel() set log level : info Nudr=datarepository INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/Nudr_DataRepository/logger/logger.go:62 free5gc/lib/openapi/Nudr_DataRepository/logger.SetReportCaller() set report call : true Nudr=datarepository INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/logger/logger.go:57 free5gc/lib/openapi/logger.SetLogLevel() set log level : info OpenApi=OpenApi INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/openapi/logger/logger.go:62 free5gc/lib/openapi/logger.SetReportCaller() set report call : true OpenApi=OpenApi INFO[2020-09-10T17:00:35+05:30] set log level : info aper=aper INFO[2020-09-10T17:00:35+05:30] set report call : true aper=aper INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/CommonConsumerTestData/logger/logger.go:60 free5gc/lib/CommonConsumerTestData/logger.SetLogLevel() set log level : info CommonTest=comm INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/lib/CommonConsumerTestData/logger/logger.go:65 free5gc/lib/CommonConsumerTestData/logger.SetReportCaller() set report call : true CommonTest=comm INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/src/nrf/factory/factory.go:35 free5gc/src/nrf/factory.InitConfigFactory() Successfully initialize configuration ../../config/nrfcfg.conf NRF=init INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/src/nrf/service/init.go:79 free5gc/src/nrf/service.(*NRF).Initialize() Log level is set to [info] level NRF=init INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/src/nrf/service/init.go:104 free5gc/src/nrf/service.(*NRF).Start() Server started NRF=init INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/src/nrf/context/nrf_context.go:20 free5gc/src/nrf/context.InitNrfContext() nrfconfig Info: Version[1.0.0] Description[NRF initial local configuration] NRF=init INFO[2020-09-10T17:00:35+05:30]/home/ubuntu/free5gc/src/nrf/service/init.go:117 free5gc/src/nrf/service.(*NRF).Start() 127.0.0.1:29510 NRF=init INFO[2020-09-10T17:00:36+05:30]/home/ubuntu/free5gc/src/amf/factory/factory.go:35 free5gc/src/amf/factory.InitConfigFactory() Successfully initialize configuration ../../config/amfcfg.conf AMF=init INFO[2020-09-10T17:00:36+05:30]/home/ubuntu/free5gc/src/amf/service/amf_init.go:90 free5gc/src/amf/service.(*AMF).Initialize() Log level is set to [info] level AMF=init INFO[2020-09-10T17:00:36+05:30]/home/ubuntu/free5gc/src/amf/service/amf_init.go:115 free5gc/src/amf/service.(*AMF).Start() Server started AMF=init INFO[2020-09-10T17:00:36+05:30]/home/ubuntu/free5gc/src/amf/util/init_context.go:15 free5gc/src/amf/util.InitAmfContext() amfconfig Info: Version[1.0.0] Description[AMF initial local configuration] AMF=Util INFO[2020-09-10T17:00:36+05:30]/home/ubuntu/free5gc/src/amf/util/init_context.go:43 free5gc/src/amf/util.InitAmfContext() Error parsing ServerIPv4 address as string. Using the 0.0.0.0 address as default. AMF=Util ERRO[2020-09-10T17:00:36+05:30]/home/ubuntu/free5gc/lib/ngap/ngapSctp/sctp.go:78 free5gc/lib/ngap/ngapSctp.Server() failed to listen: address already in use NGAP=NGAP panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb47fe4] goroutine 38 [running]: git.cs.nctu.edu.tw/calee/sctp.(*SCTPListener).Addr(...) /home/ubuntu/go/pkg/mod/git.cs.nctu.edu.tw/calee/[email protected]/sctp.go:636 free5gc/lib/ngap/ngapSctp.Server(0xc000096630, 0x9, 0xc000097000) /home/ubuntu/free5gc/lib/ngap/ngapSctp/sctp.go:80 +0x344 free5gc/src/amf/ngap/sctp.Server(0xc000096630, 0x9, 0xc0000a9d68) /home/ubuntu/free5gc/src/amf/ngap/sctp/sctp.go:27 +0x39 free5gc/src/amf/service.(*AMF).Start(0x260fc60) /home/ubuntu/free5gc/src/amf/service/amf_init.go:148 +0x4cf created by free5gc/src/test_test.init.0 /home/ubuntu/free5gc/src/test/ngsetup_test.go:67 +0x22a exit status 2 FAIL free5gc/src/test 0.258s free5gc-upfd: no process found
Segmentation on start SCTP server on NGAP while running TestRegistration script
https://api.github.com/repos/free5gc/free5gc/issues/106/comments
2
2020-09-10T11:38:25Z
2020-09-10T14:28:14Z
https://github.com/free5gc/free5gc/issues/106
697,822,261
106
[ "free5gc", "free5gc" ]
Hi,everyone,I have a problem and would like to ask Problem: Can I see the N2 interface?
[Bugs]Can you see the N2 interface when testing?
https://api.github.com/repos/free5gc/free5gc/issues/105/comments
0
2020-09-09T08:28:58Z
2020-09-09T10:45:54Z
https://github.com/free5gc/free5gc/issues/105
696,588,046
105
[ "free5gc", "free5gc" ]
Hello everyone. Recently [an issue](https://github.com/aligungr/UERANSIM/issues/100) has been created in our [UERANSIM](https://github.com/aligungr/UERANSIM) repository. I wanted to report this bug here, because I think it is caused by free5gc. AMF encrypts Security Mode Command message when ciphering algorithm NEA2 selected in `amfcfg.conf`. However Security Mode Command shall not be encrypted. It shall be only integrity protected, even if some ciphering algorithm is going to be selected. ## To Reproduce Steps to reproduce the behavior: 1. Change config `cipheringOrder` to `NEA2` in `amfcfg.conf`. 2. Run free5gc. 3. Run UERANSIM and trigger `initial-registration`. ## Expected behavior AMF should send `SecurityModeCommand` as integrity protected and **not** ciphered. AMF should start using encryption **after receiving** `SecurityModeComplete` message from UE. Therefore, `SecurityModeCommand` itself should not be encrypted. See TS 24.501 for more details. ## Environment: - free5GC Version: 3.0.3 - OS: Ubuntu 20.04 - Kernel version: 5.4 ## Trace File ### Configuration File [config.zip](https://github.com/free5gc/free5gc/files/5190011/config.zip) ### PCAP File See [here](https://github.com/aligungr/UERANSIM/issues/100) for pcap file. ### Log File See [here](https://github.com/aligungr/UERANSIM/issues/100) for log file.
[Bugs] AMF Encrypts SecurityModeCommand message.
https://api.github.com/repos/free5gc/free5gc/issues/104/comments
2
2020-09-08T17:40:27Z
2021-01-07T10:58:43Z
https://github.com/free5gc/free5gc/issues/104
696,059,038
104
[ "free5gc", "free5gc" ]
## Describe the bug AMF chooses wrong SMF in PDU Session Establishment procedure. ## To Reproduce 1. Test system has two SMF which supports different SNSSAI. SMF1 supports STT=0/SD=0,SMF2 supports STT=0/SD=1. 2. UE sends PDU Session Establishment Request whose SNSSAI is STT=0/SD=1, 3. AMF selects SMF1 for this PDU Session Establishment Request. ## Expected behavior AMF selects SMF2 for this PDU Session Establishment Request. ## Environment (please complete the following information): - free5GC Version: v3.0.3 - OS: Ubuntu 18.04.1 - Kernel version: 5.0.0-23-generic - go version: 1.14.4 linux/amd64 ## System architecture (Option) ``` +--[AMF]---[SMF1](STT=0/SD=0) | | | [UE]-[gNB]--------[UPF1]-----[DN1] | | | +-----[SMF2](STT=0/SD=1) | | +----------[UPF2]-----[DN2] ``` ## Walkthrough (Option) NRF ruturns all SMF instance in nnrf-disc to AMF. This bug happens because mongodb query is wrong. So, the following modification on `src/nrf/discovery/api_nf_instances_store.go` fixes this bug. ``` --- api_nf_instances_store.go-org 2020-07-28 09:43:01.388350906 +0900 +++ api_nf_instances_store.go 2020-07-31 12:19:43.834055722 +0900 @@ -321,12 +321,12 @@ func buildQueryFilter(queryParameters ur log.Println(err3) } - snssaisBsonArray = append(snssaisBsonArray, bson.M{"sNssais": bson.M{"$elemMatch": snssaiBsonM}}) + snssaisBsonArray = append(snssaisBsonArray, bson.M{"smfInfo.sNssaiSmfInfoList": bson.M{"$elemMatch": bson.M{"sNssai": snssaiBsonM}}}) } } // if not assign, serve all NF - snssaisBsonArray = append(snssaisBsonArray, bson.M{"sNssais": bson.M{"$exists": false}}) + snssaisBsonArray = append(snssaisBsonArray, bson.M{"smfInfo.sNssaiSmfInfoList": bson.M{"sNssai": bson.M{"$exists": false}}}) snssaisFilter := bson.M{ "$or": snssaisBsonArray, ``` [api_nf_instances_store.patch.zip](https://github.com/free5gc/free5gc/files/5185627/api_nf_instances_store.patch.zip)
[Bugs] SMF Selection does not work correctly
https://api.github.com/repos/free5gc/free5gc/issues/103/comments
1
2020-09-08T01:39:46Z
2023-07-07T04:22:50Z
https://github.com/free5gc/free5gc/issues/103
695,479,199
103
[ "free5gc", "free5gc" ]
My upf is failing to start. Below is the log. Can you please help here: lf@oai:~/free5gc/src/upf/build/bin$ sudo -E ./free5gc-upfd -f ~/free5gc/src/upf/build/config/upfcfg.yaml INFO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/src/upf_init.c:164 UpfInit() Config: /home/lf/free5gc/src/upf/build/config/upfcfg.yaml UPF=Util INFO[2020-08-30T15:09:17+08:00] Set log level: trace UPF=Util DEBU[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_socket.c:89 SockNodeListAdd() Pool alloc successful, total capacity[512], available[511] UPF=Util DEBU[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/gtpv1/src/gtp_link.c:92 Gtpv1DevListAdd() Pool alloc successful, total capacity[64], available[63] UPF=Util DEBU[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_buff.c:98 SelectBufblkOption() Pool alloc successful, total capacity[128], available[125] UPF=Util TRAC[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_buff.c:98 SelectBufblkOption() Buffer Alloc Size[256] UPF=Util DEBU[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_buff.c:96 SelectBufblkOption() Pool Free successful, total capacity[128], available[126] UPF=Util TRAC[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_buff.c:96 SelectBufblkOption() Buffer Free Size[128] UPF=Util DEBU[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_buff.c:94 SelectBufblkOption() Pool alloc successful, total capacity[128], available[127] UPF=Util TRAC[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_buff.c:94 SelectBufblkOption() Buffer Alloc Size[64] UPF=Util DEBU[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_buff.c:94 SelectBufblkOption() Pool alloc successful, total capacity[128], available[126] UPF=Util TRAC[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_buff.c:94 SelectBufblkOption() Buffer Alloc Size[64] UPF=Util DEBU[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_thread.c:67 ThreadCreate() Pool alloc successful, total capacity[128], available[127] UPF=Util DEBU[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/utlt/src/utlt_socket.c:40 SocketAlloc() Pool alloc successful, total capacity[1024], available[1023] UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/gtpv1/src/gtp_link.c:27 GtpLinkCreate() GTP device named upfgtp0 Create fail UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/gtpv1/src/gtp_path.c:49 GtpTunCreate() GtpLinkCreate fail UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/lib/gtpv1/src/gtp_path.c:144 GtpDevListCreate() GTPv1 tunnel create fail : IP[127.0.0.1], ifname[upfgtp0] UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/src/up/up_path.c:74 GTPv1ServerInit() GtpLinkListCreate Fail UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/src/upf_init.c:170 UpfInit() UPF - GTP-U Server error when UPF initializes UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/src/upf.c:28 main() UPF failed to initialize UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/src/up/up_path.c:233 BufferServerTerminate() epoll deregister error UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/src/upf_init.c:183 UpfTerm() UPF - Buffer Server error when UPF terminates UPF=Util ERRO[2020-08-30T15:09:17+08:00] /home/lf/free5gc/src/upf/src/upf.c:36 main() UPF terminate error UPF=Util uname -a Linux oai 5.0.0-23-generic #24~18.04.1-Ubuntu SMP Mon Jul 29 16:12:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
UPF Start error
https://api.github.com/repos/free5gc/free5gc/issues/102/comments
1
2020-08-30T07:17:43Z
2020-09-01T04:11:34Z
https://github.com/free5gc/free5gc/issues/102
688,669,117
102
[ "free5gc", "free5gc" ]
## Issue Description ### What's the version are you using v3.0.3 ### Is your feature request related to a problem? Please describe. UPF can not handle the user traffic properly over GTP-U with the extension header properly. > WARN[2020-04-17T20:05:19+09:00] c/upf/src/up/up_path.c:119 GtpHandler() This type[255] of GTPv1 header does not implement yet UPF=Util (UE->)AN->UPF user traffic ![extension_header](https://user-images.githubusercontent.com/66290148/91566776-1c1cf680-e97f-11ea-9ceb-9df9c8c55bfb.png) ### Describe the solution you'd like UPF should handle user traffic over the GTP-U with QFI in the extension header properly. See 3GPP TS23.501 5.7.1.7 UL Traffic > UPF verifies whether QFIs in the UL PDUs are aligned with the QoS Rules provided to the UE or implicitly derived by the UE in the case of Reflective QoS). ### Describe alternatives/workarounds you've considered None. ### Additional context 3GPP TS23.501 5.7.1.7 UL Traffic > (R)AN transmits the PDUs over N3 tunnel towards UPF. When passing an UL packet from (R)AN to CN, the (R)AN includes the QFI value, in the encapsulation header of the UL PDU, and selects the N3 tunnel. 8.3.1 User Plane Protocol Stack for a PDU Session -> GPRS Tunnelling Protocol for the user plane (GTP-U): > GTP shall encapsulate all end user PDUs. It provides encapsulation on a per PDU Session level. This layer carries also the marking associated with a QoS Flow defined in clause 5.7. #### Log [gtp.zip](https://github.com/free5gc/free5gc/files/5142322/gtp.zip) #### Related issue #100 I suppose that the Q/A topic below is related to this issue. https://forum.free5gc.org/t/gtp-data-not-forwarded-by-upf/74/4 ## Issue Template Checklist <!-- Please answer the questions below. If you don't, your issue may be closed. --> ### Would you be willing to resolve this issue by submitting a Pull Request? <!-- Remember that first contributors are welcome! --> - [ ] Yes, I have the time and I know how to start. - [ ] Yes, I have the time but I don't know how to start, I would need guidance. - [x] No, I don't have the time, although I believe I could do it if I had the time... - [ ] No, I don't have the time and I wouldn't even know how to start.
[Feat] UPF verification of user traffic with QFI in the GTP-U extension header
https://api.github.com/repos/free5gc/free5gc/issues/101/comments
4
2020-08-28T13:38:42Z
2021-05-16T08:50:35Z
https://github.com/free5gc/free5gc/issues/101
688,082,294
101
[ "free5gc", "free5gc" ]
## Describe the bug The value of the QoS Flow identifier in a NAS message toward UE(note 1) and the one of a NGAP IE toward gNB(note 2) are inconsistent. This led to some gNB(+UE) simulator being not able to send user traffic to a UPF becasue of the incorrect qos parameter. (note 1) NGAP/PDUSessionResourceSetupRequest -> PDUSessionResourceSetupListSUReq -> PDUSessionResourceSetupItemSUReq -> PDUSessionNAS-PDU/PDU session establishment accept -> QoS Rules - Authorized QoS Rules -> QoS flow identifer: 9 <<<< (note 2) NGAP/PDUSessionResourceSetupRequest -> PDUSessionResourceSetupRequestTransfer -> QosFlowSetupRequestList -> QosFlowSetupRequestItem -> qosFlowIdentifier: 0 <<<< ## To Reproduce Steps to reproduce the behavior: 1. Change config '...' 2. Code patch '...' (You can fork the project and give us the patch diff you have modified) 3. Run command './run.sh' 4. Dump packet '...' ## Expected behavior (note 1) should be equal to (note 2). ## Screenshots If applicable, add screenshots to help explain your problem. ## Environment (please complete the following information): - free5GC Version: [v3.0.3] - OS: [Ubuntu 18.04 Server] - Kernel version [5.0.0-23-generic] - go version [1.12.9 linux/amd64] ## Trace File ### Configuration File I changed IP and PLMN settings only. ### PCAP File [free5gc-pcap.zip](https://github.com/free5gc/free5gc/files/5142304/free5gc-pcap.zip) ### Log File Provide the program log file here. If you do not know what to do, copy the log print on the screen and put it here. ## Additional context See `3GPP TS 24.501 -> Table 9.11.4.12.1: QoS flow descriptions information element` regarding (note 1) > QoS flow identifier (QFI) (bits 6 to 1 of octet 4) QFI field contains the QoS flow identifier. Bits 6 5 4 3 2 1 0 0 0 0 0 0 no QoS flow identifier assigned 0 0 0 0 0 1 QFI 1 to 1 1 1 1 1 1 QFI 63 The network shall not set the QFI value to 0. and `3GPP TS 38.413-> 9.3.1.51 QoS Flow Identifier` regarding (note 2). > This IE identifies a QoS flow within a PDU Session. The definition and use of the QoS Flow Identifier is specified in TS 23.501 [9]. I confirmed that when I changed the hard corded value below to `9` which is same value of (note 1) , the UE+gNB simulator could send user traffic to a DN. https://github.com/free5gc/smf/blob/812249dc3ee527bf6e327b64aa5f1ed2146c9ae3/context/ngap_build.go#L61-L63 #### Related issue #101
[Bugs] SMF set a wrong QFI in NGAP/PDUSessionResourceSetupRequest.
https://api.github.com/repos/free5gc/free5gc/issues/100/comments
3
2020-08-28T13:31:13Z
2021-02-15T02:36:58Z
https://github.com/free5gc/free5gc/issues/100
688,077,588
100
[ "free5gc", "free5gc" ]
Hi guys, I opened this issue for a feature request regarding the use of `go modules` also for other libs such as `ngap`, `nas` etc. As in the latest version you changed to using `go modules` for the dependencies of free5gc, I was thinking whether it would be better to apply the came approach for the other packages as well. Would it be possible to rename the `free5gc` module to smth like `github.com/free5gc/free5gc` and then use this format when importing all the modules inside the code? I suppose this will require to change the import format inside packages such as `ngap` as well. BR, Endri
[Feat] Using go modules also for the other lib packages.
https://api.github.com/repos/free5gc/free5gc/issues/99/comments
5
2020-08-25T13:03:44Z
2021-02-02T16:58:28Z
https://github.com/free5gc/free5gc/issues/99
685,468,842
99
[ "free5gc", "free5gc" ]
## Describe the bug The default Qos Rule sent by the AMF in the payload container of the pDUSessionNAS-PDU of the PDU session establishment accept is wrong coded : - The length value of the default QoS rule is set to 1585 bytes instead of the expected value 6 bytes. - The packet filter component type is coded with an unspecified value (0 – Unknown) instead of one of the values specified in the 3gpp 24.501. - The last byte of the Qos Rule which define the Qos Flow Identifier and segregration is missing. - In consequence, the length values of the of QoS rules and Payload containers IEs are also wrong coded. The current hexa stream of the pDUSessionNAS-PDU is set as follow (the wrong code in bold ) : 7e00680100**1d**2e0a00c21100**08**01**0631**3101010009xx0601e80301e8032905013c3c0001120a ## To Reproduce Steps to reproduce the behavior: 1. Change config 'default Config' 2. Code patch 'no patch' 3. Run command './test.sh TestPDUSessionReleaseRequest or ./run.sh'' 4. Dump packet 'Qos Rule in the pDUSessionNAS-PDU of the PDU session establishment accept' ## Expected behavior the AMF sends a QoS rule right coded in the pDUSessionNAS-PDU of the PDU session establishment accept as the following proposition (the wrong code in bold) : 7e00680100**1e**2e0a00c21100**09**010006310101**01**09**06**0601e80301e8032905013c3c0001120a ## Screenshots - QoS rule is set to 1585 bytes ![image](https://user-images.githubusercontent.com/70031867/90928344-fd56b700-e3f6-11ea-9d5f-cabdd71172df.png) - The packet filter component type is coded with an unspecified value (0 – Unknown) ![image](https://user-images.githubusercontent.com/70031867/90928467-32630980-e3f7-11ea-963e-bba9424b299e.png) ## Environment (please complete the following information): - free5GC Version: [v3.0.2] - OS: [Ubuntu 18.04 Server] - Kernel version: [5.0.0-23-generic] - go version: [1.12.9 linux/amd64] ## Trace File ### Configuration File [config.zip](https://github.com/free5gc/free5gc/files/5110894/config.zip) ### PCAP File [20200821_TestPDUSessionReleaseRequest_f5gc302.zip](https://github.com/free5gc/free5gc/files/5110906/20200821_TestPDUSessionReleaseRequest_f5gc302.zip) ### Log File [20200821_TestPDUSessionReleaseRequest_f5gc302.txt](https://github.com/free5gc/free5gc/files/5110910/20200821_TestPDUSessionReleaseRequest_f5gc302.txt)
[Bugs] QosRules in the PDU Session establishment Accept is wrong coded
https://api.github.com/repos/free5gc/free5gc/issues/95/comments
4
2020-08-21T19:48:05Z
2020-08-26T02:05:03Z
https://github.com/free5gc/free5gc/issues/95
683,792,637
95
[ "free5gc", "free5gc" ]
## Issue Description ### What's the version are you using v3.0.3 ### Is your feature request related to a problem? Please describe. Free5GC currently supports only the MILENAGE algorithm set in 5G-AKA. There are SIM cards that use the TUAK algorithm instead of the MILENAGE. An UE with this SIM card can not be registered to the free5GC system. ### Describe the solution you'd like Free5GC will support the TUAK algorithm and I will choose a SIM authentication algorithm between MILLENAGE and TUAK in each SIM card. ### Describe alternatives/workarounds you've considered None. ### Additional context 3GPP TS 35.231 specify the TUAK algorithm set. ## Issue Template Checklist <!-- Please answer the questions below. If you don't, your issue may be closed. --> ### Would you be willing to resolve this issue by submitting a Pull Request? <!-- Remember that first contributors are welcome! --> - [ ] Yes, I have the time and I know how to start. - [ ] Yes, I have the time but I don't know how to start, I would need guidance. - [x] No, I don't have the time, although I believe I could do it if I had the time... - [ ] No, I don't have the time and I wouldn't even know how to start.
[Feat] Supporting TUAK algorithm set as the AKA algorithm
https://api.github.com/repos/free5gc/free5gc/issues/93/comments
2
2020-08-19T12:28:07Z
2024-02-20T08:55:18Z
https://github.com/free5gc/free5gc/issues/93
681,800,373
93
[ "free5gc", "free5gc" ]
Could you put `sleep 1` at `test_ulcl.sh` as below? Otherwise, the process ID of tcpdump executed on the specified NS will not be stored in the `TCPDUMP_PID_[${i}]` variable. ``` --- test_ulcl.sh.orig 2020-08-13 09:55:43.932828896 +0000 +++ test_ulcl.sh 2020-08-13 10:52:46.089949340 +0000 @@ -94,6 +94,7 @@ if [ ${DUMP_NS} ]; then sudo ip netns exec "${UPFNS}${i}" tcpdump -i any -w "${UPFNS}${i}.pcap" & + sleep 1 TCPDUMP_PID_[${i}]=$(sudo ip netns pids "${UPFNS}${i}") fi ```
[Bugs] failed to kill the tcpdump process when ./test_ulcl.sh -om 3 TestRegistration
https://api.github.com/repos/free5gc/free5gc/issues/89/comments
2
2020-08-13T11:07:43Z
2020-08-13T17:06:24Z
https://github.com/free5gc/free5gc/issues/89
678,352,422
89
[ "free5gc", "free5gc" ]
Hello everyone, I am the maintainer of [UERANSIM](https://github.com/aligungr/UERANSIM), and recently made some improvement on SCTP stream handling. However we could not use your core network for the relevant cause. I think the AMF does not handle streams properly. Although it may be considered as a missing feature, here is the bug: AMF does not handle SCTP stream identifier as specified by 3GPP, it always uses "0" as stream identifier. ## To Reproduce 1. Clone https://github.com/aligungr/UERANSIM 2. Set configuration of UERANSIM to free5gc, by modifying config/profile.yaml 3. Run the simulator, trigger initial-registration ## Expected behavior I am not completely sure, but NgSetupResponse and DownlinkNASTransport should have been sent with different stream numbers since one is non-UE-associated signalling and the other is UE-associated signalling. But the stream identifier is always zero. For additional information please refer to 3GPP specs such as TS 38.412 ## Environment: - free5GC Version: v3.0.1 - OS: Ubuntu 20.04 - Kernel version: 5.4.0-42-generic - go version: 1.14.4 - c compiler version (Option): gcc 9.3.0 ## Trace File ### Configuration File (not included since the bug is easily reproducible. ) ### PCAP File [sctp_stream.zip](https://github.com/free5gc/free5gc/files/5056248/sctp_stream.zip) ### Log File (not included since the bug is easily reproducible. ) ## Additional context n/a
[Bug] AMF does not handle SCTP stream identifier
https://api.github.com/repos/free5gc/free5gc/issues/88/comments
4
2020-08-11T10:23:33Z
2023-09-01T05:56:01Z
https://github.com/free5gc/free5gc/issues/88
676,759,771
88
[ "free5gc", "free5gc" ]
## Describe the bug I am facing below error while building upf build in ubuntu os after following mentioned upf build commands gtp5g-link.o: In function `main': /home/anshu/cn/core_network/free5gc/src/upf/lib/libgtp5gnl/tools/gtp5g-link.c:81: undefined reference to `gtp_dev_create_ran' /home/anshu/cn/core_network/free5gc/src/upf/lib/libgtp5gnl/tools/gtp5g-link.c:83: undefined reference to `gtp_dev_create' /home/anshu/cn/core_network/free5gc/src/upf/lib/libgtp5gnl/tools/gtp5g-link.c:56: undefined reference to `gtp_dev_destroy' collect2: error: ld returned 1 exit status Makefile:356: recipe for target 'gtp5g-link' failed make[5]: *** [gtp5g-link] Error 1 Makefile:470: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 Makefile:378: recipe for target 'all' failed make[3]: *** [all] Error 2 lib/gtpv1/CMakeFiles/libgtp5gnl.dir/build.make:60: recipe for target 'libgtp5gnl/lib/libgtp5gnl.so' failed make[2]: *** [libgtp5gnl/lib/libgtp5gnl.so] Error 2 CMakeFiles/Makefile2:239: recipe for target 'lib/gtpv1/CMakeFiles/libgtp5gnl.dir/all' failed make[1]: *** [lib/gtpv1/CMakeFiles/libgtp5gnl.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 ## To Reproduce cd ~/free5gc/src/upf mkdir build cd build cmake .. make -j`nproc` ## Expected behavior binary should be generated for upf . ## Environment (please complete the following information): - free5GC Version [e.g. v3.0.2] - OS: [ Ubuntu 18.04 Server] - Kernel version [ 5.0.0-23-generic] - go version [1.12.9 linux/amd64] - c compiler version () [ gcc version 7.5.0]
[BUG]Error while building UPF build
https://api.github.com/repos/free5gc/free5gc/issues/87/comments
5
2020-08-07T10:12:46Z
2020-08-10T06:08:36Z
https://github.com/free5gc/free5gc/issues/87
674,913,745
87
[ "free5gc", "free5gc" ]
## Describe the bug In TestPDUSessionReleaseRequest's execution, after when "Pdu Session Establishment Release Request" is sent from Test script to AMF, AMF is not sending/triggering Resource Release Request towards test script. ## To Reproduce Steps to reproduce the behavior: 1. Followed steps for building free5gc as described in https://github.com/free5gc/free5gc/blob/master/README.md for free5gc v3.0.3 2. Run Wireshark capture using command : tshark -i lo -i any -w free5gc.pcap 3. run the test - ./test.sh TestPDUSessionReleaseRequest 2. Stop Wireshark capture. ## Expected behavior When "Pdu Session Establishment Release Request" is triggered from free5gc test script, there should be N2 Release Resource Request sent by the AMF to test script. ## Screenshots Not Available ## Environment (please complete the following information): - free5GC Version: v3.0.3 - OS: Ubuntu 18.04.4 LTS - Kernel version: 5.0.0-23-generic (chnaged from the default) - go version: go1.14.4 linux/amd64 - c compiler version (Option): gcc version 7.5.0 ## Trace File ### Configuration File No change in the configuration file done. Default configuration from the released version. ### PCAP File [free5gc_test.zip](https://github.com/free5gc/free5gc/files/5026954/free5gc_test.zip) ### Log File Log on Console START ==================================>>>>>>>>>>>>>>>>>>> ``` INFO[2020-08-05T13:07:01+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/upf_init.c:164 UpfInit() Config: /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/build/config/upfcfg.test.yaml UPF=Util INFO[2020-08-05T13:07:01+05:30] Set log level: info UPF=Util INFO[2020-08-05T13:07:01+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/up/up_path.c:40 UpRouteInit() APN routes added, main routing table: UPF=Util INFO[2020-08-05T13:07:01+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/lib/knet/src/route.c:202 KnetPrintRoutes() DstIp Gateway Iface Priority RtProto Type UPF=Util INFO[2020-08-05T13:07:01+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/lib/knet/src/route.c:237 KnetPrintRoutes() 10.200.200.0 /24 0.0.0.0 veth1 0 kernel unicast UPF=Util INFO[2020-08-05T13:07:01+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/lib/knet/src/route.c:237 KnetPrintRoutes() 60.60.0.0 /24 0.0.0.0 upfgtp0 0 static unicast UPF=Util CommonConfig file: ../../config/free5GC.conf INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/nas/logger/logger.go:60 free5gc/lib/nas/logger.SetLogLevel() set log level : info NAS=message INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/nas/logger/logger.go:65 free5gc/lib/nas/logger.SetReportCaller() set report call : true NAS=message INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/fsm/logger/logger.go:56 free5gc/lib/fsm/logger.SetLogLevel() set log level : info fsm=fsm INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/fsm/logger/logger.go:61 free5gc/lib/fsm/logger.SetReportCaller() set report call : true fsm=fsm INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/ngap/logger/logger.go:56 free5gc/lib/ngap/logger.SetLogLevel() set log level : info NGAP=NGAP INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/ngap/logger/logger.go:61 free5gc/lib/ngap/logger.SetReportCaller() set report call : true NGAP=NGAP INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/Namf_Communication/logger/logger.go:57 free5gc/lib/openapi/Namf_Communication/logger.SetLogLevel() set log level : info Namf=Comm INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/Namf_Communication/logger/logger.go:62 free5gc/lib/openapi/Namf_Communication/logger.SetReportCaller() set report call : true Namf=Comm INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/Namf_EventExposure/logger/logger.go:57 free5gc/lib/openapi/Namf_EventExposure/logger.SetLogLevel() set log level : info Namf=Event INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/Namf_EventExposure/logger/logger.go:62 free5gc/lib/openapi/Namf_EventExposure/logger.SetReportCaller() set report call : true Namf=Event INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/Nsmf_PDUSession/logger/logger.go:57 free5gc/lib/openapi/Nsmf_PDUSession/logger.SetLogLevel() set log level : info Nsmf=PDUSession INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/Nsmf_PDUSession/logger/logger.go:62 free5gc/lib/openapi/Nsmf_PDUSession/logger.SetReportCaller() set report call : true Nsmf=PDUSession INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/Nudr_DataRepository/logger/logger.go:57 free5gc/lib/openapi/Nudr_DataRepository/logger.SetLogLevel() set log level : info Nudr=datarepository INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/Nudr_DataRepository/logger/logger.go:62 free5gc/lib/openapi/Nudr_DataRepository/logger.SetReportCaller() set report call : true Nudr=datarepository INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/logger/logger.go:57 free5gc/lib/openapi/logger.SetLogLevel() set log level : info OpenApi=OpenApi INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/openapi/logger/logger.go:62 free5gc/lib/openapi/logger.SetReportCaller() set report call : true OpenApi=OpenApi INFO[2020-08-05T13:07:05+05:30] set log level : info aper=aper INFO[2020-08-05T13:07:05+05:30] set report call : true aper=aper INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/CommonConsumerTestData/logger/logger.go:60 free5gc/lib/CommonConsumerTestData/logger.SetLogLevel() set log level : info CommonTest=comm INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/CommonConsumerTestData/logger/logger.go:65 free5gc/lib/CommonConsumerTestData/logger.SetReportCaller() set report call : true CommonTest=comm INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/factory/factory.go:35 free5gc/src/nrf/factory.InitConfigFactory() Successfully initialize configuration ../../config/nrfcfg.conf NRF=init INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/service/init.go:79 free5gc/src/nrf/service.(*NRF).Initialize() Log level is set to [info] level NRF=init INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/service/init.go:104 free5gc/src/nrf/service.(*NRF).Start() Server started NRF=init INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/context/nrf_context.go:20 free5gc/src/nrf/context.InitNrfContext() nrfconfig Info: Version[1.0.0] Description[NRF initial local configuration] NRF=init INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/service/init.go:117 free5gc/src/nrf/service.(*NRF).Start() 127.0.0.1:29510 NRF=init INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/factory/factory.go:35 free5gc/src/amf/factory.InitConfigFactory() Successfully initialize configuration ../../config/amfcfg.conf AMF=init INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/service/amf_init.go:90 free5gc/src/amf/service.(*AMF).Initialize() Log level is set to [info] level AMF=init INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/service/amf_init.go:115 free5gc/src/amf/service.(*AMF).Start() Server started AMF=init INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/util/init_context.go:14 free5gc/src/amf/util.InitAmfContext() amfconfig Info: Version[1.0.0] Description[AMF initial local configuration] AMF=Util INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/ngap/ngapSctp/sctp.go:80 free5gc/lib/ngap/ngapSctp.Server() Listen on 127.0.0.1:38412 NGAP=NGAP INFO[2020-08-05T13:07:05+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/management/api_management.go:695 free5gc/src/nrf/management.setLocationHeader() urilist update NRF=ManagementLog [GIN] 2020/08/05 - 13:07:05 | 201 | 11.513412ms | 127.0.0.1 | PUT /nnrf-nfm/v1/nf-instances/eec16b88-0959-4d37-bb15-bc59d8b76754 INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/factory/factory.go:36 free5gc/src/smf/factory.InitConfigFactory() Successfully initialize configuration ../../config/test/smfcfg.test.conf SMF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/factory/factory.go:48 free5gc/src/smf/factory.InitRoutingConfigFactory() Successfully initialize configuration ../../config/uerouting.yaml SMF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/service/init.go:101 free5gc/src/smf/service.(*SMF).Initialize() Log level is set to [info] level SMF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/context/smf_context.go:78 free5gc/src/smf/context.InitSmfContext() smfconfig Info: Version[1.0.0] Description[AMF initial local configuration] SMF=Context INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/service/init.go:130 free5gc/src/smf/service.(*SMF).Start() Server started SMF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/management/api_management.go:695 free5gc/src/nrf/management.setLocationHeader() urilist update NRF=ManagementLog [GIN] 2020/08/05 - 13:07:06 | 201 | 5.101984ms | 127.0.0.1 | PUT /nnrf-nfm/v1/nf-instances/99da5cad-6fb8-4c06-8849-f82eed4fb1c2 INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/consumer/nnrf.go:61 free5gc/src/smf/consumer.SendNFRegistration() SMF Registration to NRF {99da5cad-6fb8-4c06-8849-f82eed4fb1c2 SMF REGISTERED 0 0xc000817ea0 <nil> [] [] [127.0.0.1] [] <nil> [] [] <nil> 0 0 0 <nil> <nil> <nil> <nil> 0xc000032880 <nil> <nil> <nil> <nil> <nil> map[] <nil> false 0xc000817d20 false false []} SMF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pfcp/udp/udp.go:35 free5gc/src/smf/pfcp/udp.Run() Listen on 10.200.200.1:8805 SMF=pfcp INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/service/init.go:169 free5gc/src/smf/service.(*SMF).Start() Send PFCP Association Request to UPF[10.200.200.101:8805] SMF=app INFO[2020-08-05T13:07:06+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/n4/n4_dispatcher.c:105 UpfDispatcher() [PFCP] Handle PFCP association setup request UPF=Util INFO[2020-08-05T13:07:06+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/n4/n4_pfcp_handler.c:927 UpfN4HandleAssociationSetupRequest() [PFCP] Association Setup Response UPF=Util INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/pfcp/pfcpUdp/udp.go:143 free5gc/lib/pfcp/pfcpUdp.(*PfcpServer).RemoveTransaction() Remove Request Transaction [1] PFCP=PFCP INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udr/factory/factory.go:35 free5gc/src/udr/factory.InitConfigFactory() Successfully initialize configuration ../../config/udrcfg.conf UDR=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udr/service/init.go:76 free5gc/src/udr/service.(*UDR).Initialize() Log level is set to [info] level UDR=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udr/service/init.go:105 free5gc/src/udr/service.(*UDR).Start() UDR Config Info: Version[1.0.0] Description[UDR initial local configuration] UDR=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udr/service/init.go:110 free5gc/src/udr/service.(*UDR).Start() Server started UDR=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udr/util/init_context.go:15 free5gc/src/udr/util.InitUdrContext() udrconfig Info: Version[1.0.0] Description[UDR initial local configuration] UDR=Util INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/management/api_management.go:695 free5gc/src/nrf/management.setLocationHeader() urilist update NRF=ManagementLog [GIN] 2020/08/05 - 13:07:06 | 201 | 7.554455ms | 127.0.0.1 | PUT /nnrf-nfm/v1/nf-instances/eb10aa2f-0c87-4422-af0d-ee74f09fb97b INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/pcf/factory/factory.go:35 free5gc/src/pcf/factory.InitConfigFactory() Successfully initialize configuration ../../config/pcfcfg.conf PCF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/pcf/service/init.go:87 free5gc/src/pcf/service.(*PCF).Initialize() Log level is set to [info] level PCF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/pcf/service/init.go:111 free5gc/src/pcf/service.(*PCF).Start() Server started PCF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/pcf/util/init_context.go:16 free5gc/src/pcf/util.InitpcfContext() pcfconfig Info: Version[1.0.0] Description[PCF initial local configuration] PCF=Util INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/management/api_management.go:695 free5gc/src/nrf/management.setLocationHeader() urilist update NRF=ManagementLog [GIN] 2020/08/05 - 13:07:06 | 201 | 8.735734ms | 127.0.0.1 | PUT /nnrf-nfm/v1/nf-instances/db8ebf88-612f-4df3-b47a-831fc23f8f61 2020/08/05 13:07:06 map[$and:[map[nfType:AMF] map[$or:[map[allowedNfTypes:PCF] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:06 | 200 | 9.519148ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=PCF&target-nf-type=AMF INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/producer/subscription.go:14 free5gc/src/amf/producer.HandleAMFStatusChangeSubscribeRequest() Handle AMF Status Change Subscribe Request AMF=Comm INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/producer/subscription.go:44 free5gc/src/amf/producer.AMFStatusChangeSubscribeProcedure() new AMF Status Subscription[1] AMF=Comm [GIN] 2020/08/05 - 13:07:06 | 201 | 597.366µs | 127.0.0.1 | POST /namf-comm/v1/subscriptions 2020/08/05 13:07:06 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:PCF] map[allowedNfTypes:map[$exists:false]]]] map[nfServices:map[$elemMatch:map[nfServiceStatus:REGISTERED serviceName:map[$in:[nudr-dr]]]]]]] [GIN] 2020/08/05 - 13:07:06 | 200 | 4.393213ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=PCF&service-names=nudr-dr&target-nf-type=UDR INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udm/factory/factory.go:35 free5gc/src/udm/factory.InitConfigFactory() Successfully initialize configuration ../../config/udmcfg.conf UDM=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udm/service/init.go:81 free5gc/src/udm/service.(*UDM).Initialize() Log level is set to [info] level UDM=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udm/service/init.go:111 free5gc/src/udm/service.(*UDM).Start() UDM Config Info: Version[1.0.0] Description[UDM initial local configuration] UDM=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udm/service/init.go:113 free5gc/src/udm/service.(*UDM).Start() Server started UDM=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udm/context/init.go:21 free5gc/src/udm/context.InitUDMContext() udmconfig Info: Version[1.0.0] Description[UDM initial local configuration] UDM=Util INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/management/api_management.go:695 free5gc/src/nrf/management.setLocationHeader() urilist update NRF=ManagementLog [GIN] 2020/08/05 - 13:07:06 | 201 | 6.087694ms | 127.0.0.1 | PUT /nnrf-nfm/v1/nf-instances/e350b98e-8679-4643-9407-27f175ab42a1 INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nssf/factory/factory.go:42 free5gc/src/nssf/factory.InitConfigFactory() Successfully initialize configuration ../../config/nssfcfg.conf NSSF=factory INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nssf/service/init.go:86 free5gc/src/nssf/service.(*NSSF).Initialize() Log level is default set to [info] level NSSF=init INFO[2020-08-05T13:07:06+05:30] Server started NSSF=init INFO[2020-08-05T13:07:06+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/management/api_management.go:695 free5gc/src/nrf/management.setLocationHeader() urilist update NRF=ManagementLog [GIN] 2020/08/05 - 13:07:06 | 201 | 5.987225ms | 127.0.0.1 | PUT /nnrf-nfm/v1/nf-instances/3e8590b5-c083-4ad3-8efb-e2bbb4694c97 INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pfcp/handler/handler.go:76 free5gc/src/smf/pfcp/handler.HandlePfcpAssociationSetupResponse() UPF(10.200.200.101)[internet] setup association SMF=pfcp INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/factory/factory.go:35 free5gc/src/ausf/factory.InitConfigFactory() Successfully initialize configuration ../../config/ausfcfg.conf AUSF=init INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/service/init.go:75 free5gc/src/ausf/service.(*AUSF).Initialize() Log level is set to [info] level AUSF=init INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/service/init.go:100 free5gc/src/ausf/service.(*AUSF).Start() Server started AUSF=init INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/context/ausf_context_init.go:23 free5gc/src/ausf/context.InitAusfContext() ausfconfig Info: Version[1.0.0] Description[AUSF initial local configuration] AUSF=init ausf context = &{{{0 0} {<nil>} map[] 0} {{0 0} {<nil>} map[] 0} 6cff78a7-c225-4321-a4bb-d4aa120cbcbf ausfGroup001 29509 127.0.0.1 http://127.0.0.1:29509 http http://localhost:29510 map[nausf-auth:{6cff78a7-c225-4321-a4bb-d4aa120cbcbf nausf-auth 0xc001e65800 http REGISTERED 0xc001e657e0 [] <nil> [] [] <nil> 0 0 0 <nil> <nil> }] [{208 93} {123 45}] 0xc001e5e640} INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/nrf/management/api_management.go:695 free5gc/src/nrf/management.setLocationHeader() urilist update NRF=ManagementLog [GIN] 2020/08/05 - 13:07:07 | 201 | 7.175815ms | 127.0.0.1 | PUT /nnrf-nfm/v1/nf-instances/6cff78a7-c225-4321-a4bb-d4aa120cbcbf === RUN TestPDUSessionReleaseRequest INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/sctp/sctp.go:42 free5gc/src/amf/ngap/sctp.Server.func1() [AMF] NGAP SCTP Accept from: 127.0.0.1:9487 AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:49 free5gc/src/amf/ngap.HandleNGSetupRequest() [AMF] NG Setup request AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/message/send.go:79 free5gc/src/amf/ngap/message.SendNGSetupResponse() [AMF] Send NG-Setup response AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:882 free5gc/src/amf/ngap.HandleInitialUEMessage() [AMF] Initial UE Message AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:528 free5gc/src/amf/gmm.HandleRegistrationRequest() [AMF] Handle Registration Request AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:1644 free5gc/src/amf/gmm.startAuthenticationProcedure() Start authentication procedure AMF=Gmm 2020/08/05 13:07:07 map[$and:[map[nfType:AUSF] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 4.53753ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=AUSF INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/producer/ue_authentication.go:64 free5gc/src/ausf/producer.HandleUeAuthPostRequest() HandleUeAuthPostRequest AUSF=UeAuthPost INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/producer/ue_authentication.go:96 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() Serving network authorized AUSF=UeAuthPost 2020/08/05 13:07:07 map[$and:[map[nfType:UDM] map[$or:[map[allowedNfTypes:AUSF] map[allowedNfTypes:map[$exists:false]]]] map[nfServices:map[$elemMatch:map[nfServiceStatus:REGISTERED serviceName:map[$in:[nudm-ueau]]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 13.443862ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AUSF&service-names=nudm-ueau&target-nf-type=UDM INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/util_3gpp/suci/toSupi.go:260 free5gc/lib/util_3gpp/suci.ToSupi() suciPart [suci 0 208 93 0 0 0 00007487] UDM=UEAU INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/util_3gpp/suci/toSupi.go:278 free5gc/lib/util_3gpp/suci.ToSupi() scheme 0 UDM=UEAU INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/util_3gpp/suci/toSupi.go:285 free5gc/lib/util_3gpp/suci.ToSupi() SUPI type is IMSI UDM=UEAU INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udm/producer/generate_auth_data.go:35 free5gc/src/udm/producer.HandleGenerateAuthData() supi conversion => imsi-2089300007487 UDM=UEAU http://127.0.0.1:29510 2020/08/05 13:07:07 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:UDM] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 2.030432ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=UDM&target-nf-type=UDR [GIN] 2020/08/05 - 13:07:07 | 200 | 599.506µs | 127.0.0.1 | GET /nudr-dr/v1/subscription-data/imsi-2089300007487/authentication-data/authentication-subscription [GIN] 2020/08/05 - 13:07:07 | 200 | 5.061887ms | 127.0.0.1 | POST /nudm-ueau/v1/suci-0-208-93-0-0-0-00007487/security-information/generate-auth-data INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/producer/ue_authentication.go:124 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() Add SuciSupiPair (suci-0-208-93-0-0-0-00007487, imsi-2089300007487) to map. AUSF=UeAuthPost INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/producer/ue_authentication.go:130 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() Use 5G AKA auth method AUSF=UeAuthPost INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/producer/ue_authentication.go:138 free5gc/src/ausf/producer.UeAuthPostRequestProcedure() XresStar = 3432353762323564393036663838663566363561623633663136336633303866 AUSF=5gAkaComfirm [GIN] 2020/08/05 - 13:07:07 | 201 | 22.691341ms | 127.0.0.1 | POST /nausf-auth/v1/ue-authentications INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/message/send.go:65 free5gc/src/amf/gmm/message.SendAuthenticationRequest() [NAS] Send Authentication Request[Retry: 0] AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/message/send.go:138 free5gc/src/amf/ngap/message.SendDownlinkNasTransport() [AMF] Send Downlink Nas Transport AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:180 free5gc/src/amf/ngap.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:1957 free5gc/src/amf/gmm.HandleAuthenticationResponse() [AMF] Handle Authentication Response AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/producer/ue_authentication.go:46 free5gc/src/ausf/producer.HandleAuth5gAkaComfirmRequest() Auth5gAkaComfirmRequest AUSF=5gAkaComfirm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/producer/ue_authentication.go:241 free5gc/src/ausf/producer.Auth5gAkaComfirmRequestProcedure() res*: 3432353762323564393036663838663566363561623633663136336633303866 Xres*: 3432353762323564393036663838663566363561623633663136336633303866 AUSF=5gAkaComfirm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/ausf/producer/ue_authentication.go:246 free5gc/src/ausf/producer.Auth5gAkaComfirmRequestProcedure() 5G AKA confirmation succeeded AUSF=5gAkaComfirm [GIN] 2020/08/05 - 13:07:07 | 204 | 796.861µs | 127.0.0.1 | PUT /nudr-dr/v1/subscription-data/imsi-2089300007487/authentication-data/authentication-status [GIN] 2020/08/05 - 13:07:07 | 201 | 1.654186ms | 127.0.0.1 | POST /nudm-ueau/v1/imsi-2089300007487/auth-events [GIN] 2020/08/05 - 13:07:07 | 200 | 3.895087ms | 127.0.0.1 | PUT /nausf-auth/v1/ue-authentications/suci-0-208-93-0-0-0-00007487/5g-aka-confirmation INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/message/send.go:165 free5gc/src/amf/gmm/message.SendSecurityModeCommand() [NAS] Send Security Mode Command AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/message/send.go:138 free5gc/src/amf/ngap/message.SendDownlinkNasTransport() [AMF] Send Downlink Nas Transport AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:180 free5gc/src/amf/ngap.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:2162 free5gc/src/amf/gmm.HandleSecurityModeComplete() [AMF] Handle Security Mode Complete AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:528 free5gc/src/amf/gmm.HandleRegistrationRequest() [AMF] Handle Registration Request AMF=Gmm 2020/08/05 13:07:07 map[$and:[map[nfType:UDM] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]] map[$or:[map[udmInfo.supiRanges:map[$elemMatch:map[end:map[$gte:2089300007487] start:map[$lte:2089300007487]]]] map[udmInfo.externalGroupIdentifiersRanges:map[$exists:false] udmInfo.gpsiRanges:map[$exists:false] udmInfo.supiRanges:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 4.363353ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&supi=imsi-2089300007487&target-nf-type=UDM INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udr/producer/data_repository.go:40 free5gc/src/udr/producer.HandleQueryAmData() HandleQueryAmData UDR=DataRepo [GIN] 2020/08/05 - 13:07:07 | 200 | 1.640668ms | 127.0.0.1 | GET /nudr-dr/v1/subscription-data/imsi-2089300007487/20893/provisioned-data/am-data?supported-features= [GIN] 2020/08/05 - 13:07:07 | 200 | 2.911391ms | 127.0.0.1 | GET /nudm-sdm/v1/imsi-2089300007487/nssai?plmn-id=20893 2020/08/05 13:07:07 map[$and:[map[nfType:UDM] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]] map[$or:[map[udmInfo.supiRanges:map[$elemMatch:map[end:map[$gte:2089300007487] start:map[$lte:2089300007487]]]] map[udmInfo.externalGroupIdentifiersRanges:map[$exists:false] udmInfo.gpsiRanges:map[$exists:false] udmInfo.supiRanges:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 11.469012ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&supi=imsi-2089300007487&target-nf-type=UDM http://127.0.0.1:29510 2020/08/05 13:07:07 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:UDM] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 1.992969ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=UDM&target-nf-type=UDR [GIN] 2020/08/05 - 13:07:07 | 204 | 1.304678ms | 127.0.0.1 | PUT /nudr-dr/v1/subscription-data/imsi-2089300007487/context-data/amf-3gpp-access [GIN] 2020/08/05 - 13:07:07 | 201 | 5.091457ms | 127.0.0.1 | PUT /nudm-uecm/v1/imsi-2089300007487/registrations/amf-3gpp-access INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udr/producer/data_repository.go:40 free5gc/src/udr/producer.HandleQueryAmData() HandleQueryAmData UDR=DataRepo [GIN] 2020/08/05 - 13:07:07 | 200 | 778.859µs | 127.0.0.1 | GET /nudr-dr/v1/subscription-data/imsi-2089300007487/20893/provisioned-data/am-data?supported-features= [GIN] 2020/08/05 - 13:07:07 | 200 | 1.499169ms | 127.0.0.1 | GET /nudm-sdm/v1/imsi-2089300007487/am-data?plmn-id=20893 http://127.0.0.1:29510 2020/08/05 13:07:07 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:UDM] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 3.406564ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=UDM&target-nf-type=UDR [GIN] 2020/08/05 - 13:07:07 | 200 | 593.899µs | 127.0.0.1 | GET /nudr-dr/v1/subscription-data/imsi-2089300007487/20893/provisioned-data/smf-selection-subscription-data?supported-features= [GIN] 2020/08/05 - 13:07:07 | 200 | 5.997192ms | 127.0.0.1 | GET /nudm-sdm/v1/imsi-2089300007487/smf-select-data?plmn-id=20893 http://127.0.0.1:29510 2020/08/05 13:07:07 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:UDM] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 4.963184ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=UDM&target-nf-type=UDR [GIN] 2020/08/05 - 13:07:07 | 200 | 886.928µs | 127.0.0.1 | GET /nudr-dr/v1/subscription-data/imsi-2089300007487/context-data/smf-registrations?supported-features= [GIN] 2020/08/05 - 13:07:07 | 200 | 8.257291ms | 127.0.0.1 | GET /nudm-sdm/v1/imsi-2089300007487/ue-context-in-smf-data http://127.0.0.1:29510 2020/08/05 13:07:07 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:UDM] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 5.154765ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=UDM&target-nf-type=UDR [GIN] 2020/08/05 - 13:07:07 | 201 | 164.539µs | 127.0.0.1 | POST /nudr-dr/v1/subscription-data/imsi-2089300007487/context-data/sdm-subscriptions [GIN] 2020/08/05 - 13:07:07 | 201 | 7.794913ms | 127.0.0.1 | POST /nudm-sdm/v1/imsi-2089300007487/sdm-subscriptions 2020/08/05 13:07:07 map[$and:[map[nfType:PCF] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]] map[$or:[map[pcfInfo.supiRanges:map[$elemMatch:map[end:map[$gte:2089300007487] start:map[$lte:2089300007487]]]] map[pcfInfo.supiRanges:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 15.532883ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&supi=imsi-2089300007487&target-nf-type=PCF 2020/08/05 13:07:07 map[$and:[map[nfType:UDR] map[$or:[map[allowedNfTypes:PCF] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 5.682726ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=PCF&target-nf-type=UDR [GIN] 2020/08/05 - 13:07:07 | 200 | 734.887µs | 127.0.0.1 | GET /nudr-dr/v1/policy-data/ues/imsi-2089300007487/am-data [GIN] 2020/08/05 - 13:07:07 | 201 | 10.314637ms | 127.0.0.1 | POST /npcf-am-policy-control/v1/policies INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/message/send.go:211 free5gc/src/amf/gmm/message.SendRegistrationAccept() [NAS] Send Registration Accept AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/message/send.go:340 free5gc/src/amf/ngap/message.SendInitialContextSetupRequest() [AMF] Send Initial Context Setup Request AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/nas/nasMessage/NAS_PDUSessionEstablishmentRequest.go:70 free5gc/lib/nas/nasMessage.(*PDUSessionEstablishmentRequest).EncodePDUSessionEstablishmentRequest() Encode ExtendedProtocolConfigurationOptions in EncodePDUSessionEstablishmentRequest NAS=message INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:1608 free5gc/src/amf/ngap.HandleInitialContextSetupResponse() [AMF] Initial Context Setup Response AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:180 free5gc/src/amf/ngap.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:2137 free5gc/src/amf/gmm.HandleRegistrationComplete() [AMF] Handle Registration Complete AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:180 free5gc/src/amf/ngap.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:36 free5gc/src/amf/gmm.HandleULNASTransport() Handle UL NAS Transport AMF=Gmm 2020/08/05 13:07:07 map[$and:[map[nfType:NSSF] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 4.449313ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=NSSF INFO[2020-08-05T13:07:07+05:30] Request received - NSSelectionGet NSSF=nsselection [GIN] 2020/08/05 - 13:07:07 | 200 | 964.315µs | 127.0.0.1 | GET /nnssf-nsselection/v1/network-slice-information?nf-id=eec16b88-0959-4d37-bb15-bc59d8b76754&nf-type=AMF&slice-info-request-for-pdu-session=%7B%22sNssai%22%3A%7B%22sst%22%3A1%2C%22sd%22%3A%22010203%22%7D%2C%22roamingIndication%22%3A%22NON_ROAMING%22%7D 2020/08/05 13:07:07 {"mcc":"208","mnc":"93"} 2020/08/05 13:07:07 map[$and:[map[nfType:SMF] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]] map[nfServices:map[$elemMatch:map[nfServiceStatus:REGISTERED serviceName:map[$in:[nsmf-pdusession]]]]] map[$or:[map[plmnList:map[$elemMatch:map[mcc:208 mnc:93]]]]] map[$or:[map[sNssais:map[$elemMatch:map[sd:010203 sst:1]]] map[sNssais:map[$exists:false]]]] map[smfInfo.sNssaiSmfInfoList:map[$elemMatch:map[dnnSmfInfoList:map[$elemMatch:map[dnn:internet]]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 3.792341ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?dnn=internet&requester-nf-type=AMF&service-names=nsmf-pdusession&snssais=%7B%22sst%22%3A1%2C%22sd%22%3A%22010203%22%7D&target-nf-type=SMF&target-plmn-list=%7B%22mcc%22%3A%22208%22%2C%22mnc%22%3A%2293%22%7D INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pdusession/api_sm_contexts_collection.go:25 free5gc/src/smf/pdusession.PostSmContexts() Recieve Create SM Context Request SMF=pdu_session 2020/08/05 13:07:07 map[$and:[map[nfType:UDM] map[$or:[map[allowedNfTypes:SMF] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 13.690927ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=SMF&target-nf-type=UDM INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/udm/producer/subscriber_data_management.go:298 free5gc/src/udm/producer.HandleGetSmData() HandleGetSmData SUPI[imsi-2089300007487] PLMNID[20893] DNN[internet] SNssai[{"sst":1,"sd":"010203"}] UDM=Handler [GIN] 2020/08/05 - 13:07:07 | 200 | 1.214744ms | 127.0.0.1 | GET /nudr-dr/v1/subscription-data/imsi-2089300007487/20893/provisioned-data/sm-data?single-nssai=%7B%22sst%22%3A1%2C%22sd%22%3A%22010203%22%7D [GIN] 2020/08/05 - 13:07:07 | 200 | 4.743779ms | 127.0.0.1 | GET /nudm-sdm/v1/imsi-2089300007487/sm-data?dnn=internet&plmn-id=20893&single-nssai=%7B%22sst%22%3A1%2C%22sd%22%3A%22010203%22%7D INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/context/gsm_handler.go:12 free5gc/src/smf/context.(*SMContext).HandlePDUSessionEstablishmentRequest() In HandlePDUSessionEstablishmentRequest SMF=GSM INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/nas/nasConvert/ProtocolConfigurationOptions.go:125 free5gc/lib/nas/nasConvert.(*ProtocolConfigurationOptions).UnMarshal() ProtocolOrContainerList: [0xc002c79980 0xc002c799c0 0xc002c79a00] NAS=convert INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/context/gsm_handler.go:31 free5gc/src/smf/context.(*SMContext).HandlePDUSessionEstablishmentRequest() Protocol Configuration Options SMF=GSM INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/context/gsm_handler.go:32 free5gc/src/smf/context.(*SMContext).HandlePDUSessionEstablishmentRequest() &{[0xc002c79980 0xc002c799c0 0xc002c79a00]} SMF=GSM INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/context/gsm_handler.go:55 free5gc/src/smf/context.(*SMContext).HandlePDUSessionEstablishmentRequest() Didn't Implement container type IPAddressAllocationViaNASSignallingUL SMF=GSM INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/producer/pdu_session.go:82 free5gc/src/smf/producer.HandlePDUSessionSMContextCreate() PCF Selection for SMContext SUPI[imsi-2089300007487] PDUSessionID[10] SMF=pdu_session 2020/08/05 13:07:07 map[$and:[map[nfType:PCF] map[$or:[map[allowedNfTypes:SMF] map[allowedNfTypes:map[$exists:false]]]]]] [GIN] 2020/08/05 - 13:07:07 | 200 | 11.974072ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=SMF&target-nf-type=PCF [GIN] 2020/08/05 - 13:07:07 | 200 | 1.13506ms | 127.0.0.1 | GET /nudr-dr/v1/policy-data/ues/imsi-2089300007487/sm-data?dnn=internet&snssai=%7B%22sst%22%3A1%2C%22sd%22%3A%22010203%22%7D [GIN] 2020/08/05 - 13:07:07 | 201 | 3.660933ms | 127.0.0.1 | POST /npcf-smpolicycontrol/v1/sm-policies INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/producer/pdu_session.go:137 free5gc/src/smf/producer.HandlePDUSessionSMContextCreate() SUPI[imsi-2089300007487] has no pre-config route SMF=pdu_session INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/producer/pdu_session.go:522 free5gc/src/smf/producer.SendPFCPRule() Send PFCP Rule SMF=pdu_session INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/producer/pdu_session.go:523 free5gc/src/smf/producer.SendPFCPRule() DataPath: %!(EXTRA *context.DataPath=&{true true { } false 0xc000893d60}) SMF=pdu_session INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/producer/pdu_session.go:175 free5gc/src/smf/producer.HandlePDUSessionSMContextCreate() SendPFCPRule Finshed SMF=pdu_session [GIN] 2020/08/05 - 13:07:07 | 201 | 43.471058ms | 127.0.0.1 | POST /nsmf-pdusession/v1/sm-contexts 2020/08/05 13:07:07 map[$and:[map[nfType:AMF] map[$or:[map[allowedNfTypes:SMF] map[allowedNfTypes:map[$exists:false]]]] map[nfInstanceId:eec16b88-0959-4d37-bb15-bc59d8b76754]]] INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:221 free5gc/src/amf/gmm.HandlePDUSessionEstablishmentRequest() smconetxt ef : urn:uuid:2cf23e3b-3715-4be6-9906-9122d8c9ed4d AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:228 free5gc/src/amf/gmm.HandlePDUSessionEstablishmentRequest() Http create smContext[pduSessionID: 10] Success AMF=Gmm INFO[2020-08-05T13:07:07+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/n4/n4_dispatcher.c:120 UpfDispatcher() [PFCP] Handle PFCP session establishment request UPF=Util [GIN] 2020/08/05 - 13:07:07 | 200 | 2.34741ms | 127.0.0.1 | GET /nnrf-disc/v1/nf-instances?requester-nf-type=SMF&target-nf-instance-id=eec16b88-0959-4d37-bb15-bc59d8b76754&target-nf-type=AMF INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/consumer/nnrf.go:171 free5gc/src/smf/consumer.SendNFDiscoveryServingAMF() SendNFDiscoveryServingAMF ok SMF=app INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/producer/pdu_session.go:187 free5gc/src/smf/producer.HandlePDUSessionSMContextCreate() HandlePDUSessionSMContextUpdate Finshed SMF=pdu_session INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pfcp/handler/handler.go:136 free5gc/src/smf/pfcp/handler.HandlePfcpSessionEstablishmentResponse() In HandlePfcpSessionEstablishmentResponse SMF=pfcp &{1000 Kbps 1000 Kbps} INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/pfcp/pfcpUdp/udp.go:143 free5gc/lib/pfcp/pfcpUdp.(*PfcpServer).RemoveTransaction() Remove Request Transaction [2] PFCP=PFCP INFO[2020-08-05T13:07:07+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/n4/n4_pfcp_handler.c:699 UpfN4HandleSessionEstablishmentRequest() [PFCP] Session Establishment Response UPF=Util INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/producer/n1n2message.go:23 free5gc/src/amf/producer.HandleN1N2MessageTransferRequest() Handle N1N2 Message Transfer Request AMF=Producer INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/message/send.go:255 free5gc/src/amf/ngap/message.SendPDUSessionResourceSetupRequest() [AMF] Send PDU Session Resource Setup Request AMF=NGAP [GIN] 2020/08/05 - 13:07:07 | 200 | 1.305047ms | 127.0.0.1 | POST /namf-comm/v1/ue-contexts/imsi-2089300007487/n1-n2-messages INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:1052 free5gc/src/amf/ngap.HandlePDUSessionResourceSetupResponse() [AMF] PDU Session Resource Setup Response AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pdusession/api_individual_sm_context.go:62 free5gc/src/smf/pdusession.UpdateSmContext() Recieve Update SM Context Request SMF=pdu_session INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/producer/pdu_session.go:194 free5gc/src/smf/producer.HandlePDUSessionSMContextUpdate() [SMF] PDUSession SMContext Update SMF=pdu_session INFO[2020-08-05T13:07:07+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/n4/n4_dispatcher.c:125 UpfDispatcher() [PFCP] Handle PFCP session modification request UPF=Util INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pfcp/handler/handler.go:201 free5gc/src/smf/pfcp/handler.HandlePfcpSessionModificationResponse() In HandlePfcpSessionModificationResponse SMF=pfcp INFO[2020-08-05T13:07:07+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/n4/n4_pfcp_handler.c:789 UpfN4HandleSessionModificationRequest() [PFCP] Session Modification Response UPF=Util INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pfcp/handler/handler.go:217 free5gc/src/smf/pfcp/handler.HandlePfcpSessionModificationResponse() [SMF] Send Update SMContext Response SMF=pdu_session INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/pfcp/pfcpUdp/udp.go:143 free5gc/lib/pfcp/pfcpUdp.(*PfcpServer).RemoveTransaction() Remove Request Transaction [3] PFCP=PFCP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pfcp/handler/handler.go:253 free5gc/src/smf/pfcp/handler.HandlePfcpSessionModificationResponse() PFCP Session Modification Success[1] SMF=pfcp [GIN] 2020/08/05 - 13:07:07 | 200 | 2.941217ms | 127.0.0.1 | POST /nsmf-pdusession/v1/sm-contexts/urn:uuid:2cf23e3b-3715-4be6-9906-9122d8c9ed4d/modify INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/ngap/handler.go:180 free5gc/src/amf/ngap.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:36 free5gc/src/amf/gmm.HandleULNASTransport() Handle UL NAS Transport AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/amf/gmm/handler.go:427 free5gc/src/amf/gmm.HandlePDUSessionReleaseForward() Handle PDU Session Release Request AMF=Gmm INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/pdusession/api_individual_sm_context.go:62 free5gc/src/smf/pdusession.UpdateSmContext() Recieve Update SM Context Request SMF=pdu_session INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/producer/pdu_session.go:194 free5gc/src/smf/producer.HandlePDUSessionSMContextUpdate() [SMF] PDUSession SMContext Update SMF=pdu_session INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/smf/context/gsm_handler.go:98 free5gc/src/smf/context.(*SMContext).HandlePDUSessionReleaseRequest() Handle Pdu Session Release Request SMF=GSM INFO[2020-08-05T13:07:07+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/n4/n4_dispatcher.c:130 UpfDispatcher() [PFCP] Handle PFCP session deletion request UPF=Util INFO[2020-08-05T13:07:07+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/n4/n4_pfcp_handler.c:854 UpfN4HandleSessionDeletionRequest() [PFCP] Session Deletion Response UPF=Util INFO[2020-08-05T13:07:07+05:30]/root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/lib/pfcp/pfcpUdp/udp.go:143 free5gc/lib/pfcp/pfcpUdp.(*PfcpServer).RemoveTransaction() Remove Request Transaction [4] PFCP=PFCP --- PASS: TestPDUSessionReleaseRequest (3.48s) PASS ok free5gc/src/test 5.155s INFO[2020-08-05T13:07:13+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/up/up_path.c:52 UpRouteTerminate() Removing APN routes UPF=Util INFO[2020-08-05T13:07:13+05:30] /root/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc/src/upf/src/upf_init.c:297 PacketReceiverThread() Packet receiver thread terminated UPF=Util root@esi14-vm-10:~/go/src/github.com/otcshare/dev_pathfinding/corenetwork/ngc/free5gc# ``` Log on Console END ==================================>>>>>>>>>>>>>>>>>>> ## System architecture (Option) Ubuntu VM created using virsh ## Walkthrough (Option) ## Additional context
[Bugs] No Resource Release Request sent from AMF when TestPDUSessionReleaseRequest is executed.
https://api.github.com/repos/free5gc/free5gc/issues/86/comments
4
2020-08-05T07:55:35Z
2023-07-21T07:44:51Z
https://github.com/free5gc/free5gc/issues/86
673,336,214
86
[ "free5gc", "free5gc" ]
## Describe the bug(??) When running `./test.sh TestNon3GPP` with the settings of free5GC as-is, the following error was output. ``` ERRO[2020-07-30T04:19:05Z]/ike/handler/handler.go:428 free5gc/src/n3iwf/ike/handler.HandleIKEAUTH() [IKE] The initiator identification field is nil N3IWF=IKE ``` This is the last line of the log below. ``` ... TestNon3GPPUE: non3gpp_test.go:678: Get IDr TestNon3GPPUE: non3gpp_test.go:682: Get CERT TestNon3GPPUE: non3gpp_test.go:680: Get AUTH TestNon3GPPUE: non3gpp_test.go:685: Get EAP INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:70 free5gc/src/n3iwf/ike/message.EncodePayload() Encoding IKE payloads N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:1285 free5gc/src/n3iwf/ike/message.(*EAP).marshal() [IKE][EAP] marshal(): Start marshalling N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:1484 free5gc/src/n3iwf/ike/message.(*EAPExpanded).marshal() [IKE][EAP][Expanded] marshal(): Start marshalling N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:32 free5gc/src/n3iwf/ike/message.Encode() Encoding IKE message N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:35 free5gc/src/n3iwf/ike/message.Encode() [IKE] Start encoding IKE message N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:70 free5gc/src/n3iwf/ike/message.EncodePayload() Encoding IKE payloads N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:1180 free5gc/src/n3iwf/ike/message.(*Encrypted).marshal() [IKE][Encrypted] marshal(): Start marshalling N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:32 free5gc/src/n3iwf/ike/message.Encode() Encoding IKE message N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:35 free5gc/src/n3iwf/ike/message.Encode() [IKE] Start encoding IKE message N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:70 free5gc/src/n3iwf/ike/message.EncodePayload() Encoding IKE payloads N3IWF=IKE INFO[2020-07-30T04:19:05Z]/root/free5gc/src/n3iwf/ike/message/message.go:1180 free5gc/src/n3iwf/ike/message.(*Encrypted).marshal() [IKE][Encrypted] marshal(): Start marshalling N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:103 free5gc/src/n3iwf/ike/message.Decode() Decoding IKE message N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:104 free5gc/src/n3iwf/ike/message.Decode() Received IKE message: 00000000 00 00 00 00 00 01 e0 f3 2e c5 92 99 79 8a ab 59 |............y..Y| 00000010 2e 20 23 08 00 00 00 02 00 00 00 9c 30 00 00 80 |. #.........0...| 00000020 e7 a9 48 68 dd d9 9a 84 54 f4 08 30 42 b2 c7 b4 |..Hh....T..0B...| 00000030 d6 70 df d0 bd 0c d5 a8 96 6a 94 5c 1b f8 63 ee |.p.......j.\..c.| 00000040 75 c7 5b e9 32 11 8e 36 ba 22 c0 93 31 16 41 46 |u.[.2..6."..1.AF| 00000050 9e 45 4c b0 a4 b1 02 35 58 26 ce b5 10 a4 a7 43 |.EL....5X&.....C| 00000060 37 e2 ae 98 84 73 3c 4e 53 ea bf 92 37 67 a4 be |7....s<NS...7g..| 00000070 e9 fe ad c7 1f a8 d7 b4 61 6a b3 3f a3 00 68 1a |........aj.?..h.| 00000080 88 42 26 52 2b 24 bc 23 cb 1f 7f ca 0f 55 42 0a |.B&R+$.#.....UB.| 00000090 88 d9 e5 23 c1 50 25 91 70 39 b5 0c |...#.P%.p9..| N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:142 free5gc/src/n3iwf/ike/message.DecodePayload() Decoding IKE payloads N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:148 free5gc/src/n3iwf/ike/message.DecodePayload() [IKE] DecodePayload(): Decode 1 payload N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:1190 free5gc/src/n3iwf/ike/message.(*Encrypted).unmarshal() [IKE][Encrypted] unmarshal(): Start unmarshalling received bytes N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:1191 free5gc/src/n3iwf/ike/message.(*Encrypted).unmarshal() [IKE][Encrypted] unmarshal(): Payload length 124 bytes N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/handler/handler.go:291 free5gc/src/n3iwf/ike/handler.HandleIKEAUTH() [IKE] Handle IKE_AUTH N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:32 free5gc/src/n3iwf/ike/message.Encode() Encoding IKE message N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:35 free5gc/src/n3iwf/ike/message.Encode() [IKE] Start encoding IKE message N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:70 free5gc/src/n3iwf/ike/message.EncodePayload() Encoding IKE payloads N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:1180 free5gc/src/n3iwf/ike/message.(*Encrypted).marshal() [IKE][Encrypted] marshal(): Start marshalling N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:60 free5gc/src/n3iwf/ike/message.Encode() Encoded 156 bytes N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:61 free5gc/src/n3iwf/ike/message.Encode() IKE message data: 00000000 00 00 00 00 00 01 e0 f3 2e c5 92 99 79 8a ab 59 |............y..Y| 00000010 2e 20 23 08 00 00 00 02 00 00 00 9c 30 00 00 80 |. #.........0...| 00000020 e7 a9 48 68 dd d9 9a 84 54 f4 08 30 42 b2 c7 b4 |..Hh....T..0B...| 00000030 d6 70 df d0 bd 0c d5 a8 96 6a 94 5c 1b f8 63 ee |.p.......j.\..c.| 00000040 75 c7 5b e9 32 11 8e 36 ba 22 c0 93 31 16 41 46 |u.[.2..6."..1.AF| 00000050 9e 45 4c b0 a4 b1 02 35 58 26 ce b5 10 a4 a7 43 |.EL....5X&.....C| 00000060 37 e2 ae 98 84 73 3c 4e 53 ea bf 92 37 67 a4 be |7....s<NS...7g..| 00000070 e9 fe ad c7 1f a8 d7 b4 61 6a b3 3f a3 00 68 1a |........aj.?..h.| 00000080 88 42 26 52 2b 24 bc 23 cb 1f 7f ca 0f 55 42 0a |.B&R+$.#.....UB.| 00000090 88 d9 e5 23 c1 50 25 91 70 39 b5 0c |...#.P%.p9..| N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/handler/security.go:170 free5gc/src/n3iwf/ike/handler.VerifyIKEChecksum() Calculated checksum: 00000000 88 d9 e5 23 c1 50 25 91 70 39 b5 0c |...#.P%.p9..| Received checksum: 00000000 88 d9 e5 23 c1 50 25 91 70 39 b5 0c |...#.P%.p9..| N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/handler/security.go:238 free5gc/src/n3iwf/ike/handler.DecryptMessage() Decrypted content: 00000000 00 00 00 59 02 41 00 55 fe 00 28 af 00 00 00 03 |...Y.A.U..(.....| 00000010 02 00 00 24 01 07 00 02 f8 39 ca fe 00 04 02 00 |...$.....9......| 00000020 04 02 05 00 03 02 f8 39 03 0e 00 0c 00 04 01 01 |.......9........| 00000030 02 03 00 04 01 11 22 33 00 1f 7e 00 41 19 00 0c |......"3..~.A...| 00000040 01 02 f8 39 f0 ff 00 00 00 00 47 78 10 01 07 2e |...9......Gx....| 00000050 08 80 20 00 00 00 00 00 00 07 07 07 07 07 07 06 |.. .............| N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/handler/security.go:243 free5gc/src/n3iwf/ike/handler.DecryptMessage() Decrypted content with out padding: 00000000 00 00 00 59 02 41 00 55 fe 00 28 af 00 00 00 03 |...Y.A.U..(.....| 00000010 02 00 00 24 01 07 00 02 f8 39 ca fe 00 04 02 00 |...$.....9......| 00000020 04 02 05 00 03 02 f8 39 03 0e 00 0c 00 04 01 01 |.......9........| 00000030 02 03 00 04 01 11 22 33 00 1f 7e 00 41 19 00 0c |......"3..~.A...| 00000040 01 02 f8 39 f0 ff 00 00 00 00 47 78 10 01 07 2e |...9......Gx....| 00000050 08 80 20 00 00 00 00 00 00 |.. ......| N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:142 free5gc/src/n3iwf/ike/message.DecodePayload() Decoding IKE payloads N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:148 free5gc/src/n3iwf/ike/message.DecodePayload() [IKE] DecodePayload(): Decode 1 payload N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:1307 free5gc/src/n3iwf/ike/message.(*EAP).unmarshal() [IKE][EAP] unmarshal(): Start unmarshalling received bytes N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:1308 free5gc/src/n3iwf/ike/message.(*EAP).unmarshal() [IKE][EAP] unmarshal(): Payload length 85 bytes N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:1311 free5gc/src/n3iwf/ike/message.(*EAP).unmarshal() [IKE][EAP] unmarshal(): Unmarshal 1 EAP N3IWF=IKE INFO[2020-07-30T04:19:05Z]/ike/message/message.go:1505 free5gc/src/n3iwf/ike/message.(*EAPExpanded).unmarshal() [IKE][EAP][Expanded] unmarshal(): Start unmarshalling received bytes N3IWF=IKE TRAC[2020-07-30T04:19:05Z]/ike/message/message.go:1506 free5gc/src/n3iwf/ike/message.(*EAPExpanded).unmarshal() [IKE][EAP][Expanded] unmarshal(): Payload length 81 bytes N3IWF=IKE ERRO[2020-07-30T04:19:05Z]/ike/handler/handler.go:428 free5gc/src/n3iwf/ike/handler.HandleIKEAUTH() [IKE] The initiator identification field is nil N3IWF=IKE ``` It seems to have failed in the `// IKE_AUTH - EAP exchange` phase after `non3gpp_test.go:689` line. Could you know what is happened? Here, it is always reproduced. If you need any other information, please let me know. Many thanks in advance. ## Environment (please complete the following information): - free5GC Version [v3.0.3] - OS: [Ubuntu 18.04 Server] - Kernel version [5.0.0-23-generic] - go version [1.14.4 linux/amd64] - c compiler version (Option) [gcc version 7.5.0] ### PCAP File [free5gc.pcap.gz](https://github.com/free5gc/free5gc/files/4998771/free5gc.pcap.gz) ### Log File I will also attach `free5gc/log/*`. [log_20200730.tar.gz](https://github.com/free5gc/free5gc/files/4998774/log_20200730.tar.gz)
[Bugs] failed to ./test.sh TestNon3GPP
https://api.github.com/repos/free5gc/free5gc/issues/84/comments
10
2020-07-30T04:34:56Z
2021-01-16T20:41:33Z
https://github.com/free5gc/free5gc/issues/84
668,361,803
84
[ "free5gc", "free5gc" ]
## Support for CENTOS ### What's the version are you using We would like to test free5gc over CentOS. is there any recommendation to do this? ### Is your feature request related to a problem? Please describe. No, not related to a problem ### Describe the solution you'd like Availability of free5GC software qualified on RHEL/CentOS ### Describe alternatives/workarounds you've considered None ### Additional context We have a platform that has been validated for CENTOS, it is difficult to ## Issue Template Checklist <!-- Please answer the questions below. If you don't, your issue may be closed. --> ### Would you be willing to resolve this issue by submitting a Pull Request? <!-- Remember that first contributors are welcome! --> - [ ] Yes, I have the time and I know how to start. - [ ] Yes, I have the time but I don't know how to start, I would need guidance. - [ ] No, I don't have the time, although I believe I could do it if I had the time... - [X ] No, I don't have the time and I wouldn't even know how to start. We dont have the expertise to do this.
[Feat] Supporting CentOS/RHEL
https://api.github.com/repos/free5gc/free5gc/issues/83/comments
2
2020-07-28T21:44:59Z
2023-12-05T16:43:34Z
https://github.com/free5gc/free5gc/issues/83
667,401,545
83
[ "free5gc", "free5gc" ]
## Suggestion I would like to report something that I noticed about the format of `mcc` and `mnc` in `*cfg.conf`. For example, "`5G:mnc093.mcc208.3gppnetwork.org`". (mcc=208, mnc=93) `free5gc/src/amf/factory/factory.go`: ``` func InitConfigFactory(f string) { content, err := ioutil.ReadFile(f) checkErr(err) AmfConfig = Config{} err = yaml.Unmarshal([]byte(content), &AmfConfig) <== checkErr(err) logger.InitLog.Infof("Successfully initialize configuration %s", f) } ``` As a result of `yaml.Unmarshal([]byte(content), &AmfConfig)`, if `amfcfg.conf` contains `mnc: 93`, as a result of reading, the `AmfConfig` instance will contain the `93` string. However, when `NGSetupRequest` is received from RAN, the following log is displayed and it fails because the received `mnc=093` and `mnc=93` in `amfcfg.conf` do not match. "`NG-Setup failure: Cannot find Served TAI in AMF AMF=NGAP`" So, it seems good to write `mcc` and `mnc` in `*cfg.conf` with three digits with zero padding. I'm sorry if I had any misunderstanding.
[Docs] Does mnc and mcc in "*cfg.conf" need to specify zero-padded three-digit numbers?
https://api.github.com/repos/free5gc/free5gc/issues/82/comments
15
2020-07-27T08:50:28Z
2021-02-02T17:09:28Z
https://github.com/free5gc/free5gc/issues/82
666,107,213
82
[ "free5gc", "free5gc" ]
Dear Free5GC team, Thanks for your great job of this excellent project! I setup the Free5GC environment and all the test cases were passed. But I met the issue that no key file was generated under folder: "free5gc/testkeylog". All the key file are **empty**. Could you please help check the reason? Many thanks! ![key_file_size_all_0](https://user-images.githubusercontent.com/37206778/88267560-9795e300-cd03-11ea-8d0d-b1f3582d3b16.png)
[Bugs] The key file for "http/tls" messages didn't generate under ‘’free5gc/testkeylog”
https://api.github.com/repos/free5gc/free5gc/issues/81/comments
9
2020-07-23T08:44:29Z
2020-07-24T09:57:35Z
https://github.com/free5gc/free5gc/issues/81
664,301,069
81
[ "free5gc", "free5gc" ]
**If you don't follow the issue template, your issue may be closed.** <!-- Remove above line after reporting the issue --> ## Issue Description ### What's the version are you using free5GC Stage 3 ### Is your feature request related to a problem? Please describe. When I try to register a user I get an error on the AMF ### Describe the solution you'd like Know what is causing the error and how to fix it ### Describe alternatives/workarounds you've considered ### Additional context Logs INFO[2020-07-11T20:05:51+02:00]/src/amf/amf_nas/nas_security/security.go:38 free5gc/src/amf/amf_nas/nas_security.Encode() NasPdu Security: Integrity Protected With New 5gNasSecurityContext AMF=NAS INFO[2020-07-11T20:05:51+02:00]/src/amf/amf_ngap/ngap_message/send.go:138 free5gc/src/amf/amf_ngap/ngap_message.SendDownlinkNasTransport() [AMF] Send Downlink Nas Transport AMF=NGAP INFO[2020-07-11T20:05:51+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:185 free5gc/src/amf/amf_ngap/ngap_handler.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP WARN[2020-07-11T20:05:51+02:00]/src/amf/amf_nas/nas_security/security.go:171 free5gc/src/amf/amf_nas/nas_security.Decode() NAS MAC verification failed(0x58af4411 != 0x59429c0e) AMF=NAS ERRO[2020-07-11T20:05:51+02:00]/src/amf/amf_nas/handler.go:28 free5gc/src/amf/amf_nas.HandleNAS() Extended Protocol Discriminator[203] is not allowed in Nas Message Deocde AMF=NAS INFO[2020-07-11T20:05:57+02:00]/src/amf/gmm/gmm_message/send.go:165 free5gc/src/amf/gmm/gmm_message.SendSecurityModeCommand() [NAS] Send Security Mode Command AMF=Gmm INFO[2020-07-11T20:05:57+02:00]/src/amf/amf_nas/nas_security/security.go:38 free5gc/src/amf/amf_nas/nas_security.Encode() NasPdu Security: Integrity Protected With New 5gNasSecurityContext AMF=NAS INFO[2020-07-11T20:05:57+02:00]/src/amf/amf_ngap/ngap_message/send.go:138 free5gc/src/amf/amf_ngap/ngap_message.SendDownlinkNasTransport() [AMF] Send Downlink Nas Transport AMF=NGAP INFO[2020-07-11T20:05:57+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:1615 free5gc/src/amf/amf_ngap/ngap_handler.HandleInitialContextSetupResponse() [AMF] Initial Context Setup Response AMF=NGAP INFO[2020-07-11T20:05:57+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:185 free5gc/src/amf/amf_ngap/ngap_handler.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP WARN[2020-07-11T20:05:57+02:00]/src/amf/amf_nas/nas_security/security.go:171 free5gc/src/amf/amf_nas/nas_security.Decode() NAS MAC verification failed(0x70dd43a7 != 0x9cc96503) AMF=NAS ERRO[2020-07-11T20:05:57+02:00]/src/amf/amf_nas/handler.go:28 free5gc/src/amf/amf_nas.HandleNAS() Extended Protocol Discriminator[61] is not allowed in Nas Message Deocde AMF=NAS INFO[2020-07-11T20:05:57+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:185 free5gc/src/amf/amf_ngap/ngap_handler.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP WARN[2020-07-11T20:05:57+02:00]/src/amf/amf_nas/nas_security/security.go:171 free5gc/src/amf/amf_nas/nas_security.Decode() NAS MAC verification failed(0xb8418386 != 0x699de904) AMF=NAS ERRO[2020-07-11T20:05:57+02:00]/src/amf/amf_nas/handler.go:28 free5gc/src/amf/amf_nas.HandleNAS() Extended Protocol Discriminator[59] is not allowed in Nas Message Deocde AMF=NAS INFO[2020-07-11T20:05:57+02:00]/src/amf/gmm/gmm_message/send.go:165 free5gc/src/amf/gmm/gmm_message.SendSecurityModeCommand() [NAS] Send Security Mode Command AMF=Gmm INFO[2020-07-11T20:05:57+02:00]/src/amf/amf_nas/nas_security/security.go:38 free5gc/src/amf/amf_nas/nas_security.Encode() NasPdu Security: Integrity Protected With New 5gNasSecurityContext AMF=NAS INFO[2020-07-11T20:05:57+02:00]/src/amf/amf_ngap/ngap_message/send.go:138 free5gc/src/amf/amf_ngap/ngap_message.SendDownlinkNasTransport() [AMF] Send Downlink Nas Transport AMF=NGAP INFO[2020-07-11T20:05:57+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:1059 free5gc/src/amf/amf_ngap/ngap_handler.HandlePDUSessionResourceSetupResponse() [AMF] PDU Session Resource Setup Response AMF=NGAP ERRO[2020-07-11T20:05:57+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:1115 free5gc/src/amf/amf_ngap/ngap_handler.HandlePDUSessionResourceSetupResponse() SendUpdateSmContextN2Info[PDUSessionResourceSetupResponseTransfer] Error: [AMF] pduSessionId : 10 is not in Ue AMF=NGAP 2020/07/11 20:05:57 timer closed INFO[2020-07-11T20:05:58+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:185 free5gc/src/amf/amf_ngap/ngap_handler.HandleUplinkNasTransport() [AMF] Uplink Nas Transport AMF=NGAP WARN[2020-07-11T20:05:58+02:00]/src/amf/amf_nas/nas_security/security.go:171 free5gc/src/amf/amf_nas/nas_security.Decode() NAS MAC verification failed(0xf5a176f6 != 0x4befbeb9) AMF=NAS ERRO[2020-07-11T20:05:58+02:00]/src/amf/amf_nas/handler.go:28 free5gc/src/amf/amf_nas.HandleNAS() Extended Protocol Discriminator[74] is not allowed in Nas Message Deocde AMF=NAS INFO[2020-07-11T20:06:03+02:00]/src/amf/gmm/gmm_message/send.go:165 free5gc/src/amf/gmm/gmm_message.SendSecurityModeCommand() [NAS] Send Security Mode Command AMF=Gmm INFO[2020-07-11T20:06:03+02:00]/src/amf/amf_nas/nas_security/security.go:38 free5gc/src/amf/amf_nas/nas_security.Encode() NasPdu Security: Integrity Protected With New 5gNasSecurityContext AMF=NAS INFO[2020-07-11T20:06:03+02:00]/src/amf/amf_ngap/ngap_message/send.go:138 free5gc/src/amf/amf_ngap/ngap_message.SendDownlinkNasTransport() [AMF] Send Downlink Nas Transport AMF=NGAP INFO[2020-07-11T20:06:03+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:435 free5gc/src/amf/amf_ngap/ngap_handler.HandleUEContextReleaseComplete() [AMF] UE Context Release Complete AMF=NGAP INFO[2020-07-11T20:06:03+02:00]/src/amf/amf_ngap/ngap_handler/handler.go:575 free5gc/src/amf/amf_ngap/ngap_handler.HandleUEContextReleaseComplete() Release UE[imsi-2089300007487] Con ## Issue Template Checklist <!-- Please answer the questions below. If you don't, your issue may be closed. --> ### Would you be willing to resolve this issue by submitting a Pull Request? <!-- Remember that first contributors are welcome! --> - [ ] Yes, I have the time and I know how to start. - [ ] Yes, I have the time but I don't know how to start, I would need guidance. - [ ] No, I don't have the time, although I believe I could do it if I had the time... - [X ] No, I don't have the time and I wouldn't even know how to start.
Error when UE registration
https://api.github.com/repos/free5gc/free5gc/issues/79/comments
1
2020-07-11T18:14:40Z
2020-07-11T18:57:01Z
https://github.com/free5gc/free5gc/issues/79
655,254,731
79
[ "free5gc", "free5gc" ]
## Describe the bug 1- Notification payload sent from NRF when an NF Instance has changed its profile contains both "nfProfile" or "profileChanges" attributes null. 2- Notification payload sent from NRF when an NF Instance registered its profile contains event attribute of type "NF_PROFILE_CHANGED" instead of type "NF_REGISTERED". ## Expected behavior 3GPP TS 29.510 V16.3.0 (2020-03) says that if "event" attribute takes the value "NF_PROFILE_CHANGED", then either "nfProfile" or "profileChanges" attributes shall be present, but not both. In other words, one of them cannot be null. ## Environment (please complete the following information): - free5GC Version v3.0.2 - OS: CentOS Linux v7 - Kernel version 3.10.0-1062.el7.x86_64 - go version go1.12.9 linux/amd64 ### Log File Here is a print of NotificationData object received in both scenarios: class NotificationData { event: NF_PROFILE_CHANGED nfInstanceUri: https://127.0.0.1:29510/nnrf-nfm/v1/nf-instances/a10d4ae5-b59f-459d-9e25-5cbe99c397b5 nfProfile: null profileChanges: null })
[Bugs] NRF notifications of changes of the NF profile of a given NF Instance constains both "nfProfile" or "profileChanges" attributes null
https://api.github.com/repos/free5gc/free5gc/issues/78/comments
0
2020-06-25T10:13:25Z
2023-11-02T04:53:58Z
https://github.com/free5gc/free5gc/issues/78
645,440,207
78
[ "free5gc", "free5gc" ]
## Issue Description ### What's the version are you using - free5GC Version: v3.0.2 - UE: Huawei 5G CPE Pro ### Is your feature request related to a problem? Please describe. Free5GC can not return the IP addresses of DNS servers when an UE requests the DNS addresses in PCO. This leads to any UE being not able to communicate with Internet services. ![PCO](https://user-images.githubusercontent.com/66290148/85667311-69b78180-b6f8-11ea-8102-ae826861db5a.jpg) ### Describe the solution you'd like I would be grateful if you could implement the DNS related functions of PCO so that the network can transfer the IP addresses of DNS servers to UE. In particular, I would like the SMF to return the IP addresses of DNS servers in a PDU session establishment accept message only if SMF receives the DNS address request in a PDU session establishment request. ### Describe alternatives/workarounds you've considered Nothing. ### Additional context See 10.5.6.3A in TS 3GPP TS 24.008 [12] or 3GPP TS 24.501 for PCO. ## Issue Template Checklist <!-- Please answer the questions below. If you don't, your issue may be closed. --> ### Would you be willing to resolve this issue by submitting a Pull Request? <!-- Remember that first contributors are welcome! --> - [ ] Yes, I have the time and I know how to start. - [ ] Yes, I have the time but I don't know how to start, I would need guidance. - [x] No, I don't have the time, although I believe I could do it if I had the time... - [ ] No, I don't have the time and I wouldn't even know how to start.
[Feat] Functions to transfer the IP addresses of DNS servers to UE using Protocol Configuration Options (PCO)
https://api.github.com/repos/free5gc/free5gc/issues/77/comments
4
2020-06-25T06:31:01Z
2020-09-13T17:11:40Z
https://github.com/free5gc/free5gc/issues/77
645,199,061
77
[ "free5gc", "free5gc" ]
**If you don't follow the issue template, your issue may be closed.** **Please note this is an issue tracker, not a support forum. For general questions, please use [forum](https://forum.free5gc.org).** **Also, please refer to [TS](https://github.com/free5gc/free5gc/wiki/Trouble_Shooting) and [forum](https://forum.free5gc.org) before bug reporting.** <!-- Remove above line after reporting the issue --> ## Describe the bug In `TestDeregistration` part of the test, the procedure goes as follows: - send NAS Deregistration Request (UE Originating) - receive ngap UE Context Release Command - send ngap UE Context Release Complete However, after the `send NAS Deregistration Request (UE Originating)`, AMF replies with a `Deregistration accept (UE originating)`. This message is not handled in `TestDeregistration` which leads to errors when trying to register a second UE, without restarting the RAN-AMF connection. ## To Reproduce Steps to reproduce the behavior: - If you check Wireshark trace, you can see the message is sent from AMF, but not handled in the test file. - Run by trying to register/deregister 2 UEs, without restarting the RAN-AMF connection. ## Expected behavior The messages `Deregistration accept (UE originating)` sent from AMF should be handled in the test file. ## Screenshots If applicable, add screenshots to help explain your problem. ## Environment (please complete the following information): - free5GC Version [e.g. v3.0.2] - OS: [e.g. Ubuntu 18.04 Server] - Kernel version [e.g. 5.0.0-23-generic] - go version [e.g. 1.12.9 linux/amd64] - c compiler version (Option) [e.g. gcc version 7.5.0] ## Trace File ### Configuration File Provide your configuration here. If you don't know what to do, you can zip the `config` folder and upload the zip file here. ### PCAP File Dump the packet and provide the pcap file here. If you don't know what to do, you can use `sudo tcpdump -i any -w free5gc.pcap` before you run the bug reproduce. After that, upload the free5gc.pcap file here. ### Log File Provide the program log file here. If you do not know what to do, copy the log print on the screen and put it here. ## System architecture (Option) Give the draft of your architecture. What's your scenario, bare metal use case or using k8s, etc. ## Walkthrough (Option) What you have find or research for short. ## Additional context Add any other context about the problem here.
[Bugs] TestDeregistration does not process all incoming messages from AMF.
https://api.github.com/repos/free5gc/free5gc/issues/76/comments
4
2020-06-24T18:57:54Z
2020-12-08T06:40:26Z
https://github.com/free5gc/free5gc/issues/76
644,845,178
76
[ "free5gc", "free5gc" ]
## issue when i tried to attach multiple ues only 22 ues are attaching after giving 23 rd supi value of ue the udm is giving warning like ID is not matched and in upf segmantion fault is occuring, even after the supi value of 23rd ue is updated in database. ## To Reproduce Steps to reproduce the behavior: 1. Change config '...' 2. Code patch '...' (You can fork the project and give us the patch diff you have modified) 3. Run command '...' 4. Dump packet '...' ## Expected behavior A clear and concise description of what you expected to happen. ## Screenshots udm warning log: <img width="829" alt="i1" src="https://user-images.githubusercontent.com/66457136/85537063-42e24800-b631-11ea-959a-c6f2a71a9dfb.PNG"> upf error log: <img width="833" alt="i2" src="https://user-images.githubusercontent.com/66457136/85537657-c9972500-b631-11ea-8c8e-22ff0e1508c9.PNG"> ## Environment (please complete the following information): - free5GC Version [e.g. v3.0.1] - OS: [e.g. Ubuntu 18.04 Server] - Kernel version [e.g. 5.0.0-23-generic] - go version [e.g. 1.12.9 linux/amd64] - c compiler version (Option) [e.g. gcc version 7.3.0] ## Trace File ### Configuration File Provide your configuration here. If you don't know what to do, you can zip the `config` folder and upload the zip file here. ### PCAP File Dump the packet and provide the pcap file here. If you don't know what to do, you can use `sudo tcpdump -i any -w free5gc.pcap` before you run the bug reproduce. After that, upload the free5gc.pcap file here. ### Log File Provide the program log file here. If you do not know what to do, copy the log print on the screen and put it here. ## System architecture (Option) Give the draft of your architecture. What's your scenario, bare metal use case or using k8s, etc. ## Walkthrough (Option) What you have find or research for short. ## Additional context Add any other context about the problem here.
[Bugs] max no.of ues supported by free5gc
https://api.github.com/repos/free5gc/free5gc/issues/75/comments
5
2020-06-24T10:17:22Z
2023-07-21T07:17:07Z
https://github.com/free5gc/free5gc/issues/75
644,496,755
75