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

[建议]分应用流量控制 #95

Closed
BuSheTeam opened this issue Dec 26, 2018 · 7 comments
Closed

[建议]分应用流量控制 #95

BuSheTeam opened this issue Dec 26, 2018 · 7 comments
Assignees

Comments

@BuSheTeam
Copy link

为什么不试着去搞个分应用控制呢?
比如某个应用(的流量)走 DNS Server 而某个应用不走...

@PeratX
Copy link
Member

PeratX commented Dec 27, 2018

很好的提议,但是面临高考瑟瑟发抖

@Yi-Frank
Copy link
Contributor

@PeratX 大大我先试试呗....vpnserver流量分开应该改的是这里嘛?

DaedalusVpnService.java line 234

public void run() {
        try {
            Builder builder = new Builder()
                    .setSession("Daedalus")
                    .setConfigureIntent(PendingIntent.getActivity(this, 0,
                            new Intent(this, MainActivity.class).putExtra(MainActivity.LAUNCH_FRAGMENT, MainActivity.FRAGMENT_SETTINGS),
                            PendingIntent.FLAG_ONE_SHOT));
            String format = null;

@BuSheTeam
Copy link
Author

@Yi-Frank Emmm...

@PeratX
Copy link
Member

PeratX commented Jan 1, 2019

@PeratX 大大我先试试呗....vpnserver流量分开应该改的是这里嘛?

DaedalusVpnService.java line 234

public void run() {
        try {
            Builder builder = new Builder()
                    .setSession("Daedalus")
                    .setConfigureIntent(PendingIntent.getActivity(this, 0,
                            new Intent(this, MainActivity.class).putExtra(MainActivity.LAUNCH_FRAGMENT, MainActivity.FRAGMENT_SETTINGS),
                            PendingIntent.FLAG_ONE_SHOT));
            String format = null;

建议看官方文档,我是实在没时间做更新
https://developer.android.com/reference/android/net/VpnService

@q1534919606
Copy link

大哥 依赖库哪里下载 用什么软件运行

@PeratX
Copy link
Member

PeratX commented Jan 7, 2019

推荐Android Studio,安装好Android SDK之后用Gradle构建

@PeratX PeratX mentioned this issue Jan 26, 2019
13 tasks
@PeratX
Copy link
Member

PeratX commented Mar 23, 2019

@Rsplwe 已经编写完成

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

No branches or pull requests

5 participants