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

    SquidGuard not blocking Target Category

    Cache/Proxy
    1
    1
    388
    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.
    • R
      rsaanon
      last edited by

      I am trying to block certain search engines, but SquidGuard doesn't block it for some reason.

      Here are the relating config info from the SquidGuard config file:

      # Restricted Search Engines
      dest SearchEngines {
      	domainlist SearchEngines/domains
      	redirect http://192.168.100.10:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
      	log block.log
      }
      
      acl  {
      	customACL  {
      		pass !SearchEngines !BlockedGameSites !BlockedSites !AdSites !PornSites !NonUSGoogle FileExtensions all
      		redirect http://192.168.100.10:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
      		log block.log
      	}
      
      

      The Target Category SearchEngines have contains the following domains:

      yahoo.com www.search.yahoo.com www.yahoo.com www.ask.com www.search.aol.com www.wow.com www.webcrawler.com www.mywebsearch.com www.infospace.com www.info.com www.duckduckgo.com www.contenko.com www.dogpile.com www.alhea.com www.ixquick.com searchencrypt.com
      

      Even with the configuration defined above, I am able to get to yahoo.com, for example.  There are no block entries in the block.log file.

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