summaryrefslogtreecommitdiffhomepage
path: root/sysoptions.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-02-27 13:57:32 +0000
committerMatt Johnston <matt@ucc.asn.au>2011-02-27 13:57:32 +0000
commit3c42c5407cfef441dfa53b1797b41b9f66707f74 (patch)
treef6a1d7c086902ebd8b55400fac55b17ec3554b8c /sysoptions.h
parent9d9a8ff73577cf6aace5f52e5256acabccfd5b09 (diff)
Refer to RFCs rather than drafts, update some section references
--HG-- extra : convert_revision : b5c5c88e702f427b9d5e8c592e2b7e1bda204ff3
Diffstat (limited to 'sysoptions.h')
-rw-r--r--sysoptions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysoptions.h b/sysoptions.h
index 9be5aca..2329391 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