View: 31686|Reply: 10

Hardware Adblocker

[Copy link]

1

threads

4

posts

22

credits

Novice

Rank: 1

credits
22
Published in 2016-3-31 15:13:16 | Show all floors |Read mode
We all know we watch things online that we shouldnt, and we all hate those annouting pop-up pages that try to advertise thigns that are no interest just so these sites can make money or Infect us with malware. Alot of people play games on their phones these days and generally use the free game rather than the paid for game which causes pop-up screens with adds shouwing up in them.
Myself included have tried the various AdBlockers you can download and use, but they tend to be prety rubbish for the most part and with another application on your computer/phone/device it is just another thing to run that is taking away from our processing power (small as it might be)

What im looking to do is create or adapt a bit of software that will turn the Orange PI into a Hardware AdBlocker.

What happens with this is that with the PI connected to the network (preferably via cable into the router) it will handly all requests within the network and filter out anything it identifies as an Advert preventing the call from being requested which will prevent the add from being loaded.

In theory not only will this prevent the add from being loaded but should also help to improve Network and Internet sleep by requesting less information that needs to be rendered. It will act as a sort of Firewall, but without being a firewall.
Single choicepoll, A total of people voted
Your usergroup does not have voting rights
Published in 2016-3-31 15:51:42 | Show all floors
You have two options:
- use OrangePi as a router (with openwrt) and then filter the ads on the router (using dnsmasq, or iptables), but a better option is to just do it on the router.
- use OrangePi as a http-proxy, but then you have to configure all clients (desktop browser, android browers etc.) web-traffic through the OrangePi proxy.
Orange PI PC
Reply

Use magic report

1

threads

4

posts

22

credits

Novice

Rank: 1

credits
22
 Author| Published in 2016-3-31 18:20:36 | Show all floors
What im planning is essentially a DNS server that will prevent requests from being sent for the adds, and as a result prevent things being loaded on the pages or where ever they are mean to show..
something like http://www.alternate-dns.com/ but a local hardware option. this will prevent the hassle of having to install things on devices and should speed up connection and internet.
yes you would have to configure the various devices you own or that connect but that shouldn't be a major issue. and i will of course provide a full guide on how to do it if i get it working right.

This wont be a proxy so nothing more than an ip address should need to be set for the Server and the same for the router.

This is at the moment just a concept but is based on a later more complex network idea where the router does the routing and various servers handle what ever they are designed to handle, and once i get my hands on a pi (at some stage) i will be able to see if this works properly..
Reply

Use magic report

Published in 2016-3-31 21:02:16 | Show all floors
So, you neeed:
1. DNS server on OrangePi (install openwrt + dnsmasq)
more info:
https://forum.openwrt.org/viewtopic.php?id=35023

2. And also you have to change DNS server on every client in your LAN.
Orange PI PC
Reply

Use magic report

1

threads

4

posts

22

credits

Novice

Rank: 1

credits
22
 Author| Published in 2016-3-31 23:39:04 | Show all floors
but will a standard DNS server thats on the router block content ? this will block content and allow the user to block additional content
Reply

Use magic report

1

threads

4

posts

22

credits

Novice

Rank: 1

credits
22
 Author| Published in 2016-4-1 16:02:01 | Show all floors
what do you mean, the OPi sits inside or outside the network connected to the router?  and traffic goes thorough this before it hits the internet or visa versa ?it does sound interesting and could be a good route to go for this..

thanks
Reply

Use magic report

11

threads

75

posts

376

credits

Intermediate member

Rank: 3Rank: 3

credits
376
Published in 2016-5-1 04:00:21 | Show all floors
for adblocking it's enougth to edit file "hosts" of your OS. that's all what you need to do for hardware adblocking.
just add there lines like

127.0.0.1  advertistment.server1.com
127.0.0.1  spam.server2.com

and so on

example:

127.0.0.1  1ad.de
127.0.0.1  1cash.net
127.0.0.1  192.com
127.0.0.1  1992.com.112.2o7.net
127.0.0.1  18clicks.com

.. etc
in unixes/android(/macos/ios ?) it is in the /etc , in the windows in the c:/windows/system32/drivers/etc
Reply

Use magic report

0

threads

47

posts

1708

credits

Gold member

Rank: 6Rank: 6

credits
1708
Published in 2017-3-4 02:29:22 | Show all floors
Annoying advertisement - just another thing of capitalism issue.
We need to kill the main reason of advertisement
Kill the capitalism! Hello socialism!
Reply

Use magic report

3

threads

159

posts

110K

credits

Forum patriarch

Rank: 8Rank: 8

credits
12030
Published in 2017-4-4 15:30:11 | Show all floors
Edited by Tina at 2017-4-4 15:34

I do like the idea.
As the openWRT image is not usable at the moment as necessary USB software packages are not available to be downloaded (in LuCI under System/Software). Thus you cannot use the OPI as router for WAN in and LAN out (by using a USB to LAN adapter) nor it is not usable as router for mobile internet (USB tethering as WAN in and LAN out) nor with a USB modem.

It would be great to have the OPI as ad blocking router with the option to choose the tor exit node and full usb support ;)

There is a commercial project based on the banana pi called e-blocker, but it can only handle WAN in and WLAN out :/
Please click on reply when answering direct to me. That way I get a notification ;)

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
                                  Benjamin Franklin 1755
Reply

Use magic report

0

threads

7

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2017-10-18 12:12:06 | Show all floors
i have never thought about that
Reply

Use magic report

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list