summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-firewall
AgeCommit message (Collapse)Author
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>
2018-06-08luci-mod-admin-full: git rid of embedded newlines in translation stringsJo-Philipp Wich
Also switch one usage of raw '<%_ ... %>' interpolation to '<%: ... %>' in order to avoid issues with translations using apostrophes. Globally resnyc translations after the fix. Fixes #1866. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08treewide: switch firewall zone, network and iface lists to dropdown codeJo-Philipp Wich
Also switch the weekday and monthday lists in the firewall rule details to cbi dropdowns, vastly uncluttering the form. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28treewide: convert HTML tables to divJo-Philipp Wich
Mostly convert HTML tables to div based markup to allow for easier styling in the future. Also change JS accessor code accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28luci-app-firewall: zh_CN: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-05-27luci-app-firewall: update Japanese translationINAGAKI Hiroshi
Added Japanese translations for offloading options. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27luci-app-firewall: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-26luci-app-firewall: expose flow offloading optionsHannu Nyman
Expose options related to routing/NAT flow offloading feature in firewall3. Offloading is available in kernel 4.14+ Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-07luci-app-firewall: redirect to overview page on zone details saveFlorian Eckert
This fixes an inconsistency because on the interface configuration if you press Save&Apply it will go back to overview page. It is also the case with "Firewall - Traffic Rules" details. On firewall zone it only goes back to firewall zone-detail. Same behaviour on all pages is a good user experience. Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-04-06luci-app-firewall: dispatch SimpleForm model using the form() actionJo-Philipp Wich
This fixes issues dicovered by check-controllers.sh Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-01luci-app-firewall: only show SNAT template if there are more then one zoneFlorian Eckert
Only show SNAT template if there are more then one zone. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-firewall: on forward rule change preselectionFlorian Eckert
Change the preselection for the src zone to wan and the dest zon to lan because this is the normal situation. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-firewall: only show portforward template if there are more then one ↵Florian Eckert
zone Only show portforward template if there are more then one zone. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-25luci-app-firewall: zh-cn: Update Simplified Chinese translationQian Zheng
Signed-off-by: Qian Zheng <sotux82@gmail.com>
2018-01-20i18n-ru: Edits on the general pattern of Russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-15luci-app-firewall: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-01-14added project info, were reviewed in graphical mode, ready for a stable releaseVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-12fixed russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-12fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-12i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-12luci-app-firewall: rename tr() helper function to _()Jo-Philipp Wich
Rename tr() to _() so that i18n-scan.pl picks up the language strings. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-09luci-app-firewall: show port opening cbi section independently of lan zone ↵Florian Eckert
definition Current the append traffic rules for "port forwarding" and "port opening" to the router are only shown if 'wan' and 'lan' zone are defined at once. For "port opening" to the router only need a 'wan' zone. Removing 'lan' zone dependency for 'port opening' reflect this behavior. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-08fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2017-11-11i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-10-29i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-28i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-09-05i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-09-05luci-app-firewall: Fix typos in Italian translationBubu83
Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-04Merge pull request #1347 from Bubu83/patch-1Hannu Nyman
luci-app-firewall: Full Italian Translation
2017-09-04Full and correct ITALIAN translation of luci firewall.poBubu83
Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-03luci-app-firewall: Updated Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-09-02Merge pull request #1333 from Bubu83/patch-2Hannu Nyman
Fix typo
2017-09-01Fix typoBubu83
2017-09-01Italian Translation errorBubu83
Completely wrong italian translation, maybe a typo
2017-08-06luci-app-firewall: Update Simplified Chinese translationHsing-Wang Liao
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-08-06luci-app-firewall: Fix a word typo, arbritary -> arbitraryHsing-Wang Liao
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-07-21luci-app-firewall: fix typo dsp -> dsYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-20Merge pull request #1194 from TDT-GmbH/add-license-tagsHannu Nyman
Add license tags
2017-06-17luci-app-firewall: Updated Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-13luci-app-firewall: add license tagQuirin Hofstaetter
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-03-14luci-app-firewall: adjust drop_invalid default (#1068)Jo-Philipp Wich
Since firewall3 commit b33f78371e7c7b6a131c2b6c01673cbd4b3c13d1 the drop_invalid option is off by default. Adjust LuCI view to properly handle the changed semantics. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-22i18n: complete pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-01-26i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations with Lua sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-23luci-app-firewall: use new ipmask validation types when applicableJo-Philipp Wich
This allows for address specifications like "fdca:1234:0123::abcd/::ffff:ffff:ffff:ffff" which only match the last 64 bits of an address. This syntax is legal and already supported by iptables and firewall3. Fixes https://bugs.lede-project.org/index.php?do=details&task_id=417 Signed-off-by: Jo-Philipp Wich <jo@mein.io>