summaryrefslogtreecommitdiffhomepage
path: root/dbutil.c
AgeCommit message (Collapse)Author
2018-11-05- Add adaptive authentication failure delayMatt Johnston
- Rework monotonic_now/gettime_wrapper and use clock_gettime on more platforms
2018-03-03some linting after fuzz merge (#60)François Perrad
* fix prototype * remove extra comma * use m_free after m_strdup
2018-02-28Fix to be able to compile normal(ish) binaries with --enable-fuzzMatt Johnston
--HG-- branch : fuzz
2018-02-28- #if not #ifdef for DROPBEAR_FUZZMatt Johnston
- fix some unused variables --HG-- branch : fuzz
2018-02-17merge from mainMatt Johnston
--HG-- branch : fuzz
2018-02-16options: Complete the transition to numeric toggles (`#if')Michael Witten
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.
2018-02-08define CLOCK_MONOTONIC if neededMatt Johnston
2018-01-25Merge pull request #49 from fperrad/20170812_lintMatt Johnston
Some linting, const parameters
2018-01-23merge up to dateMatt Johnston
--HG-- branch : fuzz
2017-10-18test close < 0, from Marco WenzelMatt Johnston
2017-08-19Pointer parameter could be declared as pointing to const (callback)Francois Perrad
2017-06-24fix dss debug printingMatt Johnston
--HG-- branch : fuzz
2017-06-01Add a flag whether to longjmp, missed that last commitMatt Johnston
--HG-- branch : fuzz
2017-05-26Disable setnonblocking(), get_socket_address(), set_sock_priority()Matt Johnston
for fuzzing --HG-- branch : fuzz
2017-05-25fuzzing has a constant timeMatt Johnston
--HG-- branch : fuzz
2017-05-23fuzzer-pubkeyMatt Johnston
--HG-- branch : fuzz
2017-05-21add dbmalloc epoch cleanupMatt Johnston
--HG-- branch : fuzz
2017-05-20glaring wrapfd problems fixedMatt Johnston
--HG-- branch : fuzz
2017-05-18merge 2017.75Matt Johnston
2016-11-19Use atomic key generation in all casesMatt Johnston
2016-09-01ses.debug_trace is wrongMatt Johnston
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-03-17move m_burn and function attributes to dbhelpersMatt Johnston
use m_burn for libtomcrypt zeromem() too
2016-03-16Use memset_s or explicit_bzeroMatt Johnston
2016-01-01more hard tabFrancois Perrad
2015-12-15Allow setting syslog identifier via startsyslog().Konstantin Tokarev
2015-08-03change DROPBEAR_DEFAULT_CLI_AUTHKEY to just prepend homedirMatt Johnston
rather than doing ~ expansion
2015-02-28merge from defaultMatt Johnston
--HG-- branch : fastopen
2015-02-24Fix for old compilers, variable declarations at beginning of functionsThorsten Horstmann
and /**/ comments
2015-02-20Move generic network routines to netio.cMatt Johnston
--HG-- branch : fastopen
2015-02-19mergeMatt Johnston
--HG-- branch : fastopen
2015-02-19Add the missing second half of iov codeMatt Johnston
--HG-- branch : fastopen
2015-02-19fallback for old glibc and fastopenMatt Johnston
memset rather than = {0} initialiser --HG-- branch : fastopen
2015-02-19In theory TFO should work. Needs platform cleanup and testingMatt Johnston
--HG-- branch : fastopen
2015-02-18async connections workingMatt Johnston
--HG-- branch : fastopen
2015-02-18work in progress for async connectMatt Johnston
--HG-- branch : fastopen
2015-02-15tcp fastopen for the serverMatt Johnston
--HG-- branch : fastopen
2015-02-14connect_remote() is now always non-blockingMatt Johnston
2015-02-13Add envirnonment variable for debug timestamps to roughly matchMatt Johnston
network timestamps (in tshark)
2015-02-13Make it compileMatt Johnston
2015-02-13piggyback data on acks when making connections on linuxMatt Johnston
2015-01-24Default client key path ~/.ssh/id_dropbearMatt Johnston
2014-08-06Don't warn about ENOTSOCK when setting priorityMatt Johnston
2014-07-28Fix some format string warningsMatt Johnston
2014-07-28Fix clock_gettime handlingMatt Johnston
2014-06-25Improve handling lots of concurrent forwarded connections. IncreaseMatt Johnston
connection backlog, avoid check_close() for channels that haven't had IO
2014-03-21Fix monotonic_now() on OS XMatt Johnston
2014-03-13Add new monotonic_now() wrapper so that timeouts are unaffected byMatt Johnston
system clock changes
2014-01-17DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by defaultMatt Johnston
2013-12-03- Sockets are set to lowdelay priority initially to improve conneciton setupMatt Johnston
time - Set non-pty connections to bulk for client and server