Project

General

Profile

Actions

Bug #13078

closed

Firewall schedules appear to ignore "month" field

Added by Stilez y over 2 years ago. Updated over 2 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Rules / NAT
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

pfSense 2.6.0-REL. The month field in firewall schedules appears to be totally ignored.

Reproduction:

Enter something like "June-22 from the months dropdown, then select say each of the 7 day headers (or anything else, but thats what I tried). Do the same for July 2022. That should create a schedule that applies to June-July 2022 and the stated days/dates/hours.

Now dump $config via Diagnostics/Command Prompt: print_r($config);

My output looks like this:

[0] => Array
(
[position] => 1,2,3,4,5,6,7
[hour] => 0:00-23:59
[rangedescr] =>
)
[1] => Array
(
[position] => 1,2,3,4,5,6,7
[hour] => 0:00-23:59
[rangedescr] =>
)

There's no referenmce to the month, at all. I see two copies of identical day/week/hour data, no reference to the month they should apply to.

Actions #1

Updated by Jim Pingle over 2 years ago

  • Category changed from Unknown to Rules / NAT
  • Status changed from New to Not a Bug

This is working as intended. Clicking the day of week in the header activates the schedule for that day of the week in any month. For month-specific scheduling you need to click the individual days on the calendar.

Actions #2

Updated by Stilez y over 2 years ago

In that case can the design be improved. There's nothing to cue a user that's how it works. No discoverability.

And indeed, that's a strange and unnecessary limitation - suppose someone wants to allow a rule to operate (say) over school vacation, or for a 3 month promotional or peak season, or some testing process. "We could let you click a month but instead you have to click 30-31 times for each month in the schedule."

Accepting its been by design, the design seems poor. Can this be changed then to a request to improve it so that choosing a week or month is clear and easy, and discoverability improved? Thanks!

Actions #3

Updated by Jim Pingle over 2 years ago

That's a much different request -- should be entered as a fresh feature request.

If the behavior of the day of week headers is changed then there would be no way to select days of the week, so that is a non-starter. Selecting an entire month seems like a very rare need. Possible, but effort may exceed value. Maybe clicking the month header could do the whole month, or perhaps we could allow entering some part of the time range by hand (e.g. "April 1-30"), or even a way to click on a first day then <modifier>-click on the end of a day range, or click+drag, etc. Part of that is probably limited by the calendar JS used there. All of those would be new features, though.

Actions

Also available in: Atom PDF