Commit Graph

49 Commits (sigsegv_dump)

Author SHA1 Message Date
Greg Alexander d7bd00fc2b change SIGSEGV handler to use SA_SIGINFO to get context information, and
5 years ago
Greg Alexander 7879c603fe Make a naive IP address decoder for the case where the library's
5 years ago
Greg Alexander 80bb4d95c9 use rename() if the underlying filesystem doesn't support link()
5 years ago
Greg Alexander bb8753a5a6 Disable DROPBEAR_SVR_MULTIUSER, because we don't want to be calling
5 years ago
Greg Alexander b7bc52d209 Add type cast to avoid warning.
5 years ago
Greg Alexander 5a5cc34841 Use correct #define to disable using environment variable to supply
5 years ago
Greg Alexander 258e88e458 Merge branch 'dropbear'
5 years ago
Greg Alexander 9d7c6ffbfb stock dropbear-2019.78 source tree
5 years ago
Greg Alexander 22d7993e23 Find native lib directory the correct way, using
5 years ago
Greg Alexander 6c276207fa add some consts to get rid of warnings (this is included in version 18
6 years ago
Greg Alexander b1147a3aef m_free() the temps used for setting the environment
6 years ago
Greg Alexander 3c5b02beb9 change a few places that used malloc to use m_malloc instead *shrug*
6 years ago
Greg Alexander 9efa856065 add option to set environment variables
6 years ago
Greg Alexander 43cd46fd0d su is not a login shell, so if it's in the shell's filename, don't put
6 years ago
Greg Alexander 651ba21816 don't call pty_release() because it always fails, and because we never
7 years ago
Greg Alexander beed31bead improve error message when execv()ing the shell fails
7 years ago
Greg Alexander 4d888fdd81 fix typo
8 years ago
Greg Alexander 8a9503ac90 improve the formatting of the password message in the log
8 years ago
Greg Alexander cbee2a1b67 if there is no authorized_keys file, generate a single-use password
8 years ago
Greg Alexander 60fcaa6ec9 When reading data from various spots in /proc to initialize the random
8 years ago
Greg Alexander 3eca9d014b enable TCP port forwarding
8 years ago
Greg Alexander 41bdcb1b97 scp is now 64-bit capable as well, i think
8 years ago
Greg Alexander f74a71fdd4 cast away the const on DROPBEAR_PIDFILE to get rid of the last warning.
8 years ago
Greg Alexander 2eb8fa9355 don't clear the environment when spawning shells, so that android system
8 years ago
Greg Alexander c312fa52a3 give a warning and "unknown<af>.unknown" if we fail to get a string for
9 years ago
Greg Alexander a916ac5c08 add 'buffersu' program to wrap rsync and make sure there is no wedging
9 years ago
Greg Alexander 1412edbee7 now it can execute rsync, which mostly works
10 years ago
Greg Alexander 8fb9669531 this is the only change necessary to make sftp-server "work" with dropbear
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 18f801e87a more appropriate default path for android
10 years ago
Greg Alexander f664476da5 don't attempt to change uid, we do not run as root
10 years ago
Greg Alexander f2b458f499 don't maintain utmp/wtmp
10 years ago
Greg Alexander c222b4b074 use configuration values instead of getpwnam()
10 years ago
Greg Alexander 25b613c4f5 use rename() if the underlying filesystem doesn't support link()
10 years ago
Greg Alexander 97533c8574 add LTC_SOURCE to each libtomcrypt .c file because that's easier than
10 years ago
Greg Alexander b912829679 don't tweak tomcrypt ecc timing settings either
10 years ago
Greg Alexander 0ff8cc90aa back out partial LTC_SOURCE hack, in preparation for a more thorough one
10 years ago
Greg Alexander 834e994042 put the pid file under conf_path_file()
10 years ago
Greg Alexander 781af9c467 Revert "get rid of pid file"
10 years ago
Greg Alexander 3f721ae740 add conf_path_file() function to generate "/sdcard/ssh/foo" style filenames
10 years ago
Greg Alexander f0dcb8b2c0 pass '-p <portno>' on the virtual commandline
10 years ago
Greg Alexander 11c4fa947d somehow #define LTC_SOURCE 1 (which should really be in all libtomcrypt
10 years ago
Greg Alexander 72aee0cc1e first try of configuring it (fail)
10 years ago
Greg Alexander e658e1694d get rid of pid file
10 years ago
Greg Alexander 7cb3cbc624 use S_IWUSR (0200) instead of S_IWRITE (S_IWRITE isn't documented, i
10 years ago
Greg Alexander 5b4f2d405f don't use the timing-resistant ltc_ecc_mulmod because (a) i don't care
10 years ago
Greg Alexander 087adfa668 fix bug in dropbear - returning address of local variable!!
10 years ago
Greg Alexander b221c41798 stock dropbear-2014.66 source tree
10 years ago