Bug 13724 - firewall rules with date/time restriction are not created in iptables correctly
Summary: firewall rules with date/time restriction are not created in iptables correctly
Status: NEW
Alias: None
Product: IPFire
Classification: Unclassified
Component: firewall (show other bugs)
Version: 3
Hardware: all All
: - Unknown - Localization
Assignee: Michael Tremer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-04 01:16 UTC by chris campbell
Modified: 2026-01-28 21:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chris campbell 2024-07-04 01:16:04 UTC
it looks like iptables is updated incorrectly when a firewall rule is created that crosses a date boundary when translated from local timzeone to utc.

how to reproduce:
1) create a firewall rule and turn on "Use time constraints".
2) select a time in (your local timezone, of course) that is before midnight, and when converted to UTC is past midnight.  i.e. 10 pm PT Monday for local time, converted to UTC is 5 am UTC Tuesday.
3) save the rule and apply the changes.
4) list the iptables rules that were created.  you will see a rule for monday at 5 am UTC in this case, which should be tuesday at 5 am UTC.