summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-fwknopd/root
AgeCommit message (Collapse)Author
2020-10-31luci-app-fwknopd: Show QR codes for custom configuration.Oldřich Jedlička
* Addsed /etc/fwknop/access.conf parsing to show QR codes. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-10-31luci-app-fwknopd: Remove defaults.Oldřich Jedlička
Remove setting values in `uci-defaults`, which can be changed from LuCI directly: * Keys can be generated from LuCI, so it is not necessary to set them. * ENABLE_IPT_FORWARDING and ENABLE_NAT_DNS options can be set in LuCI. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-10-31luci-app-fwknopd: Client-side rendering and improvements/fixes.Oldřich Jedlička
* Use client-side rendering. * Asynchronous QR code generation and on-the-fly updates. * Added button to generate keys. * Added keys validation (empty, __CHANGEME__ and CHANGEME values are not valid). * Added SOURCE option non-empty validation (SOURCE is mandatory field). * Added network and DESTINATION options. * Use checkboxes for Y/N options instead of text fields. * Fix the qrencode tool, which currently has only `--inline` option, not `-I`. Use `--inline` instead. * Improve configuration handling by removing the key type from the config file. The key type is deduced from the actual values (normal/base64). * Provide migration script (clean-up of stale keytype/hkeytype values in config). * Fixed usage of translations. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-04-17treewide: add ACL annotations to menu entriesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10treewide: stage ACL rules for legacy applicationsJo-Philipp Wich
Fixes: #3866 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-14luci.mk: move /tmp/luci-indexcache remove to package postinst scriptFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-02-05treewide: convert simple Lua controllers to declarative JSONJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-25treewide: remove useless ucitrack definitionsRichard Yu
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-12-20luci-app-fwknopd: fix typosBalázs Úr
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2017-10-16luci-app-fwknop: add inline option to qrencode usageJonathan Bennett
The qrencode update in the packages repo includes a patch that adds the --inline option. We use that option to generate a proper inline SVG image. Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
2017-10-15luci-app-fwknopd: add the -q option to UCIJonathan Bennett
Thanks to spacezorro on Github for suggesting this. The quiet tag suppresses the error messages if no key is present.
2017-10-15luci-app-fwknopd: Prep for libqrencode updateJonathan Bennett
An update for libqrencode requires that we explicitly ask for an SVG output. This continues to work properly with the old version. Making the change here before updating the libqrencode package. Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
2017-10-15Luci-app-fwknopd: add quotation marks to squash errorJonathan Bennett
In some cases, the missing quotation marks can cause error messages. Although harmless, adding the quotation marks for correctness. Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
2017-10-13luci-app-fwknop: Adds a check to not overwrite user configured keysJonathan Bennett
Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
2017-01-09[luci-app-fwknopd] Remove usage of dynamic tag.Jonathan Bennett
Also adds NAT-DNS as a default setting, and enables a QR-code per access.conf entry Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2016-01-27Use numeric prefixes for uci-defaults scriptsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-10Luci-app-fwknopd:add a couple config options to the interfaceJonathan Bennett
Minor tweaks to uci-defaults refresh translation files Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2015-05-22Luci-app-fwknopd: Update uci-defaults as key-gen is now exposed in the ↵Jonathan Bennett
fwknopd binary Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
2015-05-20luci-app-fwknopd: Add qr code supportJonathan Bennett
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
2015-05-12Add initial luci-app-fwknopd - a way to control the firewall knock daemon ↵Jonathan Bennett
from luci Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>