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

{Complete} Timebased Rules

Completed Bounties
10
187
141.6k
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.
  • S
    sullrich
    last edited by Mar 10, 2007, 9:54 PM

    Okay, I will review the Astaro solution.

    sdale:  Fine with me, we can split the bounty.

    1 Reply Last reply Reply Quote 0
    • Y
      yoda715
      last edited by Mar 11, 2007, 12:06 AM

      @sullrich:

      Okay, I will review the Astaro solution.

      sdale:  Fine with me, we can split the bounty.

      Ok, I'll get with you in IRC and we can discuss.

      1 Reply Last reply Reply Quote 0
      • Y
        yoda715
        last edited by Mar 11, 2007, 8:44 AM

        My idea for the schedules is this:

        They will function very similar to aliases. Using cron we can do this.

        You will be able to create multiple Schedules. Underneath these schedules you will be able to add multiple time ranges. These time ranges can be to run on a certain date, day(s), or repeat weekly.

        I'll be posting screenshots soon.

        1 Reply Last reply Reply Quote 0
        • H
          heiko
          last edited by Mar 11, 2007, 9:04 AM

          Hello,
          do you need ssh to the astarotestbox? cron etc.
          Greetings
          Heiko

          1 Reply Last reply Reply Quote 0
          • Y
            yoda715
            last edited by Mar 11, 2007, 11:32 AM Mar 11, 2007, 11:29 AM

            No, I think we will be ok. Here are some screens.


            What you see above is in progress. It does not work right now as most of the coding behind the scenes has yet to be completed.

            Note: The day selected in Dark red is the day selected by the user, and then the light red days are the repeating days due to the checkbox being selected.

            1 Reply Last reply Reply Quote 0
            • H
              heiko
              last edited by Mar 11, 2007, 12:06 PM

              Hello,
              really nice. What is when i want a schedule not for days of months, but rather a schedule for "always".

              –> for example: 21:00 - 23:59 - not for a special day in the january -- for example from the year 2005 to 2008 or always.

              Can i place multiple schedules to one rule?

              Otherwise, i´m hooked.

              The little bit coding behind is still a child´s play for you and scott, so certainly done in a few hours, i think..... :)

              Greetings from Germany
              Heiko

              1 Reply Last reply Reply Quote 0
              • H
                hoba
                last edited by Mar 11, 2007, 1:22 PM

                I think there need to be weekly returning schedules as well, like blocking access on every weekend for example (or is that that small checkbox below the calender?). The screenshots cover vacation times or similiar which might be needed as well. Besides that it looks very nice  :)

                1 Reply Last reply Reply Quote 0
                • H
                  heiko
                  last edited by Mar 11, 2007, 1:45 PM

                  Hallo,
                  ja das soll so sein, halt wie bei Astaro, nur etwas besser. Wochenende Wiederholungen sind Pflicht, nicht Kür.

                  Hello,

                  yes, the specs should be same as the astaro, Weekend´s repeats is nice and also duty…. not freestyle, i think :)
                  Greetings
                  Heiko

                  1 Reply Last reply Reply Quote 0
                  • H
                    heiko
                    last edited by Mar 11, 2007, 7:47 PM

                    Hello,
                    now i set the bounty to 1800 € (i need an invoice)
                    Greetings
                    Heiko

                    1 Reply Last reply Reply Quote 0
                    • Y
                      yoda715
                      last edited by Mar 11, 2007, 8:59 PM Mar 11, 2007, 8:56 PM

                      Thanks for the comments all. Here's how the schedules will work.

                      You'll create a schedule in the Firewall Schedules area. This schedule will basically be an object holder for the time ranges. Then you go to each rule you want to use this schedule and select this schedule. Based upon the rule, the rule will be active during the time ranges specified in this schedule object.

                      So here's an example setup.

                      Let's say you create a schedule object named 'Schedule1', and in this schedule you add the time ranges: Mon-Fri 8am-5pm.
                      Next you will edit each of the firewall rules that you want to use this schedule. When a firewall rule has been set to use this schedule, the rule will only be active during the time range specified (Mon-Fri 8am-5pm). So if the rule is to Allow Web traffic from LAN>WAN, then this rule will allow Web traffic from LAN>WAN during Mon-Fri, 8am-5pm.

                      I haven't had a whole lot of time to work on it this weekend since I'm having to work, but this week I will have more time to play with it.

                      This is of course all up for debate and discussion. Nothing is set in stone :).

                      1 Reply Last reply Reply Quote 0
                      • H
                        heiko
                        last edited by Mar 11, 2007, 9:02 PM

                        That´s OK, but what is with the repeated weekend´s for example?

                        I need a production solution in two or three weeks…..

                        Greetings
                        Heiko :)

                        1 Reply Last reply Reply Quote 0
                        • Y
                          yoda715
                          last edited by Mar 11, 2007, 9:21 PM

                          I don't forsee any problem having this done in two weeks. BTW the schedules can be repeating in any sort of way. If you need a repeating schedule for Mon, Wed, and Thurs, it can be done. Any combination can be done. I plan on having a working demo within the next few days and then give you access to it and see if it suits your needs. First Scott and I have to get together and figure out how we're going to take care of the backend of this. :)

                          1 Reply Last reply Reply Quote 0
                          • H
                            heiko
                            last edited by Mar 11, 2007, 9:25 PM

                            OK, that´s fine
                            Greetings
                            Heiko

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by Mar 12, 2007, 12:27 AM

                              We will not have a problem providing an invoice.  We have a new company that is 99% formed to handle these items.

                              1 Reply Last reply Reply Quote 0
                              • S
                                sullrich
                                last edited by Mar 12, 2007, 12:28 AM

                                @sdale:

                                I don't forsee any problem having this done in two weeks. BTW the schedules can be repeating in any sort of way. If you need a repeating schedule for Mon, Wed, and Thurs, it can be done. Any combination can be done. I plan on having a working demo within the next few days and then give you access to it and see if it suits your needs. First Scott and I have to get together and figure out how we're going to take care of the backend of this. :)

                                Let's get together tomorrow if you will have some time.  I should be able to handle the backend code if you want to tackle the GUI.

                                BTW: Is that date/time picker reused from the date/time picker that we already have?

                                1 Reply Last reply Reply Quote 0
                                • Y
                                  yoda715
                                  last edited by Mar 12, 2007, 2:14 AM Mar 12, 2007, 2:01 AM

                                  Will do. No the date time is not reused, I wasn't aware we had a widget for this purpose. I'll look into that.

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    yoda715
                                    last edited by Mar 12, 2007, 7:55 AM

                                    @sullrich:

                                    BTW: Is that date/time picker reused from the date/time picker that we already have?

                                    Are you referring to the date time picker thats used in the user manager for captive portal?

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hoba
                                      last edited by Mar 12, 2007, 9:25 AM

                                      Yes, that's the one scott is talking about. However, something more interactive would be nice (like "drawing" the date/time matrix) if possible to cover a weekly schedule for example with just one "drawing" instead of clicking through all the days and setting times for each one. Makes creating schedules more fast.  ;)

                                      1 Reply Last reply Reply Quote 0
                                      • Y
                                        yoda715
                                        last edited by Mar 12, 2007, 10:11 AM

                                        Ok I thought so. I agree Hoba, that calendar widget is not flexible enough for the needs of this project.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by Mar 12, 2007, 11:27 PM

                                          sdale and myself have started on the project.

                                          Please contact me at sullrich@gmail.com so we can arrange half of the payment up front.

                                          Thanks!

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