1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-13 02:38:56 +00:00
Commit Graph

332 Commits

Author SHA1 Message Date
Greg Alexander
62b119e07f Keep around a copy of the old dropbear.err so that it can be accessed
after the server is re-started for a crash (to get easy access to the
crash dump).
2019-07-28 22:26:55 -04:00
Greg Alexander
7132b50fa1 alert so users know to contact me if the new version broke everything 2019-07-07 16:58:58 -04:00
Greg Alexander
132baa7d5c add symlink for res 2019-07-07 16:58:39 -04:00
Greg Alexander
f5270f56c5 Bump to version 20! 2019-06-16 23:52:54 -04:00
Greg Alexander
4e84d03220 Finish testing, I guess. 2019-06-16 23:45:39 -04:00
Greg Alexander
51559e5798 Add allowBackup="false" so that updating to the new SDK doesn't cause
Android to start automatically backing up app settings (otherwise it
would back up the host key).
2019-06-16 23:40:32 -04:00
Greg Alexander
445c2957ec Don't call startForegroundService() except on Oreo and above, because
that's when it was added.
2019-06-16 23:02:22 -04:00
Greg Alexander
7879c603fe Make a naive IP address decoder for the case where the library's
getnameinfo() doesn't work (Android 16).
2019-06-16 22:14:29 -04:00
Greg Alexander
12ccb85024 Don't build the stand-alone executables with -static because that doesn't
seem to be necessary with the newer NDK.
2019-06-16 22:01:46 -04:00
Greg Alexander
53db5d525d changelog 2019-06-16 20:13:26 -04:00
Greg Alexander
ada5ca8def todo 2019-06-16 20:13:21 -04:00
Greg Alexander
80bb4d95c9 use rename() if the underlying filesystem doesn't support link() 2019-06-16 20:12:17 -04:00
Greg Alexander
bb8753a5a6 Disable DROPBEAR_SVR_MULTIUSER, because we don't want to be calling
setuid/seteuid sort of stuff (it won't work, and I think sec-comp or
something kills our process).  Also need to disable the sanity check.
2019-06-16 19:46:16 -04:00
Greg Alexander
23a2bda614 Limit to only displaying 5 IPs at once (the android emulator sets up
about 20 interfaces somehow, which really spams the screen).
2019-06-16 19:37:16 -04:00
Greg Alexander
9fe01ea860 Add new dropbear-2019.78 sources to the JNI Makefile. 2019-06-16 18:28:18 -04:00
Greg Alexander
c5fb42b1f1 Update dropbear version in "About" string. 2019-06-16 15:26:21 -04:00
Greg Alexander
8bdc4005f1 todo 2019-06-15 23:46:11 -04:00
Greg Alexander
b7bc52d209 Add type cast to avoid warning. 2019-06-15 23:45:11 -04:00
Greg Alexander
5a5cc34841 Use correct #define to disable using environment variable to supply
password (not that it matters, since we don't build the db client).
2019-06-15 23:44:38 -04:00
Greg Alexander
126c9275c5 Run ifndef_wrapper.sh script to generate default_options_guard.h from
default_options.h.
2019-06-15 23:44:15 -04:00
Greg Alexander
258e88e458 Merge branch 'dropbear'
Update to dropbear-2019.78.
Probably does not build...
2019-06-15 23:36:15 -04:00
Greg Alexander
9d7c6ffbfb stock dropbear-2019.78 source tree 2019-06-09 16:44:26 -04:00
Greg Alexander
30b4c9ce75 doc changelog edits... 2019-06-09 16:35:16 -04:00
Greg Alexander
7f58879b35 Implement a sanity check of settings so that if onboot is selected,
foreground is forced.
2019-06-09 16:19:43 -04:00
Greg Alexander
83b5dd496d If asked to start at boot in background on Oreo, give a toast so the user
knows why it doesn't work.
2019-06-09 15:50:49 -04:00
Greg Alexander
9ed777ea20 transfer changelog to the doc 2019-05-26 21:50:42 -04:00
Greg Alexander
e0151fa757 Now can start-on-boot on Oreo/Pie, with the caveat that start-on-boot
requires foreground-service.
2019-05-26 21:46:27 -04:00
Greg Alexander
38f477e63c To work on Android 28 (Pie), we have to explicitly declare the
FOREGROUND_SERVICE permission.
2019-05-26 21:23:56 -04:00
Greg Alexander
c759480f44 Notes now that I got the notification channel to work. 2019-05-26 21:01:07 -04:00
Greg Alexander
9b451c9b29 Define the channel for the notification, which requires using
NotificationCompat, which I decided to do using "AndroidX".
Anyways, this builds, but I don't know if it works.
2019-05-26 20:47:59 -04:00
Greg Alexander
993fe96b73 I let Android Studio upgrade the project to the newest version of Gradle
for Android or what have you, and these are the relevant changes I think.
They don't seem to help the problem I was having but newer is better, no?
2019-05-26 20:10:50 -04:00
Greg Alexander
1656a5b9c4 AndroidStudio tells me the sdk version setting in AndroidManifest is a
bad idea, because it is redundant to the setting in app/build.gradle
2019-05-26 20:09:59 -04:00
Greg Alexander
713eb378a5 a symlink to find the source easier 2019-05-26 19:44:06 -04:00
Greg Alexander
190c8588e9 request the SD card permission if it hasn't already been granted or
requested in the past.
2019-05-26 19:07:33 -04:00
Greg Alexander
0a53e627d2 manually specify last colors... 2019-05-26 01:34:09 -04:00
Greg Alexander
22d7993e23 Find native lib directory the correct way, using
Context.getApplicationInfo().nativeLibraryDir.
2019-05-26 01:29:58 -04:00
Greg Alexander
7db95c7815 update to target ABI "all", which adds x86_64 and arm64 2019-05-26 00:49:30 -04:00
Greg Alexander
611c57bcc9 Add android.permission.REQUEST_INSTALL_PACKAGES, which doesn't seem to
require anything from the user, and no notification to the user either!
2019-05-26 00:20:38 -04:00
Greg Alexander
ec91693308 update AndroidManifest to also specify sdk 16 (JB 4.2) 2019-05-26 00:20:25 -04:00
Greg Alexander
718baede9d musings now that it "works" 2019-05-25 23:32:00 -04:00
Greg Alexander
edbaacbf82 Fix white-on-white text. 2019-05-25 23:27:02 -04:00
Greg Alexander
d754beecd8 Copy over the actual JNI library, and now it "works". 2019-05-25 23:19:26 -04:00
Greg Alexander
8ff28ed80f Note that outgoing libs and the generated apk have moved. It now builds
and installs, but crashes on first execution.
2019-05-25 23:03:18 -04:00
Greg Alexander
5adb445f29 keystore.properties symlink (replaces old ant.properties) 2019-05-25 22:53:17 -04:00
Greg Alexander
ccc93ed0da Fix one warning... A lot of warnings remain in dropbear, but hopefully
the dropbear update will address them so let's not touch it for now.
2019-05-25 22:51:15 -04:00
Greg Alexander
cec5e52c7e Now it compiles with the new NDK. 2019-05-25 22:46:18 -04:00
Greg Alexander
7419f62d98 Update minSdkVersion to 16, because that's the oldest supported by the
NDK these days.
2019-05-25 22:31:09 -04:00
Greg Alexander
0a8c49a1fa roughly update doit 2019-05-25 22:06:04 -04:00
Greg Alexander
be43d90c70 Manually convert from ant to gradle, roughly.
NB - Play store currently requires targetSdkVersion>=26, but will soon
(August) require >=28.
2019-05-25 21:58:12 -04:00
Greg Alexander
0e9dcb0fe1 add SimpleSSHD-19.apk to git repository because the next version is going
to use a new SDK and might break everything for some people (older
phones, probably).
2019-05-25 17:36:19 -04:00