changeset | 83b6a47759a8 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add m_snprintf() that won't return negative |
files |
changeset | 180e580778df |
---|---|
branch | |
bookmark | |
tag | |
user | HansH111 <hans@atbas.org> |
description | Added DEBUG1,DEBUG2,DEBUG3 to separate functions while keeping TRACE and TRACE2. |
files |
changeset | 0dcc5b0d93fa |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Make re-exec work with "dropbearmulti dropbear" The re-exec needs to know to use the dropbearmulti binary instead. Add a test for this case. |
files |
changeset | 90ac15aeac43 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@codeconstruct.com.au> |
description | Bring back recently removed channel->flushing This resolves the "sleep 10&echo hello" case which should return immediately |
files |
changeset | e11ed628708b |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Add adaptive authentication failure delay - Rework monotonic_now/gettime_wrapper and use clock_gettime on more platforms |
files |
changeset | 60fceff95858 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | workaround memory sanitizer FD_ZERO false positives |
files |
changeset | 5916af64acd4 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge from main |
files |
changeset | 2d450c1056e3 |
---|---|
branch | |
bookmark | |
tag | |
user | Michael Witten <mfwitten@gmail.com> |
description | options: Complete the transition to numeric toggles (`#if') For the sake of review, this commit alters only the code; the affiliated comments within the source files also need to be updated, but doing so now would obscure the operational changes that have been made here. * All on/off options have been switched to the numeric `#if' variant; that is the only way to make this `default_options.h.in' thing work in a reasonable manner. * There is now some very minor compile-time checking of the user's choice of options. * NO_FAST_EXPTMOD doesn't seem to be used, so it has been removed. * ENABLE_USER_ALGO_LIST was supposed to be renamed DROPBEAR_USER_ALGO_LIST, and this commit completes that work. * DROPBEAR_FUZZ seems to be a relatively new, as-yet undocumented option, which was added by the following commit: commit 6e0b539e9ca0b5628c6c5a3d118ad6a2e79e8039 Author: Matt Johnston <matt@ucc.asn.au> Date: Tue May 23 22:29:21 2017 +0800 split out checkpubkey_line() separately It has now been added to `sysoptions.h' and defined as `0' by default. * The configuration option `DROPBEAR_PASSWORD_ENV' is no longer listed in `default_options.h.in'; it is no longer meant to be set by the user, and is instead left to be defined in `sysoptions.h' (where it was already being defined) as merely the name of the environment variable in question: DROPBEAR_PASSWORD To enable or disable use of that environment variable, the user must now toggle `DROPBEAR_USE_DROPBEAR_PASSWORD'. * The sFTP support is now toggled by setting `DROPBEAR_SFTPSERVER', and the path of the sFTP server program is set independently through the usual SFTPSERVER_PATH. |
files |
changeset | 58a74cb829b8 |
---|---|
branch | |
bookmark | |
tag | |
user | Francois Perrad <francois.perrad@gadz.org> |
description | Pointer parameter could be declared as pointing to const (callback) |
files |
changeset | f9f930e1a516 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | add dbmalloc epoch cleanup |
files |
changeset | bbc0a0ee3843 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge main |
files |
changeset | 8747c2b19152 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge 2017.75 |
files |
changeset | efad433418c4 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Use atomic key generation in all cases |
files |
changeset | 185c14fa504d |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Use atomic key generation in all cases |
files |
changeset | 750ec4ec4cbe |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Convert #ifdef to #if, other build changes |
files |
changeset | 3017bc7d6238 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | move m_burn and function attributes to dbhelpers use m_burn for libtomcrypt zeromem() too |
files |
changeset | 9169e4e7cbee |
---|---|
branch | |
bookmark | |
tag | |
user | Francois Perrad <francois.perrad@gadz.org> |
description | fix empty C prototypes |
files |
changeset | 6ecc133fb2ee |
---|---|
branch | |
bookmark | |
tag | |
user | Konstantin Tokarev <ktokarev@smartlabs.tv> |
description | Allow setting syslog identifier via startsyslog(). |
files |
changeset | be862d101766 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | remove extraneous semicolon from m_free #define |
files |
changeset | 36557295418e |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | change DROPBEAR_DEFAULT_CLI_AUTHKEY to just prepend homedir rather than doing ~ expansion |
files |
changeset | 01eea88963f3 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge from default |
files |
changeset | deed0571cacc |
---|---|
branch | |
bookmark | |
tag | |
user | Thorsten Horstmann <thorsten.horstmann@web.de> |
description | DROPBEAR_ prefix for include guards to avoid collisions |
files |
changeset | ca71904cf3ee |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fixes for backwards compatibility |
files |
changeset | 0da8ba489c23 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Move generic network routines to netio.c |
files |
changeset | 5ad81aa19c2d |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | fallback for old glibc and fastopen memset rather than = {0} initialiser |
files |
changeset | daf21fd50abf |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | In theory TFO should work. Needs platform cleanup and testing |
files |
changeset | 02baa0b334e8 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | async connections working |
files |
changeset | aac0095dc3b4 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | work in progress for async connect |
files |
changeset | a00303a7d247 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | tcp fastopen for the server |
files |
changeset | 4121ca987e6a |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | connect_remote() is now always non-blocking |
files |
changeset | 24135c8e1d46 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add envirnonment variable for debug timestamps to roughly match network timestamps (in tshark) |
files |
changeset | 7668ca9ae132 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix bad multi-statement define for m_free(), detected by Coverity |
files |
changeset | 6fb4c010c448 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Default client key path ~/.ssh/id_dropbear |
files |
changeset | f92eb625c48d |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Don't use multichar constants since recent gcc complains - Add release script - Simplify print_version |
files |
changeset | 5daedffd0769 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Set tcp priority as follows: if (connecting || ptys || x11) tos = LOWDELAY; else if (tcp_forwards) tos = 0; else tos = BULK; TCP forwards could be either lowdelay or bulk, hence the default priority. |
files |
changeset | 7cd89d4e0335 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add new monotonic_now() wrapper so that timeouts are unaffected by system clock changes |
files |
changeset | aa689d140928 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Sockets are set to lowdelay priority initially to improve conneciton setup time - Set non-pty connections to bulk for client and server |
files |
changeset | 80af450dae76 |
---|---|
branch | |
bookmark | |
tag | |
user | Catalin Patulea <cat@vv.carleton.ca> |
description | Set IPTOS_LOWDELAY on PTY sessions only |
files |
changeset | 4095b6d7c9fc |
---|---|
branch | ecc |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Merge in changes from the past couple of releases |
files |
changeset | a625f9e135a4 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Constant time memcmp for the hmac and password crypt |
files |
changeset | 7dcb46da72d9 |
---|---|
branch | ecc |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge in HEAD |
files |
changeset | 2202e854d187 |
---|---|
branch | ecc |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | add printmpint() for debugging |
files |
changeset | 504f33c684b5 |
---|---|
branch | kexguess |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add sentinel attribute |
files |
changeset | 9a5438271556 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Move the more verbose TRACE() statements into TRACE2() |
files |
changeset | df11cb6a3665 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - We don't need to test for NULL before free() |
files |
changeset | 2b1bb792cd4d |
---|---|
branch | dropbear-tfm |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Update tfm changes to current default tip |
files |
changeset | 76097ec1a29a |
---|---|
branch | dropbear-tfm |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Bring in original tomsfastmath patch against 0.52 from Peter Turczak in 2008 |
files |
changeset | 00eca37e47e8 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add noreturn and format attribute hints for some functions. |
files |
changeset | 005530560594 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Rearrange getaddrstring() etc |
files |
changeset | d588e3ea557a |
---|---|
branch | agent-client |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | propagate from branch 'au.asn.ucc.matt.dropbear' (head 4fb35083f0f46ea667e7043e7d4314aecd3df46c) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee) |
files |
changeset | b956d6151600 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Replace calls to strtoul() with a helper m_str_to_uint() |
files |
changeset | 7ad49f34a122 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Add run_shell_command() function to run a "sh -c" command, handling lots of the work that exechild did (and can be shared by client -J option) |
files |
changeset | 357a2e2e9bcc |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - Generalise spawn_command function |
files |
changeset | c1e9c81d1d27 |
---|---|
branch | agent-client |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | propagate from branch 'au.asn.ucc.matt.dropbear' (head 8a7db1e2fdc5636abb338adb636babc32f465739) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head d82c25da2f7e4fb6da510d806c64344e80bb270d) |
files |
changeset | 1afa503e33f5 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Disable core dumps |
files |
changeset | ed24dfc44904 |
---|---|
branch | debug-unrandom |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | add some debugging of mpints |
files |
changeset | dc6173e09ff7 |
---|---|
branch | ucc-axis-hack |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | smaller yet again |
files |
changeset | 79bf1023cf11 |
---|---|
branch | agent-client |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | propagate from branch 'au.asn.ucc.matt.dropbear' (head 0501e6f661b5415eb76f3b312d183c3adfbfb712) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 01038174ec27245b51bd43a66c01ad930880f67b) |
files |
changeset | 044bc108b9b3 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | * Per-IP connection unauthed connection limits * m_close() exits fatally on failure * other cleanups |
files |
changeset | c5d3ef11155f |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | * use own assertions which should get logged properly |
files |