Commit Graph

  • 7c1d4d1903 Revert to default sigchld handler after forking, don't exit on error writing to the signal_pipe. Matt Johnston 2007-02-12 13:32:30 +00:00
  • c3941698cd Don't erase every buffer, it's too time consuming. On systems where it matters encrypted swap should be enabled anyway. Matt Johnston 2007-02-12 10:44:47 +00:00
  • 47e76de56a Disable core dumps Matt Johnston 2007-02-12 10:43:44 +00:00
  • 519ff96bcd merge of 'c387cf9d6b7b1a951efd19476e81a2c2d7ca09a0' and 'ed68ea8963f7d1fa600f81479e7e211efc5a31bc' Matt Johnston 2007-02-12 10:39:34 +00:00
  • 22440a6fb2 - Fix bug in child-exit handling where the wrong pid was being matched. - Also wait for errfd to close before closing the channel Matt Johnston 2007-02-12 10:39:22 +00:00
  • 164ea75fa6 Ignore "exit-signal" request rather than returning failure Matt Johnston 2007-02-12 10:37:35 +00:00
  • 4c8797c9ac propagate from branch 'au.asn.ucc.matt.dropbear' (head eac2a177021cfa0cbf365d5821fe6c8a0a5dc758) to branch 'au.asn.ucc.matt.dropbear.channel-fix' (head be0d837816e2e985c7b2d80614d5df3496028e94) Matt Johnston 2007-02-11 10:46:57 +00:00
  • 433d5511e1 Remove double-free due to the same "fix" for a leak getting merged in twice. Matt Johnston 2007-02-11 10:46:44 +00:00
  • 674b4d013d propagate from branch 'au.asn.ucc.matt.dropbear' (head 924b731b50d4147eed8e9382c98a2573259a6cad) to branch 'au.asn.ucc.matt.dropbear.channel-fix' (head e73ee8f7ae404a9355685c30828a0ad4524031bc) Matt Johnston 2007-02-11 09:55:00 +00:00
  • cd0a08896c Add '-y' option to dbclient to accept the host key without checking - patch from Luciano Miguel Ferreira Rocha. Matt Johnston 2007-02-11 08:50:21 +00:00
  • fc0e723805 Avoid using a comma in a message, since I can't be bothered looking up escaping rules Matt Johnston 2007-02-09 10:55:20 +00:00
  • f5ad5c1553 Improve behaviour when flushing out after a process has exited. Matt Johnston 2007-02-09 10:43:16 +00:00
  • cda7af7ca2 merge of '73fe066c5d9e2395354ba74756124d45c978a04d' and 'f5014cc84558f1e8eba42dbecf9f72f94bfe6134' Matt Johnston 2007-02-06 16:00:18 +00:00
  • d199e0b119 disapproval of revision '1dfbc5ef92391d01b576c8506061927869a89887' Matt Johnston 2007-02-06 15:59:54 +00:00
  • b121787336 propagate from branch 'au.asn.ucc.matt.dropbear' (head 3d683afab1940779612505721e67bd9c98df057e) to branch 'au.asn.ucc.matt.dropbear.channel-fix' (head dec459c955c306f9ecddc3b4e04a963f3f264a0f) Matt Johnston 2007-02-04 13:26:04 +00:00
  • e9bc9e6bd7 merge of '691c56da3db2685f58ea53540a73c1b79e7df9cd' and 'e0efd546c3cdb2828971e41af2afe43e850c641d' Matt Johnston 2007-02-04 10:44:12 +00:00
  • 55ed5531b5 Revert bogus fix, make a note that the var is meant to 'leak' Matt Johnston 2007-02-04 10:44:07 +00:00
  • fd304d763a merge of 'b1dd3b94e60a07a176dba2b035ac79968595990a' and 'bcb33fce2fad01a7626598209d43af3571bd86f0' Matt Johnston 2007-02-04 10:32:59 +00:00
  • 60d4cd5996 Add comments about requiring keysize <= 2*SHA1_HASH_SIZE Matt Johnston 2007-02-04 10:31:48 +00:00
  • 16517e6760 Fix failure-handling in dropbear_listen() when errstring is unset (this codepath isn't used) Matt Johnston 2007-02-03 13:57:35 +00:00
  • d2f292b3ad Fix another leak found by Klocwork Matt Johnston 2007-02-03 13:50:47 +00:00
  • d4bc0aec5d Fix leak of keybuf in recv_msg_userauth_pk_ok, courtesy of Klocwork Matt Johnston 2007-02-03 13:31:01 +00:00
  • d0533106a8 Remove extraneous tests in random mpint generation, courtesy of Klocwork Matt Johnston 2007-02-03 13:23:18 +00:00
  • 28f1026de8 Fix potential null pointer dereference found by Klokwork Matt Johnston 2007-02-03 09:58:14 +00:00
  • 85f22c9f09 Fix free() of null pointer found by Klocwork Matt Johnston 2007-02-03 09:42:22 +00:00
  • 0f707bad11 propagate from branch 'au.asn.ucc.matt.dropbear' (head b1dd3b94e60a07a176dba2b035ac79968595990a) to branch 'au.asn.ucc.matt.dropbear.channel-fix' (head fc77c3dea87a7c0f374e738d055f0b455495cbc3) Matt Johnston 2007-02-03 08:22:58 +00:00
  • ede9a990f4 merge of '7ac513addd924cd0391e7db26c067024c3c257f6' and 'b24757c764465a206a258bae27ac0509fc56cd16' Matt Johnston 2007-02-03 08:20:47 +00:00
  • 4eb0f51e42 merge of '1dfbc5ef92391d01b576c8506061927869a89887' and '275426b7a4b94a0507c78327f86bcd2cd0b0f985' Matt Johnston 2007-02-03 08:20:45 +00:00
  • d9aeb2773e merge of '5fdf69ca60d1683cdd9f4c2595134bed26394834' and '6b61c50f4cf888bea302ac8fcf5dbb573b443251' Matt Johnston 2007-02-03 08:20:34 +00:00
  • c5fd7dd554 merge of '1250b8af44b62d8f4fe0f8d9fc7e7a1cc34e7e1c' and '7f8670ac3bb975f40967f3979d09d2199b7e90c8' Matt Johnston 2007-02-03 08:20:30 +00:00
  • 5acf7a6aaa disapproval of revision '1250b8af44b62d8f4fe0f8d9fc7e7a1cc34e7e1c' Matt Johnston 2007-02-03 08:10:09 +00:00
  • 5092e30605 disapproval of revision '2186a678a5f79ef432f6593a10e3e13df2a313d5' Matt Johnston 2007-02-03 08:09:55 +00:00
  • 41bfa93058 disapproval of revision '5fdf69ca60d1683cdd9f4c2595134bed26394834' Matt Johnston 2007-02-03 08:09:22 +00:00
  • 056b92bd4c disapproval of revision '332f709a4cb39cde4cedab7c3be89e05f3023067' Matt Johnston 2007-02-03 08:08:47 +00:00
  • 4a5208512b Update to latest http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub and http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess Matt Johnston 2007-02-02 10:11:31 +00:00
  • c88f3eb2a4 fix missing endif Matt Johnston 2007-01-11 06:03:09 +00:00
  • 943636c3e1 propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head c1db4398d56c56c6d06ae1e20c1e0d04dbb598ed) to branch 'au.asn.ucc.matt.dropbear' (head d26d5eb2837f46b56a33fb0e7573aa0201abd4d5) Matt Johnston 2007-01-11 04:29:08 +00:00
  • 0a60ef26bd Replace // with /* */ Matt Johnston 2007-01-11 04:28:09 +00:00
  • 9d5ed350a7 propagate from branch 'au.asn.ucc.matt.ltm.dropbear' (head 2af95f00ebd5bb7a28b3817db1218442c935388e) to branch 'au.asn.ucc.matt.dropbear' (head ecd779509ef23a8cdf64888904fc9b31d78aa933) Matt Johnston 2007-01-11 03:14:55 +00:00
  • ca52f070ae %s/ranlib/$(RANLIB)/ Matt Johnston 2007-01-11 03:13:43 +00:00
  • 9e9858b81c propagate from branch 'au.asn.ucc.matt.ltm.orig' (head 1c2b7d389d0682caf980235dad97493e3206389c) to branch 'au.asn.ucc.matt.ltm.dropbear' (head 40ab3795de3a6157f34e52ed3f0be3eebe9a2eaa) Matt Johnston 2007-01-11 03:13:04 +00:00
  • ea8cd283eb Update to LibTomMath 0.40 libtommath-0.40 Matt Johnston 2007-01-11 03:11:15 +00:00
  • 058b2bec22 Refer to local headers locally with #include "" not #include <>. Required now that we've got rid of the libtomcrypt variants that were 'accidentally' being included in the -I path Matt Johnston 2007-01-11 03:09:09 +00:00
  • 5ea605d8de propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head ffd1015238ffcc959f6cd95176d96fcd0945a397) to branch 'au.asn.ucc.matt.dropbear' (head 52ccb0ad0587a62bc64aecb939adbb76546aac16) Matt Johnston 2007-01-11 03:05:30 +00:00
  • 7f0dd15bab Fix up some slight changes. Hack out the RSA code in tomcrypt_math.h fairly crudely, as LTC's rsa_key collide's with Dropbear's rsa_key Matt Johnston 2007-01-11 03:04:55 +00:00
  • a938f4cfe1 propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head 2af22fb4e878750b88f80f90d439b316d229796f) to branch 'au.asn.ucc.matt.dropbear' (head 02c413252c90e9de8e03d91e9939dde3029f5c0a) Matt Johnston 2007-01-11 02:41:05 +00:00
  • 28ad393b00 propagate from branch 'au.asn.ucc.matt.ltc.orig' (head 52840647ac7f5c707c3bd158d119a15734a7ef28) to branch 'au.asn.ucc.matt.ltc.dropbear' (head 20dccfc09627970a312d77fb41dc2970b62689c3) Matt Johnston 2007-01-11 02:39:21 +00:00
  • f3b834d536 Update to LibTomCrypt 1.16 libtomcrypt-1.16 Matt Johnston 2007-01-11 02:22:00 +00:00
  • 692d737a82 Load hostkeys before daemon(), since daemon()'s chdir("/") will prevent us finding keys in $PWD. Matt Johnston 2007-01-04 02:01:09 +00:00
  • d5897b9a5d merge of '182c2d8dbd5321ef4d1df8758936f4dc7127015f' and '31dcd7a22983ef19d6c63248e415e71d292dd0ec' Matt Johnston 2006-12-06 13:11:41 +00:00
  • 7b780efb42 - Include netinet/in.h before arpa/inet.h for FreeBSD - Update Copyright year Matt Johnston 2006-12-06 13:09:32 +00:00
  • 4e09d27c6f Add some code for testing whether a writefd is closed (by read()ing from it) Matt Johnston 2006-12-05 15:23:06 +00:00
  • e1d3a8a6e9 - Add some extra tracing. - Be clearer about errfd be used for read versus write with ERRFD_IS_READ and ERRFD_IS_WRITE macros Matt Johnston 2006-12-05 14:42:03 +00:00
  • 235ac72a06 merge of 'a94c5265558121fe936519b5d9a5eb27f95e9d9d' and 'd348546b80847bc0d42a7b5208bb31a54f1fdfaf' Matt Johnston 2006-12-05 13:28:44 +00:00
  • dd06653e53 Tidy up behaviour when select() is interrupted. We follow normal codepaths, just with no FDs set. Matt Johnston 2006-12-05 13:27:59 +00:00
  • 7eee3ceb70 comment about putenv() leaking malloced variables Matt Johnston 2006-11-02 16:52:59 +00:00
  • 19b89a0e19 Fix memory leak found by Klocwork Matt Johnston 2006-11-02 16:45:43 +00:00
  • a0aefb3d3f Make sure that we clean up key parts if we fail during reading a rsa key (from Klocwork) Matt Johnston 2006-11-02 16:10:18 +00:00
  • 20fb9ea351 make code clearer and more robust (from Klocwork) Matt Johnston 2006-11-02 14:55:17 +00:00
  • ee6f01918c Free x component of DSS key upon failure to load (found by Klocwork) Matt Johnston 2006-11-02 14:49:20 +00:00
  • 71e25058c1 propagate from branch 'au.asn.ucc.matt.dropbear' (head 31dcd7a22983ef19d6c63248e415e71d292dd0ec) to branch 'au.asn.ucc.matt.dropbear.channel-fix' (head 7559a8cc4f6abe2338636f2aced3a395a79c172c) Matt Johnston 2006-10-12 03:01:10 +00:00
  • 35bcc463e5 Fix up separate-directory building for libtomcrypt Use $CC rather than $LD for linking Matt Johnston 2006-10-11 16:00:50 +00:00
  • 5b8a26f1d1 Remove accidentally removed block (making sure to close the channel). Other minor cleanups. Matt Johnston 2006-10-11 14:44:00 +00:00
  • cc340d9cdc Passes most test cases now Matt Johnston 2006-10-09 16:31:00 +00:00
  • 786ea39ac4 Rearranged (and hopefully simplified) channel close/eof handling Matt Johnston 2006-10-07 17:48:55 +00:00
  • df57eb3824 Rearranged some more bits, marked some areas that need work. Matt Johnston 2006-10-02 16:34:06 +00:00
  • 3301bad391 Comment cleanups Matt Johnston 2006-10-02 06:40:51 +00:00
  • f5d75b099b explicit merge of '0501e6f661b5415eb76f3b312d183c3adfbfb712' and '2b954d406290e6a2be8eb4a262d3675ac95ac544' Matt Johnston 2006-10-02 06:39:32 +00:00
  • 7e04c5e277 just shuffle some variables names about, a brief comment about the "bad writefd" problem Matt Johnston 2006-10-01 16:35:13 +00:00
  • 33a182674a Forgot variable declaration. Matt Johnston 2006-09-11 11:22:52 +00:00
  • 14a790891f Handle failure reading a file (such as a key file) Matt Johnston 2006-08-20 12:16:13 +00:00
  • d1daf6531a merge of '9a4e042fd565f46141e81e0c1ab90260303348fe' and 'bea3887a5875cf3ab8a1331e15e698b37b61fe37' Matt Johnston 2006-08-07 13:41:23 +00:00
  • e89b40e9c9 Add (disabled by default) LOG_COMMANDS option to log the commands executed by clients. Matt Johnston 2006-08-07 13:41:16 +00:00
  • afb651821b Just use the normal "remote closed" handler when reading ident stings Matt Johnston 2006-07-27 01:24:39 +00:00
  • 92cf98c77b CHECKCLEARTOWRITE() can normally be defined blank Matt Johnston 2006-07-09 14:58:19 +00:00
  • 60797cb25f From Erik Hovland - Check for valid cipher independently to starting encryption - Use failure-checking m_mp_init for initialising mpint value Matt Johnston 2006-07-07 09:28:32 +00:00
  • c9319fbef5 Make flow of execution clearer for getting process exit status Matt Johnston 2006-07-07 09:18:05 +00:00
  • 4cb673b644 Fixes from Erik Hovland: Matt Johnston 2006-07-07 09:17:18 +00:00
  • cee2ec1680 BUG: The strings 'name' and 'instruction' are always allocated but are only freed if the length of the string is greater then zero. They should always be freed. FIX: take the m_free(<string>) out of the conditional Matt Johnston 2006-07-07 07:00:10 +00:00
  • 934a6d417d BUG: mp_div_2d returns status and it isn't checked. FIX: Check and return status. From Erik Hovland Matt Johnston 2006-07-07 06:43:55 +00:00
  • d6ee29f5ae 0.49 is close to done. Matt Johnston 2006-06-12 16:05:09 +00:00
  • c5e5dc832c Can't check for ss_family without #including sys/socket.h Matt Johnston 2006-06-12 16:03:52 +00:00
  • ac2b546a13 Another stab at getting ss_family happy on older glibc Matt Johnston 2006-06-12 15:57:14 +00:00
  • d0537c7506 Make the dbclient password prompt more useful Matt Johnston 2006-06-12 14:41:32 +00:00
  • a0ed2ca71b mention a command in the help Matt Johnston 2006-06-12 03:51:40 +00:00
  • 4313157666 fix accidentally changed == vs != operators Matt Johnston 2006-06-11 16:37:46 +00:00
  • e8fa3ce478 progress towards exiting on writefd closure rather than on process exit - dbclient hangs with scp, so requires work. Matt Johnston 2006-06-11 16:19:32 +00:00
  • c9d3c0bc90 merge of 332f709a4cb39cde4cedab7c3be89e05f3023067 and ca4ca78b82c5d430c69ce01bf794e8886ce81431 Matt Johnston 2006-06-10 16:39:40 +00:00
  • 94d86427ff disapproval of revision 'a4c1a9be4db326f8f7adcf30f876fadedf87b203' Matt Johnston 2006-06-10 16:39:37 +00:00
  • 3b0e6a2969 increase the size of listening sockets if the port count increases Matt Johnston 2006-06-10 15:59:38 +00:00
  • 64bdc502ad Bring in changes from Debian 0.48.1-1 Matt Johnston 2006-06-07 16:04:14 +00:00
  • c81e058bb0 add -f background option to dbclient Matt Johnston 2006-06-07 15:47:04 +00:00
  • be2b7d9725 Add -N "no remote command" dbclient option. Document -N in dbclient.1 and -P in dropbear.8 Matt Johnston 2006-06-07 15:01:20 +00:00
  • 1428c01a5f Include user@host in the pubkey line, since it's sometimes very useful Matt Johnston 2006-06-07 14:48:35 +00:00
  • 4aafeb0da2 Add -P pidfile patch from Swen Schillig Matt Johnston 2006-06-07 14:10:21 +00:00
  • 32af5c267e Look at HOME before /etc/passwd when looking for ~/.ssh/known_hosts file, so people can workaround broken /etc/passwds. Print the full path in error messages. Matt Johnston 2006-06-07 13:41:19 +00:00
  • ba7513fdf3 change AC_MSG_RESULT to AC_MSG_NOTICE in configure.in, add AC_SYS_LARGEFILE Matt Johnston 2006-06-07 13:37:03 +00:00
  • 1e26b86f15 propagate from branch 'au.asn.ucc.matt.dropbear' (head 138a11bc1e2babcd8b1182e6cb2a85d4e9404b11) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 12b2f59db65e7339d340e95ac67d6d9ddb193c2b) Matt Johnston 2006-06-06 15:40:09 +00:00
  • b6b96f8841 Include CPPFLAGS in CFLAGS Matt Johnston 2006-04-18 01:33:30 +00:00
  • c1b602145f don't fail fatally if the client can't get homedir from getpwuid(), fallback to $HOME. Matt Johnston 2006-04-12 05:51:32 +00:00