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

Add WiFi exclusion list #15

Closed
Zero3K opened this issue Jun 23, 2017 · 14 comments
Closed

Add WiFi exclusion list #15

Zero3K opened this issue Jun 23, 2017 · 14 comments

Comments

@Zero3K
Copy link

Zero3K commented Jun 23, 2017

It would be nice if an exclusion list was added that lets users exclude certain WiFi networks from having their DNS server changed from what they originally provide.

@PeratX
Copy link
Member

PeratX commented Jun 23, 2017

Nice suggestion. Now working in progress.
Do you mean automatically disable when in certain WLAN env?
Bypass is difficult.

@Zero3K
Copy link
Author

Zero3K commented Jun 23, 2017

Yes, my request is for it to automatically disable/use the DHCP provided DNS server when connected to certain WiFi networks.

@PeratX
Copy link
Member

PeratX commented Jun 23, 2017

OK. How about this plan:

  • Add an option in settings, like DNS Test Servers
  • Add a receiver to listen when network status is changed and disable service automatically

@Zero3K
Copy link
Author

Zero3K commented Jun 23, 2017

That looks good to me as long as the option is a list of WiFi networks that will cause it to disable itself when connected to and enable itself as long as WiFi networks not in the list are connected to.

@Zero3K
Copy link
Author

Zero3K commented Jun 23, 2017

Any progress being made on the implementing of it?

@PeratX
Copy link
Member

PeratX commented Jun 24, 2017

Just started

@PeratX
Copy link
Member

PeratX commented Jun 25, 2017

I found this will increase the power consume. I uses the BroadcastReceiver to handle it.

@Zero3K
Copy link
Author

Zero3K commented Jun 25, 2017

How much more does it increase it?

@PeratX
Copy link
Member

PeratX commented Jun 25, 2017

Well, you can see a warning when using it in IntelliJ IDEA says it has been deprecated.
I haven't found a better way to do it yet.

About 5% per day. There is prototype now.

In addition, listen to network status change may make this application a "bad app" in some security apps.

@Zero3K
Copy link
Author

Zero3K commented Jun 25, 2017

Prototype where?

@PeratX
Copy link
Member

PeratX commented Jun 25, 2017

I will push it into a new branch later.

@PeratX
Copy link
Member

PeratX commented Jun 25, 2017

Now I am looking into OpenVPN for Android to see whether there is a better solution.

@PeratX PeratX mentioned this issue Jul 5, 2017
13 tasks
@PeratX PeratX closed this as completed Jul 5, 2017
@TeraDew
Copy link

TeraDew commented Jul 6, 2017

谢谢,现在我已离校,没有了ipv6环境,不能帮忙测试,非常抱歉。

@PeratX
Copy link
Member

PeratX commented Jul 6, 2017

不客气,现在已经完整支持IPv6。你可以试试这个:http://6plat.org/

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

No branches or pull requests

3 participants