Commit Graph

61 Commits (sigsegv_dump)

Author SHA1 Message Date
Greg Alexander 62b119e07f Keep around a copy of the old dropbear.err so that it can be accessed
5 years ago
Greg Alexander 12ccb85024 Don't build the stand-alone executables with -static because that doesn't
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'
5 years ago
Greg Alexander 22d7993e23 Find native lib directory the correct way, using
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
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
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
8 years ago
Greg Alexander 2a7b7465fa remove -Wall on just the dropbear component, because the coding style for
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
8 years ago
Greg Alexander 0062f2794a add #define HAVE_GAI_STRERROR, because we do, and it hsould be slightly
9 years ago
Greg Alexander a916ac5c08 add 'buffersu' program to wrap rsync and make sure there is no wedging
9 years ago
Greg Alexander c8d1c356d1 build static binaries so that we don't run into lollipop's requirement
9 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
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
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
10 years ago
Greg Alexander b88f4f1db0 ack, stupid typo
10 years ago
Greg Alexander f0dcb8b2c0 pass '-p <portno>' on the virtual commandline
10 years ago
Greg Alexander 447ffa0b8f stderr output should now hopefully go to /sdcard/ssh/dropbear.err instead
10 years ago
Greg Alexander bfa3c99dc0 actually call main...
10 years ago
Greg Alexander a9ca75accc communicate the preferences to the C code
10 years ago
Greg Alexander 9cac7ed132 make sshd_pid static
10 years ago
Greg Alexander e1d43c3208 first draft of rough JNI interface
10 years ago
Greg Alexander 52dce6c256 disable ZLIB
10 years ago
Greg Alexander d9d19077cb take care of excess definitions
10 years ago