AdguardTeam / AdguardForiOS

The most advanced ad blocker for iOS
https://adguard.com/
GNU General Public License v3.0
1.42k stars 200 forks source link

When HTTP PROXY is Auto in wifi setting, Adguard pro is unable to block ads in any apps. Bug PRO #247

Closed lancelot-moon closed 6 years ago

lancelot-moon commented 7 years ago

@ameshkov

I am your Traditional Chinese translator. I already wrote the issue by submitting the ticket. User ID: 1425202

I think it's better to post the issue here and track if you solve it afterwards.

  1. When I set "http proxy" as auto (space in URL) from the beginning and then connect to wifi, Adguard pro is unable to block ads in any apps.
    Screenshot:

Pic name

Here, there is an ad.

Screenshot: ![Pic name](http://i.imgur.com/WUrUWwp.png)

Set "http proxy" from auto to off. Turn off wifi first and then reconnect to wifi.
Screenshot: ![Pic name](http://i.imgur.com/Ulu41ey.png)

Adguard pro can block ads in apps. There is no ad.
Screenshot: ![Pic name](http://i.imgur.com/QDaHp4j.png)

When http proxy is auto in wifi setting, Adguard pro is unable to block ads in any apps. Is this a bug? Can you solve the problem if setting http proxy? 2. Another thing. I surely didn't change my account's password on adguard.com. But I am unable to login my account. I know I can recover a new password. I am just unable to understand unless my account was hacked.
ameshkov commented 7 years ago

Hi, thank you for reporting it!

Regarding the first question, do you use a .pac-based proxy server?

I am just unable to understand unless my account was hacked.

Have you confirmed the account when you first registered it?

lancelot-moon commented 7 years ago
  1. No, I almost don't use a proxy server. I changed the http proxy setting because I tried iCareFone Pro in the past. https://appsto.re/tw/UZbJfb.i It's an ad blocking app for only wifi via a proxy server, which doesn't support mobile cellular network. It can only blocks ads in apps, not block ads on websites. A pity. Afterwards, I removed iCareFone Pro but forgot to set http proxy to off in my wifi setting. And then I found that Adguard pro is unable to block ads in any app when enabling http proxy.

  2. Yes, I also checked the account confirm email, which includes my original password. But I was unable to login when using the original password. I surely never changed my password before. For login successfully, I already requested to recover my password on 19th November. I use a new password now.

ameshkov commented 7 years ago

Afterwards, I removed iCareFone Pro but forgot to set http proxy to off in my wifi setting.

Could it be that the proxy URL still points to the .pac configuration file (or maybe the file is somehow cached)?

  1. I use a new password now.

Uh, that's bad, I may not be able to figure out what happened now:(

lancelot-moon commented 7 years ago

https://youtu.be/TrYjEzbZC6Y

For using iCareFone pro v1.0, I need to set the proxy url. Please watch the video. But I already deleted the proxy url since I removed iCareFone pro. When setting http proxy to auto for testing Adguard pro, I didn't fill in any proxy url, only "space". And then Adguard pro is unable to block ads in any apps if setting http proxy to auto.

Screenshot: ![Pic name](http://i.imgur.com/72vKY3p.png)

About the compatibility of Adguard pro and other real VPN...... Adguard pro can be compatible with those VPN which established a VPN profile (IKEv2, IPSec and L2TP) in personal VPN setting. So Adguard pro is compatible with PureVPN and Windscribe. (iOS 9 and iOS 10 only support these VPN protocols, IKEv2, IPSec and L2TP, in personal VPN setting. iOS 9 and iOS 10 started to not support PPTP in personal VPN setting.) But Adguard pro can't be compatible with those VPN which also established a VPN setting (PPTP, OpenVPN, SSTP and other VPN protocols) via a third app (Network Extension API). Interesting! iCareFone pro updated yesterday.
Screenshot: ![Pic name](http://i.imgur.com/QuMhhZz.jpg)

v1.0: It gave a proxy url for copying and pasting it in http proxy of wifi setting.
Screenshot: ![Pic name](http://i.imgur.com/KeL4Hof.png)

It only supports wifi, not mobile cellular network. It only blocks ads in apps, not ads on websites. v1.1: It established a fake VPN, not via a proxy server. It can support wifi and mobile cellular network. It can block ads in apps and ads on websites. But the result of blocking ads on websites is not perfect.
Screenshots: ![Pic name](http://i.imgur.com/Xib4lUl.jpg) ![Pic name](http://i.imgur.com/LM07b8E.jpg) ![Pic name](http://i.imgur.com/yCmWaXw.jpg)

ameshkov commented 7 years ago

But I already deleted the proxy url since I removed iCareFone pro. When setting http proxy to auto for testing Adguard pro, I didn't fill in any proxy url, only "space". And then Adguard pro is unable to block ads in any apps if setting http proxy to auto.

In my case setting an empty URL in that fields completely breaks net connection. I suppose that in your case it just reuses the previous value you set there.

It established a fake VPN, not via a proxy server.

They install a VPN profile, which contains a list of rules controlling when iOS should try to use it. Each rule looks like "access domain example.org through the VPN". VPN points to a blackhole, so instead of accessing example.org, the rule actually blocks access to that domain. This is a very simple approach, but there was nothing better until network extensions were introduced.

vozersky commented 6 years ago

obsolete