aboutsummaryrefslogtreecommitdiffstats
path: root/sub/dropbear/localoptions.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-23 02:32:57 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-23 02:32:57 +0000
commit8557dc459cd4deec3d40cfeb3880ff9e3fe448dd (patch)
tree6c2a2219866cfb7cca37b399035ee930232ac9af /sub/dropbear/localoptions.h
parent46988725a588f90ee69c9c78459be62b1dcc2fca (diff)
downloadlh-bootstrap-8557dc459cd4deec3d40cfeb3880ff9e3fe448dd.tar.gz
Update dropbear
Diffstat (limited to 'sub/dropbear/localoptions.h')
-rw-r--r--sub/dropbear/localoptions.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/sub/dropbear/localoptions.h b/sub/dropbear/localoptions.h
new file mode 100644
index 0000000..493cec3
--- /dev/null
+++ b/sub/dropbear/localoptions.h
@@ -0,0 +1,24 @@
+#ifndef LOCALOPTIONS_H
+
+#define NON_INETD_MODE 0
+#define INETD_MODE 1
+
+#define DROPBEAR_SMALL_CODE 0
+#define DROPBEAR_X11FWD 0
+#define DROPBEAR_BLOWFISH 0
+#define DROPBEAR_TWOFISH256 0
+#define DROPBEAR_TWOFISH128 0
+
+#define DROPBEAR_DELAY_HOSTKEY 0
+#define DROPBEAR_CURVE25519 1
+
+#define DROPBEAR_DH_GROUP1 0
+#define DROPBEAR_DH_GROUP16 1
+
+#define XAUTH_COMMAND "/bin/xauth -q"
+#define SFTPSERVER_PATH "/opt/dropbear/bin/sftp-server"
+#define DROPBEAR_PATH_SSH_PROGRAM "/bin/dbclient"
+#define DEFAULT_PATH "/command:/bin"
+
+#endif
+