diff -Naur dropbear-2018.76/localoptions.h dropbear-2018.76-p/localoptions.h --- dropbear-2018.76/localoptions.h 1970-01-01 01:00:00.000000000 +0100 +++ dropbear-2018.76-p/localoptions.h 2018-10-30 22:28:47.507772138 +0100 @@ -0,0 +1,34 @@ +/* Disable CBC mode for ciphers */ +#define DROPBEAR_ENABLE_CBC_MODE 0 + +/* Disable X11 forwarding on the server */ +#define DROPBEAR_X11FWD 0 + +/* Disable reverse DNS lookups */ +#define DO_HOST_LOOKUP 0 + +/* Enable twofish128 and twofish256 */ +#define DROPBEAR_TWOFISH128 1 +#define DROPBEAR_TWOFISH256 1 + +/* Disable SHA-96 */ +#define DROPBEAR_SHA1_HMAC 0 +#define DROPBEAR_SHA1_96_HMAC 0 + +/* Disable DSS */ +#define DROPBEAR_DSS 0 + +/* Disable ECDH */ +#define DROPBEAR_ECDH 0 + +/* Keep ECDSA, for practical purposes */ +#define DROPBEAR_ECDSA 1 + +/* SFTP server path */ +#define SFTPSERVER_PATH "/usr/lib/openssh/sftp-server" + +/* Spend a small amount of bytes for an increase in performance */ +#define DROPBEAR_SMALL_CODE 0 + +/* Default path */ +#define DEFAULT_PATH "/usr/bin"