summaryrefslogtreecommitdiff
path: root/package/dropbear
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-22 18:06:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-22 18:06:02 +0100
commit749979121e3c8a11c6df2b68c76a7b119d29d6df (patch)
tree4fcd02fc54fe5380787fa63ffe9252cd6ea41ab9 /package/dropbear
parentab4199af7fd87bd5ba2a39f561294fd625fbf3dc (diff)
disable dss, fix path to xauth
X11 forwarding needs xauth. Package will be ported soon. Fix the path to xauth. Disable DSS, because we only use RSA hostkeys by default. This avoids a errormessage when starting dropbear.
Diffstat (limited to 'package/dropbear')
-rw-r--r--package/dropbear/patches/patch-options_h20
1 files changed, 19 insertions, 1 deletions
diff --git a/package/dropbear/patches/patch-options_h b/package/dropbear/patches/patch-options_h
index c25f10856..b0903f45d 100644
--- a/package/dropbear/patches/patch-options_h
+++ b/package/dropbear/patches/patch-options_h
@@ -1,6 +1,6 @@
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- dropbear-0.52.orig/options.h 2008-11-11 15:13:50.000000000 +0100
-+++ dropbear-0.52/options.h 2009-03-19 19:24:46.000000000 +0100
++++ dropbear-0.52/options.h 2010-01-22 17:55:09.000000000 +0100
@@ -10,6 +10,11 @@
* parts are to allow for commandline -DDROPBEAR_XXX options etc.
******************************************************************/
@@ -13,6 +13,15 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
#ifndef DROPBEAR_DEFPORT
#define DROPBEAR_DEFPORT "22"
#endif
+@@ -115,7 +120,7 @@ etc) slower (perhaps by 50%). Recommende
+ * Removing either of these won't save very much space.
+ * SSH2 RFC Draft requires dss, recommends rsa */
+ #define DROPBEAR_RSA
+-#define DROPBEAR_DSS
++/* #define DROPBEAR_DSS */
+
+ /* RSA can be vulnerable to timing attacks which use the time required for
+ * signing to guess the private key. Blinding avoids this attack, though makes
@@ -129,7 +134,7 @@ etc) slower (perhaps by 50%). Recommende
/* #define DSS_PROTOK */
@@ -22,3 +31,12 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
/* Whether to print the message of the day (MOTD). This doesn't add much code
* size */
+@@ -220,7 +225,7 @@ etc) slower (perhaps by 50%). Recommende
+ /* The command to invoke for xauth when using X11 forwarding.
+ * "-q" for quiet */
+ #ifndef XAUTH_COMMAND
+-#define XAUTH_COMMAND "/usr/X11R6/bin/xauth -q"
++#define XAUTH_COMMAND "/usr/bin/xauth -q"
+ #endif
+
+ /* if you want to enable running an sftp server (such as the one included with