- на устройстве должен быть root
- качаем tcpdump https://www.androidtcpdump.com/android-tcpdump/downloads
- копируем /system/xbin/
- даем права chmod 777 system/xbin/tcpdump
tcpdump -i any -s 0 -w /sdcard/capture.pcap
Per aspera ad astra.
# tcpdump -D 1.tun0 [Up, Running] 2.rmnet_usb0 [Up, Running] 3.any (Pseudo-device that captures on all interfaces) [Up, Running] 4.lo [Up, Running, Loopback] 5.p2p0 [Up] 6.wlan0 [Up] 7.nflog (Linux netfilter log (NFLOG) interface) 8.nfqueue (Linux netfilter queue (NFQUEUE) interface) 9.usbmon1 (USB bus number 1)
tcpdump -i any -s 0 -w /sdcard/capture.pcap
# dpkg --add-architecture i386
# apt-get update