summaryrefslogtreecommitdiffhomepage
path: root/packet.c
AgeCommit message (Expand)Author
2015-03-20Make main socket nonblocking. Limit writequeue size.Matt Johnston
2015-03-20avoid malloc for iovecMatt Johnston
2015-03-01allocate buffer and data in a single allocationMatt Johnston
2015-03-01A bit of a bodge to avoid memcpy if zlib is disabledMatt Johnston
2015-02-20Move generic network routines to netio.cMatt Johnston
2015-02-19In theory TFO should work. Needs platform cleanup and testingMatt Johnston
2015-02-18generalise write iovec handlingMatt Johnston
2015-02-18async connections workingMatt Johnston
2015-02-18work in progress for async connectMatt Johnston
2015-01-23 Integrity error (bad packet size %u) negative lengthFedor Brunner
2014-08-06Test for EAGAIN tooMatt Johnston
2014-07-09Make -K keepalive behave like OpenSSH's ServerAliveIntervalMatt Johnston
2014-05-20Be more careful in case a platform doesn't define UIO_MAXIOV nor IOV_MAXMatt Johnston
2014-05-20Limit size of the iovect passed to writev in packet.cRonny Meeus
2014-05-20Print errno information in write_packetRonny Meeus
2014-03-13Add new monotonic_now() wrapper so that timeouts are unaffected byMatt Johnston
2014-03-13Use AUTH_TIMEOUT only before authdone != 1.Yousong Zhou
2014-02-22A few fixes for cases where compression increases payload sizes, andMatt Johnston
2013-11-14rename random.h to dbrandom.h since some OSes have a system random.hMatt Johnston
2013-11-14use oldstyle commentsMatt Johnston
2013-10-03Constant time memcmp for the hmac and password cryptMatt Johnston
2013-05-08Limit decompressed sizeMatt Johnston
2013-04-04Take transmit and receive keys into use separatelyMatt Johnston
2013-04-03Fix MAC bug which would prevent asymmetric hashesMatt Johnston
2013-04-01Move the more verbose TRACE() statements into TRACE2()Matt Johnston
2013-03-31Try using writev() for writing packets out to tcpMatt Johnston
2013-03-20Fix "-m none" case where an entire packet fits in a block and can beMatt Johnston
2011-06-07Fix case where "-K 1" would cause a SSH_MSG_IGNORE packet to be sentMatt Johnston
2011-02-28- Don't allow setting memLevel since that doesn't work properlyMatt Johnston
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
2011-02-23Don't reset last_packet_time when we're transmitting SSH_MSG_IGNORE packetsMatt Johnston
2009-09-01Rearrange getaddrstring() etcMatt Johnston
2009-07-26- Payload length doesn't include macsize.Matt Johnston
2009-03-03Remove extraneous debuggingMatt Johnston
2009-03-01- Get rid of decryptreadbuf, just decrypt in-place with readbufMatt Johnston
2009-03-01Encrypt in-place, avoid an extra mallocMatt Johnston
2009-02-26merge of 'e1c100e6366c5d607af08f4abdbb0f4281df4fa9'Matt Johnston
2009-02-26disapproval of revision 'a101cbd046507cf723e6362a49196dbd4b924042'Matt Johnston
2009-02-26merge of 'a101cbd046507cf723e6362a49196dbd4b924042'Matt Johnston
2009-02-26- Try to write out as much as we canMatt Johnston
2009-02-25- Don't be dumb and encrypt/decrypt in a while() loop - why did I do this??Matt Johnston
2008-11-07Idle timeout patch from Farrell Aultman. Needs testing, unsure if serverMatt Johnston
2008-09-29- Add Counter Mode supportMatt Johnston
2008-09-29Add support for zlib@openssh.com delayed compression.Matt Johnston
2008-09-15- Split main socket var into ses.sock_in/ses.sock_out in preparationMatt Johnston
2007-08-08Fix delayed packet queue handlingMatt Johnston
2007-08-08- Add -K keepalive flag for dropbear and dbclientMatt Johnston
2007-07-27Prevent invalid packets being sent during key-exchange, instead queueMatt Johnston
2007-07-24Rearrange the channel buffer sizes into three neat use-editable values inMatt Johnston
2007-02-12Don't erase every buffer, it's too time consuming.Matt Johnston