如何看到Android的网络数据包? [英] How to see network packets in Android?

查看:235
本文介绍了如何看到Android的网络数据包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想看看何时以及哪些应用是从我的Andr​​oid手机访问网络。我在寻找类似 Wireshark的但为Android。我发现鲨鱼根但它需要一个植根电话,我没有之一。

有没有办法看到从每个应用程序的网络流量?


解决方案

您不能监视自己的Andr​​oid手机上的网络没有根,但这里是你如何能做到这电脑(不需要root)

如果你是在Windows PC上,请尝试以下操作:


  1. 安装fiddler2

  2. 开启并转到工具>提琴手选项>连接>检查允许远程计算机连接

  3. 选项 - 取消选中充当代理系统在启动时(从您的电脑获得流量prevent你)

  4. 重新启动提琴手

  5. 转到WiFi设置>触摸你连接的WIFI网络,持续4秒>选择修改网络配置>显示高级选项>代理>手册>主机名> YOURCOMPUTER名称或IP>代理端口> 8888(或者你将其设置为fiddler2 )

  6. 享受

P.S。如果您对MAC有查尔斯,如果你是在另一个O.S.你可以搜索fiddler2 OS_NAME另类

I am looking to see when and which apps are accessing the network from my Android Phone. I am looking for something like Wireshark but for Android. I found Shark for Root but it requires a rooted phone, I dont have one.

Is there a way to see the network traffic from each app?

解决方案

You cannot monitor your own network on the android phone without root, but here is how you can do it on a computer (doesn't require root)

If you are on a windows PC, try the following:

  1. Install fiddler2
  2. Open and go to Tools > Fiddler Options > Connections > check Allow Remote computers to connect
  3. Optional - uncheck act as system proxy on startup (to prevent you from getting traffic from your pc)
  4. Restart fiddler
  5. Go to wifi settings > touch your connected wifi network for 4 seconds > choose modify network config > show advanced options > Proxy > Manual > hostname > YOURCOMPUTER NAME OR IP > Proxy port > 8888 (or what you set it to in fiddler2)
  6. Enjoy

P.S. If you are on MAC there is charles, if you are on another O.S. you can search for "fiddler2 OS_NAME alternative"

这篇关于如何看到Android的网络数据包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆