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

    SquidGuard package TEST

    Scheduled Pinned Locked Moved Russian
    175 Posts 14 Posters 145.9k 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.
    • D
      dvserg
      last edited by

      @dhipo:

      DVSerg ..what time is it you on UTC ?? i amin Brazil -3 UTC … and you?

      Now i have 16:05 09-05-2007  ;D

      You can change self File /usr/local/pkgsquidGuard.inc
      need add line

       $sgx[FLD_OVERDESTINATIONNAME] = trim( str_replace('[', '', $sgx[FLD_OVERDESTINATIONNAME]) );
      

      LOOK this
      Line 1120 must be

                      } else {
                          $sgx[FLD_DESTINATIONNAME]     = trim( substr($pfx['dest'], 0, strpos($pfx['dest'], '[')) );
                          $sgx[FLD_OVERDESTINATIONNAME] = trim( strstr($pfx['dest'], '[') );
                          $sgx[FLD_OVERDESTINATIONNAME] = trim( str_replace(']', '', $sgx[FLD_OVERDESTINATIONNAME]) );
                          $sgx[FLD_OVERDESTINATIONNAME] = trim( str_replace('[', '', $sgx[FLD_OVERDESTINATIONNAME]) ); // add this
                      }
      

      and line 1159-1165

              } else {
                  $sgx[FLD_DESTINATIONNAME]     = trim( substr($pfx['dest'], 0, strpos($pfx['dest'], '[')) );
                  $sgx[FLD_OVERDESTINATIONNAME] = trim( strstr($pfx['dest'], '[') );
                  $sgx[FLD_OVERDESTINATIONNAME] = trim( str_replace(']', '', $sgx[FLD_OVERDESTINATIONNAME]) );
                  $sgx[FLD_OVERDESTINATIONNAME] = trim( str_replace('[', '', $sgx[FLD_OVERDESTINATIONNAME]) ); // add this
              }
      

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • D
        dhipo
        last edited by

        other suggestion

        in destinations tab

        domains , expressions and/or urls can be separeted always with a new line…

        like this

        anydomian.com
        xyz.ccom
        zzz.com
        and so on

        same to urls or expressions

        sexy
        pussy
        etc

        it's make more sense to use other imported lists

        Dhix Networks
        Everything Secure

        http://www.dhix.com.br

        1 Reply Last reply Reply Quote 0
        • D
          dvserg
          last edited by

          I did not get a correct list of the transfer line from HTML form
          I set 'space' as separator from the need
          In expressions use '|' as separator by default in squidGuard db files
          Expressions may contains any other RegularExpression string  ;)

          'sex|porno' - mean as expression 'sex OR porno'

          ps I explore this problem once more.. but the first need test all other bugs

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

          1 Reply Last reply Reply Quote 0
          • D
            dhipo
            last edited by

            new thing … is a must have thing ..... the log of squid access.log ... to the admins look and insert new blocked content

            Dhix Networks
            Everything Secure

            http://www.dhix.com.br

            1 Reply Last reply Reply Quote 0
            • D
              dhipo
              last edited by

              other little bug

              redirect field in destinations …. is no accepting any inputs ...

              Dhix Networks
              Everything Secure

              http://www.dhix.com.br

              1 Reply Last reply Reply Quote 0
              • D
                dvserg
                last edited by

                new thing ... is a must have thing ..... the log of squid access.log ... to the admins look and insert new blocked content 
                ```Aaa .. my translator can't eat this  ;D More information plz.
                
                

                i find the error ,
                when you define an time in acl , default or other acls , the config shows only that above squidguard.conf, if no time is used in acl ,,, evething is fine ,,

                It's not a bug - it's gui future. This field take all you ACL settings and store to config.xml

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • D
                  dhipo
                  last edited by

                  sorry ….  a new feature to add .... in the log TAB ... we can view squid logs  aka ... /var/squid/log/access.log.... then admins can look who is looking for new forbbiden content and include in customized lists

                  Dhix Networks
                  Everything Secure

                  http://www.dhix.com.br

                  1 Reply Last reply Reply Quote 0
                  • D
                    dvserg
                    last edited by

                    @dhipo:

                    sorry ….  a new feature to add .... in the log TAB ... we can view squid logs  aka ... /var/squid/log/access.log.... then admins can look who is looking for new forbbiden content and include in customized lists

                    Ok, i look this.
                    But exists one package - lightsquid, and develope SARG - report's for analyze squid Logs. I use lightsquid.

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

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

                      Right now I'm getting this error in the cache.log over and over again:
                      /libexec/ld-elf.so.1: Shared object "libdb3.so.3" not found, required by "(squidGuard)"

                      I also am running snapshot from 5-9-2007

                      *edit

                      After I installed freeradius, the lib error went away, I guessed this would happen since freeradius use to be missing the same library at one point when it was broken.  I thought it was fixed but then I tried just manually starting squid and it gave this error:

                      /libexec/ld-elf.so.1: Shared object "libdb3.so.3" not found, required by "squidGuard"

                      Along with that my cache.log errors changed to these:
                      2007/05/10 00:40:14| WARNING: url_rewriter #1 (FD 6) exited
                      2007/05/10 00:40:14| WARNING: url_rewriter #2 (FD 7) exited
                      2007/05/10 00:40:14| Too few url_rewriter processes are running
                      FATAL: The url_rewriter helpers are crashing too rapidly, need help!

                      Squid Cache (Version 2.6.STABLE5): Terminated abnormally.
                      CPU Usage: 0.118 seconds = 0.081 user + 0.037 sys
                      Maximum Resident Size: 7360 KB
                      Page faults with physical i/o: 0

                      you can confirm by using this command:
                      "ldd /usr/local/bin/squidGuard"
                      This is the output
                      squidGuard:
                              libdb3.so.3 => not found (0x0)
                              libc.so.6 => /lib/libc.so.6 (0x28086000)
                      it seems that this should come as part of the berkley DB

                      Resolution**
                      pkg_delete db3-3.3.11_3,1
                      pkg_add -r db3
                      cp /usr/local/lib/libdb3.so.3 /libexec/

                      Make sure squid is running if it isn't save its settings, make sure it starts
                      Hit apply on squidguard, you should see its status changed to started

                      Possible Bugs:
                      On a restart, squidGuard will decide to reinstall itself during the package resync.  This has only happened once, and I will try to figure out how to reproduce the problem

                      1 Reply Last reply Reply Quote 0
                      • D
                        dvserg
                        last edited by

                        Berkley db BUG - installator find db3 PORT on my site too (some path what and squidGuard port archive), I add this PORT.
                        Please check new installation.

                        Also updated files with bugs.

                        ps Who need lightsquid - reload new pkg_config.xml. I add them sources and config.

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

                        1 Reply Last reply Reply Quote 0
                        • D
                          dvserg
                          last edited by

                          other suggestion
                          in destinations tab
                          domains , expressions and/or urls can be separeted always with a new line...
                          like this 
                          anydomian.com
                          xyz.ccom
                          zzz.com 
                          and so on
                          same to urls or expressions
                          sexy
                          pussy
                          etc 
                          it's make more sense to use other imported lists 
                          

                          I found 'enter' code. May be you idea realisabe.  :)

                          SquidGuardDoc EN  RU Tutorial
                          Localization ru_PFSense

                          1 Reply Last reply Reply Quote 0
                          • D
                            dhipo
                            last edited by

                            i am researching now … but install package snort ... brokens the squid, squidguard...

                            on new informations i will let you know

                            Dhix Networks
                            Everything Secure

                            http://www.dhix.com.br

                            1 Reply Last reply Reply Quote 0
                            • D
                              dhipo
                              last edited by

                              do you know any mode to remove the package squidguard …. in the interface ... this stop and don't remove
                              can be done on command line ?

                              Dhix Networks
                              Everything Secure

                              http://www.dhix.com.br

                              1 Reply Last reply Reply Quote 0
                              • D
                                dhipo
                                last edited by

                                look the error

                                when i click on squid ..
                                Fatal error: Call to undefined function: squid_before_form_general() in /usr/local/www/pkg_edit.php(86) : eval()'d code on line 1

                                Dhix Networks
                                Everything Secure

                                http://www.dhix.com.br

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dvserg
                                  last edited by

                                  listing packages
                                  pkg_info

                                  delete
                                  pkg_delete squidGuard-1.2.0_1

                                  SquidGuardDoc EN  RU Tutorial
                                  Localization ru_PFSense

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    dvserg
                                    last edited by

                                    @dhipo:

                                    i am researching now … but install package snort ... brokens the squid, squidguard...

                                    on new informations i will let you know

                                    Snort … i not looking how this can work with SG
                                    This possible (but i can have bad info).
                                    I will find info about this problem

                                    SquidGuardDoc EN  RU Tutorial
                                    Localization ru_PFSense

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dhipo
                                      last edited by

                                      ok … i did pkg_delete ...but still on interface ...

                                      Dhix Networks
                                      Everything Secure

                                      http://www.dhix.com.br

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dvserg
                                        last edited by

                                        @dhipo:

                                        ok … i did pkg_delete ...but still on interface ...

                                        interface? what with interface? interface=GUI or Ethernet card?
                                        if you about squid GUI - possible resolved if you reinstall GUI

                                        SquidGuardDoc EN  RU Tutorial
                                        Localization ru_PFSense

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dhipo
                                          last edited by

                                          sorry .. on the gui …. i try reinstall and nothing happens ...

                                          Dhix Networks
                                          Everything Secure

                                          http://www.dhix.com.br

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dvserg
                                            last edited by

                                            @dhipo:

                                            sorry .. on the gui …. i try reinstall and nothing happens ...

                                            Need Full information - what the problem.

                                            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.