Cannot edit a Firewall rule listing multiple ports in the LuCI gui
Added by Gregory P Smith on
Aug 27, 2011. Updated on
Apr 29, 2012.
NewUrgentDave Täht
Description
Trying to edit a firewall rule in the LuCI gui such as one of the
defaults with a Destination of “Device:0.0.0.0/0:80 53 433 873” is
impossible.
The GUI’s javascript form validation rejects the port form field because
it is not a single number but has spaces in it.
History
Updated by Dave Täht on Aug 29, 2011.
Our configuration of /etc/config/firewall predates LOTs of changes to
the firewall interfaces. I don’t think luci kept up - and I don’t think
the firewall rule generator uses multiport matches, for this sort of
thing, either, generating one rule per port entry.
It would be good if the syntax for /etc/config/firewall matched
/etc/config/qos.
I’ll look into this deeper in the morning. Thx for testing!
Updated by Jim Gettys on Sep 19, 2011.
Updated by Dave Täht on Sep 24, 2011.
Updated by Dave Täht on Nov 18, 2011.
Updated by Jo-Philipp Wich on Nov 18, 2011.
Syncing luci-app-firewall with the current firewall v2r27 features is on
my ToDo but I need to get backfire done first.
Updated by Dave Täht on Apr 29, 2012.
This is a static export of the original bufferbloat.net issue
database. As such, no further commenting is possible; the
information is solely here for archival purposes.
It would be good if the syntax for /etc/config/firewall matched /etc/config/qos.
I’ll look into this deeper in the morning. Thx for testing!