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

    SquidGuard: don't log safesearch redirect

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 3 Posters 2.3k 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.
    • C
      cbrunet
      last edited by

      Hi,

      Is it possible to log blocked sites, without logging safesearch redirect in SquidGuard (pfSense 2.0RC3)? I need to know if users try to access blocked sites, but logs are filled with all the Google search queries.

      Actually, the only way I see would be to recreate by hand the safesearch list. Is there a simpler way?

      Thank you,

      Charles.

      1 Reply Last reply Reply Quote 0
      • J
        jikjik101
        last edited by

        Uncheck the Use SafeSearch engine in Services>Proxy Filter>Groups ACL.

        1 Reply Last reply Reply Quote 0
        • C
          cbrunet
          last edited by

          If I uncheck that, it would not filter requests to search engines.

          I finally manually copied all the rewrite rules for search engines into a new rewrite rule, but without checking the log option. It works like I wanted, now.

          Charles.

          1 Reply Last reply Reply Quote 0
          • J
            jikjik101
            last edited by

            You mean you want to safesearch without logging? That's what you want?

            1 Reply Last reply Reply Quote 0
            • C
              cbrunet
              last edited by

              Yes!

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                It doesn't look like there is a GUI option to do that.

                To do it manually it looks like you could hack it up by editing /usr/local/pkg/squidguard.inc and changing line 1230 where the log statement is hardcoded:

                    $res[F_LOG]         = 'on';
                

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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