Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] #150

Open
huahuaLover opened this issue Dec 16, 2024 · 1 comment
Open

[FEATURE] #150

huahuaLover opened this issue Dec 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@huahuaLover
Copy link

If I want to check the logs, where should I look? Also, could you please provide the terminal results of successful execution so that I can know whether my execution is successful or not.

@huahuaLover huahuaLover added the enhancement New feature or request label Dec 16, 2024
@linouxis9
Copy link
Member

Hi @huahuaLover,
This is a sample output of working PacketRusher's logs:

INFO[0001] [GNB][NGAP] Receive PDU Session Resource Setup Request 
INFO[0001] [GNB][NGAP][UE] PDU Session was created with successful. 
INFO[0001] [GNB][NGAP][UE] PDU Session Id: 1            
INFO[0001] [GNB][NGAP][UE] NSSAI Selected --- sst: NSSAI was not selected sd: NSSAI was not selected 
INFO[0001] [GNB][NGAP][UE] PDU Session Type: ipv4       
INFO[0001] [GNB][NGAP][UE] QOS Flow Identifier: 1       
INFO[0001] [GNB][NGAP][UE] Uplink Teid: 5               
INFO[0001] [GNB][NGAP][UE] Downlink Teid: 1             
INFO[0001] [GNB][NGAP][UE] Non-Dynamic-5QI: 9           
INFO[0001] [GNB][NGAP][UE] Priority Level ARP: 2        
INFO[0001] [GNB][NGAP][UE] UPF Address: 192.168.130.10 :2152 
INFO[0001] [GNB] Initiating PDU Session Resource Setup Response 
INFO[0001] [UE][NAS] Message with security header       
INFO[0001] [UE][NAS] Message with integrity and ciphered 
INFO[0001] [UE][NAS] successful NAS CIPHERING           
INFO[0001] [UE][NAS] successful NAS MAC verification    
INFO[0001] [UE][NAS] Receive DL NAS Transport           
INFO[0001] [UE][NAS] Receiving PDU Session Establishment Accept 
INFO[0001] [UE][NAS] PDU session QoS RULES: [1 0 6 49 49 1 1 255 1] 
INFO[0001] [UE][NAS] PDU session DNN: default.mnc001.mcc001.gprs 
INFO[0001] [UE][NAS] PDU session NSSAI -- sst: 1 sd: 000 
INFO[0001] [UE][NAS] PDU address received: 192.168.6.1  
DEBU[0002] [UE][GTP] Setting up GTP Forwarding Action Rule for val0000012345 1 --action 2 
DEBU[0002] [UE][GTP] Setting up GTP Forwarding Action Rule for val0000012345 2 --action 2 --hdr-creation 0 5 192.168.130.10 2152 
DEBU[0002] [UE][GTP] Setting up GTP Packet Detection Rule for val0000012345 1 --pcd 1 --hdr-rm 0 --ue-ipv4 192.168.6.1 --f-teid 1 192.168.130.20 --far-id 1 
DEBU[0002] [UE][GTP] Setting Up GTP Packet Detection Rule for val0000012345 2 --pcd 2 --ue-ipv4 192.168.6.1 --far-id 2 
INFO[0002] [UE][GTP] Interface val0000012345 has successfully been configured for UE 192.168.6.1 
INFO[0002] [UE][GTP] You can do traffic for this UE using VRF vrf0000012345, eg: 
INFO[0002] [UE][GTP] sudo ip vrf exec vrf0000012345 iperf3 -c IPERF_SERVER -p PORT -t 9000

You may follow the tutorial from Free5GC: https://free5gc.org/blog/20240110/20240110/

Your issue on the other thread, heavily remind me of an outdated gtp5g module. Make sure to remove the previous module; modprobe -r gtp5g, and compile/install/modprobe the new module.
If you are also using Free5GC's UPF, you must it to the very latest version for everything to work.

Cheers,
Valentin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants