Page MenuHomeVyOS Platform

Obsolete "utc" option in time selector in firewall
Open, LowPublicBUG


In current version of VyOS exist utc option in firewall time:

vyos@vyos# set firewall name TESTFW1 rule 10 time 
Possible completions:
   monthdays    Monthdays to match rule on
   startdate    Date to start matching rule
   starttime    Time of day to start matching rule
   stopdate     Date to stop matching rule
   stoptime     Time of day to stop matching rule
   utc          Interpret times for startdate, stopdate, starttime and stoptime to be UTC
   weekdays     Weekdays to match rule on

This option [[ | generate --utc flag ]] to rule.
Option was removed from iptables in 2011 and partially replaced by --kerneltz. But, to avoid problems with dates, I think we should just remove this part and note that all times must be set in UTC.


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.2 Crux ( VyOS 1.2.0-EPA); removed VyOS 1.2 Crux.
syncer lowered the priority of this task from Normal to Low.Jan 27 2019, 5:38 AM
erkin set Is it a breaking change? to Unspecified (possibly destroys the router).Aug 31 2021, 7:01 PM
erkin set Issue type to Improvement (missing useful functionality).