Blocking ads when thetering

Everything about using the stand-alone Adblock Plus app on Android

Blocking ads when thetering

Postby Croatoan2323 » Sun Feb 14, 2016 10:37 pm

Is it possible to block ads for connected users when wifi thetering?
Croatoan2323
 
Posts: 3
Joined: Thu Feb 11, 2016 2:36 am

Re: Blocking ads when thetering

Postby rach » Thu Feb 18, 2016 1:01 pm

Hey Croatoan2323!

Thanks for reaching out to us.
Thethering on Android uses the same mechanism as we use to register our proxy (on a rooted phone), which then effectively overwrites our proxy registration.
Therefore it's not possible to block ads over wifi tethering

Let us know in case you have any other question.
rach
ABP Community Manager
 
Posts: 310
Joined: Tue Nov 17, 2015 11:05 am

Re: Blocking ads when thetering

Postby Croatoan2323 » Thu Feb 18, 2016 10:31 pm

What about rooting and blocking at host level?
Croatoan2323
 
Posts: 3
Joined: Thu Feb 11, 2016 2:36 am

Re: Blocking ads when thetering

Postby rjeschke » Fri Feb 19, 2016 1:49 pm

What you do mean with 'rooting and blocking at host level'?

There are basically two ways Adblock Plus for Android can be set up as a proxy:

  • Via setting the proxy manually on a specific WiFi connection. This then only blocks ads via Wifi
  • Via IPTABLES on a rooted phone. This creates a redirect that re-routes all outgoing traffic on port 80 to our proxy. This then blocks ads on mobile data and WiFi

When you're using WiFi tethering you don't have any other option than using a rooted phone, but this doesn't help you here.

Android also uses IPTABLES to create a redirect to route all incoming, tethered traffic via WiFi to the mobile data connection. As this redirect
is more specific than the one we used, it basically overrides our rule and routes all traffic directly to the mobile data connection, bypassing
our proxy.

This is why you can not block ads via WiFi tethering.
rjeschke
ABP Developer
 
Posts: 4
Joined: Tue Mar 04, 2014 1:25 pm

Re: Blocking ads when thetering

Postby lewisje » Fri Feb 19, 2016 4:31 pm

I think the OP was asking about using the HOSTS file, which is doable but outside the scope of this forum.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
lewisje
 
Posts: 2744
Joined: Mon Jun 14, 2010 12:07 pm

Re: Blocking ads when thetering

Postby Croatoan2323 » Sun Feb 21, 2016 9:29 pm

I was thinking is it possible to block ads while thetering with ABP at root level :) It looks like it's not possible.
Croatoan2323
 
Posts: 3
Joined: Thu Feb 11, 2016 2:36 am


Return to Adblock Plus for Android support

Who is online

Users browsing this forum: No registered users and 1 guest