Is there an existing issue for this?
Describe the problem
Blocker需要实时分应用监控流量详细信息,来和hosts禁用功能互相配合。
目前来说,实现一个VPN服务,去监控应用流量,并且展示是一个可行的方案。此方案不需要Root权限,可以在各个版本中的Android中使用。
Blocker needs real-time monitoring of detailed traffic information by application, in order to cooperate with the hosts disable function.
Currently, implementing a VPN service to monitor application traffic and display it is a feasible solution. This solution does not require root permissions and can be used on various versions of Android.
Describe the solution
- 在
core功能组下创建sniffer模块。这个模块可以提供创建VPN隧道的功能。
- 对于用户的流量,我们应该需要在
data模块下创建对应的Repository来缓存数据,把应用的流量记录到本地数据库中存放下来。以供后期查询。
- Repository需要提供对网络流量的增删改查功能。
- Create the "sniffer" module under the "core" group. This module can provide the function of creating VPN tunnels.
- For user traffic, we should create a corresponding Repository under the "data" module to cache data and store application traffic records in a local database for later querying.
- The Repository needs to provide functions for adding, deleting, modifying, and querying network traffic.
Additional context
No response
Is there an existing issue for this?
Describe the problem
Blocker需要实时分应用监控流量详细信息,来和hosts禁用功能互相配合。
目前来说,实现一个VPN服务,去监控应用流量,并且展示是一个可行的方案。此方案不需要Root权限,可以在各个版本中的Android中使用。
Blocker needs real-time monitoring of detailed traffic information by application, in order to cooperate with the hosts disable function.
Currently, implementing a VPN service to monitor application traffic and display it is a feasible solution. This solution does not require root permissions and can be used on various versions of Android.
Describe the solution
core功能组下创建sniffer模块。这个模块可以提供创建VPN隧道的功能。data模块下创建对应的Repository来缓存数据,把应用的流量记录到本地数据库中存放下来。以供后期查询。Additional context
No response