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

    SquidGuard + Times

    pfSense Packages
    3
    4
    2.1k
    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.
    • F
      freebee
      last edited by

      Good day for all,
      this time is about squidGuard and times fuction.
      How this work ?
      I have two acls, I create the time in hours, giving a name for that, then, in acl, in time, selected it. in other acl, in 2nd place, is to have other time specified to work or none do the job in other hours range ?

      i created here two acls, then is specified to work 12:01-13:30, but, this acl still work in others hours not specified. It's normal ?
      thanks.

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

        Possible look ACL screenshots with comment's ?

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • P
          PJ
          last edited by

          I have a problem with the times function that does not switch at the correct time.

          I use squidguard on pfsense 1.2.3-RC1 for web filtering, and have many blacklists included.
          The idea is to block facebook, twitter and other social networking sites during normal hours, and open them during tea-times and lunch time.
          The problem is that the thing is supposed to open these sites at 10am, but only opens them between 10:05 and 10:20. Tea time is 30 minutes long. =)

          If I click 'Save' then 'Apply', I can force the switch over at 10am, but this defies the whole purpose of an automatic switch over.

          I even tried putting  /usr/local/bin/squidGuard -u in the cron job to try and force a reload, but this does not work.

          It looks like squidguard is waiting for an opening between connections before it switches over.

          These worked without the blacklists, but back then, it only had two users.
          I want to try moving the blacklist URLs to 'destinations' to see if its related to ACLs, but that is no small change.

          I tried later versions with no luck. The development versions can not connect via my DSL lines, so those don't work.

          Please help.

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

            ???
            Why need use cron?
            SquidGuard use one config without "reconfigure" and etc.. Each timed ACL contains 2 ruleset - for ontime and for overtime. SG take current time and compare with self config. If current time IN ontime, then taked 1 ruleset, else taked 2 rilest(right column)

            You should setup you pfSense date/time to you local zone for correct work.

            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.