summaryrefslogtreecommitdiffhomepage
path: root/packet.c
AgeCommit message (Collapse)Author
2018-02-28Fix to be able to compile normal(ish) binaries with --enable-fuzzMatt Johnston
--HG-- branch : fuzz
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-11Removed commented out codeMatt Johnston
2017-08-19Pointer parameter could be declared as pointing to constFrancois Perrad
2017-06-11fix checkmac always failing pre-kexMatt Johnston
--HG-- branch : fuzz
2017-05-20closer to workingMatt Johnston
--HG-- branch : fuzz
2017-05-13fuzz harnessMatt Johnston
--HG-- branch : fuzz
2017-05-12copy over some fuzzing code from AFL branchMatt Johnston
--HG-- branch : fuzz
2016-03-16fix empty C prototypesFrancois Perrad
2016-01-01more hard tabFrancois Perrad
2015-12-31refactor indentation with hard tabFrancois Perrad
2015-05-02Fix no-writev fallbackMatt Johnston
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
--HG-- branch : nocircbuffer
2015-03-01A bit of a bodge to avoid memcpy if zlib is disabledMatt Johnston
--HG-- branch : nocircbuffer
2015-02-20Move generic network routines to netio.cMatt Johnston
--HG-- branch : fastopen
2015-02-19In theory TFO should work. Needs platform cleanup and testingMatt Johnston
--HG-- branch : fastopen
2015-02-18generalise write iovec handlingMatt Johnston
--HG-- branch : fastopen
2015-02-18async connections workingMatt Johnston
--HG-- branch : fastopen
2015-02-18work in progress for async connectMatt Johnston
--HG-- branch : fastopen
2015-01-23 Integrity error (bad packet size %u) negative lengthFedor Brunner
When corrupted packet is received negative length of packet is displayed. (re-apply of pull request #8)
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
system clock changes
2014-03-13Use AUTH_TIMEOUT only before authdone != 1.Yousong Zhou
While at it, fix a few indentations and typo.
2014-02-22A few fixes for cases where compression increases payload sizes, andMatt Johnston
be more precise about maximum channel sizes
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-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
read by read_packet_init()
2011-06-07Fix case where "-K 1" would cause a SSH_MSG_IGNORE packet to be sentMatt Johnston
with the wrong encryption key ("bad packet length" symptom) while key exchange was happening. --HG-- extra : convert_revision : f7d27ec094c4aba2a4289c523c722fcb3c3f58ca
2011-02-28- Don't allow setting memLevel since that doesn't work properlyMatt Johnston
- Better handling of the case where compressing makes the data larger (possibly only happens when memLevel is adjusted, but better to be safe) --HG-- extra : convert_revision : b31879a384d3bf8cbcbe2ed731d7d79d49799b1d
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2011-02-23Don't reset last_packet_time when we're transmitting SSH_MSG_IGNORE packetsMatt Johnston
(from keepalives) --HG-- extra : convert_revision : a46ca9204de0df58d8701df0d79b6b8ec601b9ce
2009-09-01Rearrange getaddrstring() etcMatt Johnston
--HG-- extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
2009-07-26- Payload length doesn't include macsize.Matt Johnston
--HG-- extra : convert_revision : 98ac17a573ab350cbd6e358b3943237d2ad5c9cf
2009-03-03Remove extraneous debuggingMatt Johnston
--HG-- extra : convert_revision : 58d53a027555e98d6d274b4659d38211eea7ad11
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-03-01Encrypt in-place, avoid an extra mallocMatt Johnston
--HG-- extra : convert_revision : 981e3e4b44e6fdc8537775518e898a33e76a38db
2009-02-26merge of 'e1c100e6366c5d607af08f4abdbb0f4281df4fa9'Matt Johnston
and 'fe8161b0698c9816b98f79e3cab2b9d59f2be71b' --HG-- extra : convert_revision : 23e1a99e40fc3baad5216b2a7e7318f8243f86a3