summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
AgeCommit message (Collapse)Author
2017-05-20glaring wrapfd problems fixedMatt Johnston
--HG-- branch : fuzz
2017-05-20closer to workingMatt Johnston
--HG-- branch : fuzz
2016-07-21merge 2016.74Matt Johnston
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-04-29Avoid busy loop while waiting for rekey responseMatt Johnston
2016-07-11better TRACE of failed remote identMatt Johnston
2016-04-29Avoid busy loop while waiting for rekey responseMatt Johnston
2016-03-16fix empty C prototypesFrancois Perrad
2015-11-27Fix ses.channel_signal_pending raceMatt Johnston
2015-09-29make sure that the test for queued packets to write occurs afterMatt Johnston
those packets might have been enqueued by set_connect_fds()
2015-08-07only update keepalive timeout post-auth (when keepalives are sent)Matt Johnston
2015-08-03set timeouts to time remaining rather than timeout durationMatt Johnston
2015-08-03Fix problem where auth timeout wasn't checked when waiting for identMatt Johnston
2015-06-04buf_getstring and buf_putstring now use non-unsigned char*Matt Johnston
2015-06-04Merge pull request #13 from gazoo74/fix-warningsMatt Johnston
Fix warnings
2015-05-05Fix pointer differ in signess warnings [-Werror=pointer-sign]Gaƫl PORTAY
2015-05-03Make sure kexfirstinitialise is called early enoughMatt Johnston
2015-05-02Fix no-writev fallbackMatt Johnston
2015-03-20Make main socket nonblocking. Limit writequeue size.Matt Johnston
2015-03-01reword comment for clarityMatt Johnston
--HG-- branch : nocircbuffer
2015-02-28Add cleanupMatt Johnston
--HG-- branch : fastopen
2015-02-28merge from defaultMatt Johnston
--HG-- branch : fastopen
2015-02-24Some additional cleanup functionsMatt Johnston
2015-02-24Free memory before exiting. Based on patch from Thorsten Horstmann.Matt Johnston
Client side is not complete.
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-20Update priority once the socket is openMatt Johnston
--HG-- branch : fastopen
2015-02-18async connections workingMatt Johnston
--HG-- branch : fastopen
2015-02-13Add envirnonment variable for debug timestamps to roughly matchMatt Johnston
network timestamps (in tshark)
2015-02-13Fix print that no longer works since we're not using fourCCsMatt Johnston
2014-08-19Make keepalive handling more robust, this should now match what OpenSSH doesMatt Johnston
2014-08-13Don't send SSH_MSG_UNIMPLEMENTED for keepalive responsesMatt Johnston
2014-07-16Set tcp priority as follows:Matt Johnston
if (connecting || ptys || x11) tos = LOWDELAY; else if (tcp_forwards) tos = 0; else tos = BULK; TCP forwards could be either lowdelay or bulk, hence the default priority.
2014-07-09Fix auth timeout regressionMatt Johnston
2014-07-09Make -K keepalive behave like OpenSSH's ServerAliveIntervalMatt Johnston
2014-03-15Experiment of always writing data if available. Might waste a writev() withMatt Johnston
EAGAIN but always saves a select() - needs testing with bandwidth-limited and CPU-limited situations.
2014-03-13Add new monotonic_now() wrapper so that timeouts are unaffected byMatt Johnston
system clock changes
2014-03-13Fix typoMatt Johnston
2014-03-13Use AUTH_TIMEOUT only before authdone != 1.Yousong Zhou
While at it, fix a few indentations and typo.
2014-02-17Read (and enqueue) packets from interactive input even whenMatt Johnston
we're waiting for a key exchange. This should hopefully fix the situation where "~." doesn't work to terminate a client session when a laptop wakes up. The client will be stuck waiting for a key exchange on a dead connection, so won't have read the escape character
2014-02-12cleanup before clearing keysMatt Johnston
2014-01-23requirenext doesn't need two valuesMatt Johnston
2013-11-14rename random.h to dbrandom.h since some OSes have a system random.hMatt Johnston
--HG-- rename : random.c => dbrandom.c rename : random.h => dbrandom.h
2013-11-14use oldstyle commentsMatt Johnston
2013-05-21merge in HEADMatt Johnston
--HG-- branch : ecc
2013-04-14requirenext fixup for firstkexfollowsMatt Johnston
2013-04-07ecc kind of works, needs fixing/testingMatt Johnston
--HG-- branch : ecc
2013-04-03Just put the version string on the queue, don't use atomicioMatt Johnston
2013-04-01Run the cleanup handler also when we close due to TCP connection being closedMatt Johnston
2013-03-31send out our kexinit packet before blocking to read the SSH version stringMatt Johnston