Commit Graph

  • 125a970d71 merge tcp fastopen Matt Johnston 2015-02-28 23:24:30 +08:00
  • 89c0b2a6d8 Add cleanup Matt Johnston 2015-02-28 23:15:23 +08:00
  • 31e379c300 merge from default Matt Johnston 2015-02-28 09:06:40 +08:00
  • 843953379c EINPROGRESS for sendmsg() means it's working OK Matt Johnston 2015-02-27 00:02:48 +08:00
  • 2a90c1ca7e ignore any sendmsg() errors Matt Johnston 2015-02-26 23:43:12 +08:00
  • f91d66448a merge Matt Johnston 2015-02-24 22:48:34 +08:00
  • 59bb1777be Use m_burn rather than memset Thorsten Horstmann 2015-02-24 22:48:14 +08:00
  • c5f3c550a6 Avoid cppcheck warning Thorsten Horstmann 2015-02-24 22:41:26 +08:00
  • 1809f741cb Add more ATTRIB_NORETURN annotations, from Thorsten Horstmann Matt Johnston 2015-02-24 22:36:20 +08:00
  • 9adfff5c1a Revert accidental commented out signal handlers Matt Johnston 2015-02-24 22:23:32 +08:00
  • 8008b595d3 Some additional cleanup functions Matt Johnston 2015-02-24 22:17:04 +08:00
  • 21bed0d21a Free memory before exiting. Based on patch from Thorsten Horstmann. Client side is not complete. Matt Johnston 2015-02-24 22:01:33 +08:00
  • 4b1f5ec7c2 Use m_close() which will avoid close(-1) Matt Johnston 2015-02-24 20:53:32 +08:00
  • ab9439519a Fix for old compilers, variable declarations at beginning of functions and /**/ comments Thorsten Horstmann 2015-02-24 20:51:18 +08:00
  • abeb9d64a3 Some minor typo fixes, found by codespell. Thorsten Horstmann 2015-02-24 20:45:07 +08:00
  • fdb7ffa864 DROPBEAR_ prefix for include guards to avoid collisions Thorsten Horstmann 2015-02-24 20:43:01 +08:00
  • 46845fd3e8 get rid of some unnecessary code Matt Johnston 2015-02-21 00:43:32 +08:00
  • c53ca6ebc0 avoid some warnings Matt Johnston 2015-02-20 23:43:59 +08:00
  • f04a3a2cfa Fixes for backwards compatibility Matt Johnston 2015-02-20 23:38:05 +08:00
  • 364a53577e Move generic network routines to netio.c Matt Johnston 2015-02-20 23:16:38 +08:00
  • 1b1997bf2d Update priority once the socket is open Matt Johnston 2015-02-20 22:13:53 +08:00
  • 34f9adb1c9 merge Matt Johnston 2015-02-19 22:42:30 +08:00
  • 2e7d468b90 Add the missing second half of iov code Matt Johnston 2015-02-19 22:41:51 +08:00
  • 86a717c80c fallback for old glibc and fastopen memset rather than = {0} initialiser Matt Johnston 2015-02-19 22:33:51 +08:00
  • 76a3eb393c In theory TFO should work. Needs platform cleanup and testing Matt Johnston 2015-02-19 00:32:00 +08:00
  • 5f0cc969a0 generalise write iovec handling Matt Johnston 2015-02-18 23:02:49 +08:00
  • 755c1458f0 async connections working Matt Johnston 2015-02-18 22:46:15 +08:00
  • 8795d733ec work in progress for async connect Matt Johnston 2015-02-18 00:05:27 +08:00
  • 28f61c8b3a tcp fastopen for the server Matt Johnston 2015-02-15 22:34:05 +08:00
  • 9abcc7b909 connect_remote() is now always non-blocking Matt Johnston 2015-02-14 09:56:11 +08:00
  • 2c35f1c8fd Add envirnonment variable for debug timestamps to roughly match network timestamps (in tshark) Matt Johnston 2015-02-13 23:47:53 +08:00
  • 136188259e Fix print that no longer works since we're not using fourCCs Matt Johnston 2015-02-13 23:17:23 +08:00
  • 02179b1218 merge Matt Johnston 2015-02-13 23:15:12 +08:00
  • 1e350de136 Make it compile Matt Johnston 2015-02-13 23:13:58 +08:00
  • 9aeda4c5bd piggyback data on acks when making connections on linux Matt Johnston 2015-02-13 22:49:15 +08:00
  • 8eb30c353a debug should be off by default Matt Johnston 2015-02-13 21:45:15 +08:00
  • ccfdf7e039 merge Matt Johnston 2015-02-10 21:47:43 +08:00
  • c44a78a2e6 Tighten validation of DH values. Odds of x==0 being generated are improbable, roughly 2**-1023 Regression in 0.49 Matt Johnston 2015-02-10 21:46:19 +08:00
  • b6685bf806 twofish ctr modes Matt Johnston 2015-02-04 22:12:06 +08:00
  • 269d690e71 Added signature for changeset 1d2d81b1b7c1 Matt Johnston 2015-01-29 21:42:01 +08:00
  • 4df268f10e sha256 Matt Johnston 2015-01-28 22:58:52 +08:00
  • 19b3f01477 bump version Matt Johnston 2015-01-28 22:57:33 +08:00
  • 86811f4765 Added tag DROPBEAR_2015.67 for changeset cbd674d63cd4 Matt Johnston 2015-01-28 22:55:27 +08:00
  • dd0352d93b changelog for 2015.67 DROPBEAR_2015.67 Matt Johnston 2015-01-28 22:54:23 +08:00
  • 95ce05da40 merge Matt Johnston 2015-01-28 22:49:55 +08:00
  • 30ec18d938 merge Matt Johnston 2015-01-28 22:49:40 +08:00
  • 9d495ab2b5 changes for 2015.67 Matt Johnston 2015-01-28 22:49:28 +08:00
  • 9174de47a9 Fix bad multi-statement define for m_free(), detected by Coverity Matt Johnston 2015-01-28 22:43:01 +08:00
  • d857faf18e When clearing the memory of 'key' in function openssh_read(), only the size of the pointer to the data instead of the whole size of struct openssh_key is cleared. Correct the size calculation as detected by Coverity CID 1191543. Christian Engelmayer 2015-01-28 22:42:29 +08:00
  • d5c8ba1690 Initialise sa_mask Matt Johnston 2015-01-28 22:33:34 +08:00
  • 9bb9b4829d Fix memory leak of ecdsa structure, found by Coverity Matt Johnston 2015-01-28 22:29:18 +08:00
  • e25c297c3c Document ~/.ssh/id_dropbear Matt Johnston 2015-01-28 22:22:32 +08:00
  • 4de876f259 Keep sha1 default Matt Johnston 2015-01-28 22:14:07 +08:00
  • b9073961f7 Allow configure with libtomcrypt/libtommath directories missing if using bundled libraries Elan Ruusamäe 2015-01-28 22:05:24 +08:00
  • c5d53cf81c merge Matt Johnston 2015-01-28 21:40:34 +08:00
  • a7a79d569a Disable non-delayed zlib for server Matt Johnston 2015-01-28 21:38:27 +08:00
  • 6165f53fcd Default client key path ~/.ssh/id_dropbear Matt Johnston 2015-01-24 00:05:26 +08:00
  • 4122cac66b Prefer stronger algorithms in algorithm negotiation. Prefer diffie-hellman-group14-sha1 (2048 bit) over diffie-hellman-group1-sha1 (1024 bit). Fedor Brunner 2015-01-23 23:00:25 +08:00
  • a1dcebe4f4 Fix installing dropbear.8 error when building in a separate directory. (fix pull request #6) Like Ma 2015-01-23 22:59:30 +08:00
  • 6cbb23a819 Add config option to disable cbc. Disable twofish by default Matt Johnston 2015-01-23 22:37:14 +08:00
  • 5c57a31184 Fix variables may be uninitialized. (fixup of pull request #7) Like Ma 2015-01-23 22:23:23 +08:00
  • 7b2c42aa75 Integrity error (bad packet size %u) negative length Fedor Brunner 2015-01-23 22:21:06 +08:00
  • 1ed8d3938e Enable sha2 HMACs by default, they're required for ecdsa already Matt Johnston 2015-01-13 20:55:04 +08:00
  • b24984deb3 clear hash state memory after use Matt Johnston 2015-01-04 23:10:59 +08:00
  • 5574460d25 merge Matt Johnston 2015-01-04 22:33:12 +08:00
  • eabd9f5e60 clarify bad/unknown Matt Johnston 2015-01-04 22:32:38 +08:00
  • d4609682af Handle invalid agent keys by skipping rather than exiting. Catalin Patulea 2015-01-01 17:47:46 -05:00
  • 634415f79e Open directories O_RDONLY for fsync, add debugging if it fails Matt Johnston 2015-01-04 22:22:43 +08:00
  • 4ba830fc31 Make sure hostkeys are flushed to disk to avoid empty files if the power fails. Based on patch from Peter Korsgaard Matt Johnston 2014-11-08 22:15:16 +08:00
  • 3022a46039 Added signature for changeset 2d421bc0545d Matt Johnston 2014-10-23 22:09:46 +08:00
  • d9a868ff60 Added tag DROPBEAR_2014.66 for changeset 735511a4c761 Matt Johnston 2014-10-23 22:09:22 +08:00
  • c890a0c133 changelog, version number bump DROPBEAR_2014.66 Matt Johnston 2014-10-23 21:43:00 +08:00
  • 9ec934a94a Remove -o from scp help Matt Johnston 2014-10-23 20:52:10 +08:00
  • 5e606a964b increae MAX_STRING_LEN for sun ssh Matt Johnston 2014-10-23 20:50:06 +08:00
  • d88034434c Don't print "Failed loading hostkey" when -R delayed hostkey option is enabled Steven Honeyman 2014-10-22 07:12:52 +08:00
  • 233fd96994 merge to coverity Matt Johnston 2014-10-21 22:34:20 +08:00
  • 776d908703 Combine code for SSH_CONNECTION and SSH_CLIENT Matt Johnston 2014-10-21 22:33:49 +08:00
  • 444b15889f Merge pull request #5 from rcleere/ssh_client Matt Johnston 2014-10-21 21:43:20 +08:00
  • 957450582f Add SSH_CLIENT environment variable Ryan Cleere 2014-10-20 12:59:47 -05:00
  • d1b29336b1 merge Matt Johnston 2014-08-19 23:36:46 +08:00
  • 6d2d3669f3 Make keepalive handling more robust, this should now match what OpenSSH does Matt Johnston 2014-08-19 23:08:56 +08:00
  • 1387654cc8 Fix wtmp, testing for wtmp.h and wtmpx.h doesn't make sense Whoopie 2014-08-13 22:07:43 +08:00
  • 10eb218fb0 Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses Matt Johnston 2014-08-13 21:48:47 +08:00
  • bfb2b30de6 Added signature for changeset caac692b366c Matt Johnston 2014-08-08 21:53:47 +08:00
  • 426d4d72c6 Added tag DROPBEAR_2014.65 for changeset e9579816f20e Matt Johnston 2014-08-08 21:53:42 +08:00
  • cce29ba38c 2014.64 DROPBEAR_2014.65 Matt Johnston 2014-08-08 21:40:42 +08:00
  • fa5eb62464 merge Matt Johnston 2014-08-08 21:26:07 +08:00
  • ed2e276b3a use xauth in /usr/bin Mike Frysinger 2014-08-01 06:14:19 -04:00
  • 12a020aa62 Don't warn about ENOTSOCK when setting priority Matt Johnston 2014-08-06 22:16:38 +08:00
  • b969101b33 Be a bit safer in case pw_name doesn't exist Matt Johnston 2014-08-06 22:10:57 +08:00
  • 86a742f635 merge Matt Johnston 2014-08-06 22:08:16 +08:00
  • 9468f7f6d6 Merge pull request #2 from iquaba/patch-1 Matt Johnston 2014-08-06 22:04:49 +08:00
  • 628a3f5cca Test for EAGAIN too Matt Johnston 2014-08-06 21:55:43 +08:00
  • e815e97440 Try without identifying current user iquaba 2014-08-06 08:48:43 -05:00
  • 0b48a4f879 merge Matt Johnston 2014-07-28 23:38:54 +08:00
  • 0e7409c7ff Make sure the check_close() handler runs when a server child process exits Matt Johnston 2014-07-28 23:23:49 +08:00
  • 00ef081fcf merge Matt Johnston 2014-07-28 22:56:07 +08:00
  • 393ca2a290 Fix some format string warnings Matt Johnston 2014-07-28 22:59:16 +08:00
  • ad1d48e07b Fix clock_gettime handling Matt Johnston 2014-07-28 22:48:48 +08:00
  • ac98aae160 Added signature for changeset 96584b934d04 Matt Johnston 2014-07-27 23:11:52 +08:00