LuCI - OpenWrt Configuration Interface
Find a file
Tom Hodder 658d11e751 luci-app-firewall: disable port fields when protocol is not TCP or UDP
It's currently possible to generate nonsensical firewall rules by inputting
combinations which include:

i) protocols other than UDP/TCP
ii) source and destination ports.

There is some discussion of the issue on the forum here and the issue is
here; #1850.

This patch makes fields like src_port and dest_port depend on protocol being
tcp, udp or "tcp udp" in the input, forwarding and source NAT forms.

Signed-off-by: Tom Hodder <tom@limepepper.co.uk>
[reword commit message, squash commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-10 16:24:07 +02:00
applications luci-app-firewall: disable port fields when protocol is not TCP or UDP 2018-06-10 16:24:07 +02:00
build build: add check-controller.sh, a utility to test controller files 2018-04-06 12:02:37 +02:00
collections luci: depend on rpcd-mod-rrdns 2017-07-11 14:05:31 +02:00
contrib/package lucihttp: update to latest HEAD 2018-05-18 16:34:28 +02:00
documentation documentation: regenerate documents from current code base 2018-04-30 14:45:25 +02:00
libs luci-lib-json: support serializing userdata 2018-05-18 16:59:16 +02:00
modules luci-base: update Polish translation 2018-06-10 11:25:54 +02:00
protocols luci-proto-3g: make it a self-contained package 2018-05-28 22:28:30 +08:00
themes luci-base: add markup, JS and CSS for new dropdown 2018-06-08 08:14:36 +02:00
.buildpath * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
.cproject More C-Functions (luci.cutil.instanceof, luci.cutil.pcdata) 2008-11-20 19:22:05 +00:00
.gitignore Update .gitignore 2015-04-20 10:08:23 +02:00
.project LuCI Core C-Rewrite: First steps 2008-11-19 23:02:36 +00:00
CONTRIBUTING.md CONTRIBUTING.md: clarify signed-off-by advice 2015-12-15 14:40:51 +02:00
LICENSE * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
luci.mk luci.mk: allow specifying EXTRA_DEPENDS 2018-01-01 17:10:31 +01:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
README.md docs: link to the developer wiki documentation 2016-09-07 17:10:05 +00:00
THANKYOU * luci: replace all "OpenWRT" occurences with "OpenWrt" 2008-10-27 15:19:58 +00:00

OpenWrt luci feed

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.