myproposal.h revision 137019
1251881Speter/*	$OpenBSD: myproposal.h,v 1.16 2004/06/13 12:53:24 djm Exp $	*/
2251881Speter/*	$FreeBSD: head/crypto/openssh/myproposal.h 137019 2004-10-28 16:11:31Z des $	*/
3251881Speter
4251881Speter/*
5251881Speter * Copyright (c) 2000 Markus Friedl.  All rights reserved.
6251881Speter *
7251881Speter * Redistribution and use in source and binary forms, with or without
8251881Speter * modification, are permitted provided that the following conditions
9251881Speter * are met:
10251881Speter * 1. Redistributions of source code must retain the above copyright
11251881Speter *    notice, this list of conditions and the following disclaimer.
12251881Speter * 2. Redistributions in binary form must reproduce the above copyright
13251881Speter *    notice, this list of conditions and the following disclaimer in the
14251881Speter *    documentation and/or other materials provided with the distribution.
15251881Speter *
16251881Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17251881Speter * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18251881Speter * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19251881Speter * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20251881Speter * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21251881Speter * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22251881Speter * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23251881Speter * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24251881Speter * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25251881Speter * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26251881Speter */
27251881Speter#define KEX_DEFAULT_KEX		"diffie-hellman-group-exchange-sha1," \
28251881Speter	"diffie-hellman-group14-sha1," \
29251881Speter	"diffie-hellman-group1-sha1"
30251881Speter#define	KEX_DEFAULT_PK_ALG	"ssh-dss,ssh-rsa"
31251881Speter#define	KEX_DEFAULT_ENCRYPT \
32251881Speter	"aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour," \
33251881Speter	"aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se," \
34251881Speter	"aes128-ctr,aes192-ctr,aes256-ctr"
35251881Speter#define	KEX_DEFAULT_MAC \
36251881Speter	"hmac-md5,hmac-sha1,hmac-ripemd160," \
37251881Speter	"hmac-ripemd160@openssh.com," \
38251881Speter	"hmac-sha1-96,hmac-md5-96"
39251881Speter#define	KEX_DEFAULT_COMP	"none,zlib"
40251881Speter#define	KEX_DEFAULT_LANG	""
41251881Speter
42251881Speter
43251881Speterstatic char *myproposal[PROPOSAL_MAX] = {
44251881Speter	KEX_DEFAULT_KEX,
45251881Speter	KEX_DEFAULT_PK_ALG,
46251881Speter	KEX_DEFAULT_ENCRYPT,
47251881Speter	KEX_DEFAULT_ENCRYPT,
48251881Speter	KEX_DEFAULT_MAC,
49251881Speter	KEX_DEFAULT_MAC,
50251881Speter	KEX_DEFAULT_COMP,
51251881Speter	KEX_DEFAULT_COMP,
52251881Speter	KEX_DEFAULT_LANG,
53251881Speter	KEX_DEFAULT_LANG
54251881Speter};
55251881Speter