This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

how do you capture network packets on android similar to ios?

0

With an iPad/iPod/iPhone I know you can get the network packets while using the chargeing cable connected to a mac. Is there a way to do this with and android tablet or phone?

asked 07 Dec '12, 20:10

guardian's gravatar image

guardian
1112
accept rate: 0%

edited 07 Dec '12, 20:11


One Answer:

0

If you want to capture the traffic on the android device (to see 3G traffic), that's only possible if you root the device. Then you can install tcpdump (or other similar software. search google for "android tcpdump").

If you want to capture the wifi/wlan traffic, you don't need a sniffer on the android device. You can capture the traffic with a system that is able to listen to the wifi/wlan traffic. Please check the WLAN wiki.

http://wiki.wireshark.org/CaptureSetup/WLAN

Regards
Kurt

answered 08 Dec '12, 01:35

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 08 Dec '12, 01:36

I have used tPacketCapture (https://play.google.com/store/apps/details?id=jp.co.taosoftware.android.packetcapture&hl=en) a little bit. It doesn't need root but does create a vpn service and intercepts frames there.

(08 Dec '12, 11:47) MartinM