diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-03-20 22:41:07 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-03-20 22:41:07 +0800 |
commit | d37dcc636f6d7832b969aa94d2446894cd44a680 (patch) | |
tree | 917127ae7dfacb4f592af43f4b10631a1ebf3dc3 /options.h | |
parent | 804a1e69f2e34fe55ffa76c1ac4b8ce928011497 (diff) | |
parent | e719a9ef6f1cab28c075cb733d2f864dbe0b5c9b (diff) |
Merge "none" cipher/MAC branch. Also adds sha256 and sha512
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -100,6 +100,12 @@ much traffic. */ * size and is recommended for most cases */ #define DROPBEAR_ENABLE_CTR_MODE +/* You can compile with no encryption if you want. In some circumstances + * this could be safe security-wise, 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. */ +#define DROPBEAR_NONE_CIPHER + /* Message Integrity - at least one required. * Protocol RFC requires sha1 and recommends sha1-96. * sha1-96 is of use for slow links as it has a smaller overhead. @@ -112,11 +118,19 @@ much traffic. */ * These hashes are also used for public key fingerprints in logs. * 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_SHA2_256_HMAC*/ +/*#define DROPBEAR_SHA2_512_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. If you disable this it's dead + * 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 + /* 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. |