summaryrefslogtreecommitdiffhomepage
path: root/packet.c
AgeCommit message (Collapse)Author
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
2009-02-26disapproval of revision 'a101cbd046507cf723e6362a49196dbd4b924042'Matt Johnston
--HG-- extra : convert_revision : e1c100e6366c5d607af08f4abdbb0f4281df4fa9
2009-02-26merge of 'a101cbd046507cf723e6362a49196dbd4b924042'Matt Johnston
and 'c8e1b84cfe874887ad7df0dd95a00de46dbc0136' --HG-- extra : convert_revision : fe8161b0698c9816b98f79e3cab2b9d59f2be71b
2009-02-26- Try to write out as much as we canMatt Johnston
--HG-- extra : convert_revision : a101cbd046507cf723e6362a49196dbd4b924042
2009-02-25- Don't be dumb and encrypt/decrypt in a while() loop - why did I do this??Matt Johnston
--HG-- extra : convert_revision : c8e1b84cfe874887ad7df0dd95a00de46dbc0136
2008-11-07Idle timeout patch from Farrell Aultman. Needs testing, unsure if serverMatt Johnston
code works --HG-- extra : convert_revision : ff66e05ae040561110af70114bf83f11ed528f05
2008-09-29- Add Counter Mode supportMatt Johnston
--HG-- extra : convert_revision : 5225162bdf32d70b58b6d3ae375a290326c59f3a
2008-09-29Add support for zlib@openssh.com delayed compression.Matt Johnston
Are still advertising 'zlib' for the server, need to allow delayed-only as an option --HG-- extra : convert_revision : 319df675cc3c9b35a10b7d8357c94f33fdab1a46
2008-09-15- Split main socket var into ses.sock_in/ses.sock_out in preparationMatt Johnston
for -J proxy_cmd option (and some prelim options for that) --HG-- extra : convert_revision : 47cdea9a7d66c553c6f5eec43b899821939d4e4c
2007-08-08Fix delayed packet queue handlingMatt Johnston
--HG-- extra : convert_revision : 53b349938dfae2256e23799fae66edd5fc3e97ee
2007-08-08- Add -K keepalive flag for dropbear and dbclientMatt Johnston
- Try to reduce the frequency of select() timeouts - Add a max receive window size of 1MB --HG-- extra : convert_revision : 9aa22036cb511cddb35fbc0e09ad05acb39b64d1
2007-07-27Prevent invalid packets being sent during key-exchange, instead queueMatt Johnston
them until afterwards. This could sometimes terminate connections after 8 hours if (for example) a new TCP forwarded connection was sent at the KEX timeout. --HG-- extra : convert_revision : 48426bd66b8f5ba50045f7ba190d1672745132e2
2007-07-24Rearrange the channel buffer sizes into three neat use-editable values inMatt Johnston
options.h. Increasing RECV_MAX_WINDOW gives big network performance increases - even with the present buffers (which haven't changed) it performs a lot better. Next step is to make the window size a cmdline option. --HG-- extra : convert_revision : 24c7cb47fb56cf5b82e3bc0859b45ea83038eab0
2007-02-12Don't erase every buffer, it's too time consuming.Matt Johnston
On systems where it matters encrypted swap should be enabled anyway. --HG-- extra : convert_revision : 6cb7793493d92968e09b5dea21d71ded5811d21f
2005-09-05* use own assertions which should get logged properlyMatt Johnston
--HG-- extra : convert_revision : 3dc365619f0840ab5781660b1257a9f22c05d3fe
2005-08-30trans, not recv for macsizeMatt Johnston
--HG-- extra : convert_revision : 39c4f7320b3a10ef7ef5a41406fe014cc9040ee9
2005-08-30- Fixed twofish algorithm naming so it actually works.Matt Johnston
- Added support for aes256, twofish256 and sha1-96 - Fixed some debugging statements --HG-- extra : convert_revision : 598835dadaddb1e95d4ac99f8a1be4ba51639000
2005-05-09Switching to libtomcrypt 1.02Matt Johnston
(still has problems) --HG-- extra : convert_revision : 4dfd70544ed9a766876ddda9f6ac3f26054eb3db
2005-01-02Fixed DEBUG_TRACE macro so that we don't get semicolons left about the placeMatt Johnston
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
2004-08-12Merging in the changes from 0.41-0.43 main Dropbear treeMatt Johnston
--HG-- extra : convert_revision : 4c3428781bc8faf0fd7cadd7099fbd7f4ea386e7
2004-07-27Progressing client supportMatt Johnston
--HG-- extra : convert_revision : 48946be1cef774d1c33b0f78689962b18720c627
2004-07-27- Rename common-packet.c to packet.cMatt Johnston
- buf_burn the unencrypted read/write payload buffers after use to avoid sensitive contents sitting in memory for too long --HG-- extra : convert_revision : 19227d63bda554e819ae7df919bfd18911d5b4a0