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

SquidGuard Default Blacklist SafeSearch settings and Shallalist

Scheduled Pinned Locked Moved pfSense Packages
39 Posts 6 Posters 40.8k 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.
  • J
    jsg
    last edited by Feb 3, 2009, 4:34 PM

    Interesting. I have click on your 'test' weblink and I got the following (see picture).
    So there is clearly something wrong with my set up then…

    yahho_safe.png
    yahho_safe.png_thumb

    1 Reply Last reply Reply Quote 0
    • B
      BobFather
      last edited by Feb 24, 2009, 9:32 PM

      I have been out for a while.
      Just getting back in to see what has happened.

      dvserg,
      Is this info still current, or do I need something else?

      • download 'http://diskatel.narod.ru/pfSense/packages/squidguard_safesearch.zip'
      • unpack to '/usr/local/pkg'
      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by Feb 25, 2009, 7:26 AM

        @BobFather:

        I have been out for a while.
        Just getting back in to see what has happened.

        dvserg,
        Is this info still current, or do I need something else?

        • download 'http://diskatel.narod.ru/pfSense/packages/squidguard_safesearch.zip'
        • unpack to '/usr/local/pkg'

        Not actual..

        Safesearch already built into the squidGuard. Reinstall you package.

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • B
          BobFather
          last edited by Feb 25, 2009, 11:05 PM Feb 25, 2009, 11:04 PM

          Reloaded the package and the safesearch rewrite option shows up.

          The squidguard.config file ends with:

          rew safesearch {
          s@(google../search?.q=.)@\1&safe=active@i
          s@(google..
          /images.q=.)@\1&safe=active@i
          s@(google../groups.q=.)@\1&safe=active@i
          s@(google..
          /news.q=.)@\1&safe=active@i
          s@(yandex../yandsearch?.text=.)@\1&fyandex=1@i
          s@(search.yahoo..
          /search.p=.)@\1&vm=r@i
          s@(search.live../.q=.)@\1&adlt=strict@i
          s@(search.msn..
          /.q=.)@\1&adlt=strict@i
          log block.log
          }

          acl {

          default {
          pass !blk_BL_adv !blk_BL_aggressive !blk_BL_dating !blk_BL_drugs !blk_BL_gamble !blk_BL_hacking !blk_BL_models !blk_BL_movies !blk_BL_porn !blk_BL_sex_lingerie !blk_BL_spyware !blk_BL_violence !blk_BL_warez !Porn_Filter all
          redirect http://192.168.2.1:81/sgerror.php?url=403…
          rewrite safesearch
          log block.log
          }
          }

          I then tested Google, Yahoo and MSN.
          Yahoo is the only one that is rewriting and actually blocking.
          To test this, for Google I added &safe=active, for msn I added &adlt=strict, to the URL's myslef.
          This worked, so not sure why the rewrite rule isn't working.

          If you need any more info from me let me know.   
          Search word I used was "porno".

          Thanks for all the help.
          Bob

          1 Reply Last reply Reply Quote 0
          • B
            BobFather
            last edited by Feb 26, 2009, 9:33 PM

            I did some checking and possibly the:

            google..*/

            might work as:

            google…/

            Don't know how to change the Config manually or would test myself.

            Don't have any ideas on the MSN search.

            1 Reply Last reply Reply Quote 0
            • B
              BobFather
              last edited by Mar 4, 2009, 5:08 PM

              dvserg,

              Do you know if the bug in pfSense causing it to crash when the safe search rules were put in manuelly is fixed?
              If it is, I will try writing the rules there to test and figure out what is going on.
              Just don't want to crash and reload right now.

              Thanks

              1 Reply Last reply Reply Quote 0
              • D
                dvserg
                last edited by Mar 4, 2009, 6:54 PM Mar 4, 2009, 6:52 PM

                @BobFather:

                dvserg,

                Do you know if the bug in pfSense causing it to crash when the safe search rules were put in manuelly is fixed?
                If it is, I will try writing the rules there to test and figure out what is going on.
                Just don't want to crash and reload right now.
                Thanks

                About bug - i sent bugreport and received info what in next version pfSense this bug will fixed.
                In my pfSense's safesearch work good (google/msn..)
                'google../' - is a regular expression, what mean 'google./'

                You can change /usr/local/pkg/squidguard.inc for you tests.

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • B
                  BobFather
                  last edited by Mar 12, 2009, 8:02 PM

                  @dvserg:

                  @BobFather:

                  dvserg,

                  Do you know if the bug in pfSense causing it to crash when the safe search rules were put in manuelly is fixed?
                  If it is, I will try writing the rules there to test and figure out what is going on.
                  Just don't want to crash and reload right now.
                  Thanks

                  About bug - i sent bugreport and received info what in next version pfSense this bug will fixed.
                  In my pfSense's safesearch work good (google/msn..)
                  'google../' - is a regular expression, what mean 'google./'

                  You can change /usr/local/pkg/squidguard.inc for you tests.

                  I am not sure about the 'google…/' in place of the 'google..*/'
                  This is just something I found searching the web for SquidGuard Safe Search ReWrite Rules.  (not specifically pfSense package).

                  Thanks for the update on the pfSense Bug.  I will watch for the next version and update right away.

                  1 Reply Last reply Reply Quote 0
                  • B
                    boipie01
                    last edited by Jun 23, 2009, 7:16 PM

                    Is bing safesearch supported?
                    thanks

                    1 Reply Last reply Reply Quote 0
                    • D
                      dvserg
                      last edited by Jun 24, 2009, 9:56 AM

                      @boipie01:

                      Is bing safesearch supported?
                      thanks

                      No. I not found this mechanism in the Bing.

                      SquidGuardDoc EN  RU Tutorial
                      Localization ru_PFSense

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