summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authordjm <djm>2005-07-26 11:54:56 +0000
committerdjm <djm>2005-07-26 11:54:56 +0000
commitf647f727eefbe2e333470ba01508a9aaba7ef5af (patch)
tree9d6a72a192e9da9e18c9410beb99676ff6a86b80 /kex.h
parentb825f6cea5eb0a9800e9bd9b741a7515a2256845 (diff)
downloadopenssh-f647f727eefbe2e333470ba01508a9aaba7ef5af.tar.gz
- markus@cvs.openbsd.org 2005/07/25 11:59:40
[kex.c kex.h myproposal.h packet.c packet.h servconf.c session.c] [sshconnect2.c sshd.c sshd_config sshd_config.5] add a new compression method that delays compression until the user has been authenticated successfully and set compression to 'delayed' for sshd. this breaks older openssh clients (< 3.5) if they insist on compression, so you have to re-enable compression in sshd_config. ok djm@
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index 059d83cd..3024a271 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.h,v 1.36 2005/06/17 02:44:32 djm Exp $ */
+/* $OpenBSD: kex.h,v 1.37 2005/07/25 11:59:39 markus Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -35,6 +35,10 @@
#define KEX_DH14 "diffie-hellman-group14-sha1"
#define KEX_DHGEX "diffie-hellman-group-exchange-sha1"
+#define COMP_NONE 0
+#define COMP_ZLIB 1
+#define COMP_DELAYED 2
+
enum kex_init_proposals {
PROPOSAL_KEX_ALGS,
PROPOSAL_SERVER_HOST_KEY_ALGS,