mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
Ports: Update dropbear's patches to use git patches
This commit is contained in:
parent
5f986a91c6
commit
a4c404ea9c
8 changed files with 127 additions and 29 deletions
|
@ -0,0 +1,37 @@
|
|||
From 828399ef58c44dfe248c46bd3e7cadfcb904c5cd Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Meyer <git@the-space.agency>
|
||||
Date: Thu, 28 Apr 2022 01:50:11 +0000
|
||||
Subject: [PATCH 1/5] Disable some default options
|
||||
|
||||
Co-Authored-By: Yonatan Goldschmidt <yon.goldschmidt@gmail.com>
|
||||
---
|
||||
default_options.h | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/default_options.h b/default_options.h
|
||||
index 536f4e7..5073b7c 100644
|
||||
--- a/default_options.h
|
||||
+++ b/default_options.h
|
||||
@@ -72,8 +72,8 @@ IMPORTANT: Some options will require "make clean" after changes */
|
||||
#define DROPBEAR_SVR_REMOTETCPFWD 1
|
||||
|
||||
/* Enable Authentication Agent Forwarding */
|
||||
-#define DROPBEAR_SVR_AGENTFWD 1
|
||||
-#define DROPBEAR_CLI_AGENTFWD 1
|
||||
+#define DROPBEAR_SVR_AGENTFWD 0
|
||||
+#define DROPBEAR_CLI_AGENTFWD 0
|
||||
|
||||
/* Note: Both DROPBEAR_CLI_PROXYCMD and DROPBEAR_CLI_NETCAT must be set to
|
||||
* allow multihop dbclient connections */
|
||||
@@ -210,7 +210,7 @@ group1 in Dropbear server too */
|
||||
|
||||
/* Authentication Types - at least one required.
|
||||
RFC Draft requires pubkey auth, and recommends password */
|
||||
-#define DROPBEAR_SVR_PASSWORD_AUTH 1
|
||||
+#define DROPBEAR_SVR_PASSWORD_AUTH 0
|
||||
|
||||
/* Note: PAM auth is quite simple and only works for PAM modules which just do
|
||||
* a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c).
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue