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

SquidGuard not blocking Target Category

Scheduled Pinned Locked Moved Cache/Proxy
1 Posts 1 Posters 425 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.
  • R Offline
    rsaanon
    last edited by Apr 16, 2018, 2:38 PM

    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
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received