myproposal.h revision 149753
1250883Sed/* $OpenBSD: myproposal.h,v 1.18 2005/07/25 11:59:39 markus Exp $ */ 2250883Sed/* $FreeBSD: head/crypto/openssh/myproposal.h 149753 2005-09-03 07:04:25Z des $ */ 3250883Sed 4250883Sed/* 5250883Sed * Copyright (c) 2000 Markus Friedl. All rights reserved. 6250883Sed * 7250883Sed * Redistribution and use in source and binary forms, with or without 8250883Sed * modification, are permitted provided that the following conditions 9250883Sed * are met: 10250883Sed * 1. Redistributions of source code must retain the above copyright 11250883Sed * notice, this list of conditions and the following disclaimer. 12250883Sed * 2. Redistributions in binary form must reproduce the above copyright 13250883Sed * notice, this list of conditions and the following disclaimer in the 14250883Sed * documentation and/or other materials provided with the distribution. 15250883Sed * 16250883Sed * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17250883Sed * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18250883Sed * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19250883Sed * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20250883Sed * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21250883Sed * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22250883Sed * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23250883Sed * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24250883Sed * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25250883Sed * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26250883Sed */ 27250883Sed#define KEX_DEFAULT_KEX "diffie-hellman-group-exchange-sha1," \ 28250883Sed "diffie-hellman-group14-sha1," \ 29250883Sed "diffie-hellman-group1-sha1" 30250883Sed#define KEX_DEFAULT_PK_ALG "ssh-dss,ssh-rsa" 31250883Sed#define KEX_DEFAULT_ENCRYPT \ 32250883Sed "aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc," \ 33250883Sed "arcfour128,arcfour256,arcfour," \ 34250883Sed "aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se," \ 35250883Sed "aes128-ctr,aes192-ctr,aes256-ctr" 36250883Sed#define KEX_DEFAULT_MAC \ 37250883Sed "hmac-md5,hmac-sha1,hmac-ripemd160," \ 38250883Sed "hmac-ripemd160@openssh.com," \ 39250883Sed "hmac-sha1-96,hmac-md5-96" 40250883Sed#define KEX_DEFAULT_COMP "none,zlib@openssh.com,zlib" 41250883Sed#define KEX_DEFAULT_LANG "" 42250883Sed 43250883Sed 44250883Sedstatic char *myproposal[PROPOSAL_MAX] = { 45250883Sed KEX_DEFAULT_KEX, 46250883Sed KEX_DEFAULT_PK_ALG, 47250883Sed KEX_DEFAULT_ENCRYPT, 48250883Sed KEX_DEFAULT_ENCRYPT, 49250883Sed KEX_DEFAULT_MAC, 50250883Sed KEX_DEFAULT_MAC, 51250883Sed KEX_DEFAULT_COMP, 52250883Sed KEX_DEFAULT_COMP, 53250883Sed KEX_DEFAULT_LANG, 54250883Sed KEX_DEFAULT_LANG 55250883Sed}; 56250883Sed