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

    DansGuardian com bloquei por horário ao contrário…

    Scheduled Pinned Locked Moved Portuguese
    7 Posts 3 Posters 2.2k 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.
    • E Offline
      elvio.tche
      last edited by

      O DansGuardian parece estar bloqueando sites quando deveria estar liberado e liberando quando deveria estar bloqueado.
      Por exemplo:
      o site goodgamestudios.com está liberado para acesso das 12:00 as 13:00 e bloqueado o resto do dia, porém, consigo acessá-lo o dia todo menos no período especificado das 12 as 13.

      Alguém sabe explicar isso (  ???  :o )?

      1 Reply Last reply Reply Quote 0
      • marcellocM Offline
        marcelloc
        last edited by

        Será que você não esta colocando o time conditions no campo errado? Veja a descrição:

        Time limiting syntax:

        #time: <start hour=""><start minute=""><end hour=""><end minute=""><days># Example:

        ##time: 9 0 17 0 01234

        Remove the first # from the line above to enable this list only from

        9am to 5pm, Monday to Friday.</days></end></end></start></start>

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • E Offline
          elvio.tche
          last edited by

          @marcelloc:

          Será que você não esta colocando o time conditions no campo errado? Veja a descrição:

          Time limiting syntax:

          #time: <start hour=""><start minute=""><end hour=""><end minute=""><days># Example:

          ##time: 9 0 17 0 01234

          Remove the first # from the line above to enable this list only from

          9am to 5pm, Monday to Friday.</days></end></end></start></start>

          Programei assim em "Banned":

          
          # Time limiting syntax:
          # #time: <start hour=""><start minute=""><end hour=""><end minute=""><days># Example:
          ##time: 9 0 17 0 01234
          # Remove the first # from the line above to enable this list only from
          # 9am to 5pm, Monday to Friday.
          
          #time: 7 20 18 0 01234</days></end></end></start></start> 
          

          … em "Exception":

          #time: 12 0 13 0 01234
          
          

          Deu um problema com o link externo e aproveitei para dar um restart no firewall.
          Testei de novo e parece estar funcionando novamente.

          Na segunda-feira farei mais testes pela manhã.

          Grato.

          1 Reply Last reply Reply Quote 0
          • E Offline
            elvio.tche
            last edited by

            @marcelloc:

            Será que você não esta colocando o time conditions no campo errado? Veja a descrição:

            Time limiting syntax:

            #time: <start hour=""><start minute=""><end hour=""><end minute=""><days># Example:

            ##time: 9 0 17 0 01234

            Remove the first # from the line above to enable this list only from

            9am to 5pm, Monday to Friday.</days></end></end></start></start>

            Estranho, não sei o que aconteceu, mas 2 dias depois, parece ter normalizado o controle de horário.
            :o

            1 Reply Last reply Reply Quote 0
            • D Offline
              diogoots
              last edited by

              Boa tarde elvio.tche .

              Segui a mesma configuração que você fez para horário de almoço. Porém o Dansguardian deixa tudo liberado.

              Assim, fiz com que o cron rodasse dansguardian -g porém continua na mesma. O Time não funciona direito no Dansguardian.

              Já fiz vários testes e nada de liberar os sites que estão bloqueados.

              Aguardo uma luz.

              1 Reply Last reply Reply Quote 0
              • marcellocM Offline
                marcelloc
                last edited by

                Em que acls você está aplicando o filtro por horario?

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • D Offline
                  diogoots
                  last edited by

                  Dansguardian > Site > Acl que criei > Banned

                  Também tentei em Exception também nada.

                  Depois tentei nos dois e nada.

                  São 3 horários liberados que eu preciso, fiz assim:

                  #time: 4 1 11 59 01234
                  #time: 13 31 21 59 01234
                  #time: 22 1 2 59 01234

                  Depois só fiz assim:
                  #time: 13 31 11:59

                  Aguardando luz.

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