LICENCE revision 256281
169783SmsmithThis file is part of the OpenSSH software.
269783Smsmith
369783SmsmithThe licences which components of this software fall under are as
469783Smsmithfollows.  First, we will summarize and say that all components
569783Smsmithare under a BSD licence, or a licence more free than that.
669783Smsmith
769783SmsmithOpenSSH contains no GPL code.
869783Smsmith
969783Smsmith1)
1069783Smsmith     * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
1169783Smsmith     *                    All rights reserved
1269783Smsmith     *
1369783Smsmith     * As far as I am concerned, the code I have written for this software
1469783Smsmith     * can be used freely for any purpose.  Any derived versions of this
1569783Smsmith     * software must be clearly marked as such, and if the derived work is
1669783Smsmith     * incompatible with the protocol description in the RFC file, it must be
1769783Smsmith     * called by a name other than "ssh" or "Secure Shell".
1869783Smsmith
1969783Smsmith    [Tatu continues]
2069783Smsmith     *  However, I am not implying to give any licenses to any patents or
2169783Smsmith     * copyrights held by third parties, and the software includes parts that
2269783Smsmith     * are not under my direct control.  As far as I know, all included
2369783Smsmith     * source code is used in accordance with the relevant license agreements
2469783Smsmith     * and can be used freely for any purpose (the GNU license being the most
2569783Smsmith     * restrictive); see below for details.
2669783Smsmith
2769783Smsmith    [However, none of that term is relevant at this point in time.  All of
2869783Smsmith    these restrictively licenced software components which he talks about
2969783Smsmith    have been removed from OpenSSH, i.e.,
3069783Smsmith
31119418Sobrien     - RSA is no longer included, found in the OpenSSL library
32119418Sobrien     - IDEA is no longer included, its use is deprecated
33119418Sobrien     - DES is now external, in the OpenSSL library
3469783Smsmith     - GMP is no longer used, and instead we call BN code from OpenSSL
3569783Smsmith     - Zlib is now external, in a library
3669783Smsmith     - The make-ssh-known-hosts script is no longer included
3769783Smsmith     - TSS has been removed
3869783Smsmith     - MD5 is now external, in the OpenSSL library
3969783Smsmith     - RC4 support has been replaced with ARC4 support from OpenSSL
4069783Smsmith     - Blowfish is now external, in the OpenSSL library
4169783Smsmith
42107546Simp    [The licence continues]
43107546Simp
44106844Smdodd    Note that any information and cryptographic algorithms used in this
4569783Smsmith    software are publicly available on the Internet and at any major
4669783Smsmith    bookstore, scientific library, and patent office worldwide.  More
4769783Smsmith    information can be found e.g. at "http://www.cs.hut.fi/crypto".
48119285Simp
49119285Simp    The legal status of this program is some combination of all these
50119285Simp    permissions and restrictions.  Use only at your own responsibility.
5169783Smsmith    You will be responsible for any legal consequences yourself; I am not
5269783Smsmith    making any claims whether possessing or using this is legal or not in
5369783Smsmith    your country, and I am not taking any responsibility on your behalf.
5469783Smsmith
5569783Smsmith
5669783Smsmith			    NO WARRANTY
5769783Smsmith
5869783Smsmith    BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
5969783Smsmith    FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
6069783Smsmith    OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
6169783Smsmith    PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
6269783Smsmith    OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
6369783Smsmith    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
6469783Smsmith    TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
6569783Smsmith    PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
6669783Smsmith    REPAIR OR CORRECTION.
6769783Smsmith
6869783Smsmith    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
6969783Smsmith    WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
7069783Smsmith    REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
7169783Smsmith    INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
7269783Smsmith    OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
7369783Smsmith    TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
7469783Smsmith    YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
7569783Smsmith    PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
7669783Smsmith    POSSIBILITY OF SUCH DAMAGES.
7769783Smsmith
7869783Smsmith2)
7969783Smsmith    The 32-bit CRC compensation attack detector in deattack.c was
8069783Smsmith    contributed by CORE SDI S.A. under a BSD-style license.
8169783Smsmith
8269783Smsmith     * Cryptographic attack detector for ssh - source code
8369783Smsmith     *
8469783Smsmith     * Copyright (c) 1998 CORE SDI S.A., Buenos Aires, Argentina.
8569783Smsmith     *
8669783Smsmith     * All rights reserved. Redistribution and use in source and binary
8769783Smsmith     * forms, with or without modification, are permitted provided that
8869783Smsmith     * this copyright notice is retained.
8969783Smsmith     *
90102441Sjhb     * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
9169783Smsmith     * WARRANTIES ARE DISCLAIMED. IN NO EVENT SHALL CORE SDI S.A. BE
9269783Smsmith     * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR
9369783Smsmith     * CONSEQUENTIAL DAMAGES RESULTING FROM THE USE OR MISUSE OF THIS
9469783Smsmith     * SOFTWARE.
9569783Smsmith     *
9669783Smsmith     * Ariel Futoransky <futo@core-sdi.com>
9769783Smsmith     * <http://www.core-sdi.com>
9869783Smsmith
9969783Smsmith3)
10069783Smsmith    ssh-keyscan was contributed by David Mazieres under a BSD-style
10169783Smsmith    license.
10269783Smsmith
10369783Smsmith     * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
10469783Smsmith     *
10569783Smsmith     * Modification and redistribution in source and binary forms is
10669783Smsmith     * permitted provided that due credit is given to the author and the
10769783Smsmith     * OpenBSD project by leaving this copyright notice intact.
108102441Sjhb
109102441Sjhb4)
11069783Smsmith    The Rijndael implementation by Vincent Rijmen, Antoon Bosselaers
11169783Smsmith    and Paulo Barreto is in the public domain and distributed
112119266Simp    with the following license:
11369783Smsmith
11469783Smsmith     * @version 3.0 (December 2000)
11569783Smsmith     *
11669783Smsmith     * Optimised ANSI C code for the Rijndael cipher (now AES)
11769908Smsmith     *
11869908Smsmith     * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
11969908Smsmith     * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
12069953Smsmith     * @author Paulo Barreto <paulo.barreto@terra.com.br>
12169908Smsmith     *
12269908Smsmith     * This code is hereby placed in the public domain.
12369908Smsmith     *
12469908Smsmith     * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS
12569908Smsmith     * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
12669783Smsmith     * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
12769908Smsmith     * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
12869908Smsmith     * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
12969908Smsmith     * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
13069953Smsmith     * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
13169953Smsmith     * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
13269953Smsmith     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
13369953Smsmith     * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
13469953Smsmith     * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13569953Smsmith
13669953Smsmith5)
13769953Smsmith    One component of the ssh source code is under a 3-clause BSD license,
13869908Smsmith    held by the University of California, since we pulled these parts from
13969953Smsmith    original Berkeley code.
14069953Smsmith
14169953Smsmith     * Copyright (c) 1983, 1990, 1992, 1993, 1995
14269953Smsmith     *      The Regents of the University of California.  All rights reserved.
14369953Smsmith     *
14469953Smsmith     * Redistribution and use in source and binary forms, with or without
14569953Smsmith     * modification, are permitted provided that the following conditions
14669908Smsmith     * are met:
14769908Smsmith     * 1. Redistributions of source code must retain the above copyright
14869908Smsmith     *    notice, this list of conditions and the following disclaimer.
14969908Smsmith     * 2. Redistributions in binary form must reproduce the above copyright
15069908Smsmith     *    notice, this list of conditions and the following disclaimer in the
15169953Smsmith     *    documentation and/or other materials provided with the distribution.
15269953Smsmith     * 3. Neither the name of the University nor the names of its contributors
15369953Smsmith     *    may be used to endorse or promote products derived from this software
15469953Smsmith     *    without specific prior written permission.
15569953Smsmith     *
15669953Smsmith     * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
15769953Smsmith     * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15869953Smsmith     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15969908Smsmith     * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
16069908Smsmith     * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
16169908Smsmith     * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
16269908Smsmith     * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
16369908Smsmith     * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
164124365Simp     * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
16569908Smsmith     * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
166119266Simp     * SUCH DAMAGE.
16769908Smsmith
16869908Smsmith6)
16969908Smsmith    Remaining components of the software are provided under a standard
17069908Smsmith    2-term BSD licence with the following names as copyright holders:
17169908Smsmith
17269908Smsmith	Markus Friedl
173124365Simp	Theo de Raadt
17469908Smsmith	Niels Provos
175124365Simp	Dug Song
176124365Simp	Aaron Campbell
177124365Simp	Damien Miller
178124365Simp	Kevin Steves
179124365Simp	Daniel Kouril
180124365Simp	Wesley Griffin
181124365Simp	Per Allansson
182124365Simp	Nils Nordman
183124365Simp	Simon Wilkinson
184124365Simp
185124365Simp    Portable OpenSSH additionally includes code from the following copyright
18669908Smsmith    holders, also under the 2-term BSD license:
18769908Smsmith
18869908Smsmith	Ben Lindstrom
189124365Simp	Tim Rice
190124365Simp	Andre Lucas
191124365Simp	Chris Adams
192124365Simp	Corinna Vinschen
193124365Simp	Cray Inc.
194124365Simp	Denis Parker
195124365Simp	Gert Doering
196124365Simp	Jakob Schlyter
197124365Simp	Jason Downs
198124365Simp	Juha Yrj�l�
199124365Simp	Michael Stone
200124365Simp	Networks Associates Technology, Inc.
20169783Smsmith	Solar Designer
20269783Smsmith	Todd C. Miller
20369783Smsmith	Wayne Schroeder
20469783Smsmith	William Jones
20569783Smsmith	Darren Tucker
20669783Smsmith	Sun Microsystems
207124365Simp	The SCO Group
208124365Simp	Daniel Walsh
20969783Smsmith	Red Hat, Inc
21069783Smsmith	Simon Vallet / Genoscope
21169783Smsmith
21269783Smsmith     * Redistribution and use in source and binary forms, with or without
21369783Smsmith     * modification, are permitted provided that the following conditions
21469783Smsmith     * are met:
21569783Smsmith     * 1. Redistributions of source code must retain the above copyright
21669783Smsmith     *    notice, this list of conditions and the following disclaimer.
21769783Smsmith     * 2. Redistributions in binary form must reproduce the above copyright
21869783Smsmith     *    notice, this list of conditions and the following disclaimer in the
21969783Smsmith     *    documentation and/or other materials provided with the distribution.
22069783Smsmith     *
22169783Smsmith     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
222102441Sjhb     * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22369783Smsmith     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
224103042Sjhb     * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
225102441Sjhb     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
226102441Sjhb     * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
227102441Sjhb     * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
228102441Sjhb     * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
229102441Sjhb     * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
230102441Sjhb     * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
231102441Sjhb
23269783Smsmith8) Portable OpenSSH contains the following additional licenses:
233103016Sjhb
23469783Smsmith    a) md5crypt.c, md5crypt.h
23569783Smsmith
23669783Smsmith	 * "THE BEER-WARE LICENSE" (Revision 42):
23769783Smsmith	 * <phk@login.dknet.dk> wrote this file.  As long as you retain this
23869783Smsmith	 * notice you can do whatever you want with this stuff. If we meet
23969783Smsmith	 * some day, and you think this stuff is worth it, you can buy me a
24069783Smsmith	 * beer in return.   Poul-Henning Kamp
24169783Smsmith
242102441Sjhb    b) snprintf replacement
24369783Smsmith
24469783Smsmith	* Copyright Patrick Powell 1995
24569783Smsmith	* This code is based on code written by Patrick Powell
24669783Smsmith	* (papowell@astart.com) It may be used for any purpose as long as this
24769783Smsmith	* notice remains intact on all source code distributions
24869783Smsmith
24969783Smsmith    c) Compatibility code (openbsd-compat)
25069783Smsmith
25169783Smsmith       Apart from the previously mentioned licenses, various pieces of code
25269783Smsmith       in the openbsd-compat/ subdirectory are licensed as follows:
25369783Smsmith
25469783Smsmith       Some code is licensed under a 3-term BSD license, to the following
255102441Sjhb       copyright holders:
25669783Smsmith
25769783Smsmith	Todd C. Miller
25869783Smsmith	Theo de Raadt
25969783Smsmith	Damien Miller
26069783Smsmith	Eric P. Allman
26169783Smsmith	The Regents of the University of California
26269783Smsmith	Constantin S. Svintsoff
26369783Smsmith
26469783Smsmith	* Redistribution and use in source and binary forms, with or without
26569783Smsmith	* modification, are permitted provided that the following conditions
26669783Smsmith	* are met:
26769783Smsmith	* 1. Redistributions of source code must retain the above copyright
26869783Smsmith	*    notice, this list of conditions and the following disclaimer.
269107546Simp	* 2. Redistributions in binary form must reproduce the above copyright
270107546Simp	*    notice, this list of conditions and the following disclaimer in the
271107546Simp	*    documentation and/or other materials provided with the distribution.
272107546Simp	* 3. Neither the name of the University nor the names of its contributors
273107546Simp	*    may be used to endorse or promote products derived from this software
274124365Simp	*    without specific prior written permission.
275107546Simp	*
276107546Simp	* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
277107546Simp	* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
278107546Simp	* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
279107546Simp	* ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
280107546Simp	* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
281107546Simp	* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
282107546Simp	* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
283124365Simp	* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
284107546Simp	* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
285107546Simp	* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
286107546Simp	* SUCH DAMAGE.
287107546Simp
288107546Simp       Some code is licensed under an ISC-style license, to the following
289107546Simp       copyright holders:
290107546Simp
291107546Simp	Internet Software Consortium.
292124365Simp	Todd C. Miller
293107546Simp	Reyk Floeter
294107546Simp	Chad Mynhier
295107546Simp
29669783Smsmith	* Permission to use, copy, modify, and distribute this software for any
29769783Smsmith	* purpose with or without fee is hereby granted, provided that the above
29869783Smsmith	* copyright notice and this permission notice appear in all copies.
299102441Sjhb	*
30069783Smsmith	* THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL
30169783Smsmith	* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
30269783Smsmith	* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE
303124365Simp	* FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
304124365Simp	* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
30569783Smsmith	* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
30669783Smsmith	* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
30769783Smsmith
30869783Smsmith       Some code is licensed under a MIT-style license to the following
30969783Smsmith       copyright holders:
31069783Smsmith
311107546Simp	Free Software Foundation, Inc.
312124365Simp
313124365Simp	* Permission is hereby granted, free of charge, to any person obtaining a  *
314124365Simp	* copy of this software and associated documentation files (the            *
315124365Simp	* "Software"), to deal in the Software without restriction, including      *
316124365Simp	* without limitation the rights to use, copy, modify, merge, publish,      *
317124365Simp	* distribute, distribute with modifications, sublicense, and/or sell       *
318124365Simp	* copies of the Software, and to permit persons to whom the Software is    *
319124365Simp	* furnished to do so, subject to the following conditions:                 *
320124365Simp	*                                                                          *
321124365Simp	* The above copyright notice and this permission notice shall be included  *
322106844Smdodd	* in all copies or substantial portions of the Software.                   *
323124365Simp	*                                                                          *
324124641Simp	* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
325124365Simp	* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
326124365Simp	* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
327124365Simp	* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
328124365Simp	* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
329124641Simp	* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
330106844Smdodd	* THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
331124365Simp	*                                                                          *
332124365Simp	* Except as contained in this notice, the name(s) of the above copyright   *
333124365Simp	* holders shall not be used in advertising or otherwise to promote the     *
334124365Simp	* sale, use or other dealings in this Software without prior written       *
335124365Simp	* authorization.                                                           *
336124365Simp	****************************************************************************/
337124365Simp
338124365Simp
339124365Simp------
340124365Simp$OpenBSD: LICENCE,v 1.19 2004/08/30 09:18:08 markus Exp $
341124365Simp