LICENCE revision 149753
1189136SdasThis file is part of the OpenSSH software.
2189136Sdas
3189136SdasThe licences which components of this software fall under are as
4189136Sdasfollows.  First, we will summarize and say that all components
5189136Sdasare under a BSD licence, or a licence more free than that.
6189136Sdas
7189136SdasOpenSSH contains no GPL code.
8189136Sdas
9189136Sdas1)
10189136Sdas     * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
11189136Sdas     *                    All rights reserved
12189136Sdas     *
13189136Sdas     * As far as I am concerned, the code I have written for this software
14189136Sdas     * can be used freely for any purpose.  Any derived versions of this
15189136Sdas     * software must be clearly marked as such, and if the derived work is
16189136Sdas     * incompatible with the protocol description in the RFC file, it must be
17189136Sdas     * called by a name other than "ssh" or "Secure Shell".
18189136Sdas
19189136Sdas    [Tatu continues]
20189136Sdas     *  However, I am not implying to give any licenses to any patents or
21189136Sdas     * copyrights held by third parties, and the software includes parts that
22189136Sdas     * are not under my direct control.  As far as I know, all included
23189136Sdas     * source code is used in accordance with the relevant license agreements
24189136Sdas     * and can be used freely for any purpose (the GNU license being the most
25189136Sdas     * restrictive); see below for details.
26189136Sdas
27243753Seadler    [However, none of that term is relevant at this point in time.  All of
28189136Sdas    these restrictively licenced software components which he talks about
29189136Sdas    have been removed from OpenSSH, i.e.,
30189136Sdas
31189136Sdas     - RSA is no longer included, found in the OpenSSL library
32189136Sdas     - IDEA is no longer included, its use is deprecated
33189136Sdas     - DES is now external, in the OpenSSL library
34189136Sdas     - GMP is no longer used, and instead we call BN code from OpenSSL
35189136Sdas     - Zlib is now external, in a library
36189136Sdas     - The make-ssh-known-hosts script is no longer included
37189136Sdas     - TSS has been removed
38189136Sdas     - MD5 is now external, in the OpenSSL library
39189136Sdas     - RC4 support has been replaced with ARC4 support from OpenSSL
40189136Sdas     - Blowfish is now external, in the OpenSSL library
41189136Sdas
42189136Sdas    [The licence continues]
43189136Sdas
44189136Sdas    Note that any information and cryptographic algorithms used in this
45189136Sdas    software are publicly available on the Internet and at any major
46189136Sdas    bookstore, scientific library, and patent office worldwide.  More
47189136Sdas    information can be found e.g. at "http://www.cs.hut.fi/crypto".
48189136Sdas
49189136Sdas    The legal status of this program is some combination of all these
50189136Sdas    permissions and restrictions.  Use only at your own responsibility.
51189136Sdas    You will be responsible for any legal consequences yourself; I am not
52189136Sdas    making any claims whether possessing or using this is legal or not in
53189136Sdas    your country, and I am not taking any responsibility on your behalf.
54189136Sdas
55189136Sdas
56189136Sdas			    NO WARRANTY
57216086Sdas
58216086Sdas    BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
59189136Sdas    FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
60189136Sdas    OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
61216086Sdas    PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
62216086Sdas    OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
63216086Sdas    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
64216086Sdas    TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
65216086Sdas    PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
66216086Sdas    REPAIR OR CORRECTION.
67216086Sdas
68216086Sdas    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
69216086Sdas    WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
70189136Sdas    REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
71189136Sdas    INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
72189136Sdas    OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
73216086Sdas    TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
74189136Sdas    YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
75189136Sdas    PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
76189136Sdas    POSSIBILITY OF SUCH DAMAGES.
77189136Sdas
78189136Sdas2)
79243753Seadler    The 32-bit CRC compensation attack detector in deattack.c was
80189136Sdas    contributed by CORE SDI S.A. under a BSD-style license.
81233648Seadler
82200600Smatteo     * Cryptographic attack detector for ssh - source code
83190773Sdas     *
84189136Sdas     * Copyright (c) 1998 CORE SDI S.A., Buenos Aires, Argentina.
85189136Sdas     *
86189136Sdas     * All rights reserved. Redistribution and use in source and binary
87189136Sdas     * forms, with or without modification, are permitted provided that
88189136Sdas     * this copyright notice is retained.
89189136Sdas     *
90189136Sdas     * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
91189136Sdas     * WARRANTIES ARE DISCLAIMED. IN NO EVENT SHALL CORE SDI S.A. BE
92189136Sdas     * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR
93189136Sdas     * CONSEQUENTIAL DAMAGES RESULTING FROM THE USE OR MISUSE OF THIS
94189136Sdas     * SOFTWARE.
95189136Sdas     *
96189136Sdas     * Ariel Futoransky <futo@core-sdi.com>
97189136Sdas     * <http://www.core-sdi.com>
98189136Sdas
99189136Sdas3)
100189136Sdas    ssh-keyscan was contributed by David Mazieres under a BSD-style
101189136Sdas    license.
102189136Sdas
103189136Sdas     * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
104189136Sdas     *
105189136Sdas     * Modification and redistribution in source and binary forms is
106189136Sdas     * permitted provided that due credit is given to the author and the
107189136Sdas     * OpenBSD project by leaving this copyright notice intact.
108189136Sdas
109189136Sdas4)
110189136Sdas    The Rijndael implementation by Vincent Rijmen, Antoon Bosselaers
111189136Sdas    and Paulo Barreto is in the public domain and distributed
112189136Sdas    with the following license:
113189136Sdas
114189136Sdas     * @version 3.0 (December 2000)
115189136Sdas     *
116189136Sdas     * Optimised ANSI C code for the Rijndael cipher (now AES)
117189136Sdas     *
118189136Sdas     * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
119189136Sdas     * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
120189136Sdas     * @author Paulo Barreto <paulo.barreto@terra.com.br>
121189136Sdas     *
122189136Sdas     * This code is hereby placed in the public domain.
123189136Sdas     *
124189136Sdas     * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS
125189136Sdas     * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
126189136Sdas     * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
127189136Sdas     * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
128189136Sdas     * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
129189136Sdas     * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
130189136Sdas     * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
131189136Sdas     * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
132189136Sdas     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
133189136Sdas     * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
134189136Sdas     * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
135189136Sdas
136189136Sdas5)
137189136Sdas    One component of the ssh source code is under a 3-clause BSD license,
138189136Sdas    held by the University of California, since we pulled these parts from
139189136Sdas    original Berkeley code.
140189136Sdas
141189136Sdas     * Copyright (c) 1983, 1990, 1992, 1993, 1995
142189136Sdas     *      The Regents of the University of California.  All rights reserved.
143216086Sdas     *
144189136Sdas     * Redistribution and use in source and binary forms, with or without
145189136Sdas     * modification, are permitted provided that the following conditions
146189136Sdas     * are met:
147189136Sdas     * 1. Redistributions of source code must retain the above copyright
148189136Sdas     *    notice, this list of conditions and the following disclaimer.
149189136Sdas     * 2. Redistributions in binary form must reproduce the above copyright
150189136Sdas     *    notice, this list of conditions and the following disclaimer in the
151189136Sdas     *    documentation and/or other materials provided with the distribution.
152189136Sdas     * 3. Neither the name of the University nor the names of its contributors
153189136Sdas     *    may be used to endorse or promote products derived from this software
154189136Sdas     *    without specific prior written permission.
155189136Sdas     *
156189136Sdas     * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
157189136Sdas     * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
158189136Sdas     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
159189136Sdas     * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
160189136Sdas     * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
161189136Sdas     * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
162189136Sdas     * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
163189136Sdas     * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
164189136Sdas     * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
165189136Sdas     * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
166     * SUCH DAMAGE.
167
1686)
169    Remaining components of the software are provided under a standard
170    2-term BSD licence with the following names as copyright holders:
171
172	Markus Friedl
173	Theo de Raadt
174	Niels Provos
175	Dug Song
176	Aaron Campbell
177	Damien Miller
178	Kevin Steves
179	Daniel Kouril
180	Wesley Griffin
181	Per Allansson
182	Nils Nordman
183	Simon Wilkinson
184
185    Portable OpenSSH additionally includes code from the following copyright
186    holders, also under the 2-term BSD license:
187
188	Ben Lindstrom
189	Tim Rice
190	Andre Lucas
191	Chris Adams
192	Corinna Vinschen
193	Cray Inc.
194	Denis Parker
195	Gert Doering
196	Jakob Schlyter
197	Jason Downs
198	Juha Yrj�l�
199	Michael Stone
200	Networks Associates Technology, Inc.
201	Solar Designer
202	Todd C. Miller
203	Wayne Schroeder
204	William Jones
205	Darren Tucker
206	Sun Microsystems
207	The SCO Group
208
209     * Redistribution and use in source and binary forms, with or without
210     * modification, are permitted provided that the following conditions
211     * are met:
212     * 1. Redistributions of source code must retain the above copyright
213     *    notice, this list of conditions and the following disclaimer.
214     * 2. Redistributions in binary form must reproduce the above copyright
215     *    notice, this list of conditions and the following disclaimer in the
216     *    documentation and/or other materials provided with the distribution.
217     *
218     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
219     * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
220     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
221     * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
222     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
223     * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
224     * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
225     * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
226     * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
227     * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
228
2298) Portable OpenSSH contains the following additional licenses:
230
231    a) md5crypt.c, md5crypt.h
232
233	 * "THE BEER-WARE LICENSE" (Revision 42):
234	 * <phk@login.dknet.dk> wrote this file.  As long as you retain this
235	 * notice you can do whatever you want with this stuff. If we meet
236	 * some day, and you think this stuff is worth it, you can buy me a
237	 * beer in return.   Poul-Henning Kamp
238
239    b) snprintf replacement
240
241	* Copyright Patrick Powell 1995
242	* This code is based on code written by Patrick Powell
243	* (papowell@astart.com) It may be used for any purpose as long as this
244	* notice remains intact on all source code distributions
245
246    c) Compatibility code (openbsd-compat)
247
248       Apart from the previously mentioned licenses, various pieces of code
249       in the openbsd-compat/ subdirectory are licensed as follows:
250
251       Some code is licensed under a 3-term BSD license, to the following
252       copyright holders:
253
254	Todd C. Miller
255	Theo de Raadt
256	Damien Miller
257	Eric P. Allman
258	The Regents of the University of California
259	Constantin S. Svintsoff
260
261	* Redistribution and use in source and binary forms, with or without
262	* modification, are permitted provided that the following conditions
263	* are met:
264	* 1. Redistributions of source code must retain the above copyright
265	*    notice, this list of conditions and the following disclaimer.
266	* 2. Redistributions in binary form must reproduce the above copyright
267	*    notice, this list of conditions and the following disclaimer in the
268	*    documentation and/or other materials provided with the distribution.
269	* 3. Neither the name of the University nor the names of its contributors
270	*    may be used to endorse or promote products derived from this software
271	*    without specific prior written permission.
272	*
273	* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
274	* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
275	* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
276	* ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
277	* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
278	* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
279	* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
280	* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
281	* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
282	* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
283	* SUCH DAMAGE.
284
285       Some code is licensed under an ISC-style license, to the following
286       copyright holders:
287
288	Internet Software Consortium.
289	Todd C. Miller
290
291	* Permission to use, copy, modify, and distribute this software for any
292	* purpose with or without fee is hereby granted, provided that the above
293	* copyright notice and this permission notice appear in all copies.
294	*
295	* THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL
296	* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
297	* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE
298	* FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
299	* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
300	* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
301	* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
302
303       Some code is licensed under a MIT-style license to the following
304       copyright holders:
305
306	Free Software Foundation, Inc.
307
308	* Permission is hereby granted, free of charge, to any person obtaining a  *
309	* copy of this software and associated documentation files (the            *
310	* "Software"), to deal in the Software without restriction, including      *
311	* without limitation the rights to use, copy, modify, merge, publish,      *
312	* distribute, distribute with modifications, sublicense, and/or sell       *
313	* copies of the Software, and to permit persons to whom the Software is    *
314	* furnished to do so, subject to the following conditions:                 *
315	*                                                                          *
316	* The above copyright notice and this permission notice shall be included  *
317	* in all copies or substantial portions of the Software.                   *
318	*                                                                          *
319	* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
320	* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
321	* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
322	* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
323	* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
324	* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
325	* THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
326	*                                                                          *
327	* Except as contained in this notice, the name(s) of the above copyright   *
328	* holders shall not be used in advertising or otherwise to promote the     *
329	* sale, use or other dealings in this Software without prior written       *
330	* authorization.                                                           *
331	****************************************************************************/
332
333
334------
335$OpenBSD: LICENCE,v 1.19 2004/08/30 09:18:08 markus Exp $
336