Skip to content

[FR]: Develop a VPN module for intercepting network traffic. #406

@lihenggui

Description

@lihenggui

Is there an existing issue for this?

  • I have searched the existing issues

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

  1. core功能组下创建sniffer模块。这个模块可以提供创建VPN隧道的功能。
  2. 对于用户的流量,我们应该需要在data模块下创建对应的Repository来缓存数据,把应用的流量记录到本地数据库中存放下来。以供后期查询。
  3. Repository需要提供对网络流量的增删改查功能。

  1. Create the "sniffer" module under the "core" group. This module can provide the function of creating VPN tunnels.
  2. 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.
  3. The Repository needs to provide functions for adding, deleting, modifying, and querying network traffic.

Additional context

No response

Metadata

Metadata

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions