4b57596fae81737be38caf17462a8bebe0bec531
[debian/uanytun.git] / LICENSE.OpenSSL
1 /*
2  *  uAnytun
3  *
4  *  uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
5  *  featured implementation uAnytun has no support for multiple connections
6  *  or synchronisation. It is a small single threaded implementation intended
7  *  to act as a client on small platforms.
8  *  The secure anycast tunneling protocol (satp) defines a protocol used
9  *  for communication between any combination of unicast and anycast
10  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
11  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
12  *  ethernet, ip, arp ...). satp directly includes cryptography and
13  *  message authentication based on the methods used by SRTP.  It is
14  *  intended to deliver a generic, scaleable and secure solution for
15  *  tunneling and relaying of packets of any protocol.
16  *
17  *
18  *  Copyright (C) 2007-2014 Christian Pointner <equinox@anytun.org>
19  *
20  *  This file is part of uAnytun.
21  *
22  *  uAnytun is free software: you can redistribute it and/or modify
23  *  it under the terms of the GNU General Public License as published by
24  *  the Free Software Foundation, either version 3 of the License, or
25  *  any later version.
26  *
27  *  uAnytun is distributed in the hope that it will be useful,
28  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
29  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
30  *  GNU General Public License for more details.
31  *
32  *  You should have received a copy of the GNU General Public License
33  *  along with uAnytun. If not, see <http://www.gnu.org/licenses/>.
34  *
35  *  In addition, as a special exception, the copyright holders give
36  *  permission to link the code of portions of this program with the
37  *  OpenSSL library under certain conditions as described in each
38  *  individual source file, and distribute linked combinations
39  *  including the two.
40  *  You must obey the GNU General Public License in all respects
41  *  for all of the code used other than OpenSSL.  If you modify
42  *  file(s) with this exception, you may extend this exception to your
43  *  version of the file(s), but you are not obligated to do so.  If you
44  *  do not wish to do so, delete this exception statement from your
45  *  version.  If you delete this exception statement from all source
46  *  files in the program, then also delete it here.
47  *
48  */
49
50 Certain source files in this program permit linking with the OpenSSL
51 library (http://www.openssl.org), which otherwise wouldn't be allowed
52 under the GPL.  For purposes of identifying OpenSSL, most source files
53 giving this permission limit it to versions of OpenSSL having a license
54 identical to that listed in this file (LICENSE.OpenSSL).  It is not
55 necessary for the copyright years to match between this file and the
56 OpenSSL version in question.  However, note that because this file is
57 an extension of the license statements of these source files, this file
58 may not be changed except with permission from all copyright holders
59 of source files in this program which reference this file.
60
61
62   LICENSE ISSUES
63   ==============
64
65   The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
66   the OpenSSL License and the original SSLeay license apply to the toolkit.
67   See below for the actual license texts. Actually both licenses are BSD-style
68   Open Source licenses. In case of any license issues related to OpenSSL
69   please contact openssl-core@openssl.org.
70
71   OpenSSL License
72   ---------------
73
74 /* ====================================================================
75  * Copyright (c) 1998-2011 The OpenSSL Project.  All rights reserved.
76  *
77  * Redistribution and use in source and binary forms, with or without
78  * modification, are permitted provided that the following conditions
79  * are met:
80  *
81  * 1. Redistributions of source code must retain the above copyright
82  *    notice, this list of conditions and the following disclaimer.
83  *
84  * 2. Redistributions in binary form must reproduce the above copyright
85  *    notice, this list of conditions and the following disclaimer in
86  *    the documentation and/or other materials provided with the
87  *    distribution.
88  *
89  * 3. All advertising materials mentioning features or use of this
90  *    software must display the following acknowledgment:
91  *    "This product includes software developed by the OpenSSL Project
92  *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
93  *
94  * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
95  *    endorse or promote products derived from this software without
96  *    prior written permission. For written permission, please contact
97  *    openssl-core@openssl.org.
98  *
99  * 5. Products derived from this software may not be called "OpenSSL"
100  *    nor may "OpenSSL" appear in their names without prior written
101  *    permission of the OpenSSL Project.
102  *
103  * 6. Redistributions of any form whatsoever must retain the following
104  *    acknowledgment:
105  *    "This product includes software developed by the OpenSSL Project
106  *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
107  *
108  * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
109  * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
110  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
111  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
112  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
113  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
114  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
115  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
116  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
117  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
118  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
119  * OF THE POSSIBILITY OF SUCH DAMAGE.
120  * ====================================================================
121  *
122  * This product includes cryptographic software written by Eric Young
123  * (eay@cryptsoft.com).  This product includes software written by Tim
124  * Hudson (tjh@cryptsoft.com).
125  *
126  */
127
128  Original SSLeay License
129  -----------------------
130
131 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
132  * All rights reserved.
133  *
134  * This package is an SSL implementation written
135  * by Eric Young (eay@cryptsoft.com).
136  * The implementation was written so as to conform with Netscapes SSL.
137  *
138  * This library is free for commercial and non-commercial use as long as
139  * the following conditions are aheared to.  The following conditions
140  * apply to all code found in this distribution, be it the RC4, RSA,
141  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
142  * included with this distribution is covered by the same copyright terms
143  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
144  *
145  * Copyright remains Eric Young's, and as such any Copyright notices in
146  * the code are not to be removed.
147  * If this package is used in a product, Eric Young should be given attribution
148  * as the author of the parts of the library used.
149  * This can be in the form of a textual message at program startup or
150  * in documentation (online or textual) provided with the package.
151  *
152  * Redistribution and use in source and binary forms, with or without
153  * modification, are permitted provided that the following conditions
154  * are met:
155  * 1. Redistributions of source code must retain the copyright
156  *    notice, this list of conditions and the following disclaimer.
157  * 2. Redistributions in binary form must reproduce the above copyright
158  *    notice, this list of conditions and the following disclaimer in the
159  *    documentation and/or other materials provided with the distribution.
160  * 3. All advertising materials mentioning features or use of this software
161  *    must display the following acknowledgement:
162  *    "This product includes cryptographic software written by
163  *     Eric Young (eay@cryptsoft.com)"
164  *    The word 'cryptographic' can be left out if the rouines from the library
165  *    being used are not cryptographic related :-).
166  * 4. If you include any Windows specific code (or a derivative thereof) from
167  *    the apps directory (application code) you must include an acknowledgement:
168  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
169  *
170  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
171  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
172  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
173  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
174  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
175  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
176  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
177  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
178  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
179  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
180  * SUCH DAMAGE.
181  *
182  * The licence and distribution terms for any publically available version or
183  * derivative of this code cannot be changed.  i.e. this code cannot simply be
184  * copied and put under another distribution licence
185  * [including the GNU Public Licence.]
186  */