[Solved] OpenWrt-22.03.2: luci allows invalid firewall settings

If I activate under Firewall - Zone Settings -> Advanced Settings logging and enter a value for "Limit log messages", I get no error message.

If I call

/etc/init.d/firewall restart

from the command line, I get the following error message:

Section @zone[0] (wan) option 'log_limit' is not supported by fw4

So luci allows invalid firewall settings.

Is this behaviour intended?

1 Like

It clearly tells you the issue - the setting is valid in fw3.

LuCI does not fully support all fw4 features yet. It still exposes options not understood by fw4 anymore and does not yet implement new, fw4 specific ones such as masq6.

In any case the fw4 backed has been designed to ignore those legacy options so that things continue to function.

1 Like

I appreciate your reply, thanks a lot.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.