chiark / gitweb /
changelog: start 0.6.8
[secnet.git] / LICENCE
1 secnet - flexible VPN software
2 ==============================
3
4 secnet is
5   Copyright 1995-2003 Stephen Early <steve@greenend.org.uk>
6   Copyright 2002-2023 Ian Jackson <ijackson@chiark.greenend.org.uk>
7   Copyright 1991      Massachusetts Institute of Technology
8   Copyright 1998      Ross Anderson, Eli Biham, Lars Knudsen
9   Copyright 1993      Colin Plumb
10   Copyright 1998      James H. Brown, Steve Reid
11   Copyright 1998      Miquel van Smoorenburg, Ian Murdock
12   Copyright 2000      Vincent Rijmen, Antoon Bosselaers, Paulo Barreto
13   Copyright 2001      Joey Hess
14   Copyright 2000-2006 Joachim Henkea
15   Copyright 2012-2016 Adrien BĂ©raud
16   Copyright 2015      Guillaume Jacquenot
17   Copyright 2016      SunDwarf aka eyesismine
18   Copyright 2001      Saul Kravitz
19   Copyright 2004      Fabrice Bellard
20   Copyright 2002      Guido Draheim
21   Copyright 2005-2010 Free Software Foundation, Inc.
22   Copyright 1995-2001 Jonathan Amery
23   Copyright 1995-2003 Peter Benie
24   Copyright 2011      Richard Kettlewell
25   Copyright 2012      Matthew Vernon
26   Copyright 2013-2019 Mark Wooding
27   Copyright 1995-2013 Simon Tatham
28   Copyright 2012,2013 "Omnifarious" and "btel" on Stackoverflow
29
30
31 GPLv3+
32 ======
33
34 secnet is distributed under the terms of the GNU General Public
35 License, version 3 or later.
36
37 secnet is distributed in the hope that it will be useful, but WITHOUT
38 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
39 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
40 for more details.
41
42 The file COPYING in the source tree contains a copy of the GNU GPL v3.
43 A copy of this licence can be found on Debian systems (and
44 derivatives) in /usr/share/common-licenses/GPL-3.
45
46 Some files contain a notice with the abbreviated form:
47   SPDX-License-Identifier: GPL-3.0-or-later
48 As is conventional, this should be read as a licence grant.
49
50 Some included libraries contain CC-BY-SA 4.0 code, which is not
51 necessarily compatibile with future GPL versions, so the effective
52 licence for a built and distributed secnet package is GPLv3 only.
53
54
55 Contributing
56 ============
57
58 Contributions to secnet are accepted based on the git commit
59 Signed-off-by convention, by which the contributors' certify their
60 contributions according to the Developer Certificate of Origin version
61 1.1 - see the file DEVELOPER-CERTIFICATE.
62
63 In accordance with the Developer Certificate of Origin, if you make a
64 contribution to one of the incorporated works with a more liberal
65 licence, you will be taken to have made your contribution under that
66 more liberal licence.
67
68 If you create a new file please be sure to add an appropriate licence
69 header.  In the main parts of secnet this should be something like:
70  * This file is part of secnet.
71  * See LICENCE and CREDITS for full list of copyright holders.
72  * SPDX-License-Identifier: GPL-3.0-or-later
73  * There is NO WARRANTY.
74
75
76 Incorporated works
77 ==================
78
79 Some of the source code has more liberal licences, all of which are
80 GPLv3-compatible, and potentially GPLv3+-compatible.
81
82 These portions can be used, distributed, and modified, separately,
83 under the more liberal licence.  But when they are used or distributed
84 as part of secnet, the GPL applies to the combination.
85
86
87 ac_prog_cc_no_writeable_strings.m4
88 -----------------------------------
89
90 This is a version of ax_cflags_no_writable_strings.m4 which is
91 now in the Autoconf Archive, where it has this permission notice:
92
93   Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
94
95   This program is free software; you can redistribute it and/or modify it
96   under the terms of the GNU General Public License as published by the
97   Free Software Foundation; either version 3 of the License, or (at your
98   option) any later version.
99
100   This program is distributed in the hope that it will be useful, but
101   WITHOUT ANY WARRANTY; without even the implied warranty of
102   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
103   Public License for more details.
104
105   You should have received a copy of the GNU General Public License along
106   with this program. If not, see <https://www.gnu.org/licenses/>.
107
108   As a special exception, the respective Autoconf Macro's copyright owner
109   gives unlimited permission to copy, distribute and modify the configure
110   scripts that are the output of Autoconf when processing the Macro. You
111   need not follow the terms of the GNU General Public License when using
112   or distributing such scripts, even though portions of the text of the
113   Macro appear in them. The GNU General Public License (GPL) does govern
114   all other use of the material that constitutes the Autoconf Macro.
115
116   This special exception to the GPL applies to versions of the Autoconf
117   Macro released by the Autoconf Archive. When you make and distribute a
118   modified version of the Autoconf Macro, you may extend this special
119   exception to the GPL to apply to your modified version as well.
120
121
122 argparseactionnoyes.py
123 ----------------------
124
125   Copyright 2012 "Omnifarious" (a user on StackOverFlow)
126   Copyright 2013 "btel" (a user on StackOverFlow)
127
128   https://stackoverflow.com/questions/9234258/in-python-argparse-is-it-possible-to-have-paired-no-something-something-arg/20422915#20422915
129
130   CC-BY-SA 4.0
131   https://creativecommons.org/licenses/by-sa/4.0/legalcode
132   by virtue of
133   https://stackoverflow.com/legal/terms-of-service#licensing
134   which says everything is CC-BY-SA and has a link to v4.0
135   (And which is therefore compatible with secnet's GPLv3)
136
137   all retrieved 4.11.2019 and rechecked 12.11.2022
138
139
140 aes.[ch]
141 --------
142
143 Copyright 2000 Vincent Rijmen, Antoon Bosselaers, Paulo Barreto
144 Copyright 2004 Fabrice Bellard
145 Copyright 2013 Ian Jackson
146
147 Original licence:
148
149   This code is hereby placed in the public domain.
150
151   THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS
152   OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
153   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
154   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
155   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
156   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
157   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
158   BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
159   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
160   OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
161   EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
162
163
164 base91-c/
165 ---------
166
167   Copyright (c) 2000-2006 Joachim Henke
168
169   Redistribution and use in source and binary forms, with or without
170   modification, are permitted provided that the following conditions
171   are met:
172
173     - Redistributions of source code must retain the above copyright
174       notice, this list of conditions and the following disclaimer.
175     - Redistributions in binary form must reproduce the above
176       copyright notice, this list of conditions and the following
177       disclaimer in the documentation and/or other materials provided
178       with the distribution.
179     - Neither the name of Joachim Henke nor the names of his
180       contributors may be used to endorse or promote products derived
181       from this software without specific prior written permission.
182
183   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
184   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
185   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
186   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
187   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
188   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
189   BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
190   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
191   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
192   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
193   ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
194   POSSIBILITY OF SUCH DAMAGE.
195
196
197 base91-python/
198 ---------------
199
200   Copyright (c) 2012 Adrien Beraud
201   Copyright (c) 2015 Guillaume Jacquenot
202
203   Redistribution and use in source and binary forms, with or without
204   modification, are permitted provided that the following conditions
205   are met:
206
207     * Redistributions of source code must retain the above copyright
208       notice, this list of conditions and the following disclaimer.
209     * Redistributions in binary form must reproduce the above
210       copyright notice, this list of conditions and the following
211       disclaimer in the documentation and/or other materials provided
212       with the distribution.
213     * Neither the name of Adrien Beraud, Wisdom Vibes Pte. Ltd., nor
214       the names of its contributors may be used to endorse or promote
215       products derived from this software without specific prior
216       written permission.
217
218   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
219   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
220   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
221   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
222   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
223   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
224   BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
225   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
226   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
227   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
228   ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
229   POSSIBILITY OF SUCH DAMAGE.
230
231
232 configure
233 ---------
234
235 This is autogenerated from various other inputs, including FSF code in
236 utotools, regarding which the FSF say this:
237
238   Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
239
240   This configure script is free software; the Free Software Foundation
241   gives unlimited permission to copy, distribute and modify it.
242
243 However, in fact, the script is GPLv3+ because it contains pieces
244 derived from secnet's aclocal.m4, etc.
245
246
247 debian/
248 -------
249
250 debian/init is from an original init script example by Miquel van
251 Smoorenburg and Ian Murdock.  Modified by Richard Kettlewell.
252
253 debian/rules was once from an example from Joey Hess and is now
254 (after most of it was deleted) probably entirely the work of Ian
255 Jackson.
256
257 The remainder of debian/ is by the authors of Secnet (with possible
258 future changes made by Debian contributors).
259
260
261 install-sh
262 ----------
263
264 Copyright 1991 by the Massachusetts Institute of Technology
265
266   Permission to use, copy, modify, distribute, and sell this software
267   and its documentation for any purpose is hereby granted without fee,
268   provided that the above copyright notice appear in all copies and
269   that both that copyright notice and this permission notice appear in
270   supporting documentation, and that the name of M.I.T. not be used in
271   advertising or publicity pertaining to distribution of the software
272   without specific, written prior permission.  M.I.T. makes no
273   representations about the suitability of this software for any
274   purpose.  It is provided "as is" without express or implied
275   warranty.
276
277
278 md5.[ch]
279 --------
280
281 Authored by Colin Plumb in 1993.  Public domain statement:
282
283   This code implements the MD5 message-digest algorithm.
284   The algorithm is due to Ron Rivest.  This code was
285   written by Colin Plumb in 1993, no copyright is claimed.
286   This code is in the public domain; do with it what you wish.
287
288 I interpet this as a blanket permision.
289
290
291 serpent.c, serpentsboxes.h
292 ---------------------------
293
294 Authored by Ross Anderson, Eli Biham, Lars Knudsen.
295
296 Quoting the Serpent web page:
297
298   Serpent is now completely in the public domain, and we impose no
299   restrictions on its use. This was announced on the 21st August at
300   the First AES Candidate Conference.  The optimised implementations
301   in the submission package are now under the General Public License
302   (GPL), although some comments in the code still say otherwise. You
303   are welcome to use Serpent for any application.  If you do use it,
304   we would appreciate it if you would let us know!
305
306 https://www.cl.cam.ac.uk/~rja14/serpent.html
307
308 I have indeed corresponded with Ross Anderson about the use of Serpent
309 in secnet, and have updated the source comments to reflect the licence
310 upgrade.
311
312
313 sha1.c
314 ------
315
316 Authored by Steve Reid and modified by James H. Brown,
317 Saul Kravitz, and Ian Jackson.
318
319   100% Public Domain
320
321 I interpet this as a blanket permision.
322
323
324 sha512.[ch]
325 -----------
326
327   Copyright (C) 2005, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
328
329   This program is free software: you can redistribute it and/or modify
330   it under the terms of the GNU General Public License as published by
331   the Free Software Foundation, either version 3 of the License, or
332   (at your option) any later version.
333
334   This program is distributed in the hope that it will be useful,
335   but WITHOUT ANY WARRANTY; without even the implied warranty of
336   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
337   GNU General Public License for more details.
338
339   Written by David Madore, considerably copypasting from
340   Scott G. Miller's sha1.c
341
342
343 subdirmk/
344 ---------
345
346 Copyright 2019-2020 Ian Jackson
347 Copyright 2019 Mark Wooding
348
349     subdirmk and its example is free software; you can redistribute it
350     and/or modify it under the terms of the GNU Library General Public
351     License as published by the Free Software Foundation; either
352     version 2 of the License, or (at your option) any later version.
353
354     This is distributed in the hope that it will be useful, but
355     WITHOUT ANY WARRANTY; without even the implied warranty of
356     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
357     Library General Public License for more details.
358
359     You should have received a copy of the GNU Library General Public
360     License along with this library as the file LGPL-2.
361     If not, see https://www.gnu.org/.
362
363     A copy of this licence can be found on Debian systems (and
364     derivatives) in /usr/share/common-licenses/LGPL-3.
365
366
367
368 u64.h
369 -----
370
371   uint64_t-like operations that work even on hosts lacking uint64_t
372
373   Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
374
375   This program is free software: you can redistribute it and/or modify
376   it under the terms of the GNU General Public License as published by
377   the Free Software Foundation, either version 3 of the License, or
378   (at your option) any later version.
379
380   This program is distributed in the hope that it will be useful,
381   but WITHOUT ANY WARRANTY; without even the implied warranty of
382   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
383   GNU General Public License for more details.
384
385   Written by Paul Eggert.