rephist: Introduce a fraction and period for overload onionskin
[tor.git] / LICENSE
blobabab8e33fefe203e8f474b04bca703e3043f4c58
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 the "3-clause BSD" license, a commonly used
13 software license that means Tor is both free software and open source:
15 Copyright (c) 2001-2004, Roger Dingledine
16 Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson
17 Copyright (c) 2007-2019, The Tor Project, Inc.
19 Redistribution and use in source and binary forms, with or without
20 modification, are permitted provided that the following conditions are
21 met:
23     * Redistributions of source code must retain the above copyright
24 notice, this list of conditions and the following disclaimer.
26     * Redistributions in binary form must reproduce the above
27 copyright notice, this list of conditions and the following disclaimer
28 in the documentation and/or other materials provided with the
29 distribution.
31     * Neither the names of the copyright owners nor the names of its
32 contributors may be used to endorse or promote products derived from
33 this software without specific prior written permission.
35 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
36 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
37 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
38 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
39 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
40 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
41 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
42 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
43 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
44 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
45 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46 ===============================================================================
47 src/ext/strlcat.c and src/ext/strlcpy.c by Todd C. Miller are licensed
48 under the following license:
50  * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
51  * All rights reserved.
52  *
53  * Redistribution and use in source and binary forms, with or without
54  * modification, are permitted provided that the following conditions
55  * are met:
56  * 1. Redistributions of source code must retain the above copyright
57  *    notice, this list of conditions and the following disclaimer.
58  * 2. Redistributions in binary form must reproduce the above copyright
59  *    notice, this list of conditions and the following disclaimer in the
60  *    documentation and/or other materials provided with the distribution.
61  * 3. The name of the author may not be used to endorse or promote products
62  *    derived from this software without specific prior written permission.
63  *
64  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
65  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
66  * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
67  * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
68  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
69  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
70  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
71  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
72  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
73  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
74 ===============================================================================
75 src/ext/tor_queue.h is licensed under the following license:
77  * Copyright (c) 1991, 1993
78  *      The Regents of the University of California.  All rights reserved.
79  *
80  * Redistribution and use in source and binary forms, with or without
81  * modification, are permitted provided that the following conditions
82  * are met:
83  * 1. Redistributions of source code must retain the above copyright
84  *    notice, this list of conditions and the following disclaimer.
85  * 2. Redistributions in binary form must reproduce the above copyright
86  *    notice, this list of conditions and the following disclaimer in the
87  *    documentation and/or other materials provided with the distribution.
88  * 3. Neither the name of the University nor the names of its contributors
89  *    may be used to endorse or promote products derived from this software
90  *    without specific prior written permission.
91  *
92  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
93  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
94  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
95  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
96  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
97  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
98  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
99  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
100  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
101  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
102  * SUCH DAMAGE.
104 ===============================================================================
105 src/ext/csiphash.c is licensed under the following license:
107  Copyright (c) 2013  Marek Majkowski <marek@popcount.org>
109  Permission is hereby granted, free of charge, to any person obtaining a copy
110  of this software and associated documentation files (the "Software"), to deal
111  in the Software without restriction, including without limitation the rights
112  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
113  copies of the Software, and to permit persons to whom the Software is
114  furnished to do so, subject to the following conditions:
116  The above copyright notice and this permission notice shall be included in
117  all copies or substantial portions of the Software.
119  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
120  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
121  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
122  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
123  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
124  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
125  THE SOFTWARE.
126 ===============================================================================
127 Trunnel is distributed under this license:
129 Copyright 2014  The Tor Project, Inc.
131 Redistribution and use in source and binary forms, with or without
132 modification, are permitted provided that the following conditions are
133 met:
135     * Redistributions of source code must retain the above copyright
136 notice, this list of conditions and the following disclaimer.
138     * Redistributions in binary form must reproduce the above
139 copyright notice, this list of conditions and the following disclaimer
140 in the documentation and/or other materials provided with the
141 distribution.
143     * Neither the names of the copyright owners nor the names of its
144 contributors may be used to endorse or promote products derived from
145 this software without specific prior written permission.
147 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
148 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
149 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
150 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
151 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
152 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
153 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
154 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
155 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
156 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
157 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
159 ===============================================================================
160 getdelim.c is distributed under this license:
162  Copyright (c) 2011 The NetBSD Foundation, Inc.
163  All rights reserved.
165  This code is derived from software contributed to The NetBSD Foundation
166  by Christos Zoulas.
168  Redistribution and use in source and binary forms, with or without
169  modification, are permitted provided that the following conditions
170  are met:
171  1. Redistributions of source code must retain the above copyright
172     notice, this list of conditions and the following disclaimer.
173  2. Redistributions in binary form must reproduce the above copyright
174     notice, this list of conditions and the following disclaimer in the
175     documentation and/or other materials provided with the distribution.
177  THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
178  ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
179  TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
180  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
181  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
182  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
183  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
184  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
185  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
186  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
187  POSSIBILITY OF SUCH DAMAGE.
189 ===============================================================================
190 src/config/geoip and src/config/geoip6:
192 These files are based on the IPFire Location Database. For more
193 information, see https://location.ipfire.org/.
195 The data is distributed under a creative commons "BY-SA 4.0" license.
197 Find the full license terms at:
198      https://creativecommons.org/licenses/by-sa/4.0/
200 ===============================================================================
201 m4/pc_from_ucontext.m4 is available under the following license.  Note that
202 it is *not* built into the Tor software.
204 Copyright (c) 2005, Google Inc.
205 All rights reserved.
207 Redistribution and use in source and binary forms, with or without
208 modification, are permitted provided that the following conditions are
209 met:
211     * Redistributions of source code must retain the above copyright
212 notice, this list of conditions and the following disclaimer.
213     * Redistributions in binary form must reproduce the above
214 copyright notice, this list of conditions and the following disclaimer
215 in the documentation and/or other materials provided with the
216 distribution.
217     * Neither the name of Google Inc. nor the names of its
218 contributors may be used to endorse or promote products derived from
219 this software without specific prior written permission.
221 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
222 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
223 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
224 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
225 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
226 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
227 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
228 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
229 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
230 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
231 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
233 ===============================================================================
234 m4/pkg.m4 is available under the following license.  Note that
235 it is *not* built into the Tor software.
237 pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
238 serial 1 (pkg-config-0.24)
240 Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
242 This program is free software; you can redistribute it and/or modify
243 it under the terms of the GNU General Public License as published by
244 the Free Software Foundation; either version 2 of the License, or
245 (at your option) any later version.
247 This program is distributed in the hope that it will be useful, but
248 WITHOUT ANY WARRANTY; without even the implied warranty of
249 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
250 General Public License for more details.
252 You should have received a copy of the GNU General Public License
253 along with this program; if not, write to the Free Software
254 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
256 As a special exception to the GNU General Public License, if you
257 distribute this file as part of a program that contains a
258 configuration script generated by Autoconf, you may include it under
259 the same distribution terms that you use for the rest of that program.
260 ===============================================================================
261 src/ext/readpassphrase.[ch] are distributed under this license:
263   Copyright (c) 2000-2002, 2007 Todd C. Miller <Todd.Miller@courtesan.com>
265   Permission to use, copy, modify, and distribute this software for any
266   purpose with or without fee is hereby granted, provided that the above
267   copyright notice and this permission notice appear in all copies.
269   THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
270   WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
271   MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
272   ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
273   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
274   ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
275   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
277   Sponsored in part by the Defense Advanced Research Projects
278   Agency (DARPA) and Air Force Research Laboratory, Air Force
279   Materiel Command, USAF, under agreement number F39502-99-1-0512.
281 ===============================================================================
282 src/ext/mulodi4.c is distributed under this license:
284      =========================================================================
285      compiler_rt License
286      =========================================================================
288      The compiler_rt library is dual licensed under both the
289      University of Illinois "BSD-Like" license and the MIT license.
290      As a user of this code you may choose to use it under either
291      license.  As a contributor, you agree to allow your code to be
292      used under both.
294      Full text of the relevant licenses is included below.
296      =========================================================================
298      University of Illinois/NCSA
299      Open Source License
301      Copyright (c) 2009-2016 by the contributors listed in CREDITS.TXT
303      All rights reserved.
305      Developed by:
307          LLVM Team
309          University of Illinois at Urbana-Champaign
311          http://llvm.org
313      Permission is hereby granted, free of charge, to any person
314      obtaining a copy of this software and associated documentation
315      files (the "Software"), to deal with the Software without
316      restriction, including without limitation the rights to use,
317      copy, modify, merge, publish, distribute, sublicense, and/or sell
318      copies of the Software, and to permit persons to whom the
319      Software is furnished to do so, subject to the following
320      conditions:
322          * Redistributions of source code must retain the above
323            copyright notice, this list of conditions and the following
324            disclaimers.
326          * Redistributions in binary form must reproduce the above
327            copyright notice, this list of conditions and the following
328            disclaimers in the documentation and/or other materials
329            provided with the distribution.
331          * Neither the names of the LLVM Team, University of Illinois
332            at Urbana-Champaign, nor the names of its contributors may
333            be used to endorse or promote products derived from this
334            Software without specific prior written permission.
336      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
337      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
338      OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
339      NONINFRINGEMENT.  IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
340      HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
341      WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
342      FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
343      OTHER DEALINGS WITH THE SOFTWARE.
345      =========================================================================
347      Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
349      Permission is hereby granted, free of charge, to any person
350      obtaining a copy of this software and associated documentation
351      files (the "Software"), to deal in the Software without
352      restriction, including without limitation the rights to use,
353      copy, modify, merge, publish, distribute, sublicense, and/or sell
354      copies of the Software, and to permit persons to whom the
355      Software is furnished to do so, subject to the following
356      conditions:
358      The above copyright notice and this permission notice shall be
359      included in all copies or substantial portions of the Software.
361      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
362      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
363      OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
364      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
365      HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
366      WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
367      FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
368      OTHER DEALINGS IN THE SOFTWARE.
370      =========================================================================
371      Copyrights and Licenses for Third Party Software Distributed with LLVM:
372      =========================================================================
374      The LLVM software contains code written by third parties.  Such
375      software will have its own individual LICENSE.TXT file in the
376      directory in which it appears.  This file will describe the
377      copyrights, license, and restrictions which apply to that code.
379      The disclaimer of warranty in the University of Illinois Open
380      Source License applies to all code in the LLVM Distribution, and
381      nothing in any of the other licenses gives permission to use the
382      names of the LLVM Team or the University of Illinois to endorse
383      or promote products derived from this Software.
385 ===============================================================================
386 If you got Tor as a static binary with OpenSSL included, then you should know:
387  "This product includes software developed by the OpenSSL Project
388  for use in the OpenSSL Toolkit (http://www.openssl.org/)"
389 ===============================================================================