SquidGuard – URL filtering

SquidGuard is one of very well known URL filtering solutions. Paired together with some good URL/domain list is very powerful and fast solution.

SquidGuard installation is very simple and well described on internet.

Example squidGuard.conf  could look like:

By default config does not include the dest sections.

To generate one as no other list/script could be easily found, below was quickly written:

The minor problem with the script is that it generates incorrect lines generating error at SqudiGuard level for parent folders with subcategories. But you’ll need to run this script once only. Should one find better way to get it done, let me know pls.

One of well known, updated and free to use for private purpose is Shalla list.

Automated list update process could be described with below. Please note to not run it more often than every 24h as per request from Shalla guys as the list is not updated more often.

Script can be then linked to /etc/cron.daily  folder:

Links:
  1. http://terminal28.com/how-to-install-and-configure-squid-proxy-server-clamav-squidclamav-c-icap-server-debian-linux/
  2. https://calomel.org/squid_adservers.html
  3. http://www.kernel-panic.it/openbsd/proxy/proxy6.html
  4. https://help.ubuntu.com/community/SquidGuard
  5. https://www.cyberciti.biz/faq/squidguard-web-filter-block-websites/
  6. http://wiki.squid-cache.org/ConfigExamples/ContentAdaptation/C-ICAP
  7. http://dansguardian.org/
  8. http://thejimmahknows.com/network-adblocking-using-squid-squidguard-and-iptables/?doing_wp_cron=1492274530.4266140460968017578125
  9. https://forum.pfsense.org/index.php?topic=72528.0
  10. https://github.com/diladele/docker-websafety
  11. http://www.squidguard.org/Doc/extended.html
  12. http://www.tecmint.com/configure-squidguard-for-squid-proxy/
  13. http://adzapper.sourceforge.net/

Leave a Reply

Your email address will not be published. Required fields are marked *