summaryrefslogtreecommitdiffhomepage
path: root/dbutil.c
AgeCommit message (Collapse)Author
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
2017-10-18test close < 0, from Marco WenzelMatt Johnston
2017-08-19Pointer parameter could be declared as pointing to const (callback)Francois Perrad
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
2013-12-02Set IPTOS_LOWDELAY on PTY sessions onlyCatalin Patulea
2013-11-25Fix some warningsMatt Johnston
2013-10-18Merge in changes from the past couple of releasesMatt Johnston
--HG-- branch : ecc
2013-10-03Constant time memcmp for the hmac and password cryptMatt Johnston
2013-05-21merge in HEADMatt Johnston
--HG-- branch : ecc
2013-04-08add printmpint() for debuggingMatt Johnston
--HG-- branch : ecc
2013-04-04Take transmit and receive keys into use separatelyMatt Johnston
2013-04-01Move the more verbose TRACE() statements into TRACE2()Matt Johnston
2012-04-09Rename HAVE_FORK to USE_VFORKMatt Johnston
It makes it a bit more obvious why there's a test there since HAVE_FORK is the normal case.
2012-04-08check for fork() and not __uClinux__Mike Frysinger
2012-02-21- MergeMatt Johnston
2012-02-21- Burn buffers to 0x00 insteadMatt Johnston
2011-12-04- We don't need to test for NULL before free()Matt Johnston