free5gc / free5gc-compose

Apache License 2.0
136 stars 139 forks source link

N3IWF crash after making a successful connection to the free5gc core #80

Closed AravindkannanCT closed 8 months ago

AravindkannanCT commented 1 year ago

After disabling the IPsec tunnel in the N3IWF compose, i was trying to connect the NWu-Non3GPP-5GC UE (https://github.com/fasferraz/NWu-Non3GPP-5GC) to the N3IWF. but N3iWF container crashes immediately after a successful connection between UE and the core.

But when i have the same setup on the classical deployment, the N3IWF did not crash and i was able to access internet from the Non-3GPP UE.

AravindkannanCT commented 1 year ago

I have pasted the logs of N3IWF below :

2023-07-06T06:50:47.744792367Z [INFO][N3IWF][Main] N3IWF version: free5GC version: v3.3.0 build time: 2023-06-08T16:41:03Z commit hash: 22988ee2 commit time: 2023-06-07T05:56:10Z go version: go1.17.13 linux/amd64 2023-07-06T06:50:47.744892933Z [INFO][N3IWF][CFG] Read config from [./config/n3iwfcfg.yaml] 2023-07-06T06:50:47.746434281Z [INFO][N3IWF][Main] Log enable is set to [true] 2023-07-06T06:50:47.747282749Z [INFO][N3IWF][Main] Log level is set to [info] 2023-07-06T06:50:47.747295774Z [INFO][N3IWF][Main] Report Caller is set to [false] 2023-07-06T06:50:47.747301436Z [INFO][N3IWF][Init] Server started 2023-07-06T06:50:47.748191465Z [WARN][N3IWF][CTX] Parse PKCS8 private key failed: x509: failed to parse private key (use ParsePKCS1PrivateKey instead for this key format) 2023-07-06T06:50:47.748211828Z [INFO][N3IWF][CTX] Parse using PKCS1... 2023-07-06T06:50:47.749237409Z [WARN][N3IWF][Init] netlink.RouteAdd: file exists 2023-07-06T06:50:47.749263549Z [INFO][N3IWF][Init] Setup XFRM interface xfrmi-default 2023-07-06T06:50:47.752853271Z [INFO][N3IWF][NGAP] [N3IWF] Send NG Setup Request 2023-07-06T06:50:47.754026893Z [INFO][N3IWF][Init] NGAP service running. 2023-07-06T06:50:47.755667332Z [INFO][N3IWF][Init] NAS TCP server successfully started. 2023-07-06T06:50:47.756011969Z [INFO][N3IWF][Init] Listening NWu user plane traffic 2023-07-06T06:50:47.756383993Z [INFO][N3IWF][Init] IKE service running. 2023-07-06T06:50:47.756428920Z [INFO][N3IWF][Init] N3IWF running... 2023-07-06T06:50:47.758256550Z [INFO][N3IWF][NGAP] [N3IWF] Handle NG Setup Response 2023-07-06T06:52:14.314095410Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:14.314153778Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:14.314165538Z [INFO][N3IWF][IKE] [SecurityAssociation] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.314184241Z [INFO][N3IWF][IKE] [KeyExchange] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.314194411Z [INFO][N3IWF][IKE] [Nonce] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.314203201Z [INFO][N3IWF][IKE] [Notification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.314210701Z [INFO][N3IWF][IKE] [Notification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.314220159Z [INFO][N3IWF][IKE] Handle IKE_SA_INIT 2023-07-06T06:52:14.314274077Z [WARN][N3IWF][IKE] The Diffie-Hellman group defined in key exchange payload not matches the one in chosen proposal 2023-07-06T06:52:14.314291170Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.314305961Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.314315186Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:14.316972772Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:14.317028435Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:14.317041410Z [INFO][N3IWF][IKE] [SecurityAssociation] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.317091416Z [INFO][N3IWF][IKE] [KeyExchange] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.317128514Z [INFO][N3IWF][IKE] [Nonce] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.317144195Z [INFO][N3IWF][IKE] [Notification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.317161557Z [INFO][N3IWF][IKE] [Notification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.317171376Z [INFO][N3IWF][IKE] Handle IKE_SA_INIT 2023-07-06T06:52:14.325894896Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.325946920Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.325957997Z [INFO][N3IWF][IKE] [SecurityAssociation] marshal(): Start marshalling 2023-07-06T06:52:14.325970347Z [INFO][N3IWF][IKE] [KeyExchange] marshal(): Start marshalling 2023-07-06T06:52:14.325979599Z [INFO][N3IWF][IKE] [Nonce] marshal(): Start marshalling 2023-07-06T06:52:14.325998328Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:14.326027470Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:14.326077928Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.326094314Z [INFO][N3IWF][IKE] [Identification] marshal(): Start marshalling 2023-07-06T06:52:14.326191262Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.326200752Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.326208533Z [INFO][N3IWF][IKE] [SecurityAssociation] marshal(): Start marshalling 2023-07-06T06:52:14.326350574Z [INFO][N3IWF][IKE] [KeyExchange] marshal(): Start marshalling 2023-07-06T06:52:14.326386419Z [INFO][N3IWF][IKE] [Nonce] marshal(): Start marshalling 2023-07-06T06:52:14.326396077Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:14.326457923Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:14.330279723Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:14.330352986Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:14.330371056Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.330383242Z [INFO][N3IWF][IKE] Handle IKE_AUTH 2023-07-06T06:52:14.330396540Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.330405766Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.330473741Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.330726783Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:14.330749381Z [INFO][N3IWF][IKE] [Identification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.330759487Z [INFO][N3IWF][IKE] [Configuration] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.330771651Z [INFO][N3IWF][IKE] [SecurityAssociation] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.330788722Z [INFO][N3IWF][IKE] [TrafficSelector] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.330804203Z [INFO][N3IWF][IKE] [TrafficSelector] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.330815875Z [INFO][N3IWF][IKE] Ecoding initiator for later IKE authentication 2023-07-06T06:52:14.330827143Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.330834664Z [INFO][N3IWF][IKE] [Identification] marshal(): Start marshalling 2023-07-06T06:52:14.330871072Z [INFO][N3IWF][IKE] Parsing security association 2023-07-06T06:52:14.330883693Z [INFO][N3IWF][IKE] Received traffic selector initiator from UE 2023-07-06T06:52:14.330890494Z [INFO][N3IWF][IKE] Received traffic selector initiator from UE 2023-07-06T06:52:14.335709319Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.335762028Z [INFO][N3IWF][IKE] [Identification] marshal(): Start marshalling 2023-07-06T06:52:14.335772930Z [INFO][N3IWF][IKE] [Certificate] marshal(): Start marshalling 2023-07-06T06:52:14.335785578Z [INFO][N3IWF][IKE] [Authentication] marshal(): Start marshalling 2023-07-06T06:52:14.335796238Z [INFO][N3IWF][IKE] [EAP] marshal(): Start marshalling 2023-07-06T06:52:14.335816437Z [INFO][N3IWF][IKE] [EAP][Expanded] marshal(): Start marshalling 2023-07-06T06:52:14.335881807Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.335898447Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.335968010Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.336192952Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.336219407Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.336226615Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.340726945Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:14.340783320Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:14.340790915Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.340813501Z [INFO][N3IWF][IKE] Handle IKE_AUTH 2023-07-06T06:52:14.340826074Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.340831761Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.340837381Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.340897824Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:14.340907839Z [INFO][N3IWF][IKE] [EAP] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.340916519Z [INFO][N3IWF][IKE] [EAP][Expanded] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.340923220Z [INFO][N3IWF][IKE] EAP5G MessageID : 2 2023-07-06T06:52:14.341001138Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:14.341350455Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:14.341362032Z [INFO][N3IWF][IKE] Handle UnmarshalEAP5GDataResponse event 2023-07-06T06:52:14.341395089Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:14.341410452Z [INFO][N3IWF][NGAP] [N3IWF] Send Initial UE Message 2023-07-06T06:52:14.406743409Z [INFO][N3IWF][NGAP] [N3IWF] Handle Downlink NAS Transport 2023-07-06T06:52:14.406957346Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:14.407064357Z [INFO][N3IWF][IKE] Handle SendEAPNASMsg event 2023-07-06T06:52:14.407249295Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.407374678Z [INFO][N3IWF][IKE] [EAP] marshal(): Start marshalling 2023-07-06T06:52:14.407470550Z [INFO][N3IWF][IKE] [EAP][Expanded] marshal(): Start marshalling 2023-07-06T06:52:14.407625049Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.407761098Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.407893294Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.408019575Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.408118384Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.408262948Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.409766320Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:14.409914024Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:14.410044987Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.410206757Z [INFO][N3IWF][IKE] Handle IKE_AUTH 2023-07-06T06:52:14.410351449Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.410475745Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.410683748Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.410818565Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:14.410916257Z [INFO][N3IWF][IKE] [EAP] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.411028869Z [INFO][N3IWF][IKE] [EAP][Expanded] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:14.411139733Z [INFO][N3IWF][IKE] EAP5G MessageID : 2 2023-07-06T06:52:14.411305204Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:14.411449878Z [INFO][N3IWF][NGAP] [N3IWF] Send Uplink NAS Transport 2023-07-06T06:52:14.414810641Z [INFO][N3IWF][NGAP] [N3IWF] Handle Downlink NAS Transport 2023-07-06T06:52:14.415882063Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:14.416037027Z [INFO][N3IWF][IKE] Handle SendEAPNASMsg event 2023-07-06T06:52:14.416150967Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.416258345Z [INFO][N3IWF][IKE] [EAP] marshal(): Start marshalling 2023-07-06T06:52:14.416368837Z [INFO][N3IWF][IKE] [EAP][Expanded] marshal(): Start marshalling 2023-07-06T06:52:14.416534378Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.416695893Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.416789856Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.416936503Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.417026484Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.417129356Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.515039898Z [INFO][N3IWF][NGAP] [N3IWF] Handle UE Context Release Command 2023-07-06T06:52:14.515078750Z [WARN][N3IWF][NGAP] Cause Nas[1] 2023-07-06T06:52:14.515090700Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:14.515095770Z [INFO][N3IWF][IKE] Handle IKEDeleteRequest event 2023-07-06T06:52:14.515102431Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.515106967Z [INFO][N3IWF][IKE] [Delete] marshal(): Start marshalling 2023-07-06T06:52:14.515121553Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.515126283Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.515131578Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:14.515146078Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:14.515155883Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:14.515159571Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.724059145Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:38.724114692Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.724127012Z [INFO][N3IWF][IKE] [SecurityAssociation] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.724138521Z [INFO][N3IWF][IKE] [KeyExchange] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.724144432Z [INFO][N3IWF][IKE] [Nonce] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.724149522Z [INFO][N3IWF][IKE] [Notification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.724154138Z [INFO][N3IWF][IKE] [Notification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.724160182Z [INFO][N3IWF][IKE] Handle IKE_SA_INIT 2023-07-06T06:52:38.724167764Z [WARN][N3IWF][IKE] The Diffie-Hellman group defined in key exchange payload not matches the one in chosen proposal 2023-07-06T06:52:38.724180642Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.724185267Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.724197052Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:38.726126432Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:38.726156422Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.726166779Z [INFO][N3IWF][IKE] [SecurityAssociation] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.726174418Z [INFO][N3IWF][IKE] [KeyExchange] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.726492894Z [INFO][N3IWF][IKE] [Nonce] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.726517279Z [INFO][N3IWF][IKE] [Notification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.726523934Z [INFO][N3IWF][IKE] [Notification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.726534980Z [INFO][N3IWF][IKE] Handle IKE_SA_INIT 2023-07-06T06:52:38.733000609Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.733046440Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.733058163Z [INFO][N3IWF][IKE] [SecurityAssociation] marshal(): Start marshalling 2023-07-06T06:52:38.733069173Z [INFO][N3IWF][IKE] [KeyExchange] marshal(): Start marshalling 2023-07-06T06:52:38.733117278Z [INFO][N3IWF][IKE] [Nonce] marshal(): Start marshalling 2023-07-06T06:52:38.733141595Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:38.733160979Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:38.733244481Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.733253581Z [INFO][N3IWF][IKE] [Identification] marshal(): Start marshalling 2023-07-06T06:52:38.733302480Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.733312456Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.733329055Z [INFO][N3IWF][IKE] [SecurityAssociation] marshal(): Start marshalling 2023-07-06T06:52:38.733345213Z [INFO][N3IWF][IKE] [KeyExchange] marshal(): Start marshalling 2023-07-06T06:52:38.733350791Z [INFO][N3IWF][IKE] [Nonce] marshal(): Start marshalling 2023-07-06T06:52:38.733355592Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:38.733359963Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:38.736451480Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:38.736721911Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.736859680Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.736948750Z [INFO][N3IWF][IKE] Handle IKE_AUTH 2023-07-06T06:52:38.737067095Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.737106013Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.737158944Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.737315102Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.737384602Z [INFO][N3IWF][IKE] [Identification] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.737461894Z [INFO][N3IWF][IKE] [Configuration] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.737574132Z [INFO][N3IWF][IKE] [SecurityAssociation] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.737688321Z [INFO][N3IWF][IKE] [TrafficSelector] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.737739332Z [INFO][N3IWF][IKE] [TrafficSelector] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.737838316Z [INFO][N3IWF][IKE] Ecoding initiator for later IKE authentication 2023-07-06T06:52:38.737985859Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.738038161Z [INFO][N3IWF][IKE] [Identification] marshal(): Start marshalling 2023-07-06T06:52:38.738141540Z [INFO][N3IWF][IKE] Parsing security association 2023-07-06T06:52:38.738226423Z [INFO][N3IWF][IKE] Received traffic selector initiator from UE 2023-07-06T06:52:38.738327937Z [INFO][N3IWF][IKE] Received traffic selector initiator from UE 2023-07-06T06:52:38.741938658Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.742001930Z [INFO][N3IWF][IKE] [Identification] marshal(): Start marshalling 2023-07-06T06:52:38.742024177Z [INFO][N3IWF][IKE] [Certificate] marshal(): Start marshalling 2023-07-06T06:52:38.742072403Z [INFO][N3IWF][IKE] [Authentication] marshal(): Start marshalling 2023-07-06T06:52:38.742148826Z [INFO][N3IWF][IKE] [EAP] marshal(): Start marshalling 2023-07-06T06:52:38.742222080Z [INFO][N3IWF][IKE] [EAP][Expanded] marshal(): Start marshalling 2023-07-06T06:52:38.742272545Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.742300580Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.742318975Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.742455885Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.742537351Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.742570016Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.748508581Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:38.748614350Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.748639611Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.748668416Z [INFO][N3IWF][IKE] Handle IKE_AUTH 2023-07-06T06:52:38.748722954Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.748755224Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.748817255Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.748929663Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.749046370Z [INFO][N3IWF][IKE] [EAP] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.749081986Z [INFO][N3IWF][IKE] [EAP][Expanded] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.749102774Z [INFO][N3IWF][IKE] EAP5G MessageID : 2 2023-07-06T06:52:38.749177679Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:38.749696978Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:38.749756303Z [INFO][N3IWF][IKE] Handle UnmarshalEAP5GDataResponse event 2023-07-06T06:52:38.749820544Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:38.749938405Z [INFO][N3IWF][NGAP] [N3IWF] Send Initial UE Message 2023-07-06T06:52:38.781144167Z [INFO][N3IWF][NGAP] [N3IWF] Handle Downlink NAS Transport 2023-07-06T06:52:38.781182292Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:38.781319916Z [INFO][N3IWF][IKE] Handle SendEAPNASMsg event 2023-07-06T06:52:38.781336896Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.781511867Z [INFO][N3IWF][IKE] [EAP] marshal(): Start marshalling 2023-07-06T06:52:38.781532107Z [INFO][N3IWF][IKE] [EAP][Expanded] marshal(): Start marshalling 2023-07-06T06:52:38.781563737Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.781594044Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.781601464Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.781626721Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.781630857Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.781634542Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.783958458Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:38.784047464Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.784136030Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.784248789Z [INFO][N3IWF][IKE] Handle IKE_AUTH 2023-07-06T06:52:38.784386796Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.784483439Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.784620952Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.784789621Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.784870066Z [INFO][N3IWF][IKE] [EAP] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.784949543Z [INFO][N3IWF][IKE] [EAP][Expanded] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.785040882Z [INFO][N3IWF][IKE] EAP5G MessageID : 2 2023-07-06T06:52:38.785132416Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:38.785288893Z [INFO][N3IWF][NGAP] [N3IWF] Send Uplink NAS Transport 2023-07-06T06:52:38.798265348Z [INFO][N3IWF][NGAP] [N3IWF] Handle Downlink NAS Transport 2023-07-06T06:52:38.798797668Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:38.799135066Z [INFO][N3IWF][IKE] Handle SendEAPNASMsg event 2023-07-06T06:52:38.799306883Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.799424083Z [INFO][N3IWF][IKE] [EAP] marshal(): Start marshalling 2023-07-06T06:52:38.799460398Z [INFO][N3IWF][IKE] [EAP][Expanded] marshal(): Start marshalling 2023-07-06T06:52:38.799587080Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.799623348Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.799676901Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.799768980Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.799805554Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.799857595Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.802594674Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:38.802686802Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.802770485Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.802885755Z [INFO][N3IWF][IKE] Handle IKE_AUTH 2023-07-06T06:52:38.802980066Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.803054543Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.803129579Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.803218642Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.803298533Z [INFO][N3IWF][IKE] [EAP] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.803349799Z [INFO][N3IWF][IKE] [EAP][Expanded] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.803453430Z [INFO][N3IWF][IKE] EAP5G MessageID : 2 2023-07-06T06:52:38.803497588Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:38.803596252Z [INFO][N3IWF][NGAP] [N3IWF] Send Uplink NAS Transport 2023-07-06T06:52:38.890502821Z [INFO][N3IWF][NGAP] [N3IWF] Handle Initial Context Setup Request 2023-07-06T06:52:38.890661899Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:38.890705280Z [INFO][N3IWF][IKE] Handle SendEAPSuccessMsg event 2023-07-06T06:52:38.890792195Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.890829994Z [INFO][N3IWF][IKE] [EAP] marshal(): Start marshalling 2023-07-06T06:52:38.890877331Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.890937647Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.890975147Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.891017063Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.891042373Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.891080711Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.892087369Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:38.892136800Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.892157080Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.892176256Z [INFO][N3IWF][IKE] Handle IKE_AUTH 2023-07-06T06:52:38.892194786Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.892210622Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.892227384Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.892267317Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:38.892305449Z [INFO][N3IWF][IKE] [Authentication] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.892334491Z [INFO][N3IWF][IKE] [Configuration] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:38.892414174Z [WARN][N3IWF][IKE] Receive other type of configuration request: 3 2023-07-06T06:52:38.892436627Z [WARN][N3IWF][IKE] Receive other type of configuration request: 8 2023-07-06T06:52:38.892452944Z [WARN][N3IWF][IKE] Receive other type of configuration request: 10 2023-07-06T06:52:38.892478986Z [WARN][N3IWF][IKE] Receive other type of configuration request: 20 2023-07-06T06:52:38.892496391Z [WARN][N3IWF][IKE] Receive other type of configuration request: 21 2023-07-06T06:52:38.892546227Z [INFO][N3IWF][IKE] Inbound SPI: 4271028566, Outbound SPI: 2932631220 2023-07-06T06:52:38.892608490Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.892635949Z [INFO][N3IWF][IKE] [Authentication] marshal(): Start marshalling 2023-07-06T06:52:38.892669004Z [INFO][N3IWF][IKE] [Configuration] marshal(): Start marshalling 2023-07-06T06:52:38.892695814Z [INFO][N3IWF][IKE] [SecurityAssociation] marshal(): Start marshalling 2023-07-06T06:52:38.892735823Z [INFO][N3IWF][IKE] [TrafficSelector] marshal(): Start marshalling 2023-07-06T06:52:38.892779767Z [INFO][N3IWF][IKE] [TrafficSelector] marshal(): Start marshalling 2023-07-06T06:52:38.892804190Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:38.892836694Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:38.892868191Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.892946195Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.892983567Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.893304763Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:38.893347056Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:38.893378144Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:38.893471016Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:38.893508718Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:38.893530079Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:38.893547999Z [INFO][N3IWF][IKE] Handle GetNGAPContextResponse event 2023-07-06T06:52:38.893597736Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:38.893620942Z [INFO][N3IWF][NGAP] [N3IWF] Send Initial Context Setup Response 2023-07-06T06:52:38.906768533Z [INFO][N3IWF][NGAP] [N3IWF] Handle Downlink NAS Transport 2023-07-06T06:52:38.967196227Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:38.971104626Z [INFO][N3IWF][NGAP] [N3IWF] Send Uplink NAS Transport 2023-07-06T06:52:38.973089335Z [INFO][N3IWF][NGAP] [N3IWF] Send Uplink NAS Transport 2023-07-06T06:52:39.258147528Z [INFO][N3IWF][NGAP] [N3IWF] Handle PDU Session Resource Setup Request 2023-07-06T06:52:39.260266602Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:39.260495729Z [INFO][N3IWF][IKE] Handle CreatePDUSession event 2023-07-06T06:52:39.260733182Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:39.260881857Z [INFO][N3IWF][IKE] [SecurityAssociation] marshal(): Start marshalling 2023-07-06T06:52:39.260999394Z [INFO][N3IWF][IKE] [Nonce] marshal(): Start marshalling 2023-07-06T06:52:39.261104319Z [INFO][N3IWF][IKE] [TrafficSelector] marshal(): Start marshalling 2023-07-06T06:52:39.261278694Z [INFO][N3IWF][IKE] [TrafficSelector] marshal(): Start marshalling 2023-07-06T06:52:39.261412117Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:39.261658197Z [INFO][N3IWF][IKE] [Notification] marshal(): Start marshalling 2023-07-06T06:52:39.261793941Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:39.262002204Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:39.262118567Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:39.262359941Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:39.262505941Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:39.262618177Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:39.265265864Z [INFO][N3IWF][IKE] Decoding IKE message 2023-07-06T06:52:39.265313075Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:39.265324666Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:39.265369276Z [INFO][N3IWF][IKE] Handle CREATE_CHILD_SA 2023-07-06T06:52:39.265375761Z [WARN][N3IWF][IKE] CREATE_CHILD_SA responderSPI: 3124092601745175643 2023-07-06T06:52:39.265382519Z [INFO][N3IWF][IKE] Encoding IKE message 2023-07-06T06:52:39.265386999Z [INFO][N3IWF][IKE] Encoding IKE payloads 2023-07-06T06:52:39.265392209Z [INFO][N3IWF][IKE] [Encrypted] marshal(): Start marshalling 2023-07-06T06:52:39.265440582Z [INFO][N3IWF][IKE] Decoding IKE payloads 2023-07-06T06:52:39.265477707Z [INFO][N3IWF][IKE] [SecurityAssociation] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:39.265490981Z [INFO][N3IWF][IKE] [Nonce] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:39.265496765Z [INFO][N3IWF][IKE] [TrafficSelector] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:39.265502961Z [INFO][N3IWF][IKE] [TrafficSelector] unmarshal(): Start unmarshalling received bytes 2023-07-06T06:52:39.265521086Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:39.265533378Z [INFO][N3IWF][IKE] Handle IKE event 2023-07-06T06:52:39.265559263Z [INFO][N3IWF][IKE] Handle GetNGAPContextResponse event 2023-07-06T06:52:39.265941070Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:39.266099592Z [INFO][N3IWF][NGAP] NGAP event handle 2023-07-06T06:52:39.266211994Z [FATA][N3IWF][NGAP] panic: runtime error: index out of range [0] with length 0 goroutine 18 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x65 github.com/free5gc/n3iwf/internal/ngap/service.server.func1() /go/src/free5gc/NFs/n3iwf/internal/ngap/service/service.go:62 +0x58 panic({0x947560, 0xc00033b518}) /usr/local/go/src/runtime/panic.go:1038 +0x215 github.com/free5gc/ngap/ngapConvert.IPAddressToNgap({0xc00033b140, 0x45f55b}, {0x0, 0x200000003}) /go/pkg/mod/github.com/free5gc/ngap@v1.0.6/ngapConvert/IpAddress.go:61 +0x58c github.com/free5gc/n3iwf/internal/ngap/message.BuildPDUSessionResourceSetupResponseTransfer(0xc000152090) /go/src/free5gc/NFs/n3iwf/internal/ngap/message/build.go:1759 +0xe5 github.com/free5gc/n3iwf/internal/ngap/handler.HandleSendPDUSessionResourceSetupResponse({0xa40e40, 0xc000459380}) /go/src/free5gc/NFs/n3iwf/internal/ngap/handler/handler.go:2867 +0x5a5 github.com/free5gc/n3iwf/internal/ngap/handler.HandleEvent({0xa40e40, 0xc000459380}) /go/src/free5gc/NFs/n3iwf/internal/ngap/handler/handler.go:2671 +0xed github.com/free5gc/n3iwf/internal/ngap/service.server(0xc000097590, 0x1) /go/src/free5gc/NFs/n3iwf/internal/ngap/service/service.go:78 +0x145 created by github.com/free5gc/n3iwf/internal/ngap/service.Run /go/src/free5gc/NFs/n3iwf/internal/ngap/service/service.go:46 +0x318

andy89923 commented 8 months ago

Hello, The N3IWF has been updated. You could try out the latest version in the main branch. If there is any problem, feel free to ask at https://github.com/free5gc/free5gc.