diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-10-02 06:39:32 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-10-02 06:39:32 +0000 |
commit | f5d75b099b6324488801f80ad6f69bd228e6a8a8 (patch) | |
tree | 40e8a4fbedf6e12df108bade305bb5b5a918f405 /options.h | |
parent | 3f49fc5f2ca0ec4adb5cac081f502cbb86702efa (diff) | |
parent | ba869e56010db68e19f5a192ed418f832c97261d (diff) |
explicit merge of '0501e6f661b5415eb76f3b312d183c3adfbfb712'
and '2b954d406290e6a2be8eb4a262d3675ac95ac544'
--HG--
branch : insecure-nocrypto
extra : convert_revision : 9bd1d83f67b428efb0f0e8f55c6efc4749f635d9
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -65,12 +65,26 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */ * RFC Draft requires 3DES and recommends AES128 for interoperability. * Including multiple keysize variants the same cipher * (eg AES256 as well as AES128) will result in a minimal size increase.*/ +/* #define DROPBEAR_AES128_CBC #define DROPBEAR_3DES_CBC #define DROPBEAR_AES256_CBC #define DROPBEAR_BLOWFISH_CBC #define DROPBEAR_TWOFISH256_CBC #define DROPBEAR_TWOFISH128_CBC +*/ + +/* You can compile with no encryption if you want. In some circumstances + * this could be safe securitywise, though make sure you know what + * you're doing. Anyone can see everything that goes over the wire, so + * the only safe auth method is public key. You'll have to disable all other + * ciphers above in the client if you want to use this, or implement cipher + * prioritisation in cli-runopts. + * + * 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 /* Message Integrity - at least one required. * RFC Draft requires sha1 and recommends sha1-96. @@ -88,6 +102,12 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */ #define DROPBEAR_SHA1_96_HMAC #define DROPBEAR_MD5_HMAC +/* You can also disable integrity. Don't bother disabling this if you're + * still using a cipher, it's relatively cheap. Don't disable this if you're + * using 'none' cipher, since it's dead simple to run arbitrary commands + * on the remote host. Go ahead. Hang yourself with your own rope. */ +/*#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. * Removing either of these won't save very much space. |