ntadmin / DGND3700v2

Custom firmware for the Netgear DGND3700v2
12 stars 4 forks source link

Improve Ad blocking to get quicker response. #12

Closed ntadmin closed 8 years ago

ntadmin commented 8 years ago

Currently, we achieve preference 3: Return an IP address that simply isn't there (ie fails slowly)

It would be better if we could move this to preferences 1 and 2:

  1. Return an IP address that, when a request goes to, returns a very light "ad blocked" html file
  2. Return an IP address that, when sent a request, fails quickly.

Once working, we need a control from the web page to turn it on and off. (Possibly not for NEWTB3 though)

ntadmin commented 8 years ago

OK, using a very simple httpd server which only ever replies with a simple html file with "Ad blokced" in the text; and using IP tables to catch the 'never used' IP we DNS ad servers to and send it back to an obscure port on the router, we can get quick, clear, response to ad requests.

Remaining issue: How to turn it on at boot?

ntadmin commented 8 years ago

Should now be done; testing

ntadmin commented 8 years ago

Works from start up.