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

22 Commits

Author SHA1 Message Date
Greg Alexander
8fb9669531 this is the only change necessary to make sftp-server "work" with dropbear
(of course, it doesn't "actually work")
2014-12-21 17:41:40 -05:00
Greg Alexander
7f0a8a63c0 build scp as a separate executable 2014-12-21 14:58:24 -05:00
Greg Alexander
93760bfb7b intercept attempts to execute "scp", and redirect them to the builtin scp 2014-12-20 20:06:02 -05:00
Greg Alexander
18f801e87a more appropriate default path for android 2014-12-16 23:51:27 -05:00
Greg Alexander
f664476da5 don't attempt to change uid, we do not run as root 2014-12-16 23:11:23 -05:00
Greg Alexander
f2b458f499 don't maintain utmp/wtmp 2014-12-16 23:06:45 -05:00
Greg Alexander
c222b4b074 use configuration values instead of getpwnam() 2014-12-16 23:06:04 -05:00
Greg Alexander
25b613c4f5 use rename() if the underlying filesystem doesn't support link() 2014-12-16 22:24:34 -05:00
Greg Alexander
97533c8574 add LTC_SOURCE to each libtomcrypt .c file because that's easier than
breaking upthe jni Android.mk
2014-12-16 22:07:06 -05:00
Greg Alexander
b912829679 don't tweak tomcrypt ecc timing settings either
Revert "don't use the timing-resistant ltc_ecc_mulmod because (a) i don't care"

This reverts commit 5b4f2d405f.
2014-12-16 21:50:45 -05:00
Greg Alexander
0ff8cc90aa back out partial LTC_SOURCE hack, in preparation for a more thorough one
Revert "somehow #define LTC_SOURCE 1 (which should really be in all libtomcrypt"

This reverts commit 11c4fa947d.
2014-12-16 21:48:41 -05:00
Greg Alexander
834e994042 put the pid file under conf_path_file() 2014-12-16 18:31:18 -05:00
Greg Alexander
781af9c467 Revert "get rid of pid file"
This reverts commit e658e1694d.
2014-12-16 18:20:29 -05:00
Greg Alexander
3f721ae740 add conf_path_file() function to generate "/sdcard/ssh/foo" style filenames 2014-12-16 17:27:43 -05:00
Greg Alexander
f0dcb8b2c0 pass '-p <portno>' on the virtual commandline 2014-12-16 16:34:10 -05:00
Greg Alexander
11c4fa947d somehow #define LTC_SOURCE 1 (which should really be in all libtomcrypt
.c files to be the same as how its native Makefile does it) makes the
ltc_ecc_mulmod_timing et al work
2014-12-14 16:43:39 -05:00
Greg Alexander
72aee0cc1e first try of configuring it (fail) 2014-12-14 16:18:50 -05:00
Greg Alexander
e658e1694d get rid of pid file 2014-12-14 15:54:21 -05:00
Greg Alexander
7cb3cbc624 use S_IWUSR (0200) instead of S_IWRITE (S_IWRITE isn't documented, i
guess it is historical)
2014-12-14 08:41:22 -05:00
Greg Alexander
5b4f2d405f don't use the timing-resistant ltc_ecc_mulmod because (a) i don't care
and (b) it doesn't seem to build right
2014-12-14 08:40:37 -05:00
Greg Alexander
087adfa668 fix bug in dropbear - returning address of local variable!! 2014-12-14 08:29:27 -05:00
Greg Alexander
b221c41798 stock dropbear-2014.66 source tree 2014-12-10 16:56:49 -05:00