Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Ad filtering: in Squid or in Squidguard

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mr. Jingles
      last edited by

      G'evening fine people fans of the finest firewall in the world  ;D

      My brain is sort of going into spontaneous hibernation whenever I think about my problem  :-X

      So I was hoping somebody would be willing to help me out with this:

      Currently I am using Squid 2.7 to filter ads, following this:

      http://forum.pfsense.org/index.php/topic,68575.msg375305.html#msg375305

      This works very well. I even made a script that automatically updates the ad block list, so I always have the latest acl's for squid.

      Now, somewhere in this fine forum I've read that Squidguard would actually be a better program, performance wise, to do the add filtering (I tried Dansguardian but removed it, as every so many hours I had to stop and restart it).

      But I have this problem. The Squid has this:

      
      ## disable ads ( http://pgl.yoyo.org/adservers/ );
      acl ads dstdom_regex "/etc/squid/ad_block.txt";
      http_access deny ads;
      #deny_info TCP_RESET ads;
      

      And the /etc/squid/ad_block.txt is updated automatically via the cron script.

      But in the Sguidguard GUI there is no option to enter this data. I can copy and paste in the list from yoyo.org manually, but then I need to do that manually every day. What I would like is the same as Squid is configured now, of course: the cron automatically updating the list, and the Sguidguard using it.

      So is there a config file I have to edit in the CLI, and will it not be overwritten when I change configuration in the GUI (I know Squid does that).

      And finally, is it possible to have both Shallalist.de (the blocklist URL in the GUI) as well as the list of yoyo.org working together in squidguard?

      Otherwise, I think I would need to keep my current setup: have Squid do the yoyo.org-list, and on top of that have Squidguard do the shallalist. Provided that works, of course.

      Now you understand why my brain gets into spontaneous hibernation  ;D ;D ;D

      Thank you for any replies,

      Bye,

      6 and a half billion people know that they are stupid, agressive, lower life forms.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.