Greg Alexander
|
62dcaa750a
|
Enable GCM, too. I'm not clear on what it is but default_options.h says
it should be enabled for compatibility if you can spare 6kB of executable
size. Anyways, it's new.
|
3 years ago |
Greg Alexander
|
d59d79da18
|
Enable ed25519, which is the main attraction for dropbear 2020.81.
|
3 years ago |
Greg Alexander
|
2516984300
|
Added new sources (mostly renamed members of libtommath) that are needed
to compile dropbear 2020.81.
|
3 years ago |
Greg Alexander
|
a2d1ada9d2
|
Remove sources from the makefile that are not available in dropbear
2020.81 (will need to add some too, later).
|
3 years ago |
Greg Alexander
|
2bdd5eaa6d
|
Fix WinSCP problem...reduce the maximum size of a single packet to 128kB
(was 512kB, WinSCP rejects bigger than 256kB). Leave the window size at
512kB, which is what gives the performance boost.
|
4 years ago |
Greg Alexander
|
8c3c844521
|
On a suggestion from Domagoj, make the receive window much larger,
providing about a 5x improvement in receive performance on my phone.
|
4 years ago |
Greg Alexander
|
2717173d32
|
compile with -O, in response to a poor performance report from Domagoj
|
4 years ago |
Greg Alexander
|
a3bbb0bf96
|
Fix the SIGSEGV that users have been reporting - don't execute anything
that had already been registered with atexit().
|
5 years ago |
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).
|
5 years ago |
Greg Alexander
|
12ccb85024
|
Don't build the stand-alone executables with -static because that doesn't
seem to be necessary with the newer NDK.
|
5 years ago |
Greg Alexander
|
9fe01ea860
|
Add new dropbear-2019.78 sources to the JNI Makefile.
|
5 years ago |
Greg Alexander
|
258e88e458
|
Merge branch 'dropbear'
Update to dropbear-2019.78.
Probably does not build...
|
5 years ago |
Greg Alexander
|
22d7993e23
|
Find native lib directory the correct way, using
Context.getApplicationInfo().nativeLibraryDir.
|
5 years ago |
Greg Alexander
|
7db95c7815
|
update to target ABI "all", which adds x86_64 and arm64
|
5 years ago |
Greg Alexander
|
cec5e52c7e
|
Now it compiles with the new NDK.
|
5 years ago |
Greg Alexander
|
7419f62d98
|
Update minSdkVersion to 16, because that's the oldest supported by the
NDK these days.
|
5 years ago |
Greg Alexander
|
9efa856065
|
add option to set environment variables
|
6 years ago |
Greg Alexander
|
88335f47b6
|
initial hack to see if building for armeabi and x86 will work for x86_64
phones too
|
6 years ago |
Greg Alexander
|
cbee2a1b67
|
if there is no authorized_keys file, generate a single-use password
|
8 years ago |
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.
|
8 years ago |
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.
|
8 years ago |
Greg Alexander
|
20e8113f28
|
build with -Wall
|
8 years ago |
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
|
8 years ago |
Greg Alexander
|
0062f2794a
|
add #define HAVE_GAI_STRERROR, because we do, and it hsould be slightly
more complete..
|
9 years ago |
Greg Alexander
|
a916ac5c08
|
add 'buffersu' program to wrap rsync and make sure there is no wedging
when SuperSU is combined with rsync
|
9 years ago |
Greg Alexander
|
c8d1c356d1
|
build static binaries so that we don't run into lollipop's requirement
for "PIE" executables
|
10 years ago |
Greg Alexander
|
42fd4dd266
|
don't build zlib for dropbear, it can use the android system zlib
|
10 years ago |
Greg Alexander
|
1e212e3cec
|
switch rsync over to using its own internal zlib
|
10 years ago |
Greg Alexander
|
bb347ffffe
|
now rsync builds (untested)
|
10 years ago |
Greg Alexander
|
7a66cd87b9
|
added all of the source files needed for sftp-server
|
10 years ago |
Greg Alexander
|
e53d852b98
|
add sftp-server to build even though it won't build yet...
|
10 years ago |
Greg Alexander
|
aa9cbca1ed
|
enable building and using zlib -- quite painless!
|
10 years ago |
Greg Alexander
|
7f0a8a63c0
|
build scp as a separate executable
|
10 years ago |
Greg Alexander
|
93760bfb7b
|
intercept attempts to execute "scp", and redirect them to the builtin scp
|
10 years ago |
Greg Alexander
|
253c468b3a
|
close all the android system fds when starting the dropbear server
|
10 years ago |
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
|
10 years ago |
Greg Alexander
|
8a1bc2c4e0
|
made the JNI methods static because they didn't use this anyways
|
10 years ago |
Greg Alexander
|
5df0610f5c
|
implement the extra dropbear commandline options
|
10 years ago |
Greg Alexander
|
1d79555a2f
|
todo
|
10 years ago |
Greg Alexander
|
c222b4b074
|
use configuration values instead of getpwnam()
|
10 years ago |
Greg Alexander
|
ff446269b3
|
use ptmx
|
10 years ago |
Greg Alexander
|
5902ab0952
|
tell dropbear not to fork into the background, because we've already
forked before calling it...
|
10 years ago |
Greg Alexander
|
6d872af030
|
listen to "0.0.0.0:port" because otherwise it seems to default to ipv6 (??)
|
10 years ago |
Greg Alexander
|
9ea9717624
|
add -R for DROPBEAR_DELAY_HOSTKEY
|
10 years ago |
Greg Alexander
|
8a8b4c3acb
|
fix typo hiding argv
|
10 years ago |
Greg Alexander
|
304044bc05
|
disable syslog so we get the error messages on stderr
|
10 years ago |
Greg Alexander
|
3f721ae740
|
add conf_path_file() function to generate "/sdcard/ssh/foo" style filenames
|
10 years ago |
Greg Alexander
|
0c939b5b24
|
a little note in the .err file to indicate what's happening...
|
10 years ago |
Greg Alexander
|
58eefb02b9
|
add something to wait for the forked process to die, so it doesn't become
a zombie
|
10 years ago |
Greg Alexander
|
b88f4f1db0
|
ack, stupid typo
|
10 years ago |