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

198 Commits

Author SHA1 Message Date
Greg Alexander
59509132cf bump to 1.11 2016-08-08 14:18:55 -04:00
Greg Alexander
60fcaa6ec9 When reading data from various spots in /proc to initialize the random
number generator:
 * reduce timeout from 2s to 1ms
 * if timeout, abort
 * only read first 4096 bytes
this is to work around the fact that on Samsung Tab 4, /proc/timer_list
is apparently 167MB!
2016-08-08 14:08:49 -04:00
Greg Alexander
3d9a5b5ced bump to version 1.10 2016-07-22 09:04:46 -04:00
Greg Alexander
3eca9d014b enable TCP port forwarding 2016-07-22 09:03:52 -04:00
Greg Alexander
5aefdf3c11 bump to version 1.9 2016-07-04 20:42:45 -04:00
Greg Alexander
73d4406ee1 automatically restart sshd if the system kills it (or it crashes). but
don't restart it if it dies twice within 10 seconds.
only access sshd_pid (et al) from a few select spots now, with proper
synchronization.
2016-07-04 20:37:54 -04:00
Greg Alexander
2aeae24aed whoops, doc was nonsense, what is a "64-bit file"? 2016-06-21 21:40:29 -04:00
Greg Alexander
f49ef0c918 bump to version 1.8 2016-06-21 21:26:42 -04:00
Greg Alexander
7907d9949b tested... 2016-06-21 21:25:24 -04:00
Greg Alexander
41bdcb1b97 scp is now 64-bit capable as well, i think 2016-06-21 21:24:37 -04:00
Greg Alexander
277234865a now sftp is also 64-bit 2016-06-21 21:14:00 -04:00
Greg Alexander
8fb3ece145 turns out all rsync was missing for 64-bit files was
#define HAVE_STRUCT_STAT64 1
2016-06-21 09:18:39 -04:00
Greg Alexander
62dbd9c5aa 64-bit files todo list 2016-06-20 21:41:08 -04:00
Greg Alexander
b1abefd7c7 strike Authorized Keys from todo list 2016-06-19 17:47:44 -04:00
Greg Alexander
d4c46fcc1e mark version 1.7 2016-06-19 16:58:17 -04:00
Greg Alexander
b16e201adc minor doc touch-up 2016-06-19 16:56:07 -04:00
Greg Alexander
d5e3632326 document new "Authorized Keys" feature 2016-06-19 16:53:04 -04:00
Greg Alexander
4eecabf241 and now it works, even will create a new ssh directory from scratch 2016-06-19 16:45:18 -04:00
Greg Alexander
31fd0b37d0 now it compiles 2016-06-19 16:12:19 -04:00
Greg Alexander
84f9f31c14 first draft of new authorized_keys creation activity and support threads 2016-06-19 15:44:44 -04:00
Greg Alexander
65d628499b beginning framework for authorized keys editor 2016-06-18 16:47:53 -04:00
Greg Alexander
f74a71fdd4 cast away the const on DROPBEAR_PIDFILE to get rid of the last warning.
that's it for warnings.
2016-06-18 16:06:10 -04:00
Greg Alexander
2a7b7465fa remove -Wall on just the dropbear component, because the coding style for
dropbear is sloppy enough that we would require a bunch of changes, and
that would just complicate future merges.
2016-06-18 16:02:02 -04:00
Greg Alexander
d63844f60e surprisingly, they were actually harmless because ndk builds with
--gc-sections, which eliminates unused code and thus obviates the
undefined symbol
2016-06-18 15:59:06 -04:00
Greg Alexander
b67401eae7 sprinkle some includes of sftp.h so cleanup_exit() is prototyped when needed 2016-06-18 15:58:39 -04:00
Greg Alexander
1e81227bd2 add unreachable "return" statement to avoid warning about missing return value 2016-06-18 15:53:05 -04:00
Greg Alexander
dd7e234b7d prototype cleanup_exit() 2016-06-18 15:38:50 -04:00
Greg Alexander
103812fae8 don't pass localtime() a pointer into struct timespec (within struct
stat), because there is no guarantee that its tv_sec will be of type
time_t
2016-06-18 15:37:47 -04:00
Greg Alexander
3bc9394101 add config defines to rsync so it will use mkstemp() instead of mktemp()
(fixes link-time warning and possible vulnerability)
2016-06-18 15:33:09 -04:00
Greg Alexander
20e8113f28 build with -Wall 2016-06-18 15:31:29 -04:00
Greg Alexander
3327fc30c9 todo 2016-06-18 15:31:20 -04:00
Greg Alexander
f9477e9fd4 document not clearing env vars 2016-06-18 15:18:42 -04:00
Greg Alexander
2eb8fa9355 don't clear the environment when spawning shells, so that android system
variables remain available (so you can run 'am' and 'pm')
2016-06-18 15:15:27 -04:00
Greg Alexander
02a3cbd14b update build directions 2016-06-18 15:13:01 -04:00
Greg Alexander
441b11a9d0 install to new phone instead of old one 2016-06-18 15:09:07 -04:00
Greg Alexander
b3ac70ced5 add build instructions at the top of NOTES 2016-06-18 14:29:58 -04:00
Greg Alexander
5c16f8dd31 bump to version 1.6 because i failed to "./doit" when building 1.5 2016-06-12 20:35:34 -04:00
Greg Alexander
882734cf87 document that you can get git source directly now 2016-06-11 16:54:08 -04:00
Greg Alexander
0d1ccca285 tag version 1.5 2016-06-11 14:24:45 -04:00
Greg Alexander
0a033800b6 for the rsync/supersu buffering hack, limit the total buffer depth to 1MB
so that it doesn't cause memory exhaustion in extreme cases
2016-06-10 16:05:32 -04:00
Greg Alexander
4848e35b69 version 1.4 2015-11-23 09:08:52 -05:00
Greg Alexander
b35cee186d separate "Documentation" and "About" choices, and About just displays
version numbers now
2015-11-23 09:00:03 -05:00
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
c312fa52a3 give a warning and "unknown<af>.unknown" if we fail to get a string for
an address, instead of a fatal error
2015-11-23 08:16:43 -05:00
Greg Alexander
1019862157 commented out copy to website, for loading it onto difficult phones 2015-11-23 08:16:10 -05:00
Greg Alexander
cd701bbed2 todone 2015-06-21 09:11:49 -04:00
Greg Alexander
5b87d46bee tag version 1.3 2015-06-21 09:10:56 -04:00
Greg Alexander
8a62f1fa9f document new buffer hack 2015-06-21 09:09:42 -04: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
2349aef08c whoops, had date wrong in version note 2015-01-18 16:45:47 -05:00