Cache control file
[tor/appveyor.git] / LICENSE
blob3d0f8c121bba087aac7a63589d6612b3c945fce1
1                     This file contains the license for Tor,
2         a free software project to provide anonymity on the Internet.
4         It also lists the licenses for other components used by Tor.
6        For more information about Tor, see https://www.torproject.org/.
8              If you got this file as a part of a larger bundle,
9         there may be other license terms that you should be aware of.
11 ===============================================================================
12 Tor is distributed under this license:
14 Copyright (c) 2001-2004, Roger Dingledine
15 Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson
16 Copyright (c) 2007-2017, The Tor Project, Inc.
18 Redistribution and use in source and binary forms, with or without
19 modification, are permitted provided that the following conditions are
20 met:
22     * Redistributions of source code must retain the above copyright
23 notice, this list of conditions and the following disclaimer.
25     * Redistributions in binary form must reproduce the above
26 copyright notice, this list of conditions and the following disclaimer
27 in the documentation and/or other materials provided with the
28 distribution.
30     * Neither the names of the copyright owners nor the names of its
31 contributors may be used to endorse or promote products derived from
32 this software without specific prior written permission.
34 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
35 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
36 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
37 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
38 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
39 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
41 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
42 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
43 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
44 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 ===============================================================================
46 src/ext/strlcat.c and src/ext/strlcpy.c by Todd C. Miller are licensed
47 under the following license:
49  * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
50  * All rights reserved.
51  *
52  * Redistribution and use in source and binary forms, with or without
53  * modification, are permitted provided that the following conditions
54  * are met:
55  * 1. Redistributions of source code must retain the above copyright
56  *    notice, this list of conditions and the following disclaimer.
57  * 2. Redistributions in binary form must reproduce the above copyright
58  *    notice, this list of conditions and the following disclaimer in the
59  *    documentation and/or other materials provided with the distribution.
60  * 3. The name of the author may not be used to endorse or promote products
61  *    derived from this software without specific prior written permission.
62  *
63  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
64  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
65  * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
66  * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
67  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
68  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
69  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
70  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
71  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
72  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
73 ===============================================================================
74 src/ext/tor_queue.h is licensed under the following license:
76  * Copyright (c) 1991, 1993
77  *      The Regents of the University of California.  All rights reserved.
78  *
79  * Redistribution and use in source and binary forms, with or without
80  * modification, are permitted provided that the following conditions
81  * are met:
82  * 1. Redistributions of source code must retain the above copyright
83  *    notice, this list of conditions and the following disclaimer.
84  * 2. Redistributions in binary form must reproduce the above copyright
85  *    notice, this list of conditions and the following disclaimer in the
86  *    documentation and/or other materials provided with the distribution.
87  * 3. Neither the name of the University nor the names of its contributors
88  *    may be used to endorse or promote products derived from this software
89  *    without specific prior written permission.
90  *
91  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
92  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
93  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
94  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
95  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
96  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
97  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
98  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
99  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
100  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
101  * SUCH DAMAGE.
103 ===============================================================================
104 src/ext/csiphash.c is licensed under the following license:
106  Copyright (c) 2013  Marek Majkowski <marek@popcount.org>
108  Permission is hereby granted, free of charge, to any person obtaining a copy
109  of this software and associated documentation files (the "Software"), to deal
110  in the Software without restriction, including without limitation the rights
111  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
112  copies of the Software, and to permit persons to whom the Software is
113  furnished to do so, subject to the following conditions:
115  The above copyright notice and this permission notice shall be included in
116  all copies or substantial portions of the Software.
118  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
119  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
120  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
121  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
122  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
123  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
124  THE SOFTWARE.
125 ===============================================================================
126 Trunnel is distributed under this license:
128 Copyright 2014  The Tor Project, Inc.
130 Redistribution and use in source and binary forms, with or without
131 modification, are permitted provided that the following conditions are
132 met:
134     * Redistributions of source code must retain the above copyright
135 notice, this list of conditions and the following disclaimer.
137     * Redistributions in binary form must reproduce the above
138 copyright notice, this list of conditions and the following disclaimer
139 in the documentation and/or other materials provided with the
140 distribution.
142     * Neither the names of the copyright owners nor the names of its
143 contributors may be used to endorse or promote products derived from
144 this software without specific prior written permission.
146 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
147 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
148 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
149 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
150 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
151 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
152 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
153 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
154 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
155 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
156 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
158 ===============================================================================
159 src/config/geoip is licensed under the following license:
161 OPEN DATA LICENSE (GeoLite Country and GeoLite City databases)
163 Copyright (c) 2008 MaxMind, Inc.  All Rights Reserved.
165 All advertising materials and documentation mentioning features or use of
166 this database must display the following acknowledgment:
167 "This product includes GeoLite data created by MaxMind, available from
168 http://maxmind.com/"
170 Redistribution and use with or without modification, are permitted provided
171 that the following conditions are met:
172 1. Redistributions must retain the above copyright notice, this list of
173 conditions and the following disclaimer in the documentation and/or other
174 materials provided with the distribution.
175 2. All advertising materials and documentation mentioning features or use of
176 this database must display the following acknowledgement:
177 "This product includes GeoLite data created by MaxMind, available from
178 http://maxmind.com/"
179 3. "MaxMind" may not be used to endorse or promote products derived from this
180 database without specific prior written permission.
182 THIS DATABASE IS PROVIDED BY MAXMIND, INC ``AS IS'' AND ANY
183 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
184 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
185 DISCLAIMED. IN NO EVENT SHALL MAXMIND BE LIABLE FOR ANY
186 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
187 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
188 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
189 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
190 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
191 DATABASE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
192 ===============================================================================
193 m4/pc_from_ucontext.m4 is available under the following license.  Note that
194 it is *not* built into the Tor software.
196 Copyright (c) 2005, Google Inc.
197 All rights reserved.
199 Redistribution and use in source and binary forms, with or without
200 modification, are permitted provided that the following conditions are
201 met:
203     * Redistributions of source code must retain the above copyright
204 notice, this list of conditions and the following disclaimer.
205     * Redistributions in binary form must reproduce the above
206 copyright notice, this list of conditions and the following disclaimer
207 in the documentation and/or other materials provided with the
208 distribution.
209     * Neither the name of Google Inc. nor the names of its
210 contributors may be used to endorse or promote products derived from
211 this software without specific prior written permission.
213 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
214 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
215 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
216 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
217 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
218 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
219 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
220 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
221 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
222 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
223 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
225 ===============================================================================
226 m4/pkg.m4 is available under the following license.  Note that
227 it is *not* built into the Tor software.
229 pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
230 serial 1 (pkg-config-0.24)
232 Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
234 This program is free software; you can redistribute it and/or modify
235 it under the terms of the GNU General Public License as published by
236 the Free Software Foundation; either version 2 of the License, or
237 (at your option) any later version.
239 This program is distributed in the hope that it will be useful, but
240 WITHOUT ANY WARRANTY; without even the implied warranty of
241 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
242 General Public License for more details.
244 You should have received a copy of the GNU General Public License
245 along with this program; if not, write to the Free Software
246 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
248 As a special exception to the GNU General Public License, if you
249 distribute this file as part of a program that contains a
250 configuration script generated by Autoconf, you may include it under
251 the same distribution terms that you use for the rest of that program.
252 ===============================================================================
253 src/ext/readpassphrase.[ch] are distributed under this license:
255   Copyright (c) 2000-2002, 2007 Todd C. Miller <Todd.Miller@courtesan.com>
257   Permission to use, copy, modify, and distribute this software for any
258   purpose with or without fee is hereby granted, provided that the above
259   copyright notice and this permission notice appear in all copies.
261   THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
262   WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
263   MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
264   ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
265   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
266   ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
267   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
269   Sponsored in part by the Defense Advanced Research Projects
270   Agency (DARPA) and Air Force Research Laboratory, Air Force
271   Materiel Command, USAF, under agreement number F39502-99-1-0512.
273 ===============================================================================
274 src/ext/mulodi4.c is distributed under this license:
276      =========================================================================
277      compiler_rt License
278      =========================================================================
280      The compiler_rt library is dual licensed under both the
281      University of Illinois "BSD-Like" license and the MIT license.
282      As a user of this code you may choose to use it under either
283      license.  As a contributor, you agree to allow your code to be
284      used under both.
286      Full text of the relevant licenses is included below.
288      =========================================================================
290      University of Illinois/NCSA
291      Open Source License
293      Copyright (c) 2009-2016 by the contributors listed in CREDITS.TXT
295      All rights reserved.
297      Developed by:
299          LLVM Team
301          University of Illinois at Urbana-Champaign
303          http://llvm.org
305      Permission is hereby granted, free of charge, to any person
306      obtaining a copy of this software and associated documentation
307      files (the "Software"), to deal with the Software without
308      restriction, including without limitation the rights to use,
309      copy, modify, merge, publish, distribute, sublicense, and/or sell
310      copies of the Software, and to permit persons to whom the
311      Software is furnished to do so, subject to the following
312      conditions:
314          * Redistributions of source code must retain the above
315            copyright notice, this list of conditions and the following
316            disclaimers.
318          * Redistributions in binary form must reproduce the above
319            copyright notice, this list of conditions and the following
320            disclaimers in the documentation and/or other materials
321            provided with the distribution.
323          * Neither the names of the LLVM Team, University of Illinois
324            at Urbana-Champaign, nor the names of its contributors may
325            be used to endorse or promote products derived from this
326            Software without specific prior written permission.
328      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
329      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
330      OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
331      NONINFRINGEMENT.  IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
332      HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
333      WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
334      FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
335      OTHER DEALINGS WITH THE SOFTWARE.
337      =========================================================================
339      Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
341      Permission is hereby granted, free of charge, to any person
342      obtaining a copy of this software and associated documentation
343      files (the "Software"), to deal in the Software without
344      restriction, including without limitation the rights to use,
345      copy, modify, merge, publish, distribute, sublicense, and/or sell
346      copies of the Software, and to permit persons to whom the
347      Software is furnished to do so, subject to the following
348      conditions:
350      The above copyright notice and this permission notice shall be
351      included in all copies or substantial portions of the Software.
353      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
354      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
355      OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
356      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
357      HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
358      WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
359      FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
360      OTHER DEALINGS IN THE SOFTWARE.
362      =========================================================================
363      Copyrights and Licenses for Third Party Software Distributed with LLVM:
364      =========================================================================
366      The LLVM software contains code written by third parties.  Such
367      software will have its own individual LICENSE.TXT file in the
368      directory in which it appears.  This file will describe the
369      copyrights, license, and restrictions which apply to that code.
371      The disclaimer of warranty in the University of Illinois Open
372      Source License applies to all code in the LLVM Distribution, and
373      nothing in any of the other licenses gives permission to use the
374      names of the LLVM Team or the University of Illinois to endorse
375      or promote products derived from this Software.
377 ===============================================================================
378 If you got Tor as a static binary with OpenSSL included, then you should know:
379  "This product includes software developed by the OpenSSL Project
380  for use in the OpenSSL Toolkit (http://www.openssl.org/)"
381 ===============================================================================