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
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
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.
53 * Redistribution and use in source and binary forms, with or without
54 * modification, are permitted provided that the following conditions
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.
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.
80 * Redistribution and use in source and binary forms, with or without
81 * modification, are permitted provided that the following conditions
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.
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
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
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
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
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.
165 This code is derived from software contributed to The NetBSD Foundation
168 Redistribution and use in source and binary forms, with or without
169 modification, are permitted provided that the following conditions
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 is licensed under the following license:
192 OPEN DATA LICENSE (GeoLite Country and GeoLite City databases)
194 Copyright (c) 2008 MaxMind, Inc. All Rights Reserved.
196 All advertising materials and documentation mentioning features or use of
197 this database must display the following acknowledgment:
198 "This product includes GeoLite data created by MaxMind, available from
201 Redistribution and use with or without modification, are permitted provided
202 that the following conditions are met:
203 1. Redistributions must retain the above copyright notice, this list of
204 conditions and the following disclaimer in the documentation and/or other
205 materials provided with the distribution.
206 2. All advertising materials and documentation mentioning features or use of
207 this database must display the following acknowledgement:
208 "This product includes GeoLite data created by MaxMind, available from
210 3. "MaxMind" may not be used to endorse or promote products derived from this
211 database without specific prior written permission.
213 THIS DATABASE IS PROVIDED BY MAXMIND, INC ``AS IS'' AND ANY
214 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
215 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
216 DISCLAIMED. IN NO EVENT SHALL MAXMIND BE LIABLE FOR ANY
217 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
218 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
219 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
220 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
221 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
222 DATABASE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
223 ===============================================================================
224 m4/pc_from_ucontext.m4 is available under the following license. Note that
225 it is *not* built into the Tor software.
227 Copyright (c) 2005, Google Inc.
230 Redistribution and use in source and binary forms, with or without
231 modification, are permitted provided that the following conditions are
234 * Redistributions of source code must retain the above copyright
235 notice, this list of conditions and the following disclaimer.
236 * Redistributions in binary form must reproduce the above
237 copyright notice, this list of conditions and the following disclaimer
238 in the documentation and/or other materials provided with the
240 * Neither the name of Google Inc. nor the names of its
241 contributors may be used to endorse or promote products derived from
242 this software without specific prior written permission.
244 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
245 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
246 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
247 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
248 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
249 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
250 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
251 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
253 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
254 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
256 ===============================================================================
257 m4/pkg.m4 is available under the following license. Note that
258 it is *not* built into the Tor software.
260 pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
261 serial 1 (pkg-config-0.24)
263 Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
265 This program is free software; you can redistribute it and/or modify
266 it under the terms of the GNU General Public License as published by
267 the Free Software Foundation; either version 2 of the License, or
268 (at your option) any later version.
270 This program is distributed in the hope that it will be useful, but
271 WITHOUT ANY WARRANTY; without even the implied warranty of
272 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
273 General Public License for more details.
275 You should have received a copy of the GNU General Public License
276 along with this program; if not, write to the Free Software
277 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
279 As a special exception to the GNU General Public License, if you
280 distribute this file as part of a program that contains a
281 configuration script generated by Autoconf, you may include it under
282 the same distribution terms that you use for the rest of that program.
283 ===============================================================================
284 src/ext/readpassphrase.[ch] are distributed under this license:
286 Copyright (c) 2000-2002, 2007 Todd C. Miller <Todd.Miller@courtesan.com>
288 Permission to use, copy, modify, and distribute this software for any
289 purpose with or without fee is hereby granted, provided that the above
290 copyright notice and this permission notice appear in all copies.
292 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
293 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
294 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
295 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
296 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
297 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
298 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
300 Sponsored in part by the Defense Advanced Research Projects
301 Agency (DARPA) and Air Force Research Laboratory, Air Force
302 Materiel Command, USAF, under agreement number F39502-99-1-0512.
304 ===============================================================================
305 src/ext/mulodi4.c is distributed under this license:
307 =========================================================================
309 =========================================================================
311 The compiler_rt library is dual licensed under both the
312 University of Illinois "BSD-Like" license and the MIT license.
313 As a user of this code you may choose to use it under either
314 license. As a contributor, you agree to allow your code to be
317 Full text of the relevant licenses is included below.
319 =========================================================================
321 University of Illinois/NCSA
324 Copyright (c) 2009-2016 by the contributors listed in CREDITS.TXT
332 University of Illinois at Urbana-Champaign
336 Permission is hereby granted, free of charge, to any person
337 obtaining a copy of this software and associated documentation
338 files (the "Software"), to deal with the Software without
339 restriction, including without limitation the rights to use,
340 copy, modify, merge, publish, distribute, sublicense, and/or sell
341 copies of the Software, and to permit persons to whom the
342 Software is furnished to do so, subject to the following
345 * Redistributions of source code must retain the above
346 copyright notice, this list of conditions and the following
349 * Redistributions in binary form must reproduce the above
350 copyright notice, this list of conditions and the following
351 disclaimers in the documentation and/or other materials
352 provided with the distribution.
354 * Neither the names of the LLVM Team, University of Illinois
355 at Urbana-Champaign, nor the names of its contributors may
356 be used to endorse or promote products derived from this
357 Software without specific prior written permission.
359 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
360 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
361 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
362 NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
363 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
364 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
365 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
366 OTHER DEALINGS WITH THE SOFTWARE.
368 =========================================================================
370 Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
372 Permission is hereby granted, free of charge, to any person
373 obtaining a copy of this software and associated documentation
374 files (the "Software"), to deal in the Software without
375 restriction, including without limitation the rights to use,
376 copy, modify, merge, publish, distribute, sublicense, and/or sell
377 copies of the Software, and to permit persons to whom the
378 Software is furnished to do so, subject to the following
381 The above copyright notice and this permission notice shall be
382 included in all copies or substantial portions of the Software.
384 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
385 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
386 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
387 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
388 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
389 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
390 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
391 OTHER DEALINGS IN THE SOFTWARE.
393 =========================================================================
394 Copyrights and Licenses for Third Party Software Distributed with LLVM:
395 =========================================================================
397 The LLVM software contains code written by third parties. Such
398 software will have its own individual LICENSE.TXT file in the
399 directory in which it appears. This file will describe the
400 copyrights, license, and restrictions which apply to that code.
402 The disclaimer of warranty in the University of Illinois Open
403 Source License applies to all code in the LLVM Distribution, and
404 nothing in any of the other licenses gives permission to use the
405 names of the LLVM Team or the University of Illinois to endorse
406 or promote products derived from this Software.
408 ===============================================================================
409 If you got Tor as a static binary with OpenSSL included, then you should know:
410 "This product includes software developed by the OpenSSL Project
411 for use in the OpenSSL Toolkit (http://www.openssl.org/)"
412 ===============================================================================