25b86c6c7f
Summary: There is currently an issue where the device doesn't send the correct IP address for sshfs when a VPN is present. Instead of asking the device to find and send its address, we can store it from when the device link is created then reuse it. Test Plan: All unit tests pass. In these different situations: - without a VPN - with a VPN running - with a VPN started then stopped (the tun interface might still be there) Try to remotely browse the device. It should work in all cases. Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: albertvaka, apol, nicolasfella, sredman Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D6730 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_sftp.json | ||
mounter.cpp | ||
mounter.h | ||
mountloop.cpp | ||
mountloop.h | ||
README | ||
sftp_debug.h | ||
sftpplugin.cpp | ||
sftpplugin.h |
This plugins receives packages with type "kdeconnect.sftp" and reads the following fields: ip (string): ip of the curretly active network on device port (string): port where sftp server starts user (string): username to connect to sftp server password (string): one session password to access sftp server path (string): root directory to access device filesystem This plugins sends packages with type "kdeconnect.sftp" and fills the following fields: startBrowsing (boolean): tell device to start sftp server and noify desktop