xref: /freebsd/crypto/openssh/LICENCE (revision d3d381b2b194b4d24853e92eecef55f262688d1a)
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) md5crypt.c, md5crypt.h
214
215	 * "THE BEER-WARE LICENSE" (Revision 42):
216	 * <phk@login.dknet.dk> wrote this file.  As long as you retain this
217	 * notice you can do whatever you want with this stuff. If we meet
218	 * some day, and you think this stuff is worth it, you can buy me a
219	 * beer in return.   Poul-Henning Kamp
220
221    b) snprintf replacement
222
223	* Copyright Patrick Powell 1995
224	* This code is based on code written by Patrick Powell
225	* (papowell@astart.com) It may be used for any purpose as long as this
226	* notice remains intact on all source code distributions
227
228    c) Compatibility code (openbsd-compat)
229
230       Apart from the previously mentioned licenses, various pieces of code
231       in the openbsd-compat/ subdirectory are licensed as follows:
232
233       Some code is licensed under a 3-term BSD license, to the following
234       copyright holders:
235
236	Todd C. Miller
237	Theo de Raadt
238	Damien Miller
239	Eric P. Allman
240	The Regents of the University of California
241	Constantin S. Svintsoff
242
243	* Redistribution and use in source and binary forms, with or without
244	* modification, are permitted provided that the following conditions
245	* are met:
246	* 1. Redistributions of source code must retain the above copyright
247	*    notice, this list of conditions and the following disclaimer.
248	* 2. Redistributions in binary form must reproduce the above copyright
249	*    notice, this list of conditions and the following disclaimer in the
250	*    documentation and/or other materials provided with the distribution.
251	* 3. Neither the name of the University nor the names of its contributors
252	*    may be used to endorse or promote products derived from this software
253	*    without specific prior written permission.
254	*
255	* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
256	* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
257	* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
258	* ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
259	* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
260	* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
261	* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
262	* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
263	* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
264	* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
265	* SUCH DAMAGE.
266
267       Some code is licensed under an ISC-style license, to the following
268       copyright holders:
269
270	Internet Software Consortium.
271	Todd C. Miller
272	Reyk Floeter
273	Chad Mynhier
274
275	* Permission to use, copy, modify, and distribute this software for any
276	* purpose with or without fee is hereby granted, provided that the above
277	* copyright notice and this permission notice appear in all copies.
278	*
279	* THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL
280	* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
281	* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE
282	* FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
283	* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
284	* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
285	* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
286
287       Some code is licensed under a MIT-style license to the following
288       copyright holders:
289
290	Free Software Foundation, Inc.
291
292	* Permission is hereby granted, free of charge, to any person obtaining a  *
293	* copy of this software and associated documentation files (the            *
294	* "Software"), to deal in the Software without restriction, including      *
295	* without limitation the rights to use, copy, modify, merge, publish,      *
296	* distribute, distribute with modifications, sublicense, and/or sell       *
297	* copies of the Software, and to permit persons to whom the Software is    *
298	* furnished to do so, subject to the following conditions:                 *
299	*                                                                          *
300	* The above copyright notice and this permission notice shall be included  *
301	* in all copies or substantial portions of the Software.                   *
302	*                                                                          *
303	* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
304	* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
305	* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
306	* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
307	* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
308	* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
309	* THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
310	*                                                                          *
311	* Except as contained in this notice, the name(s) of the above copyright   *
312	* holders shall not be used in advertising or otherwise to promote the     *
313	* sale, use or other dealings in this Software without prior written       *
314	* authorization.                                                           *
315	****************************************************************************/
316
317
318------
319$OpenBSD: LICENCE,v 1.20 2017/04/30 23:26:16 djm Exp $
320