120-openwrt_options.patch 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --- a/options.h
  2. +++ b/options.h
  3. @@ -38,7 +38,7 @@
  4. * Both of these flags can be defined at once, don't compile without at least
  5. * one of them. */
  6. #define NON_INETD_MODE
  7. -#define INETD_MODE
  8. +/*#define INETD_MODE*/
  9. /* Setting this disables the fast exptmod bignum code. It saves ~5kB, but is
  10. * perhaps 20% slower for pubkey operations (it is probably worth experimenting
  11. @@ -49,7 +49,7 @@
  12. several kB in binary size however will make the symmetrical ciphers and hashes
  13. slower, perhaps by 50%. Recommended for small systems that aren't doing
  14. much traffic. */
  15. -/*#define DROPBEAR_SMALL_CODE*/
  16. +#define DROPBEAR_SMALL_CODE
  17. /* Enable X11 Forwarding - server only */
  18. #define ENABLE_X11FWD
  19. @@ -78,7 +78,7 @@ much traffic. */
  20. /* Enable "Netcat mode" option. This will forward standard input/output
  21. * to a remote TCP-forwarded connection */
  22. -#define ENABLE_CLI_NETCAT
  23. +/*#define ENABLE_CLI_NETCAT*/
  24. /* Encryption - at least one required.
  25. * Protocol RFC requires 3DES and recommends AES128 for interoperability.
  26. @@ -89,8 +89,8 @@ much traffic. */
  27. #define DROPBEAR_AES256
  28. /* Compiling in Blowfish will add ~6kB to runtime heap memory usage */
  29. /*#define DROPBEAR_BLOWFISH*/
  30. -#define DROPBEAR_TWOFISH256
  31. -#define DROPBEAR_TWOFISH128
  32. +/*#define DROPBEAR_TWOFISH256
  33. +#define DROPBEAR_TWOFISH128*/
  34. /* Enable "Counter Mode" for ciphers. This is more secure than normal
  35. * CBC mode against certain attacks. This adds around 1kB to binary
  36. @@ -110,7 +110,7 @@ much traffic. */
  37. * If you disable MD5, Dropbear will fall back to SHA1 fingerprints,
  38. * which are not the standard form. */
  39. #define DROPBEAR_SHA1_HMAC
  40. -#define DROPBEAR_SHA1_96_HMAC
  41. +/*#define DROPBEAR_SHA1_96_HMAC*/
  42. #define DROPBEAR_MD5_HMAC
  43. /* Hostkey/public key algorithms - at least one required, these are used
  44. @@ -148,7 +148,7 @@ much traffic. */
  45. /* Whether to print the message of the day (MOTD). This doesn't add much code
  46. * size */
  47. -#define DO_MOTD
  48. +/*#define DO_MOTD*/
  49. /* The MOTD file path */
  50. #ifndef MOTD_FILENAME
  51. @@ -192,7 +192,7 @@ much traffic. */
  52. * note that it will be provided for all "hidden" client-interactive
  53. * style prompts - if you want something more sophisticated, use
  54. * SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
  55. -#define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"
  56. +/*#define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"*/
  57. /* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of
  58. * a helper program for the ssh client. The helper program should be