Home > Mobile >  Tcpdump, how to use the version of the android 7.0
Tcpdump, how to use the version of the android 7.0

Time:02-03

I have downloaded the android tcpdump command
Has been the root of the machine and remount commands
Determine the system partition can read and write
The adb shell push tcpdump/system/bin
Msm8953_64:/system/bin # ls tcpdump
Tcpdump
Msm8953_64:/system/bin #

130 | msm8953_64:/storage/emulated/0/test # tcpdump - D
1. Dummy0
2. Rmnet_ipa0
3. Rmnet_data0
4. Rmnet_data7
5. Lo
Msm8953_64:/storage/emulated/0/test #

Tcpdump caught unsuccessful
Msm8953_64:/storage/emulated/0/test # tcpdump -i any - 10 m - w. s 0 - W/the capture the pcap
Tcpdump: any: No to device exists
(SIOCGIFHWADDR: No to device)
1 | msm8953_64:/storage/emulated/0/test # tcpdump -i any - w./capture. Pcap
Tcpdump: any: No to device exists
(SIOCGIFHWADDR: No to device)
1 | msm8953_64:/storage/emulated/0/test #

The great spirit guide, please, thank you thank you

CodePudding user response:

1 | msm8953_64:/storage/emulated/0/test # tcpdump -i rmnet_data0 - p - vv - s 0 - w the capture. Pcap
Tcpdump: listening on rmnet_data0, link -type LINUX_SLL (Linux cooked), capture the size of 65535 bytes
Got 1
Got 1
Got 1

Tcpdump, pcap_loop: cooked - mode frame doesn 't have room for SSL header
1 packets captured
2 packets received by the filter
0 packets dropped by the kernel
1 | msm8953_64:/storage/emulated/0/test #
1 | msm8953_64:/storage/emulated/0/test #
1 | msm8953_64:/storage/emulated/0/test #
1 | msm8953_64:/storage/emulated/0/test #
1 | msm8953_64:/storage/emulated/0/test #

CodePudding user response:

I want to have been caught, why tcpdump, pcap_loop: cooked - mode frame doesn 't have room for SSL header