Not seeing Reg Accept in the tcpdump

,

I was able to install Stage 3 free5gCore successfully. When I run the test script

./test.sh TestRegistration

I can see as per the log that UE is able to perform a successful registration.

[GIN] 2021/01/13 - 18:35:41 | 200 |      6.9498ms |       127.0.0.1 | GET      /nnrf-disc/v1/nf-instances?requester-nf-type=PCF&target-nf-type=UDR
[GIN] 2021/01/13 - 18:35:41 | 200 |     792.179µs |       127.0.0.1 | GET      /nudr-dr/v1/policy-data/ues/imsi-2089300007487/am-data
[GIN] 2021/01/13 - 18:35:41 | 201 |  288.800972ms |       127.0.0.1 | POST     /npcf-am-policy-control/v1/policies
INFO[2021-01-13T18:35:41-08:00]/home/sss/free5gc/src/amf/gmm/message/send.go:211 free5gc/src/amf/gmm/message.SendRegistrationAccept() [NAS] Send Registration Accept                AMF=Gmm
INFO[2021-01-13T18:35:41-08:00]/home/sss/free5gc/src/amf/ngap/message/send.go:340 free5gc/src/amf/ngap/message.SendInitialContextSetupRequest() [AMF] Send Initial Context Setup Request      AMF=NGAP
INFO[2021-01-13T18:35:41-08:00]/home/sss/free5gc/src/amf/ngap/handler.go:1608 free5gc/src/amf/ngap.HandleInitialContextSetupResponse() [AMF] Initial Context Setup Response          AMF=NGAP
INFO[2021-01-13T18:35:41-08:00]/home/sss/free5gc/lib/nas/nasMessage/NAS_PDUSessionEstablishmentRequest.go:70 free5gc/lib/nas/nasMessage.(*PDUSessionEstablishmentRequest).EncodePDUSessionEstablishmentRequest() Encode ExtendedProtocolConfigurationOptions in EncodePDUSessionEstablishmentRequest  NAS=message
INFO[2021-01-13T18:35:41-08:00]/home/sss/free5gc/src/amf/ngap/handler.go:180 free5gc/src/amf/ngap.HandleUplinkNasTransport() [AMF] Uplink Nas Transport                    AMF=NGAP
INFO[2021-01-13T18:35:41-08:00]/home/sss/free5gc/src/amf/gmm/handler.go:2137 free5gc/src/amf/gmm.HandleRegistrationComplete() [AMF] Handle Registration Complete            AMF=Gmm
INFO[2021-01-13T18:35:41-08:00]/home/sss/free5gc/src/amf/ngap/handler.go:180 free5gc/src/amf/ngap.HandleUplinkNasTransport() [AMF] Uplink Nas Transport                    AMF=NGAP
INFO[2021-01-13T18:35:41-08:00]/home/sss/free5gc/src/amf/gmm/handler.go:36 free5gc/src/amf/gmm.HandleULNASTransport() Handle UL NAS Transport                       AMF=Gmm
2021/01/13 18:35:41 map[$and:[map[nfType:NSSF] map[$or:[map[allowedNfTypes:AMF] map[allowedNfTypes:map[$exists:false]]]]]]
[GIN] 2021/01/13 - 18:35:41 | 200 |   19.013841ms |       127.0.0.1 | GET      /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=NSSF
INFO[2021-01-13T18:35:41-08:00] Request received - NSSelectionGet             NSSF=nsselection
[GIN] 2021

However I don’t see the Reg Accept in the NAS message in the tcpdump

tcpdump -i any -w test.pcap

.

Found a way to fix it. You will need to change the preferences in WS -

Edit > Preferences > Protocols > NAS-5GS > [select Check Box] Try to detect and decode 5G-EA0 Ciphered messages.