2011-03-02 22:51:45 +08:00
|
|
|
--- a/options.h
|
|
|
|
+++ b/options.h
|
2014-03-30 00:59:26 +08:00
|
|
|
@@ -41,7 +41,7 @@
|
2011-03-02 22:51:45 +08:00
|
|
|
* Both of these flags can be defined at once, don't compile without at least
|
|
|
|
* one of them. */
|
|
|
|
#define NON_INETD_MODE
|
|
|
|
-#define INETD_MODE
|
|
|
|
+/*#define INETD_MODE*/
|
|
|
|
|
|
|
|
/* Setting this disables the fast exptmod bignum code. It saves ~5kB, but is
|
|
|
|
* perhaps 20% slower for pubkey operations (it is probably worth experimenting
|
2014-03-30 00:59:26 +08:00
|
|
|
@@ -81,7 +81,7 @@ much traffic. */
|
2011-03-02 22:51:45 +08:00
|
|
|
|
|
|
|
/* Enable "Netcat mode" option. This will forward standard input/output
|
|
|
|
* to a remote TCP-forwarded connection */
|
|
|
|
-#define ENABLE_CLI_NETCAT
|
|
|
|
+/*#define ENABLE_CLI_NETCAT*/
|
|
|
|
|
2013-10-10 22:42:05 +08:00
|
|
|
/* Whether to support "-c" and "-m" flags to choose ciphers/MACs at runtime */
|
|
|
|
#define ENABLE_USER_ALGO_LIST
|
2014-03-30 00:59:26 +08:00
|
|
|
@@ -95,8 +95,8 @@ much traffic. */
|
2011-03-02 22:51:45 +08:00
|
|
|
#define DROPBEAR_AES256
|
|
|
|
/* Compiling in Blowfish will add ~6kB to runtime heap memory usage */
|
|
|
|
/*#define DROPBEAR_BLOWFISH*/
|
|
|
|
-#define DROPBEAR_TWOFISH256
|
|
|
|
-#define DROPBEAR_TWOFISH128
|
|
|
|
+/*#define DROPBEAR_TWOFISH256
|
|
|
|
+#define DROPBEAR_TWOFISH128*/
|
|
|
|
|
|
|
|
/* Enable "Counter Mode" for ciphers. This is more secure than normal
|
|
|
|
* CBC mode against certain attacks. This adds around 1kB to binary
|
2014-03-30 00:59:26 +08:00
|
|
|
@@ -122,7 +122,7 @@ much traffic. */
|
2011-03-02 22:51:45 +08:00
|
|
|
* If you disable MD5, Dropbear will fall back to SHA1 fingerprints,
|
|
|
|
* which are not the standard form. */
|
|
|
|
#define DROPBEAR_SHA1_HMAC
|
|
|
|
-#define DROPBEAR_SHA1_96_HMAC
|
|
|
|
+/*#define DROPBEAR_SHA1_96_HMAC*/
|
2013-10-10 22:42:05 +08:00
|
|
|
/*#define DROPBEAR_SHA2_256_HMAC*/
|
|
|
|
/*#define DROPBEAR_SHA2_512_HMAC*/
|
2011-03-02 22:51:45 +08:00
|
|
|
#define DROPBEAR_MD5_HMAC
|
2014-03-30 00:59:26 +08:00
|
|
|
@@ -175,7 +175,7 @@ much traffic. */
|
2011-03-02 22:51:45 +08:00
|
|
|
|
|
|
|
/* Whether to print the message of the day (MOTD). This doesn't add much code
|
|
|
|
* size */
|
|
|
|
-#define DO_MOTD
|
|
|
|
+/*#define DO_MOTD*/
|
|
|
|
|
|
|
|
/* The MOTD file path */
|
|
|
|
#ifndef MOTD_FILENAME
|
2014-03-30 00:59:26 +08:00
|
|
|
@@ -213,7 +213,7 @@ much traffic. */
|
2011-03-02 22:51:45 +08:00
|
|
|
* note that it will be provided for all "hidden" client-interactive
|
|
|
|
* style prompts - if you want something more sophisticated, use
|
|
|
|
* SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
|
|
|
|
-#define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"
|
|
|
|
+/*#define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"*/
|
|
|
|
|
|
|
|
/* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of
|
|
|
|
* a helper program for the ssh client. The helper program should be
|