1 secnet - flexible VPN software
2 ==============================
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
34 secnet is distributed under the terms of the GNU General Public
35 License, version 3 or later.
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
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.
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.
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.
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.
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
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.
79 Some of the source code has more liberal licences, all of which are
80 GPLv3-compatible, and potentially GPLv3+-compatible.
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.
87 ac_prog_cc_no_writeable_strings.m4
88 -----------------------------------
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:
93 Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
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.
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.
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/>.
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.
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.
122 argparseactionnoyes.py
123 ----------------------
125 Copyright 2012 "Omnifarious" (a user on StackOverFlow)
126 Copyright 2013 "btel" (a user on StackOverFlow)
128 https://stackoverflow.com/questions/9234258/in-python-argparse-is-it-possible-to-have-paired-no-something-something-arg/20422915#20422915
131 https://creativecommons.org/licenses/by-sa/4.0/legalcode
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)
137 all retrieved 4.11.2019 and rechecked 12.11.2022
143 Copyright 2000 Vincent Rijmen, Antoon Bosselaers, Paulo Barreto
144 Copyright 2004 Fabrice Bellard
145 Copyright 2013 Ian Jackson
149 This code is hereby placed in the public domain.
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.
167 Copyright (c) 2000-2006 Joachim Henke
169 Redistribution and use in source and binary forms, with or without
170 modification, are permitted provided that the following conditions
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.
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.
200 Copyright (c) 2012 Adrien Beraud
201 Copyright (c) 2015 Guillaume Jacquenot
203 Redistribution and use in source and binary forms, with or without
204 modification, are permitted provided that the following conditions
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
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.
235 This is autogenerated from various other inputs, including FSF code in
236 utotools, regarding which the FSF say this:
238 Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
240 This configure script is free software; the Free Software Foundation
241 gives unlimited permission to copy, distribute and modify it.
243 However, in fact, the script is GPLv3+ because it contains pieces
244 derived from secnet's aclocal.m4, etc.
250 debian/init is from an original init script example by Miquel van
251 Smoorenburg and Ian Murdock. Modified by Richard Kettlewell.
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
257 The remainder of debian/ is by the authors of Secnet (with possible
258 future changes made by Debian contributors).
264 Copyright 1991 by the Massachusetts Institute of Technology
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
281 Authored by Colin Plumb in 1993. Public domain statement:
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.
288 I interpet this as a blanket permision.
291 serpent.c, serpentsboxes.h
292 ---------------------------
294 Authored by Ross Anderson, Eli Biham, Lars Knudsen.
296 Quoting the Serpent web page:
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!
306 https://www.cl.cam.ac.uk/~rja14/serpent.html
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
316 Authored by Steve Reid and modified by James H. Brown,
317 Saul Kravitz, and Ian Jackson.
321 I interpet this as a blanket permision.
327 Copyright (C) 2005, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
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.
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.
339 Written by David Madore, considerably copypasting from
340 Scott G. Miller's sha1.c
346 Copyright 2019-2020 Ian Jackson
347 Copyright 2019 Mark Wooding
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.
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.
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/.
363 A copy of this licence can be found on Debian systems (and
364 derivatives) in /usr/share/common-licenses/LGPL-3.
371 uint64_t-like operations that work even on hosts lacking uint64_t
373 Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
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.
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.
385 Written by Paul Eggert.