summaryrefslogtreecommitdiff
path: root/dbutil.c
Commit message (Collapse)AuthorAgeFilesLines
* - Add adaptive authentication failure delayMatt Johnston2018-11-051-43/+39
| | | | - Rework monotonic_now/gettime_wrapper and use clock_gettime on more platforms
* some linting after fuzz merge (#60)Fran?ois Perrad2018-03-031-1/+1
| | | | | | | | * fix prototype * remove extra comma * use m_free after m_strdup
* Fix to be able to compile normal(ish) binaries with --enable-fuzzMatt Johnston2018-02-281-1/+1
|
* - #if not #ifdef for DROPBEAR_FUZZMatt Johnston2018-02-281-3/+3
| | | | - fix some unused variables
* merge from mainMatt Johnston2018-02-171-39/+26
|\
| * merge up to dateMatt Johnston2018-01-231-39/+26
| |\
| | * fix dss debug printingMatt Johnston2017-06-241-0/+1
| | |
| | * Add a flag whether to longjmp, missed that last commitMatt Johnston2017-06-011-1/+1
| | |
| | * Disable setnonblocking(), get_socket_address(), set_sock_priority()Matt Johnston2017-05-261-10/+9
| | | | | | | | | | | | for fuzzing
| | * fuzzing has a constant timeMatt Johnston2017-05-251-0/+10
| | |
| | * fuzzer-pubkeyMatt Johnston2017-05-231-0/+7
| | |
| | * add dbmalloc epoch cleanupMatt Johnston2017-05-211-39/+0
| | |
| | * glaring wrapfd problems fixedMatt Johnston2017-05-201-1/+10
| | |
* | | options: Complete the transition to numeric toggles (`#if')Michael Witten2017-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | define CLOCK_MONOTONIC if neededMatt Johnston2018-02-081-0/+4
| | |
* | | Merge pull request #49 from fperrad/20170812_lintMatt Johnston2018-01-251-1/+1
|\ \ \ | |/ / |/| | | | | Some linting, const parameters
| * | Pointer parameter could be declared as pointing to const (callback)Francois Perrad2017-08-191-1/+1
| |/
* | test close < 0, from Marco WenzelMatt Johnston2017-10-181-1/+1
|/
* merge 2017.75Matt Johnston2017-05-181-0/+17
|\
| * Use atomic key generation in all casesMatt Johnston2016-11-191-0/+17
| |
* | ses.debug_trace is wrongMatt Johnston2016-09-011-1/+1
| |
* | Convert #ifdef to #if, other build changesMatt Johnston2016-05-041-6/+6
|/
* move m_burn and function attributes to dbhelpersMatt Johnston2016-03-171-22/+0
| | | | use m_burn for libtomcrypt zeromem() too
* Use memset_s or explicit_bzeroMatt Johnston2016-03-161-0/+7
|
* more hard tabFrancois Perrad2016-01-011-15/+15
|
* Allow setting syslog identifier via startsyslog().Konstantin Tokarev2015-12-011-2/+2
|
* change DROPBEAR_DEFAULT_CLI_AUTHKEY to just prepend homedirMatt Johnston2015-08-031-5/+6
| | | | rather than doing ~ expansion
* merge from defaultMatt Johnston2015-02-281-1/+1
|\
| * Fix for old compilers, variable declarations at beginning of functionsThorsten Horstmann2015-02-241-1/+1
| | | | | | | | and /**/ comments
* | Move generic network routines to netio.cMatt Johnston2015-02-201-549/+0
| |
* | mergeMatt Johnston2015-02-191-1/+2
|\ \
| * | fallback for old glibc and fastopenMatt Johnston2015-02-191-1/+2
| | | | | | | | | | | | memset rather than = {0} initialiser
* | | Add the missing second half of iov codeMatt Johnston2015-02-191-0/+4
|/ /
* | In theory TFO should work. Needs platform cleanup and testingMatt Johnston2015-02-191-4/+42
| |
* | async connections workingMatt Johnston2015-02-181-46/+58
| |
* | work in progress for async connectMatt Johnston2015-02-181-89/+210
| |
* | tcp fastopen for the serverMatt Johnston2015-02-151-0/+10
|/
* connect_remote() is now always non-blockingMatt Johnston2015-02-141-8/+5
|
* Add envirnonment variable for debug timestamps to roughly matchMatt Johnston2015-02-131-4/+17
| | | | network timestamps (in tshark)
* Make it compileMatt Johnston2015-02-131-1/+1
|
* piggyback data on acks when making connections on linuxMatt Johnston2015-02-131-8/+39
|
* Default client key path ~/.ssh/id_dropbearMatt Johnston2015-01-241-0/+17
|
* Don't warn about ENOTSOCK when setting priorityMatt Johnston2014-08-061-3/+6
|
* Fix some format string warningsMatt Johnston2014-07-281-3/+4
|
* Fix clock_gettime handlingMatt Johnston2014-07-281-12/+34
|
* Improve handling lots of concurrent forwarded connections. IncreaseMatt Johnston2014-06-251-1/+1
| | | | connection backlog, avoid check_close() for channels that haven't had IO
* Fix monotonic_now() on OS XMatt Johnston2014-03-211-1/+1
|
* Add new monotonic_now() wrapper so that timeouts are unaffected byMatt Johnston2014-03-131-0/+43
| | | | system clock changes
* DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by defaultMatt Johnston2014-01-171-0/+4
|
* - Sockets are set to lowdelay priority initially to improve conneciton setupMatt Johnston2013-12-031-15/+22
| | | | | time - Set non-pty connections to bulk for client and server