Mercurial > dropbear
diff options.h @ 684:c37857676924 insecure-nocrypto
Merge in "-m"/"-c" code
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 17 May 2012 08:09:19 +0800 |
parents | a4b7627b3157 63f8d6c469cf |
children | 5af8993f7529 |
line wrap: on
line diff
--- a/options.h Wed May 16 22:54:51 2012 +0800 +++ b/options.h Thu May 17 08:09:19 2012 +0800 @@ -80,6 +80,9 @@ * to a remote TCP-forwarded connection */ #define ENABLE_CLI_NETCAT +/* Whether to support "-c" and "-m" flags to choose ciphers/MACs at runtime */ +#define ENABLE_USER_ALGO_LIST + /* Encryption - at least one required. * Protocol RFC requires 3DES and recommends AES128 for interoperability. * Including multiple keysize variants the same cipher @@ -107,7 +110,7 @@ * The best way to do things is probably make normal compile of dropbear with * all ciphers including "none" as the server, then recompile a special * "dbclient-insecure" client. */ -/* #define DROPBEAR_NONE_CIPHER */ +#define DROPBEAR_NONE_CIPHER /* Message Integrity - at least one required. * Protocol RFC requires sha1 and recommends sha1-96. @@ -132,7 +135,7 @@ * simple to run arbitrary commands on the remote host. Beware. * Note again, for the client you will have to disable other hashes above * to use this. */ -/* #define DROPBEAR_NONE_INTEGRITY */ +#define DROPBEAR_NONE_INTEGRITY /* Hostkey/public key algorithms - at least one required, these are used * for hostkey as well as for verifying signatures with pubkey auth.