LICENSE 19 KB

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