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

SquidGuard gives errors on blacklist files even when not in use

Scheduled Pinned Locked Moved pfSense Packages
5 Posts 3 Posters 9.2k 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.
  • 0
    0tt0
    last edited by Mar 18, 2009, 9:48 PM

    Hi,

    I guess this is addressed somewhere but I didn't find a dead on match so..

    When I try to enable squidGuard it doesn't start and prompts:

    _The following input errors were detected:

    * (B1) BLACKLIST 'ads' error: file '/var/db/squidGuard/ads' not found
        * (B1) BLACKLIST 'aggressive' error: file '/var/db/squidGuard/aggressive' not found
        * (B1) BLACKLIST 'audio-video' error: file '/var/db/squidGuard/audio-video' not found
        * (B1) BLACKLIST 'drugs' error: file '/var/db/squidGuard/drugs' not found
        * (B1) BLACKLIST 'gambling' error: file '/var/db/squidGuard/gambling' not found
        * (B1) BLACKLIST 'hacking' error: file '/var/db/squidGuard/hacking' not found
        * (B1) BLACKLIST 'mail' error: file '/var/db/squidGuard/mail' not found
        * (B1) BLACKLIST 'porn' error: file '/var/db/squidGuard/porn' not found
        * (B1) BLACKLIST 'proxy' error: file '/var/db/squidGuard/proxy' not found
        * (B1) BLACKLIST 'violence' error: file '/var/db/squidGuard/violence' not found
        * (B1) BLACKLIST 'warez' error: file '/var/db/squidGuard/warez' not found_

    This is prompted even though the check box for enabling squidGuard on General settings tab is NOT checked (=hence one would think it didn't care about any blacklists in place or not).

    So, do I have to put blacklist files in there even though I'm note using them?

    TIA,

    1 Reply Last reply Reply Quote 0
    • U
      undertakingyou
      last edited by Mar 18, 2009, 10:00 PM

      On your Squid "Proxy Server: General Settings" page there is a box that says "Custom Options". In that box what does it say?
      For instance mine says:
      "redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf;redirector_bypass on;redirect_children 3"
      If there is anything in there delete it and squidGuard for sure won't be called.

      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by Mar 18, 2009, 10:11 PM

        Otto, probably first you configure SG on inplaced blacklist, and after download other blacklist ?
        You must go to Default and to the each ACL and reconfigure and save (then Apply).

        • If you change blacklist type(source) to other, you must check all Acl's - Becose selected Dest rules already deleted and replaced by new dest-rules from new blacklist.

        ps This is one, why i can't add 'autoupdate blacklist'.

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • 0
          0tt0
          last edited by Mar 19, 2009, 12:35 AM

          @undertakingyou:

          On your Squid "Proxy Server: General Settings" page there is a box that says "Custom Options". In that box what does it say?
          For instance mine says:
          "redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf;redirector_bypass on;redirect_children 3"
          If there is anything in there delete it and squidGuard for sure won't be called.

          It looked like the contents of that box is added and removed dynamically when I enable squidGuard. As it should be I suppose.
          I did try to use squidguard initially to filter only a few domains added manually under 'destinations'.

          1 Reply Last reply Reply Quote 0
          • 0
            0tt0
            last edited by Mar 19, 2009, 12:43 AM Mar 19, 2009, 12:40 AM

            @dvserg:

            Otto, probably first you configure SG on inplaced blacklist, and after download other blacklist ?
            You must go to Default and to the each ACL and reconfigure and save (then Apply).

            • If you change blacklist type(source) to other, you must check all Acl's - Becose selected Dest rules already deleted and replaced by new dest-rules from new blacklist.

            ps This is one, why i can't add 'autoupdate blacklist'.

            Ok then… I'll have to do some more testing it seems. I have tested adding the blacklist from 'shalla' and loading that and ticking the 'use blacklist' box made the previous errors go away. I did however initially not want the blacklist feature to be used - I tried to add domain to be filtered manuall - but maybe I misunderstodd something.

            I have tested 2 different blacklists and tried to re-save default and ACL but I cannot get the service to start now. I see no errors though.
            I'll try to read up on links provided in other threads then...

            Thanks,

            1 Reply Last reply Reply Quote 0
            1 out of 5
            • First post
              1/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received