Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
lihenggui opened this issue Oct 11, 2023 · 0 comments · May be fixed by #878
Open
1 task done

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

lihenggui opened this issue Oct 11, 2023 · 0 comments · May be fixed by #878

Comments

@lihenggui
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants