Code Monkey home page Code Monkey logo

Comments (7)

dguido avatar dguido commented on July 4, 2024

One employee suggested using Privoxy as a local proxy, only accessible after authenticating over the VPN, to strip out and block ads: https://www.privoxy.org/

It's possible to put Privoxy inline with Squid, Apache, or Nginx to act as a caching web proxy too. What do you think about this as a solution as compared to a local DNS resolver?

If we use a proxy, rather than a local DNS resolver, this would give users the ability to "opt-in" to ad blocking and compression. If they don't use the proxy in their configuration, then all of their traffic will pass through the VPN untouched. If they do use the proxy, then they get the ad blocking, compression, and caching features.

from algo.

jackivanov avatar jackivanov commented on July 4, 2024

Openwrt has excellent adblock package - https://gist.github.com/teffalump/7227752
I can use their URLs with lists of AD sites and implement such solution in our system

from algo.

dguido avatar dguido commented on July 4, 2024

I reviewed our available options and I think the best strategy is to setup an HTTP proxy with Privoxy. Later, we can ship a local certificate authority to the client to intercept HTTPS.

Pros

  • Able to inspect page contents for ads and other junk
  • Users can turn on and off the proxy while retaining access to the VPN
  • Able to add other proxies inline, for example a caching web proxy w/ nginx
  • Privoxy comes with its own blocklists

Cons

  • Greater memory and CPU usage
  • No ability to inspect HTTPS until we ship a local certificate authority
  • Extra configuration required by the client to turn on the proxy

from algo.

jackivanov avatar jackivanov commented on July 4, 2024

Also we can provide a PAC script, how do you think?

from algo.

dguido avatar dguido commented on July 4, 2024

Sure, that would be helpful.

from algo.

jackivanov avatar jackivanov commented on July 4, 2024

Also, I would like to suggest to use the DNS based ad blocking system, because It will work with https and clients don't need to configure proxy settings in their browsers

from algo.

dguido avatar dguido commented on July 4, 2024

Can you create the playbook for dns-based ad blocking, then make it optional to install it? Allow the user to select yes or no during setup.

from algo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.