summaryrefslogtreecommitdiffhomepage
path: root/netio.c
AgeCommit message (Collapse)Author
2018-03-04get rid of unused packet_type in encrypted write queueMatt Johnston
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-16use NULL instead of 0Francois Perrad
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-01-26bind to port as well with -bMatt Johnston
2018-01-26cli_bind_address_connecthouseofkodai
* replaces -b dummy option in dbclient to be similar with openssh -b option * useful in multi-wan connections
2018-01-25Server chosen tcpfwd ports (#43)houseofkodai
Server chosen tcpfwd ports
2017-08-19Pointer parameter could be declared as pointing to constFrancois Perrad
2017-06-24merge from mainMatt Johnston
--HG-- branch : fuzz
2017-06-23test for linux/pkt-sched.h rather than SO_PRIORITYMatt Johnston
2017-05-26Disable setnonblocking(), get_socket_address(), set_sock_priority()Matt Johnston
for fuzzing --HG-- branch : fuzz
2017-05-20closer to workingMatt Johnston
--HG-- branch : fuzz
2017-05-18merge main to fuzzMatt Johnston
--HG-- branch : fuzz
2017-05-12notsocket changes from afl branchMatt Johnston
--HG-- branch : fuzz
2016-06-19make sure socket is of the right domainMatt Johnston
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-06-19make sure socket is of the right domainMatt Johnston
2015-09-29avoid invalidated iterator when connection failsMatt Johnston
2015-08-03Don't try to send data on first ack packet of 3way handshake.Matt Johnston
Cisco SSH on 15.4(3)M2 or similar can't handle it.
2015-06-04Merge pull request #13 from gazoo74/fix-warningsMatt Johnston
Fix warnings
2015-05-29separate client/server fastopen optionsMatt Johnston
2015-05-05Fix pointer differ in signess warnings [-Werror=pointer-sign]Gaƫl PORTAY
2015-04-17Should be AF_UNSPEC not PF_UNSPECMatt Johnston
2015-04-14fastopen code was totally brokenMatt Johnston
2015-03-20Fix when iov queue is largeMatt Johnston
2015-03-20avoid malloc for iovecMatt Johnston
2015-03-16dropbear_assert() rather than assert()Matt Johnston
2015-03-11strdup strerrorMatt Johnston
2015-03-03Fix error handling for dbclient async connectMatt Johnston
2015-02-28Better failure handlingMatt Johnston
2015-02-28Add cleanupMatt Johnston
--HG-- branch : fastopen
2015-02-27EINPROGRESS for sendmsg() means it's working OKMatt Johnston
--HG-- branch : fastopen
2015-02-26ignore any sendmsg() errorsMatt Johnston
--HG-- branch : fastopen
2015-02-21get rid of some unnecessary codeMatt Johnston
--HG-- branch : fastopen
2015-02-20avoid some warningsMatt Johnston
--HG-- branch : fastopen
2015-02-20Fixes for backwards compatibilityMatt Johnston
--HG-- branch : fastopen
2015-02-20Move generic network routines to netio.cMatt Johnston
--HG-- branch : fastopen