xref: /freebsd/crypto/openssh/LICENCE (revision 9d54812421274e490dc5f0fe4722ab8d35d9b258)
1This file is part of the OpenSSH software.
2
3The licences which components of this software fall under are as
4follows.  First, we will summarize and say that all components
5are under a BSD licence, or a licence more free than that.
6
7OpenSSH contains no GPL code.
8
91)
10     * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
11     *                    All rights reserved
12     *
13     * As far as I am concerned, the code I have written for this software
14     * can be used freely for any purpose.  Any derived versions of this
15     * software must be clearly marked as such, and if the derived work is
16     * incompatible with the protocol description in the RFC file, it must be
17     * called by a name other than "ssh" or "Secure Shell".
18
19    [Tatu continues]
20     *  However, I am not implying to give any licenses to any patents or
21     * copyrights held by third parties, and the software includes parts that
22     * are not under my direct control.  As far as I know, all included
23     * source code is used in accordance with the relevant license agreements
24     * and can be used freely for any purpose (the GNU license being the most
25     * restrictive); see below for details.
26
27    [However, none of that term is relevant at this point in time.  All of
28    these restrictively licenced software components which he talks about
29    have been removed from OpenSSH, i.e.,
30
31     - RSA is no longer included, found in the OpenSSL library
32     - IDEA is no longer included, its use is deprecated
33     - DES is now external, in the OpenSSL library
34     - GMP is no longer used, and instead we call BN code from OpenSSL
35     - Zlib is now external, in a library
36     - The make-ssh-known-hosts script is no longer included
37     - TSS has been removed
38     - MD5 is now external, in the OpenSSL library
39     - RC4 support has been replaced with ARC4 support from OpenSSL
40     - Blowfish is now external, in the OpenSSL library
41
42    [The licence continues]
43
44    Note that any information and cryptographic algorithms used in this
45    software are publicly available on the Internet and at any major
46    bookstore, scientific library, and patent office worldwide.  More
47    information can be found e.g. at "http://www.cs.hut.fi/crypto".
48
49    The legal status of this program is some combination of all these
50    permissions and restrictions.  Use only at your own responsibility.
51    You will be responsible for any legal consequences yourself; I am not
52    making any claims whether possessing or using this is legal or not in
53    your country, and I am not taking any responsibility on your behalf.
54
55
56			    NO WARRANTY
57
58    BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
59    FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
60    OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
61    PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
62    OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
63    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
64    TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
65    PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
66    REPAIR OR CORRECTION.
67
68    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
69    WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
70    REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
71    INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
72    OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
73    TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
74    YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
75    PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
76    POSSIBILITY OF SUCH DAMAGES.
77
783)
79    ssh-keyscan was contributed by David Mazieres under a BSD-style
80    license.
81
82     * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
83     *
84     * Modification and redistribution in source and binary forms is
85     * permitted provided that due credit is given to the author and the
86     * OpenBSD project by leaving this copyright notice intact.
87
884)
89    The Rijndael implementation by Vincent Rijmen, Antoon Bosselaers
90    and Paulo Barreto is in the public domain and distributed
91    with the following license:
92
93     * @version 3.0 (December 2000)
94     *
95     * Optimised ANSI C code for the Rijndael cipher (now AES)
96     *
97     * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
98     * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
99     * @author Paulo Barreto <paulo.barreto@terra.com.br>
100     *
101     * This code is hereby placed in the public domain.
102     *
103     * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS
104     * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
105     * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
106     * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
107     * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
108     * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
109     * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
110     * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
111     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
112     * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
113     * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
114
1155)
116    One component of the ssh source code is under a 3-clause BSD license,
117    held by the University of California, since we pulled these parts from
118    original Berkeley code.
119
120     * Copyright (c) 1983, 1990, 1992, 1993, 1995
121     *      The Regents of the University of California.  All rights reserved.
122     *
123     * Redistribution and use in source and binary forms, with or without
124     * modification, are permitted provided that the following conditions
125     * are met:
126     * 1. Redistributions of source code must retain the above copyright
127     *    notice, this list of conditions and the following disclaimer.
128     * 2. Redistributions in binary form must reproduce the above copyright
129     *    notice, this list of conditions and the following disclaimer in the
130     *    documentation and/or other materials provided with the distribution.
131     * 3. Neither the name of the University nor the names of its contributors
132     *    may be used to endorse or promote products derived from this software
133     *    without specific prior written permission.
134     *
135     * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
136     * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
137     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
138     * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
139     * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
140     * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
141     * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
142     * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
143     * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
144     * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
145     * SUCH DAMAGE.
146
1476)
148    Remaining components of the software are provided under a standard
149    2-term BSD licence with the following names as copyright holders:
150
151	Markus Friedl
152	Theo de Raadt
153	Niels Provos
154	Dug Song
155	Aaron Campbell
156	Damien Miller
157	Kevin Steves
158	Daniel Kouril
159	Wesley Griffin
160	Per Allansson
161	Nils Nordman
162	Simon Wilkinson
163
164    Portable OpenSSH additionally includes code from the following copyright
165    holders, also under the 2-term BSD license:
166
167	Ben Lindstrom
168	Tim Rice
169	Andre Lucas
170	Chris Adams
171	Corinna Vinschen
172	Cray Inc.
173	Denis Parker
174	Gert Doering
175	Jakob Schlyter
176	Jason Downs
177	Juha Yrjölä
178	Michael Stone
179	Networks Associates Technology, Inc.
180	Solar Designer
181	Todd C. Miller
182	Wayne Schroeder
183	William Jones
184	Darren Tucker
185	Sun Microsystems
186	The SCO Group
187	Daniel Walsh
188	Red Hat, Inc
189	Simon Vallet / Genoscope
190
191     * Redistribution and use in source and binary forms, with or without
192     * modification, are permitted provided that the following conditions
193     * are met:
194     * 1. Redistributions of source code must retain the above copyright
195     *    notice, this list of conditions and the following disclaimer.
196     * 2. Redistributions in binary form must reproduce the above copyright
197     *    notice, this list of conditions and the following disclaimer in the
198     *    documentation and/or other materials provided with the distribution.
199     *
200     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
201     * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
202     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
203     * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
204     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
205     * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
206     * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
207     * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
208     * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
209     * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
210
2118) Portable OpenSSH contains the following additional licenses:
212
213    a) snprintf replacement
214
215	* Copyright Patrick Powell 1995
216	* This code is based on code written by Patrick Powell
217	* (papowell@astart.com) It may be used for any purpose as long as this
218	* notice remains intact on all source code distributions
219
220    b) Compatibility code (openbsd-compat)
221
222       Apart from the previously mentioned licenses, various pieces of code
223       in the openbsd-compat/ subdirectory are licensed as follows:
224
225       Some code is licensed under a 3-term BSD license, to the following
226       copyright holders:
227
228	Todd C. Miller
229	Theo de Raadt
230	Damien Miller
231	Eric P. Allman
232	The Regents of the University of California
233	Constantin S. Svintsoff
234
235	* Redistribution and use in source and binary forms, with or without
236	* modification, are permitted provided that the following conditions
237	* are met:
238	* 1. Redistributions of source code must retain the above copyright
239	*    notice, this list of conditions and the following disclaimer.
240	* 2. Redistributions in binary form must reproduce the above copyright
241	*    notice, this list of conditions and the following disclaimer in the
242	*    documentation and/or other materials provided with the distribution.
243	* 3. Neither the name of the University nor the names of its contributors
244	*    may be used to endorse or promote products derived from this software
245	*    without specific prior written permission.
246	*
247	* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
248	* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
249	* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
250	* ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
251	* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
252	* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
253	* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
254	* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
255	* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
256	* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
257	* SUCH DAMAGE.
258
259       Some code is licensed under an ISC-style license, to the following
260       copyright holders:
261
262	Internet Software Consortium.
263	Todd C. Miller
264	Reyk Floeter
265	Chad Mynhier
266
267	* Permission to use, copy, modify, and distribute this software for any
268	* purpose with or without fee is hereby granted, provided that the above
269	* copyright notice and this permission notice appear in all copies.
270	*
271	* THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL
272	* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
273	* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE
274	* FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
275	* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
276	* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
277	* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
278
279       Some code is licensed under a MIT-style license to the following
280       copyright holders:
281
282	Free Software Foundation, Inc.
283
284	* Permission is hereby granted, free of charge, to any person obtaining a  *
285	* copy of this software and associated documentation files (the            *
286	* "Software"), to deal in the Software without restriction, including      *
287	* without limitation the rights to use, copy, modify, merge, publish,      *
288	* distribute, distribute with modifications, sublicense, and/or sell       *
289	* copies of the Software, and to permit persons to whom the Software is    *
290	* furnished to do so, subject to the following conditions:                 *
291	*                                                                          *
292	* The above copyright notice and this permission notice shall be included  *
293	* in all copies or substantial portions of the Software.                   *
294	*                                                                          *
295	* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
296	* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
297	* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
298	* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
299	* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
300	* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
301	* THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
302	*                                                                          *
303	* Except as contained in this notice, the name(s) of the above copyright   *
304	* holders shall not be used in advertising or otherwise to promote the     *
305	* sale, use or other dealings in this Software without prior written       *
306	* authorization.                                                           *
307	****************************************************************************/
308
309       The Blowfish cipher implementation is licensed by Niels Provos under
310       a 3-clause BSD license:
311
312         * Blowfish - a fast block cipher designed by Bruce Schneier
313         *
314         * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
315         * All rights reserved.
316         *
317         * Redistribution and use in source and binary forms, with or without
318         * modification, are permitted provided that the following conditions
319         * are met:
320         * 1. Redistributions of source code must retain the above copyright
321         *    notice, this list of conditions and the following disclaimer.
322         * 2. Redistributions in binary form must reproduce the above copyright
323         *    notice, this list of conditions and the following disclaimer in the
324         *    documentation and/or other materials provided with the distribution.
325         * 3. The name of the author may not be used to endorse or promote products
326         *    derived from this software without specific prior written permission.
327         *
328         * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
329         * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
330         * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
331         * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
332         * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
333         * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
334         * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
335         * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
336         * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
337         * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
338
339       Some replacement code is licensed by the NetBSD foundation under a
340       2-clause BSD license:
341
342         * Copyright (c) 2001 The NetBSD Foundation, Inc.
343         * All rights reserved.
344         *
345         * This code is derived from software contributed to The NetBSD Foundation
346         * by Todd Vierling.
347         *
348         * Redistribution and use in source and binary forms, with or without
349         * modification, are permitted provided that the following conditions
350         * are met:
351         * 1. Redistributions of source code must retain the above copyright
352         *    notice, this list of conditions and the following disclaimer.
353         * 2. Redistributions in binary form must reproduce the above copyright
354         *    notice, this list of conditions and the following disclaimer in the
355         *    documentation and/or other materials provided with the distribution.
356         *
357         * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
358         * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
359         * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
360         * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
361         * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
362         * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
363         * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
364         * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
365         * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
366         * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
367         * POSSIBILITY OF SUCH DAMAGE.
368
369------
370$OpenBSD: LICENCE,v 1.20 2017/04/30 23:26:16 djm Exp $
371