Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-10 | Use buf_eatstring instead | Matt Johnston | |
2020-12-10 | Fix handling of replies to global requests (#112) | Dirkjan Bussink | |
The current code assumes that all global requests want / need a reply. This isn't always true and the request itself indicates if it wants a reply or not. It causes a specific problem with hostkeys-00@openssh.com messages. These are sent by OpenSSH after authentication to inform the client of potential other host keys for the host. This can be used to add a new type of host key or to rotate host keys. The initial information message from the server is sent as a global request, but with want_reply set to false. This means that the server doesn't expect an answer to this message. Instead the client needs to send a prove request as a reply if it wants to receive proof of ownership for the host keys. The bug doesn't cause any current problems with due to how OpenSSH treats receiving the failure message. It instead treats it as a keepalive message and further ignores it. Arguably this is a protocol violation though of Dropbear and it is only accidental that it doesn't cause a problem with OpenSSH. The bug was found when adding host keys support to libssh, which is more strict protocol wise and treats the unexpected failure message an error, also see https://gitlab.com/libssh/libssh-mirror/-/merge_requests/145 for more information. The fix here is to honor the want_reply flag in the global request and to only send a reply if the other side expects a reply. | |||
2020-10-18 | Add fuzzer-client_nomaths, fix client fuzzer | Matt Johnston | |
--HG-- branch : fuzz | |||
2020-10-18 | Get client fuzzer building and starting (fails straight away) | Matt Johnston | |
--HG-- branch : fuzz | |||
2020-05-26 | fix typo | Matt Johnston | |
2020-05-19 | ext-info handling for server-sig-algs | Matt Johnston | |
only client side is handled | |||
2018-11-14 | Split ChanType closehandler() and cleanup() so that dbclient doesn't | Matt Johnston | |
lose exit status messages | |||
2018-02-26 | more linting (#58) | François Perrad | |
* const parameter * fix indentation | |||
2018-02-14 | make signal flags volatile, simplify handling | Matt Johnston | |
2018-02-09 | missed saving a file removing none cipher | Matt Johnston | |
2017-06-02 | when pointer, use NULL instead of 0 | Francois Perrad | |
2016-05-25 | Use DROPBEAR_PATH_DEVNULL instead of undefined _PATH_DEVNULL | Ben Gardner | |
2016-05-04 | Convert #ifdef to #if, other build changes | Matt Johnston | |
2016-03-16 | merge | Matt Johnston | |
2016-03-16 | fix empty C prototypes | Francois Perrad | |
2016-03-15 | ignore return value from fcntl() | Matt Johnston | |
2015-12-15 | Support syslog logging in dbclient. | Konstantin Tokarev | |
2015-12-03 | Client: kill proxy command when exiting application. | Konstantin Tokarev | |
2015-06-04 | buf_getstring and buf_putstring now use non-unsigned char* | Matt Johnston | |
2015-06-04 | Merge pull request #13 from gazoo74/fix-warnings | Matt Johnston | |
Fix warnings | |||
2015-05-05 | Turn cleantext()'s dirtytext argument into char * | Gaël PORTAY | |
2015-05-05 | Fix pointer differ in signess warnings [-Werror=pointer-sign] | Gaël PORTAY | |
2015-05-03 | Make sure kexfirstinitialise is called early enough | Matt Johnston | |
2015-02-28 | merge from default | Matt Johnston | |
--HG-- branch : fastopen | |||
2015-02-24 | Add more ATTRIB_NORETURN annotations, from Thorsten Horstmann | Matt Johnston | |
2015-02-20 | Move generic network routines to netio.c | Matt Johnston | |
--HG-- branch : fastopen | |||
2015-02-20 | Update priority once the socket is open | Matt Johnston | |
--HG-- branch : fastopen | |||
2015-02-19 | In theory TFO should work. Needs platform cleanup and testing | Matt Johnston | |
--HG-- branch : fastopen | |||
2015-02-18 | async connections working | Matt Johnston | |
--HG-- branch : fastopen | |||
2014-08-19 | Make keepalive handling more robust, this should now match what OpenSSH does | Matt Johnston | |
2014-08-13 | Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses | Matt Johnston | |
2014-07-08 | Send a failure response if a client receives a global request | Matt Johnston | |
2014-01-17 | DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by default | Matt Johnston | |
2013-11-14 | rename random.h to dbrandom.h since some OSes have a system random.h | Matt Johnston | |
--HG-- rename : random.c => dbrandom.c rename : random.h => dbrandom.h | |||
2013-11-14 | use oldstyle comments | Matt Johnston | |
2013-05-21 | merge in HEAD | Matt Johnston | |
--HG-- branch : ecc | |||
2013-05-03 | ecdsa is working | Matt Johnston | |
--HG-- branch : ecc | |||
2013-04-09 | start on ecdsa keys | Matt Johnston | |
--HG-- branch : ecc | |||
2013-04-04 | setup tcp after requesting a channel - might hide some DNS latency | Matt Johnston | |
2013-04-04 | Take transmit and receive keys into use separately | Matt Johnston | |
2013-04-03 | fix leftover kexguess debugging | Matt Johnston | |
2013-04-03 | merge kexguess branch | Matt Johnston | |
2013-04-03 | Put some #ifdef options around first-follows options in case they | Matt Johnston | |
need to be disabled --HG-- branch : kexguess | |||
2013-04-03 | Don't usually need to recalculate dh_e for the repeated kexdh_init packet | Matt Johnston | |
--HG-- branch : kexguess | |||
2013-04-02 | Be a bit more careful about when we want to use CLI_AUTH_IMMEDIATE | Matt Johnston | |
Only use it if we have pubkeys to try, or we have $DROPBEAR_PASSWORD set | |||
2013-04-01 | Run the cleanup handler also when we close due to TCP connection being closed | Matt Johnston | |
2013-04-01 | merge from head roundtrip changes | Matt Johnston | |
--HG-- branch : kexguess | |||
2013-04-01 | Move the more verbose TRACE() statements into TRACE2() | Matt Johnston | |
2013-03-31 | Don't bother waiting for a ssh-connection service reply - the server | Matt Johnston | |
will disconnect if it wasn't accepted | |||
2013-03-31 | merge | Matt Johnston | |
--HG-- branch : kexguess |