Commit graph

11 commits

Author SHA1 Message Date
Oldřich Jedlička
6059f6a1a6 luci-app-fwknopd: Remove defaults.
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-31 09:41:19 +01:00
Oldřich Jedlička
e24415ac12 luci-app-fwknopd: Client-side rendering and improvements/fixes.
* 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-10-31 09:40:38 +01:00
Florian Eckert
1f8a3c0417 luci.mk: move /tmp/luci-indexcache remove to package postinst script
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-02-14 09:20:33 +01:00
Richard Yu
814ad96df9 treewide: remove useless ucitrack definitions
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-12-25 18:02:54 +01:00
Balázs Úr
39196b0de9 luci-app-fwknopd: fix typos
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-20 23:12:48 +01:00
Jonathan Bennett
4b7a00858e luci-app-fwknop: Adds a check to not overwrite user configured keys
Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
2017-10-13 23:39:51 -05:00
Jonathan Bennett
846bdf4d80 [luci-app-fwknopd] Remove usage of dynamic tag.
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>
2017-01-09 01:55:19 -06:00
Jo-Philipp Wich
8eaac4b637 Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-27 16:50:19 +01:00
Jonathan Bennett
9d69f61f4c Luci-app-fwknopd:add a couple config options to the interface
Minor tweaks to uci-defaults
refresh translation files
Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2015-06-10 16:10:56 -05:00
Jonathan Bennett
30b8097f65 Luci-app-fwknopd: Update uci-defaults as key-gen is now exposed in the fwknopd binary
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
2015-05-22 12:48:06 -05:00
Jonathan Bennett
fd130d0ce7 Add initial luci-app-fwknopd - a way to control the firewall knock daemon from luci
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
2015-05-12 21:10:00 -05:00