1 Only in dropbear-0.44test2: .configured
2 diff -r -u dropbear-0.44test2-old/cli-session.c dropbear-0.44test2/cli-session.c
3 --- dropbear-0.44test2-old/cli-session.c 2004-08-17 21:22:59.000000000 +1000
4 +++ dropbear-0.44test2/cli-session.c 2004-08-19 21:50:59.000000000 +1000
6 cli_ses.tty_raw_mode = 0;
9 + /* We store stdin's flags, so we can set them back on exit (otherwise
10 + * busybox's ash isn't happy */
11 + cli_ses.stdincopy = dup(STDIN_FILENO);
12 + cli_ses.stdinflags = fcntl(STDIN_FILENO, F_GETFL, 0);
15 cli_ses.lastpubkey = NULL;
16 - cli_ses.lastauthtype = NULL;
17 + cli_ses.lastauthtype = 0;
19 /* For printing "remote host closed" for the user */
20 ses.remoteclosed = cli_remoteclosed;
26 + /* Set stdin back to non-blocking - busybox ash dies nastily
27 + * if we don't revert the flags */
28 + TRACE(("close stdincopy = %d", cli_ses.stdincopy));
29 + fcntl(cli_ses.stdincopy, F_SETFL, cli_ses.stdinflags);
34 diff -r -u dropbear-0.44test2-old/options.h dropbear-0.44test2/options.h
35 --- dropbear-0.44test2-old/options.h 2004-08-17 21:23:00.000000000 +1000
36 +++ dropbear-0.44test2/options.h 2004-08-20 13:40:44.000000000 +1000
38 * for hostkey as well as for verifying signatures with pubkey auth.
39 * Removing either of these won't save very much space.
40 * SSH2 RFC Draft requires dss, recommends rsa */
42 +//#define DROPBEAR_RSA
45 /* Define DSS_PROTOK to use PuTTY's method of generating the value k for dss,
46 diff -r -u dropbear-0.44test2-old/session.h dropbear-0.44test2/session.h
47 --- dropbear-0.44test2-old/session.h 2004-08-17 21:23:00.000000000 +1000
48 +++ dropbear-0.44test2/session.h 2004-08-19 21:50:59.000000000 +1000
51 int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */
52 struct termios saved_tio;
56 int winchange; /* Set to 1 when a windowchange signal happens */
58 diff -r -u dropbear-0.44test2-old/svr-auth.c dropbear-0.44test2/svr-auth.c
59 --- dropbear-0.44test2-old/svr-auth.c 2004-08-17 21:23:00.000000000 +1000
60 +++ dropbear-0.44test2/svr-auth.c 2004-08-20 15:06:15.000000000 +1000
65 + ses.connecttimeout = 0;
67 /* send the banner if it exists, it will only exist once */
68 if (svr_opts.banner) {
69 send_msg_userauth_banner();
70 diff -r -u dropbear-0.44test2-old/svr-runopts.c dropbear-0.44test2/svr-runopts.c
71 --- dropbear-0.44test2-old/svr-runopts.c 2004-08-17 21:23:00.000000000 +1000
72 +++ dropbear-0.44test2/svr-runopts.c 2004-08-20 11:56:31.000000000 +1000
77 - type = DROPBEAR_SIGNKEY_RSA;
78 + type = DROPBEAR_SIGNKEY_DSS;
79 ret = readhostkey(dsskeyfile, hostkey, &type);
80 if (ret == DROPBEAR_FAILURE) {
81 disablekey(DROPBEAR_SIGNKEY_DSS, dsskeyfile);