From 20ecd9840f1e237dba79674b71e49b43b074902e Mon Sep 17 00:00:00 2001
From: pacien
Date: Tue, 8 Dec 2020 16:16:08 +0100
Subject: app: add configuration FTP server
This is a ridiculous workaround to make the configuration (and other files) accessible to the user
necessary after the new storage access restriction enforced in Android 11 which prevent other
applications from accessing the supposedly public application's directory.
The app's internal private storage directory is now exposed to the user through an embedded FTP
server that the user can turn on and off from the configuration activity. The user can then play
with the configuration and retrieve logs through a remote or local FTP client application of their
choice.
GitHub: closes #103
---
app/src/main/res/values/strings.xml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
(limited to 'app/src/main/res/values')
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 770f61c..cae7fe5 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -62,6 +62,7 @@
Errors
Open manual
Could not start tinc
+ Could not start FTP server
Could not read private tinc keys:\n%1$s
Could not read network interface configuration:\n%1$s
Could not bind network interface. Is another VPN running?
@@ -84,7 +85,12 @@
Invalid network name.
Network configuration written.
- Path info
+ Configuration server
+ FTP access
+ User: %1$s, password: %2$s, port: %3$d
+ Not active
+
+ Internal paths info
Configuration directory
Log directory
tinc binary
--
cgit v1.2.3