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

46 Commits

Author SHA1 Message Date
Greg Alexander
0062f2794a add #define HAVE_GAI_STRERROR, because we do, and it hsould be slightly
more complete..
2015-11-23 08:17:17 -05:00
Greg Alexander
a916ac5c08 add 'buffersu' program to wrap rsync and make sure there is no wedging
when SuperSU is combined with rsync
2015-06-20 13:52:34 -04:00
Greg Alexander
c8d1c356d1 build static binaries so that we don't run into lollipop's requirement
for "PIE" executables
2014-12-29 16:19:16 -05:00
Greg Alexander
42fd4dd266 don't build zlib for dropbear, it can use the android system zlib 2014-12-22 07:54:26 -05:00
Greg Alexander
1e212e3cec switch rsync over to using its own internal zlib 2014-12-22 07:52:17 -05:00
Greg Alexander
bb347ffffe now rsync builds (untested) 2014-12-21 22:24:28 -05:00
Greg Alexander
7a66cd87b9 added all of the source files needed for sftp-server 2014-12-21 17:41:19 -05:00
Greg Alexander
e53d852b98 add sftp-server to build even though it won't build yet... 2014-12-21 15:58:16 -05:00
Greg Alexander
aa9cbca1ed enable building and using zlib -- quite painless! 2014-12-21 15:16:00 -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
253c468b3a close all the android system fds when starting the dropbear server 2014-12-20 15:50:46 -05:00
Greg Alexander
3112a7ecb3 remove explicit "0.0.0.0" specification on -p option because it turns out
the "tcp6" listener that results accepts ipv4 after all
2014-12-17 22:52:52 -05:00
Greg Alexander
8a1bc2c4e0 made the JNI methods static because they didn't use this anyways 2014-12-17 22:48:38 -05:00
Greg Alexander
5df0610f5c implement the extra dropbear commandline options 2014-12-17 22:46:04 -05:00
Greg Alexander
1d79555a2f todo 2014-12-17 08:58:21 -05:00
Greg Alexander
c222b4b074 use configuration values instead of getpwnam() 2014-12-16 23:06:04 -05:00
Greg Alexander
ff446269b3 use ptmx 2014-12-16 22:29:54 -05:00
Greg Alexander
5902ab0952 tell dropbear not to fork into the background, because we've already
forked before calling it...
2014-12-16 18:49:00 -05:00
Greg Alexander
6d872af030 listen to "0.0.0.0:port" because otherwise it seems to default to ipv6 (??) 2014-12-16 17:56:47 -05:00
Greg Alexander
9ea9717624 add -R for DROPBEAR_DELAY_HOSTKEY 2014-12-16 17:51:24 -05:00
Greg Alexander
8a8b4c3acb fix typo hiding argv 2014-12-16 17:31:14 -05:00
Greg Alexander
304044bc05 disable syslog so we get the error messages on stderr 2014-12-16 17:28:01 -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
0c939b5b24 a little note in the .err file to indicate what's happening... 2014-12-16 17:14:01 -05:00
Greg Alexander
58eefb02b9 add something to wait for the forked process to die, so it doesn't become
a zombie
2014-12-16 17:07:26 -05:00
Greg Alexander
b88f4f1db0 ack, stupid typo 2014-12-16 16:52:54 -05:00
Greg Alexander
f0dcb8b2c0 pass '-p <portno>' on the virtual commandline 2014-12-16 16:34:10 -05:00
Greg Alexander
447ffa0b8f stderr output should now hopefully go to /sdcard/ssh/dropbear.err instead
of the bit bucket
2014-12-16 16:24:01 -05:00
Greg Alexander
bfa3c99dc0 actually call main... 2014-12-16 16:13:04 -05:00
Greg Alexander
a9ca75accc communicate the preferences to the C code 2014-12-16 15:50:30 -05:00
Greg Alexander
9cac7ed132 make sshd_pid static 2014-12-16 11:19:26 -05:00
Greg Alexander
e1d43c3208 first draft of rough JNI interface 2014-12-16 10:34:10 -05:00
Greg Alexander
52dce6c256 disable ZLIB 2014-12-14 16:44:27 -05:00
Greg Alexander
d9d19077cb take care of excess definitions 2014-12-14 16:44:16 -05:00
Greg Alexander
762d44b1a4 notes about what the jni interface will need to be like.. 2014-12-14 16:20:49 -05:00
Greg Alexander
2f501186ce no scp, no password authentication 2014-12-14 16:19:00 -05:00
Greg Alexander
72aee0cc1e first try of configuring it (fail) 2014-12-14 16:18:50 -05:00
Greg Alexander
b14b0073a2 exclude a few more tests from building 2014-12-14 08:42:21 -05:00
Greg Alexander
8c4a2b76e9 don't build table files because they are actually used with #include even
though they end in .c
2014-12-14 08:30:09 -05:00
Greg Alexander
f93a643e4c don't build demo code 2014-12-14 08:17:46 -05:00
Greg Alexander
4a7429b8a8 don't build an ssh client 2014-12-14 07:52:31 -05:00
Greg Alexander
ed20d0de21 no warnings, at least for now.. 2014-12-14 07:52:10 -05:00
Greg Alexander
13c3f5337f just the bare minimum autoconf stuff to get through a couple of sources... 2014-12-13 23:00:30 -05:00
Greg Alexander
49ac41a6cf just add all the dropbear sources to the ndk makefile 2014-12-13 22:30:31 -05:00
Greg Alexander
159f75574f template Android.mk based on the soft84 one 2014-12-10 17:00:56 -05:00