Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Monitor network activity in Android Phones

I would like to monitor network traffic of my Android Phone. I was thinking using tcpdump for Android, but I'm not sure if I have to cross-compile for the phone.

Another question is the following, If I want to monitor the trafic data for a certain application, there's any command for doing that?

like image 766
Iker Avatar asked Feb 25 '11 19:02

Iker


People also ask

How do I see all network traffic on android?

Setup pcap remote Tap on 3 dots in top right corner, then settings and then 'Install' under 'SSL Certificate' category, follow the installation dialogs and set the device password if prompted. Make sure to select 'SSH Server' as capturing mode and toggle 'Make HTTPS/TLS connections decryptable' .

How do I monitor network activities?

Access your router by entering your router's IP address into a web browser. Once you sign in, look for a Status section on the router (you might even have a Bandwidth or Network Monitor section depending on the type of router). From there, you should be able to see the IP addresses of devices connected to your network.

How can I monitor Internet traffic on my phone?

Check Data Usage From an Android Device To check your current month's usage on your Android phone, go to Settings > Connections > Data Usage. The screen shows your billing period and the amount of cellular data you've used so far. You can also set a mobile data limit on this screen.


1 Answers

TCPDUMP is one of my favourite tools for analyzing network, but if you find difficult to cross-compile tcpdump for android, I'd recomend you to use some applications from the market.

These are the applications I was talking about:

  • Shark: Is small version of wireshark for Android phones). This program will create a *.pcap and you can read the file on PC with wireshark.
  • Shark Reader : This program allows you to read the *.pcap directly in your Android phone.

Shark app works with rooted devices, so if you want to install it, be sure that you have your device already rooted.

Good luck ;)

like image 103
Martin Solac Avatar answered Sep 16 '22 11:09

Martin Solac