summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
AgeCommit message (Collapse)Author
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
2013-03-19Android returns NULL for pw_crypt, set it to something elseMatt Johnston
2012-05-09Return immediate success for blank passwords if allowedMatt Johnston
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2009-09-01Rearrange getaddrstring() etcMatt Johnston
--HG-- extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
2009-03-17- Add the signal pipe to maxfdMatt Johnston
--HG-- extra : convert_revision : 0a8dfaa3e5365a2004db2b55895e11f65b5cefcc
2009-03-01- Get rid of decryptreadbuf, just decrypt in-place with readbufMatt Johnston
- Share make_mac function for both packet creation and validation - Split recv/trans parts of key_context into their own structures --HG-- extra : convert_revision : 043bc598c76ed43625987e6937e32238f7ed6240
2009-02-26disapproval of revision 'a101cbd046507cf723e6362a49196dbd4b924042'Matt Johnston
--HG-- extra : convert_revision : e1c100e6366c5d607af08f4abdbb0f4281df4fa9
2009-02-26- Try to write out as much as we canMatt Johnston
--HG-- extra : convert_revision : a101cbd046507cf723e6362a49196dbd4b924042