A network-wide web content filtering & blocking eCAP adapter for Squid. nBlock Aims to replace all sorts of privacy enhancing browser plugins like AdBlock Plus, Decentraleyes, Self-Destructing Cookies and fills the content filtering gaps that come with DNS only filters like Pi-Hole.
Please read the installation instructions on how to set up your own instance of nBlock.
In its current form nBlock should be treated as a proof of concept, though some of the base features like Adblock Plus and DNS network filtering have already been implemented. Below you can find some of the project goals and current status. This list is not complete nor final.
Client Request MOD
- DNSMASQ blocklist netfilter
- Adblock plus based request netfilters
- Rules caching
- CDN referer stripping / caching (Decentraleyes)
- Strip cookies (Self destructing cookies)
- Auto (re)routing (proxychains)
Server Response MOD
- Html page content analysis
- gZip decoding / compression
- iframe inspection (not possible in reqmod)
- Cosmetic filtering (CSS / XPath)
General
- Browser user interface (disable, add rules, remove rules, control squid settings etc)
- Block list optimizer (remove trumped rules, dupes etc)
- Landing page / user control for node-unique self signed certificates (https-bump)