archrelease: copy trunk to community-any
[arch-community.git] / dropbear / repos / community-x86_64 / localoptions.h
blobc7214f41bad15eef57987276ac5ff950a9487f3f
1 /*
2 * Arch Linux configuration for DropBear
4 * The majority of these options are disabled or enabled as a result of
5 * running ssh-audit:
7 * https://github.com/arthepsy/ssh-audit
8 */
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
23 /* Disable SHA-96 */
24 #define DROPBEAR_SHA1_HMAC 0
25 #define DROPBEAR_SHA1_96_HMAC 0
27 /* Disable DSS */
28 #define DROPBEAR_DSS 0
30 /* Disable ECDH */
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
42 /* Default path */
43 #define DEFAULT_PATH "/usr/bin"
45 /* Enable GCM mode, ref. FS#70781 */
46 #define DROPBEAR_ENABLE_GCM_MODE 1