1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-27 09:48:08 +00:00
Commit Graph

352 Commits

Author SHA1 Message Date
Greg Alexander
941d6c6153 releasing version 22 today 2019-09-01 15:45:57 -04:00
Greg Alexander
ad119a4da0 bump to version 22 2019-09-01 15:45:02 -04:00
Greg Alexander
823591055a Factor out the idiom for startService() vs startForegroundService(), and
use it in StartReceive/StopReceiver as well as BootReceiver, so that the
sshd service can be started and stopped even if the UI is closed.
2019-09-01 15:42:09 -04:00
Greg Alexander
c1bdacd4d6 document broadcast intents 2019-09-01 15:27:14 -04:00
Greg Alexander
ebbdac1787 add org.galexander.sshd.START and org.galexander.sshd.STOP broadcast receiver 2019-09-01 15:03:35 -04:00
Greg Alexander
e07a809980 feature request - broadcast intent for START/STOP 2019-08-12 22:49:20 -04:00
Greg Alexander
c682560ada bump to version 21 2019-08-11 00:22:00 -04:00
Greg Alexander
285693c452 todone 2019-08-11 00:20:51 -04:00
Greg Alexander
1cbe9b1456 remove debug output 2019-08-11 00:20:41 -04:00
Greg Alexander
71dcbc392b Normalize the dump code a little bit, and expand to 128 stack entries
just in case the problem is still there.
2019-08-11 00:19:17 -04:00
Greg Alexander
a3bbb0bf96 Fix the SIGSEGV that users have been reporting - don't execute anything
that had already been registered with atexit().
2019-08-11 00:08:25 -04:00
Greg Alexander
cf84ff9379 fix restart after a crash (it would not restart if there was a stale pid
file from the previous execution)
2019-08-11 00:01:27 -04:00
Greg Alexander
39705de36e only rebuild default_options_guard.h if necessary 2019-08-10 20:27:19 -04:00
Greg Alexander
72a4a088bd merged sigsegv_branch... 2019-08-10 15:27:44 -04:00
Greg Alexander
498fc2fc4c Merge branch 'sigsegv_dump' 2019-08-10 15:27:03 -04:00
Greg Alexander
967a1e42a9 probable technique for bypassing atexit 2019-08-05 11:41:32 -04:00
Greg Alexander
e204c1ea74 musings about the dump, which must be caused by atexit() 2019-08-05 11:15:05 -04:00
Greg Alexander
2d8d649cdd I finally got a dump! 2019-08-04 17:39:09 -04:00
Greg Alexander
d7bd00fc2b change SIGSEGV handler to use SA_SIGINFO to get context information, and
get a stack dump too
2019-07-28 22:41:03 -04:00
Greg Alexander
f95e97ede8 todo 2019-07-28 22:39:06 -04:00
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