summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-firewall
AgeCommit message (Collapse)Author
2019-07-26luci-app-firewall: explicitely set 'DNAT' target on new forwardsJo-Philipp Wich
Fixes: #2920 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22luci-app-firewall: add support for further per-zone optionsJo-Philipp Wich
This commit introduces support for zone devices, subnets, conntrack helpers and iptables extra options. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-21luci-app-firewall: fix cbi form for rulesJo-Philipp Wich
- Set src/dest defaults only in initial section create state, otherwise it is impossible to specify output rules - Get rid of dest_remote/dest_local widget switching and implement change logic directly in tools.widgets.CBIZoneSelect - Remove leftover debug code Ref: https://github.com/openwrt/luci/issues/2889 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-18luci-app-firewall: format protocol family for forwards and rulesAnton Kikin
Fixes: #2878 Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-07-16luci-app-firewall: update Ukrainian translationYurii
Updates, fixes and additions. Signed-off-by: Yurii <yuripet@gmail.com>
2019-07-16luci-app-firewall: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-07-14Merge pull request #2861 from castillofrancodamian/firewallFlorian Eckert
luci-app-firewall: Update Spanish translation
2019-07-13luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation. Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-07-13luci-app-firewall: update Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-07-13i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-07-12luci-app-firewall: update Ukrainian translationYurii
Signed-off-by: Yurii <yuripet@gmail.com>
2019-07-07treewide: switch to shared isObject(), toArray() and sortedKeys() helpersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-app-firewall: switch to client side CBI viewsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-26luci-app-firewall: add some german translationsMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-05-16luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-15luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-04-20luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-03-27luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-03-01luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-02-28luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-02-26luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-02-21luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2018-12-29luci-app-firewall: update Ukrainian translationYurii
Signed-off-by: Yurii yuripet@gmail.com
2018-11-28luci-app-firewall: remove hintingDirk Brenken
Remove firewall hinting as discussed in #2340 Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-14luci-app-firewall: remove references to cbi_bind()Jo-Philipp Wich
Use the standard addEventListener() instead. Also remove an old cbi_validate_field() call referencing a not existing field. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-07i18n: sync translations, add location annotatationsHannu Nyman
Thanks to a recent commit, the translation files will now have info about locations where the string is used. That can help is deciding the correct translation, as all contexts are more easily found. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-09-29luci-app-firewall: remove unused codeDarius
- unused requirements removed - unused variable and foreach loop removed Signed-off-by: Darius <darius.joksas@teltonika.lt> [slightly reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-20i18n: update pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-09-12i18n: sync translationsMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-09-06luci-app-firewall: fix and update Russian translationAnton Kikin
Add missing translations and update existing not quite correct translations. Removed redundant <br> tags from translations. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-08-13Merge pull request #2040 from yangfl/masterJo-Philipp Wich
luci-app: update Chinese translation
2018-08-13luci-app-firewall: allow "open ports" when no wan zone existsJo-Philipp Wich
Arguably this makes little if no wan zone exists but prefer consistency over heuristics and always render the "open port" shortcut. Fixes #2056 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-11luci-app: update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-07-01luci-app-firewall: update Ukrainian translationYurii
Updated with the latest synchronization of the translation. Signed-off-by: Yurii yuripet@gmail.com
2018-06-30luci-app-firewall: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-30i18n: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-23luci-app-firewall: cleanup template markupJo-Philipp Wich
Rework the cbi section add template markup to properly render with the latest responsive design changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-22luci-app-firewall: update cbi modelsJo-Philipp Wich
- allow multiple src/dest ips for rules (#1637) - restrict ICMP type list to ICMP protocol - add section title callbacks - remove size annotations - fix validation error with aliased zone fields (#1882) Fixes #1637, #1882. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-18luci-app-firewall: update Ukrainian translationYurii
Updated with the latest synchronization of the translation.
2018-06-18Merge pull request #1891 from YuriPet/masterHannu Nyman
Correcting native name Ukrainian language & update Ukrainian translation
2018-06-18luci-app-firewall: update Japanese translationINAGAKI Hiroshi
Updated japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-18luci-app-firewall: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-17luci-app-firewall: update Ukrainian translationYurii
2018-06-16i18n: fix syntax errors in Ukrainian poINAGAKI Hiroshi
"Content-Type: text/plain; charset=UTF-8" was wrote twice in each of base.po and firewall.po, and one was an incorrect place which was the cause of the errors. And, The escape in abbr HTML tag was incorrect, so I fixed it. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-12luci-app-firewall: zh_CN: change better translation for offloadingZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-11luci-app-firewall: Fix typo in forwards redirectKristian Evensen
When creating a forwarding rule with protocol set to other, a user is forwarded to the configuration page. The URL for the configuration page contained a typo - the user was forwarded to admin/network/firewall/redirect/cfg... and not admin/network/firewall/forwards/cfg..., leading to a 404. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2018-06-10Merge pull request #1875 from YuriPet/masterHannu Nyman
luci-base & luci-app-firewall: update Ukrainian translation
2018-06-10luci-app-firewall: disable port fields when protocol is not TCP or UDPTom Hodder
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-10luci-app-firewall: update Ukrainian translationYurii
Updated Ukrainian translations. Signed-off-by: Yurii yuripet@gmail.com
2018-06-08luci-app-firewall: recognize egress rules in rule overviewJo-Philipp Wich
Along with 74be6f397 ("treewide: switch firewall zone, network and iface lists to dropdown code"), this change allows luci-app-firewall to recognize OUTPUT rules. Fixes #1457. Signed-off-by: Jo-Philipp Wich <jo@mein.io>