Open Nementon opened 5 years ago
Hello!
Thank you for your interest in QCSuper. QCSuper is normally able to receive both 3G layer 3 packets (delivered with WCDMA_SIGNALLING_MESSAGE
) and 3G NAS payloads, which are embedded into layer 3 packets (delivered with LOG_UMTS_NAS_OTA_MESSAGE_LOG_PACKET_C
).
It seems that your baseband is communicating NAS payloads in a way that is understood by QCSuper, but that it is not the case with layer 3 packets, or it is delivering these using another log type than WCDMA_SIGNALLING_MESSAGE
which may be not parsed yet.
If you wish to help us troubleshooting this, could you please perform a raw capture of the Diag logs sent to the modem (through running ./qcsuper.py --adb --dlf-dump /tmp/your_output_file.dlf
), and send the produced .DLF file at mmr at p1sec dot com? Feel free to perform a few actions (e.g switching on/off plane mode, generating data traffic, etc.) and wait a bit while performing the capture. Thank you!
I noted that the same issue may have been reported in #10.
Regards,
Hi p1-mmr! Did this issue get resolved?
I have the same issue that I am not able to capture any traffic with the option --include-ip-traffic.
I have tested on a Samsung Galaxy S5 and Samsung Galaxy Note 4 with the same result.
What type of debug logs can I provide to you so that you are able to investigate the issue?
Thanks!
Context
Xiaomi Mi Note 3 (Qualcomm Snapdragon 660), connected on 3G network for CS (CS fallback) and 4G for PS. Only one SIM activated.
Issue
On running "PCAP dump" or "Wireshark-Live" on QCsuper, no PCAP traffic is generated despite I can see some "Diag" response from the debug logs when I initiate a call.
python qcsuper.py --adb -v --wireshark-live --reassemble-sibs --decrypt-nas --include-ip-traffic
python qcsuper.py --adb -v --pcap-dump ran.pcap
I've made some investigations and discovered that:
LOG_UMTS_NAS_OTA_MESSAGE_LOG_PACKET_C
and enter in the following condition: https://github.com/P1sec/QCSuper/blob/45e0c5b7397bc2f1c3d27a64f39e0d35924eea80/modules/pcap_dump.py#L252-L256But:
current_rat
value isNone
return
statement (I'm connected in 3G and not in 2g), QCSuper is able to properly decode the received packets and thus I'm able to generate some PCAP traces.