luci
luci copied to clipboard
luci-app-firewall : unsupported utc_time parameter in fw4
Is there an existing issue for this?
- [x] I have searched among all existing issues (including closed issues)
screenshots or captures
fw4 does not implement any TZ calculations, thus all time restrictions are in UTC0 (as if time_utc '1')
marking parameter (in fw4.uc) as UNSUPPORTED makes it barf once settig is set
Is it possible to reflect parameter being fixed in luci pages?
Actual behaviour
futile parameter is set
Expected behaviour
checkbox is fixed on while config parameter is cleaned up (so I can set it UNSUPPORTED and users get scary message maybe once...)
Steps to reproduce
change 3x in /usr/share/ucode/fw4.uc
- utc_time: [ "bool" ],
+ utc_time: [ "bool", true, UNSUPPORTED ],
(or deprecated in caps)
Additional Information
{
"kernel": "6.6.95",
"hostname": "OpenWrt",
"system": "AMD EPYC-Milan Processor",
"model": "QEMU Standard PC (Q35 + ICH9, 2009)",
"board_name": "qemu-standard-pc-q35-ich9-2009",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10-SNAPSHOT",
"revision": "r28759-49fdb75c7b",
"target": "x86/64",
"description": "OpenWrt 24.10-SNAPSHOT r28759-49fdb75c7b",
"builddate": "1752173357"
}
}
What browsers do you see the problem on?
No response
Relevant log output