diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-10-17 21:43:27 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-10-17 21:43:27 +0200 |
| commit | c10229f44ed96b07a41014a7c8552c285d44a379 (patch) | |
| tree | 817afab73b5a8362a919fdb5ab3abe3761e53a59 /src/validators/ipv4-range-exclude | |
| parent | dbde15e2dc1a0cfacdc7f8893434a3257a75a7e1 (diff) | |
| download | vyos-1x-c10229f44ed96b07a41014a7c8552c285d44a379.tar.gz vyos-1x-c10229f44ed96b07a41014a7c8552c285d44a379.zip | |
firewall: T9474: keep time windows correct across UTC offset changes
nft converts hour matches to UTC when the ruleset is loaded, using the
offset of that moment. After a daylight saving change, or a change of the
system time-zone, every hour window was off until the next firewall commit.
- A new helper loads only the rules with an hour match again, in place, so
sets such as dynamic, domain and GeoIP groups and all counters are kept.
It is scheduled as a systemd timer for the next UTC offset change and
re-arms itself; firewall and policy route commits arm or remove it.
- Changing the time-zone re-runs firewall and policy route.
The smoketest moves the clock to just before a change in Europe/Berlin and
checks that the window is refreshed and a dynamic group entry survives. It
only runs in the smoketest harness, as it changes the system clock.
Diffstat (limited to 'src/validators/ipv4-range-exclude')
0 files changed, 0 insertions, 0 deletions
