dropbear: disable reverse host lookups
authorJan Lübbe <jluebbe@debian.org>
Sun, 22 Jun 2008 01:19:42 +0000 (01:19 +0000)
committerJan Lübbe <jluebbe@debian.org>
Sun, 22 Jun 2008 01:19:42 +0000 (01:19 +0000)
This gets rid of the delay when logging in via ssh.

packages/dropbear/dropbear-0.51/no-host-lookup.patch [new file with mode: 0644]
packages/dropbear/dropbear_0.51.bb

diff --git a/packages/dropbear/dropbear-0.51/no-host-lookup.patch b/packages/dropbear/dropbear-0.51/no-host-lookup.patch
new file mode 100644 (file)
index 0000000..d7c2ccd
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN dropbear-0.51/options.h dropbear-0.51.new/options.h
+--- dropbear-0.51/options.h    2008-03-27 14:34:39.000000000 +0100
++++ dropbear-0.51.new/options.h        2008-06-22 00:22:09.000000000 +0200
+@@ -112,7 +112,7 @@
+ /* #define DSS_PROTOK */
+ /* Whether to do reverse DNS lookups. */
+-#define DO_HOST_LOOKUP
++/* #define DO_HOST_LOOKUP */
+ /* Whether to print the message of the day (MOTD). This doesn't add much code
+  * size */
index ead3eca..888819c 100644 (file)
@@ -1,2 +1,4 @@
 require dropbear.inc
-PR = "r0"
+PR = "r1"
+
+SRC_URI += "file://no-host-lookup.patch;patch=1"
\ No newline at end of file