cancel
Showing results for 
Search instead for 
Did you mean: 

Im sure this is an easy one..

Jump to solution

Can someone help me create a time block on V7.  Basically i need to create a rule that matches user in group X and time is between 8am and 5pm.

Any suggestions?  I did try but cant get it right.

0 Kudos
1 Solution

Accepted Solutions

Re: Im sure this is an easy one..

Jump to solution

I did this and it sems to work.  Only issue is the NTP server im using forces it to a US date and time and im in another country to i have to translate my business hours to the US timezone and allow the times based on the US time conversion.  A pain in the neck expecially when US goes nito day light savings and skews my time by an hour.

time.jpg

0 Kudos
3 Replies

Re: Im sure this is an easy one..

Jump to solution

I did this and it sems to work.  Only issue is the NTP server im using forces it to a US date and time and im in another country to i have to translate my business hours to the US timezone and allow the times based on the US time conversion.  A pain in the neck expecially when US goes nito day light savings and skews my time by an hour.

time.jpg

0 Kudos
eelsasser
Level 15

Re: Im sure this is an easy one..

Jump to solution

Luckily you want to break at the top of the hour, so you just need to use Hour.

These will either block out side the range or allow inside the time range depending on if your rules are postive or negative.

Rule Criteria:
DateTime.Time.Hour less than 8 AND
DateTime.Time.Hour greater than or equals 17 AND
Authentication.UserGroups contains "aGroupName"

Action:
Block

Or

DateTime.Time.Hour greater than or equals 8 AND

DateTime.Time.Hour less than 17 AND

Authentication.UserGroups contains "aGroupName"

Action:

Stop Rule Set

These will technically work for the time between 800 to 4:59.

The time zone skews are going to kill you, especially if the clients are in multiple time zones. You can't tell from the reuqest what he actual time is for the client, on the time of the proxy server itself.

0 Kudos
DBO
Level 9

Re: Im sure this is an easy one..

Jump to solution

???  NTP doesn't know timezone...  It just return UCT time.

0 Kudos