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

    SquidGuard time source??

    Scheduled Pinned Locked Moved pfSense Packages
    19 Posts 2 Posters 8.7k 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

      squidGuard_configurator.inc

      function sg_addlog($log) {
               setlocale(LC_TIME, '');
      
               global $squidguard_config;
      

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

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

        Can you elaborate?  That code means nothing to me.  I don't speak PHP.  :-)

        Chris

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

          @ciarocci:

          Can you elaborate?  That code means nothing to me.  I don't speak PHP.  :-)
          Chris

          Near time will updated.

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

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

            Update squidGuard sources. Fixed rebooting start SG bug and small blacklist fixes.

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

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

              I just installed the latest version of SG, and now it's all broken and locking up my router.  Running TOP and the SSH console shows 6 instances of SG running that are sucking up all the processor.  After a while that subsides (mostly) but SG is blocking nothing at all at this point.  I can get to any website I want.  When someone goes on the web, SG suddenly uses up all the processor again for a while.  Also, I noticed the time in the log is still 10 hours off.

              Update:

              Uninstalling Squid, and SG, then reinstalling Squid, then SG and pushing the save button in SG so it accepted the defaults seems to have fixed my locking up problem.  Then I was able to re-configure SG and it worked.  However, SG is still ignoring my times and the log is still showing 10 hours ahead of my local time.

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

                I update SG gui (XML) - reinstall and test this
                ps
                Do not press Update blacklist button more what once at 30 minute
                Script very long time to rebuild
                Near time i adding fix for kill old runing script's

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

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

                  OK, I uninstalled and reinstalled today.  After reinstalling I created a simple 1 URL destination.  I then created a simple time called Business Hours.  I went to the default tab and set the default time to Business Hours.  I then put a check next to the destination I created, and deny.  I clicked the save button, then went to the general tab and clicked Apply.  After doing that I then tried to get to the site, and I could without any problem.  I then went back, checked Deny on the overtime side, and saved then applied.  Now the site is blocked.

                  Still SG is still ignoring the times I set.  It seems like nothing has changed since I first reported the problem.  Please help.  My boss is complaining and giving me a headache.  :-)  What can I do to test further and get this issue resolved?

                  Thanks.

                  Chris

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

                    Reinstall you SG - soures updated.
                    Default page worked without times (this option now deleted)
                    You can create ACL rule with time option
                    Please check this and replay result :)
                    I tested - this worked for me (only check you time-zone).
                    Current date-time you can view from putty cmd

                    date

                    ps Also added new SG options in ACL's - 'Not to allow IP addresses in URL'

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

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

                      I installed the new version.  Using an ACL for the site I need to be blocked at certain times still does not work.  The site is blocked 24/7 even though I have it blocked only during business hours.

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

                        Do you have SG log/config ?

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

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

                          Sent you 2 PMs with info

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

                            properly configuring the ACL solved the problem.  a small suggestion, put something in the html that checks for required info, or at least a warning saying a particular entry is required.  it would help newbs like myself when trying to configure things.

                            thanks again.

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

                              This will is added in. Last time very many was changed.

                              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.