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

119 Commits

Author SHA1 Message Date
Greg Alexander
f2fa3afa0c no idea what rounding.h is really for, but it appears to be needed...this
value is the one it automatically chose on my pc
2014-12-21 22:25:20 -05:00
Greg Alexander
bb347ffffe now rsync builds (untested) 2014-12-21 22:24:28 -05:00
Greg Alexander
d8cc8daef9 rsync 3.1.1 source, after i trimmed away the parts we obviously won't
need...but most of it remains.
2014-12-21 17:56:03 -05:00
Greg Alexander
d77c8ef8af sftp works! 2014-12-21 17:50:48 -05:00
Greg Alexander
0ad7144d15 remove pointless dependency on passwd, and now it "actually works"! 2014-12-21 17:50:19 -05:00
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
7a66cd87b9 added all of the source files needed for sftp-server 2014-12-21 17:41:19 -05:00
Greg Alexander
baaf67f2be the patches necessary to make sftp-server build... mostly removing
etc.
2014-12-21 17:40:19 -05:00
Greg Alexander
53abe6d4e4 and that is the last of the stock openssh 6.7 commits 2014-12-21 17:39:07 -05:00
Greg Alexander
19bc9f19f5 these should also be stock files from openssh 6.7p1, and represent all of
the ones that I had to modify to get sftp-server to build
2014-12-21 17:09:52 -05:00
Greg Alexander
36d9710042 strip down sftp-server.c until it compiles -- mostly get rid of logging,
and bignum-related unused declarations, statvfs, and gratuitous
retardation around fd_set.
2014-12-21 16:20:31 -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
7e0a344210 a rough subset of openssh-6.7p1 ("portable" branch), as needed to build
sftp-server
2014-12-21 15:57:19 -05:00
Greg Alexander
bea29fb886 added the icon to the apk 2014-12-21 15:25:22 -05:00
Greg Alexander
07f4b631a6 todo 2014-12-21 15:16:46 -05:00
Greg Alexander
aa9cbca1ed enable building and using zlib -- quite painless! 2014-12-21 15:16:00 -05:00
Greg Alexander
fa0aff7a8d zlib 1.2.8 commit 2014-12-21 15:03:20 -05:00
Greg Alexander
7f0a8a63c0 build scp as a separate executable 2014-12-21 14:58:24 -05:00
Greg Alexander
226a02ff38 more musings 2014-12-21 08:34:17 -05:00
Greg Alexander
3fae66e571 musings about scp 2014-12-20 22:53:07 -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
90e7ca14ae graphic assets sarah provided 2014-12-20 12:03:43 -05:00
Greg Alexander
3620b17411 implement start on boot 2014-12-17 23:18:27 -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
52a7c6b070 todo 2014-12-17 20:55:58 -05:00
Greg Alexander
637de21aca add locking to resolve some thread safety issues 2014-12-17 20:54:40 -05:00
Greg Alexander
5c7d92415c remove debug code from updater thread 2014-12-17 20:40:44 -05:00
Greg Alexander
a40b35a5a2 updater checks length as well as time, in case there are multiple
modifications within the same second
2014-12-17 20:39:48 -05:00
Greg Alexander
52a1093dde make the log view always show the bottom of the log 2014-12-17 20:39:34 -05:00
Greg Alexander
4581a224ac first draft of a thread to poll for changes to the dropbear.err file 2014-12-17 20:27:37 -05:00
Greg Alexander
b44b9295d5 add display of the dropbear.err log (it doesn't update yet) 2014-12-17 19:58:22 -05:00
Greg Alexander
932bfa3242 save the static pointer to the main Activity in SimpleSSHD because it'll
be used by more than just SimpleSSHDService..
2014-12-17 19:34:35 -05:00
Greg Alexander
1642eec8fd update the target sdk version to 11 (android 3.0) -- nothing really
changes, except now on new phones it puts the options button on the top
of the screen where people are execting it
2014-12-17 18:56:10 -05:00
Greg Alexander
d140fe13f6 todo 2014-12-17 18:52:30 -05:00
Greg Alexander
76a25aca25 improve text of preferences pane 2014-12-17 18:52:22 -05:00
Greg Alexander
76eb76fac4 get rid of the old prefs machinery 2014-12-17 18:43:01 -05:00
Greg Alexander
e49cf68feb port is a string now because none of the stock preference widgets will do
a number...
2014-12-17 18:39:57 -05:00
Greg Alexander
bbcb048996 first draft of settings activity 2014-12-17 18:38:39 -05:00
Greg Alexander
95c028ad81 add an options menu to access the future settings activity 2014-12-17 16:46:02 -05:00
Greg Alexander
1d79555a2f todo 2014-12-17 08:58:21 -05:00
Greg Alexander
18f801e87a more appropriate default path for android 2014-12-16 23:51:27 -05:00
Greg Alexander
324bf93935 no need to specify -l on the shell, dropbear does it as appropriate 2014-12-16 23:11:51 -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
ff446269b3 use ptmx 2014-12-16 22:29:54 -05:00
Greg Alexander
25b613c4f5 use rename() if the underlying filesystem doesn't support link() 2014-12-16 22:24:34 -05:00