2 * Arch Linux configuration for DropBear
4 * The majority of these options are disabled or enabled as a result of
7 * https://github.com/arthepsy/ssh-audit
10 /* Disable CBC mode for ciphers */
11 #define DROPBEAR_ENABLE_CBC_MODE 0
13 /* Disable X11 forwarding on the server */
14 #define DROPBEAR_X11FWD 0
16 /* Disable reverse DNS lookups */
17 #define DO_HOST_LOOKUP 0
19 /* Enable twofish128 and twofish256 */
20 #define DROPBEAR_TWOFISH128 1
21 #define DROPBEAR_TWOFISH256 1
24 #define DROPBEAR_SHA1_HMAC 0
25 #define DROPBEAR_SHA1_96_HMAC 0
28 #define DROPBEAR_DSS 0
31 #define DROPBEAR_ECDH 0
33 /* Keep ECDSA, for practical purposes */
34 #define DROPBEAR_ECDSA 1
36 /* SFTP server path */
37 #define SFTPSERVER_PATH "/usr/lib/ssh/sftp-server"
39 /* Spend a small amount of bytes for an increase in performance */
40 #define DROPBEAR_SMALL_CODE 0
43 #define DEFAULT_PATH "/usr/bin"
45 /* Enable GCM mode, ref. FS#70781 */
46 #define DROPBEAR_ENABLE_GCM_MODE 1