Netgate m1n1wall

Author Topic: {Complete} Timebased Rules  (Read 68383 times)

0 Members and 1 Guest are viewing this topic.

Offline heiko

  • Hero Member
  • *****
  • Posts: 663
  • Get a load of that!
    • View Profile
Re: Timebased Rules
« Reply #15 on: March 11, 2007, 08:45:20 am »
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

Offline heiko

  • Hero Member
  • *****
  • Posts: 663
  • Get a load of that!
    • View Profile
Re: Timebased Rules
« Reply #16 on: March 11, 2007, 02:47:38 pm »
Hello,
now i set the bounty to 1800 € (i need an invoice)
Greetings
Heiko

Offline sdale

  • Sr. Member
  • ****
  • Posts: 377
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #17 on: March 11, 2007, 03:56:27 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 :).
« Last Edit: March 11, 2007, 03:59:56 pm by sdale »

Offline heiko

  • Hero Member
  • *****
  • Posts: 663
  • Get a load of that!
    • View Profile
Re: Timebased Rules
« Reply #18 on: March 11, 2007, 04:02:35 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 :)

Offline sdale

  • Sr. Member
  • ****
  • Posts: 377
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #19 on: March 11, 2007, 04:21:32 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. :)

Offline heiko

  • Hero Member
  • *****
  • Posts: 663
  • Get a load of that!
    • View Profile
Re: Timebased Rules
« Reply #20 on: March 11, 2007, 04:25:52 pm »
OK, that´s fine
Greetings
Heiko

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #21 on: March 11, 2007, 07:27:48 pm »
We will not have a problem providing an invoice.  We have a new company that is 99% formed to handle these items.


Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #22 on: March 11, 2007, 07:28:55 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. :)

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?

Offline sdale

  • Sr. Member
  • ****
  • Posts: 377
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #23 on: March 11, 2007, 09:01:35 pm »
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.
« Last Edit: March 11, 2007, 09:14:41 pm by sdale »

Offline sdale

  • Sr. Member
  • ****
  • Posts: 377
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #24 on: March 12, 2007, 02:55:40 am »
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?

Offline hoba

  • Administrator
  • Hero Member
  • *****
  • Posts: 5837
  • What was the problem to this solution again?
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #25 on: March 12, 2007, 04:25:11 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.  ;)

Offline sdale

  • Sr. Member
  • ****
  • Posts: 377
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #26 on: March 12, 2007, 05:11:40 am »
Ok I thought so. I agree Hoba, that calendar widget is not flexible enough for the needs of this project.

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Timebased Rules
« Reply #27 on: March 12, 2007, 06:27:33 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!

Offline heiko

  • Hero Member
  • *****
  • Posts: 663
  • Get a load of that!
    • View Profile
Re: Timebased Rules
« Reply #28 on: March 13, 2007, 05:48:20 am »
Hello,

i will send you an email in a few minutes with the essential information.

Greetings
Heiko

Offline heiko

  • Hero Member
  • *****
  • Posts: 663
  • Get a load of that!
    • View Profile
Re: Timebased Rules
« Reply #29 on: March 13, 2007, 02:36:34 pm »
Hello,
do you need any longer my astarotestbox. Otherwise i kill the port...

Greetings
Heiko