summaryrefslogtreecommitdiffhomepage
path: root/sysoptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysoptions.h')
-rw-r--r--sysoptions.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysoptions.h b/sysoptions.h
index e01ec1f..ce2c045 100644
--- a/sysoptions.h
+++ b/sysoptions.h
@@ -99,6 +99,7 @@
#define MAX_PROPOSED_ALGO 20
/* size/count limits */
+/* From transport rfc */
#define MIN_PACKET_LEN 16
#define RECV_MAX_PACKET_LEN (MAX(35000, ((RECV_MAX_PAYLOAD_LEN)+100)))
@@ -123,7 +124,7 @@
#define MAX_PRIVKEY_SIZE 1700
/* The maximum size of the bignum portion of the kexhash buffer */
-/* Sect. 8 of the transport draft, K_S + e + f + K */
+/* Sect. 8 of the transport rfc 4253, K_S + e + f + K */
#define KEXHASHBUF_MAX_INTS (1700 + 130 + 130 + 130)
#define DROPBEAR_MAX_SOCKS 2 /* IPv4, IPv6 are all we'll get for now. Revisit
@@ -161,6 +162,10 @@
#define USING_LISTENERS
#endif
+#if defined(ENABLE_SVR_AGENTFWD) || defined(ENABLE_CLI_LOCALTCPFWD)
+#define ENABLE_AGENTFWD
+#endif
+
#if defined(ENABLE_CLI_NETCAT) && defined(ENABLE_CLI_PROXYCMD)
#define ENABLE_CLI_MULTIHOP
#endif