changeset | 83b6a47759a8 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add m_snprintf() that won't return negative |
files |
changeset | 7ac3b6c380b1 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix C99 comment |
files |
changeset | 667937351c31 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix tilde expansion of paths (Part was missed from previous series of commits) |
files |
changeset | 9382271da9ef |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Only set soft core limit not hard limit Otherwise child shells can't enable coredumps if desired. Fixes #145 on github |
files |
changeset | 3f87f7ff1092 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix building with DEBUG_TRACE = 0 Also try a less repetitive way of specifying macros |
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 | 7f549ee3df48 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Robinson <git@nerdoftheherd.com> |
description | Use HOME before /etc/passwd to find id_dropbear (#137) Currently dbclient uses the value of HOME by default when looking for ~/.ssh/known_hosts, falling back to /etc/passwd if HOME is not set (so that people can work around broken values in /etc/passwd). However, when locating the default authentication key (defaults to ~/.ssh/id_dropbear), paths not starting with / are always prefixed with the value from /etc/passwd. Make the behaviour consistent by adjusting expand_homedir_path to use the value of HOME, falling back to /etc/passwd if HOME is not set. |
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 | 870f6e386a0b |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@codeconstruct.com.au> |
description | Partial strings from strtoul should return error |
files |
changeset | a339b1c4b9f2 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Print ascii in printhex too |
files |
changeset | dfbe947bdf0d |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Make wrapfd share a common buffer for all FDs |
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 | e75dab5bec71 |
---|---|
branch | |
bookmark | |
tag | |
user | François Perrad <francois.perrad@gadz.org> |
description | some linting after fuzz merge (#60) * fix prototype * remove extra comma * use m_free after m_strdup |
files |
changeset | 92c93b4a3646 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix to be able to compile normal(ish) binaries with --enable-fuzz |
files |
changeset | 2f64cb3d3007 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | - #if not #ifdef for DROPBEAR_FUZZ - fix some unused variables |
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 | b528e3753af4 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | define CLOCK_MONOTONIC if needed |
files |
changeset | fb90a5ba84e0 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Merge pull request #49 from fperrad/20170812_lint Some linting, const parameters |
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 | 4afde04f0607 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge up to date |
files |
changeset | 336cae2238ca |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | test close < 0, from Marco Wenzel |
files |
changeset | 41dca1e5ea34 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | fix dss debug printing |
files |
changeset | 6c92e97553f1 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add a flag whether to longjmp, missed that last commit |
files |
changeset | f03cfe9c76ac |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Disable setnonblocking(), get_socket_address(), set_sock_priority() for fuzzing |
files |
changeset | d8215479a58a |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | fuzzing has a constant time |
files |
changeset | ddfcadca3c4c |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | fuzzer-pubkey |
files |
changeset | f9f930e1a516 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | add dbmalloc epoch cleanup |
files |
changeset | 6b89eb92f872 |
---|---|
branch | fuzz |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | glaring wrapfd problems fixed |
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 | 21156be2bb26 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | ses.debug_trace is wrong |
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 | 94d4038bb34c |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Use memset_s or explicit_bzero |
files |
changeset | 2bb4c662d1c2 |
---|---|
branch | |
bookmark | |
tag | |
user | Francois Perrad <francois.perrad@gadz.org> |
description | more hard tab |
files |
changeset | 6ecc133fb2ee |
---|---|
branch | |
bookmark | |
tag | |
user | Konstantin Tokarev <ktokarev@smartlabs.tv> |
description | Allow setting syslog identifier via startsyslog(). |
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 | d3925ed45a85 |
---|---|
branch | |
bookmark | |
tag | |
user | Thorsten Horstmann <thorsten.horstmann@web.de> |
description | Fix for old compilers, variable declarations at beginning of functions and /**/ comments |
files |
changeset | 0da8ba489c23 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Move generic network routines to netio.c |
files |
changeset | 1fff5d7163f6 |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | merge |
files |
changeset | ea4676b840ef |
---|---|
branch | fastopen |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Add the missing second half of iov code |
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 | cb148f8d3d22 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Make it compile |
files |
changeset | 257f7d5fca97 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | piggyback data on acks when making connections on linux |
files |
changeset | 6fb4c010c448 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Default client key path ~/.ssh/id_dropbear |
files |
changeset | db9fa5971d24 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Don't warn about ENOTSOCK when setting priority |
files |
changeset | 356a25a108a3 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix some format string warnings |
files |
changeset | ef8d939de3dd |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix clock_gettime handling |
files |
changeset | d93a6bcf616f |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Improve handling lots of concurrent forwarded connections. Increase connection backlog, avoid check_close() for channels that haven't had IO |
files |
changeset | 8f04e36622c0 |
---|---|
branch | |
bookmark | |
tag | |
user | Matt Johnston <matt@ucc.asn.au> |
description | Fix monotonic_now() on OS X |
files |