chiark / gitweb /
623e1774e4dbe9a55382b7a12b6c09b853f3858f
[secnet.git] / debian / changelog
1 secnet (0.6.1~) unstable; urgency=medium
2
3   Logging bugfixes:
4   * Fix completely broken startup logging.  Config errors would not
5     be repoorted other than via the exit status!  (Broken in 0.6.0.)
6   * Suppress various uninteresting messages during startup, to
7     avoid noise during successful startup.
8   * Move "starting" message earlier.
9   
10   make-secnet-sites bugfixes:
11   * Fix error handling if caller is in wrong group.
12   * Fix regressions in handling of delegated sites file fragments
13     (especially wrt the optional group parameter to `location').
14     Broken since security fixes in 0.5.0.
15
16   Fixes to example config file:
17   * Use new name-prefixed format for map(site...) runes.  Old runes
18     were desupported by make-secnet-sites security fix (in 0.5.0).
19   * Fix "transform" syntax (broken since 0.3.0).
20
21   Other bugfixes and improvements:
22   * rsa: Do not crash if private key file is not accessible when
23     running --just-check-config.  (Broken since 0.6.0.)
24   * rsa: Print errno value if we fail to open key file.
25   * config parsing: When closure is of wrong type, give details.
26   * Use CLOCK_MONOTONIC for all our timing needs (but only when
27     built against an as-yet-unpublished adns feature).
28
29   Supporting changes:
30   * Tests for some of the changes.
31   * Minor internal refactorings and improvements.
32   * Merge subdirmk 1.0.
33
34  --
35
36 secnet (0.6.0) unstable; urgency=medium
37
38   Bugfixes:
39   * mobile sites: Do not ever expire peer addresses.  In practice
40     this fixes transitions between IPv6-only and IPv4-only networks.
41   * make-secnet-sites: Tainted: Fix a lot of bad return values
42     (which would result in assertions rather than nice error messages).
43   * Fix hash algo confusion in mixed sha1/md5 configurations (see below).
44
45   Incompatible changes:
46   * site: Always advertise all capabilities, even in MSG1.  This is
47     incompatible with secnets earlier than 0.3.0 (September 2013), which
48     are all quite badly broken and should have been upgraded long ago.
49   * Drop support for using the same loaded rsa key with multiple different
50     hash algorithms (which was broken in 0.5.0).  Right now we support
51     only `sha1' and `md5' so everyone should be using `sha1'.
52     Installations which specified `md5' anywhere may need config changes.
53
54   Major new featureset (use of which is not adviseable yet):
55   * New facilities for negotiating about the signing keys to use for
56     authentication during key setup, and selecting and using the
57     appropriate keys.  (``key-cache'/`privcache' and `peer-keys').
58     Using these new facilities for keyrollover now is in principle
59     possible but rather complex.  Further machinery is planned;
60     for now, retain your existing config which should keep working.
61     In summary:
62        - secnet: new `privcache' closure;
63        - secnet: `key-cache' and `peer-keys' keys on site closures;
64        - secnet: new file format for peer public keysets;
65        - secnet: new `make-public' config operator;
66        - make-secnet-sites `pub', `pkg', `serial', etc. keywords;
67        - make-secnet-sites --filter, --pubkeys-*, --output-version.
68
69   More minor (logging) improvements:
70   * Make stderr line buffered and log to it by default.
71   * Do not log differently with --nodetach.
72   * New `prefix' option to `logfile' closure.
73   * Tidy and simplify some messages.
74
75   Supporting changes:
76   * Many substantial internal refactorings in secnet.
77   * Many substantial internal refactorings in make-secnet-sites.
78   * make-secnet-sites option parsing totally replaced.
79   * Imported subtrees for base91-c and base91-python.
80   * New portablity code, etc.: osdep.[ch], fmemopen reimplementation.
81   * Explicitly define oddly-rotated dh padding arrangement (write_mpbin).
82
83   Build system and packaging:
84   * Do not fail to build from git when HEAD refers to a packed ref.
85   * Update to subdirmk 0.3.
86   * Many makefile fixes (esp. to clean and cdeps).
87   * configure.ac: Drop or suppress some very obsolete checks.
88   * autogen.sh: Write a comment about need for autoheader.
89   * dir-locals: Provide python-indent-offset too.
90
91   Test suite bugfixes:
92   * stest: Use stderr, not tty, for logging.
93   * stest/udp-preload.c: Fix error handling of sun_prep.
94   * stest: Fix breakage if nproc is not installed.
95
96   Test suite improvements:
97   * New tests, including tests for new features.
98   * Existing tests (especially stest) generally made more thorough.
99   * New comprehensive-test and pretest-to-tested convenience scripts.
100   * Arrangements for testing with (user-provided) old secnet.
101   * parallel-test.*: scripts to help with parallelised bisection.
102   * stest: Print a lot more output about what we are doing.
103   * stest: Better support for cwd with longish pathname.
104   * stest: More flexibility, env var hooks, etc.
105
106  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Feb 2020 12:48:13 +0000
107
108 secnet (0.5.1) unstable; urgency=medium
109
110   POTENTIALLY INCOMPATIBLE CHANGE.  Some security implications.
111
112   * make-secnet-sites: Prefix names when writing secnet sites.conf file.
113
114     make-secnet-sites must copy names (vpn, location and site names) from
115     the input sites file (which is not wholly trusted) to the secnet
116     config file.  Prior to this release, naming a location or site the
117     same as a secnet predefined name could generate a broken sites.conf
118     which secnet would reject.  (With the existing featureset,
119     malfunctions other than rejection, eg privilege escalation, are not
120     possible.)
121
122     make-secnet-sites now adds a prefix to these names when writing
123     sites.conf.  This will not affect configurations which use the
124     make-secnet-sites-provided `all-sites' key, as is usual.  Other
125     configurations will break unless the references in the static part of
126     the config are adjusted.
127
128     Previous behaviour can be restored with the --no-conf-key-prefix
129     option.  (Planned future enhancements to secnet are likely to make use
130     of that option, with untrusted input, dangerously insecure.)
131
132   other changes to make-secnet-sites:
133   * Fix argument parsing.  Fixes a regression affecting -P in 0.5.0,
134     and also fixes new facilities introduced in 0.5.0.
135   * Sort the properties on output (and adjust the test case expected
136     outputs).  Tests now pass on (at least) Python 2.7.13, 3.5.3, 3.7.5.
137   * Delete some unused code.
138
139   secnet:
140   * Change one idiom to avoid a warning from GCC9.  No functional change.
141
142   build system - MAJOR CHANGES:
143   * Fix out-of-tree builds.  (Broken in 0.5.0)
144   * Replace recursive make with use of the new subdirmk system.
145     This represents a fairly comprehensive overhaul of the makefiles.
146     Several bugs (esp. involving dependencies between files in different
147     directories) are fixed.
148   * Drop `make check' from `make all'.  (Otherwise there is no way
149     to ask for `all' without `check'.)
150   * Suppress two unhelpful new compiler warnings from GCC9.
151   * Release checklist update.
152
153   documentation:
154   * Credit Mark Wooding properly in CREDITS.
155   * Include DEVELOPER-CERTIFICATE.
156
157   tests:
158   * Locations now have different names to sites.
159   * Somewhat better debugging output from mtest.
160   * Do not run msgcode-test except with `make fullcheck'.
161   * Other minor bugfixes and improvments.
162   * stest: Suppress unhelpful -Wno-unused-result (needed for stretch).
163
164  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 22 Nov 2019 23:13:14 +0000
165
166 secnet (0.5.0) unstable; urgency=medium
167
168   make-secnet-sites SECURITY FIX:
169   * Do not blindly trust inputs; instead, check the syntax for sanity.
170     Previous releases can be induced to run arbitrary code as the user
171     invoking secnet (which might be root), if a secnet sites.conf is used
172     that was generated from an untrustworthy sites file.
173   * The userv invocation mode of make-secnet-sites seems to have been safe
174     in itself, but it previously allowed hazardous data to be propagated
175     into the master sites file.  This is now prevented too.
176
177   make-secnet-sites overhaul work:
178   * make-secnet-sites is now in the common subset of Python2 and Python3.
179     The #! is python3 now, but it works with Python2.7 too.
180     It will probably *not* work with old versions of Python2.
181   * We no longer depend on the obsolete `ipaddr' library.  We use
182     `ipaddress' now.  And this is onlo a Recommends in the .deb.
183   * Ad-hoc argument parser been replaced with `argparse'.
184     There should be no change to existing working invocations.
185   * Bad address syntax error does not wrongly mention IPv6 scopes.
186   * Minor refactoring to support forthcoming work.  [Mark Wooding]
187
188   other bugfixes, improvements and changes to secnet itself:
189   * Better logging of why we are sending NAK messages.
190   * Correctly use the verified copy of the peer remote capabilities
191     from MSG3.  (Bug is not a vulnerability.)    [Mark Wooding]
192   * Significant internal rearrangements and refactorings, to support
193     forthcoming key management work.  [Mark Wooding and Ian Jackson]
194
195   build system etc.:
196   * Completely overhaul release checklist; drop dist target.
197   * Remove dependency on `libfl.a'.  [Mark Wooding]
198   * polypath.c: Fix missing include of <limits.h>.  [Mark Wooding]
199   * Add a Wireshark dissector `secnet-wireshark.lua'.  It is not
200     installed anywhere right now.  [Mark Wooding]
201
202   documentation:
203   * Improve documentation of capability negotiation in NOTES, secnet(8)
204     and magic.h.  [Mark Wooding]
205
206  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 24 Oct 2019 19:11:54 +0100
207
208 secnet (0.4.5) unstable; urgency=medium
209
210   * INSTALL: Mention that rsa key generation might need ssh-keygen1.
211   * mobile: Fix negotiation bug with mixed old/new secnets and
212     simultaneous key setup attempts by each end.  [Mark Wooding]
213   * Makefile.in: Support installation from a `VPATH' build.  [Mark Wooding]
214   * Portability fixes for clang.  [Mark Wooding]
215
216  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 21 Sep 2019 12:04:31 +0100
217
218 secnet (0.4.4) unstable; urgency=medium
219
220   Security fix:
221   * make-secnet-sites: Don't allow setting new VPN-level properties
222     when restricted.  This could allow denial of service by
223     users with delegated authorisation.  [Mark Wooding]
224
225   Bugfixes for poor network environments:
226   * polypath: cope properly with asymmetric routing, by correcting
227     the handling of late duplicated packets etc.   Protocol is now
228     incompatible with secnet prior to 0.3.0 when either end is mobile.
229   * Randomise key setup retry time.
230
231   Other bugfixes:
232   * rsa and cbcmac: Fix configuration error messages.  [Mark Wooding]
233   * Handle IPv4 addresses properly (ie, not foolishly byte-swapped),
234     when IPv6 is not available.  [Mark Wooding]
235   * Better logging (and less foolish debug), especially about whether
236     key is set up, and about crossed key setup attempts.
237   * Internal refactoring and fixes.  [Ian Jackson and Mark Wooding]
238
239   Build system and portability:
240   * configure: rerun autogen.sh with autoconf 2.69-10
241   * Avoid memset(0,0,0) wrt st->sharedsecret.  (Fixes compiler warning;
242     in theory might cause miscompilation.)  [Mark Wooding]
243
244   Documentation:
245   * README.make-secnet-sites: new documentation file.  [Mark Wooding]
246   * NOTES: Describe current allocation of capability bits.  [Mark Wooding]
247   * NOTES: tiny fix tot protocol description.
248   * secnet(8): Delete wrong information about dh groups.  [Mark Wooding]
249
250   Administrivia:
251   * Fix erroneous GPL3+ licence notices "version d or later" (!)
252   * .dir-locals.el: Settings for Python code.  [Mark Wooding]
253
254  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 08 Sep 2019 22:53:14 +0100
255
256 secnet (0.4.3) unstable; urgency=low
257
258   Security improvement:
259   * Use `mpz_powm_sec' for modexps.
260
261   Enhancements:
262   * Implement comm-info and dedicated-interface-addr feature, for
263     benefit of hippotat.
264   * Implement `keepalive' site option, to try to keep link always up.
265
266   Build etc. fixes:
267   * #include <limits.h> (fixes the build on jessie).
268   * Tolerate building from a git checkout, but with git not installed.
269     (This can happen in chroots.)
270   * Turn off -Wsign-compare for bison output.
271   * Makefile.in: Fix `check-ipaddrset' rule to get reference from
272     $(srcdir).  (Makes out-of-tree builds work properly.)
273   * Release checklist fixes.
274   * Burn version numbers 0.4.1 and 0.4.2 due to errors in release prep.
275
276   Bugfixes:
277   * When printing messages about dropping IPv6, do not print anything
278     about ihl.  (Check the IP version field first!)
279   * When turning on debug, turn on verbose too.
280
281  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 25 Nov 2017 13:36:41 +0000
282
283 secnet (0.4.0) unstable; urgency=low
284
285   Debugging improvements:
286   * Packet-level debugging from site notes errors from transmit.
287   * Report when transport peers updated as a result of transmit.
288
289  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 28 Feb 2015 15:03:00 +0000
290
291 secnet (0.4.0~beta2) unstable; urgency=low
292
293   Polypath bugfixes:
294   * Ignore IPv6 Unique Local unicast addresses.
295   * Skip "tentative" IPv6 local addresses.
296   * Improve logging and debug output.
297
298   Portability fix:
299   * Build where size_t is not compatible with int.
300
301   Build system and packaging fixes:
302   * Makefile: support DESTDIR.
303   * debian/rules: set DESTDIR (not prefix).
304   * debian/rules: Support dpkg-buildflags.
305   * Install ipaddrset.py and secnet.8 with correct permissions.
306   * Fix check for <linux/if_tun.h> and git rid of our copy.
307   * Use -lresolv only if inet_aton is not found otherwise.
308   * Use -lnsl only if inet_ntoa is not found otherwise.
309   * debian/rules: Provide build-arch and build-indep targets.
310   * debian/rules: Do not run build for *-indep (!)
311   * Makefile.in: Putative dual (backport and not) release build process doc.
312
313   Copyright updates:
314   * Update to GPLv3.  Add missing copyright notices and credits.
315   * Get rid of old FSF street address; use URL instead.
316   * Remove obsolete LICENCE.txt (which was for snprintf reimplementation).
317   * Remove obsolete references to Cendio (for old ipaddr.py).
318
319  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 28 Dec 2014 17:14:10 +0000
320
321 secnet (0.4.0~beta1) unstable; urgency=low
322
323   New features:
324   * Support transport over IPv6.  (We do not yet carry IPv6 in the private
325     network.)  IPv6 support depends on IPv6-capable adns (adns 1.5.x).
326   * New polypath comm, which can duplicate packets so as to send them via
327     multiple routes over the public network, for increased
328     reliability/performance (but increased cost).  Currently Linux-only
329     but should be fairly easy to port.
330   * Support multiple public addresses for peers.
331   * Discard previously-received packets (by default).
332
333   Logging improvements:
334   * Report (each first) transmission and reception success and failure.
335   * Log reason for DNS reolution failure.
336   * Log unexpected kinds of death from userv.
337   * Log authbind exit status as errno value (if appropriate).
338
339   Configuration adjustments:
340   * Adjust default number of mobile peer addresses to store when a peer
341     public address is also configured.
342   * Make specifying peer public port optional.  This avoids making special
343     arrangements to bind to a port for in mobile sites with no public
344     stable address.
345
346   Bugfixes:
347   * Hackypar children will die if they get a terminating signal.
348   * Fix signal dispositions inherited by secnet's child processes.
349   * Fix off-by-one error which prevented setting transport-peers-max to 5.
350
351   Test, build and internal improvements:
352   * Use conventional IP address handling library ipaddr.py.
353   * Provide a fuzzer for the slip decoder.
354   * Build system improvements.
355   * Many source code cleanups.
356
357  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 26 Oct 2014 15:28:31 +0000
358
359 secnet (0.3.4) unstable; urgency=low
360
361   SECURITY FIX:
362   * The previous security fix to buffer handling was entirely wrong.  This
363     one is better.  Thanks to Simon Tatham for the report and the patch.
364
365  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 22 Sep 2014 16:16:11 +0100
366
367 secnet (0.3.3) unstable; urgency=high
368
369   SECURITY FIXES:
370   * Pass correct size argument to recvfrom.  This is a serious security
371     problem which may be exploitable from outside the VPN.
372   * Fix a memory leak in some error logging.
373
374   Other related fixes:
375   * Two other latent bugs in buffer length handling found and fixed.
376   * Non-critical stylistic improvements to buffer length handling, to make
377     the code clearer and to assist audit.
378
379  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 19 Sep 2014 23:50:45 +0100
380
381 secnet (0.3.3~beta1) unstable; urgency=low
382
383   Installation compatibility fix:
384   * In make-secnet-sites, always use our own ipaddr.py even if the
385     incompatible modern ipaddr.py is installed (eg via python-ipaddr.deb).
386     (Future versions of secnet are going to need that Python module to be
387     installed.)
388
389   For links involving mobile sites:
390   * Use source of NAK packets as hint for peer transport address.
391   * When initiating rekey, make use of data transport peer addresses.
392
393   Build fix:
394   * Provide clean target in test-example/Makefile.
395
396  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 19 Sep 2014 00:11:44 +0100
397
398 secnet (0.3.2) unstable; urgency=low
399
400   * Release of 0.3.2.  No code changes since 0.3.1~beta1.
401
402  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 26 Jun 2014 20:27:58 +0100
403
404 secnet (0.3.2~beta1) unstable; urgency=low
405
406   For links involving mobile sites:
407   * SECURITY: Properly update peer address array when it is full.
408   * Do name-resolution on peer-initiated key setup too, when we are mobile
409     (and other name-resolution improvements).
410
411   Other minor improvements:
412   * Log peer addresses on key exchange timeout.
413   * When printing version (eg during startup), use value from git-describe
414     and thus include git commit id where applicable.
415   * Updates to release checklist in Makefile.in.
416   * Use C99 _Bool for bool_t.
417
418  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 06 Jun 2014 01:17:54 +0100
419
420 secnet (0.3.1) unstable; urgency=low
421
422   * Release of 0.3.1.  No code changes since 0.3.1~beta3.
423
424  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 15 May 2014 01:08:30 +0100
425
426 secnet (0.3.1~beta3) unstable; urgency=low
427
428   * Build fixes for non-i386 architectures and gcc 4.8.2.
429
430  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 08 May 2014 19:53:43 +0100
431
432 secnet (0.3.1~beta2) unstable; urgency=low
433
434   Fix relating to new fragmentation / ICMP functionality:
435   * Generate ICMP packets correctly in point-to-point configurations.
436
437  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 03 May 2014 18:58:09 +0100
438
439 secnet (0.3.1~beta1) unstable; urgency=low
440
441   Security fixes (vulnerabilities are to inside attackers only):
442   * SECURITY: Fixes to MTU and fragmentation handling.
443   * SECURITY: Correctly set "unused" ICMP header field.
444   * SECURITY: Fix IP length check not to crash on very short packets.
445
446   New feature:
447   * Make the inter-site MTU configurable, and negotiate it with the peer.
448
449   Bugfixes etc.:
450   * Fix netlink SEGV on clientless netlinks (i.e. configuration error).
451   * Fix formatting error in p-t-p startup message.
452   * Do not send ICMP errors in response to unknown incoming ICMP.
453   * Fix formatting error in secnet.8 manpage.
454   * Internal code rearrangements and improvements.
455
456   Packaging improvements:
457   * Updates to release checklist in Makefile.in.
458   * Additions to the test-example suite.
459
460  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 01 May 2014 19:02:56 +0100
461
462 secnet (0.3.0) unstable; urgency=low
463
464   * Release of 0.3.0.  No code changes since 0.3.0~beta3.
465   * Update release checklist.
466
467  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 01 Sep 2013 20:27:48 +0100
468
469 secnet (0.3.0~beta3) unstable; urgency=low
470
471   * New upstream version.
472    - Stability bugfix: properly initialise site's scratch buffer.
473
474  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 05 Aug 2013 11:54:09 +0100
475
476 secnet (0.3.0~beta2) unstable; urgency=low
477
478   * New upstream version.
479    - SECURITY FIX: RSA public modulus and exponent buffer overflow.
480    - SECURITY FIX: Use constant-time memcmp for message authentication.
481    - SECURITY FIX: Provide a new transform, eax-serpent, to replace cbcmac.
482    - SECURITY FIX: No longer send NAKs for NAKs, avoiding NAK storm.
483    - SECURITY FIX: Fix site name checking when site name A is prefix of B.
484    - SECURITY FIX: Safely reject too-short IP packets.
485    - Better robustness for mobile sites (proper user of NAKs, new PROD msg).
486    - Better robustness against SLIP decoding errors.
487    - Fix bugs which caused routes to sometimes not be advertised.
488    - Protocol capability negotiation mechanism.
489    - Improvements and fixes to protocol and usage documentation.
490    - Other bugfixes and code tidying up.
491
492  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 25 Jul 2013 18:26:01 +0100
493
494 secnet (0.3.0~beta1) unstable; urgency=low
495
496   * New upstream version.
497    - SECURITY FIX: avoid crashes (or buffer overrun) on short packets.
498    - Bugfixes relating to packet loss during key exchange.
499    - Bugfixes relating to link up/down status.
500    - Bugfixes relating to logging.
501    - make-secnet-sites made more sophisticated to support two vpns on chiark.
502    - Documentation improvements.
503    - Build system improvements.
504   * Debian packaging improvements:
505    - Native package.
506    - Maintainer / uploaders.
507    - init script requires $remove_fs since we're in /usr.
508
509  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 12 Jul 2012 20:18:16 +0100
510
511 secnet (0.2.1-1) unstable; urgency=low
512
513   * New upstream version.  (authbind endianness fix)
514
515  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 11 Dec 2011 13:14:57 +0000
516
517 secnet (0.2.0-1) unstable; urgency=low
518
519   * New upstream version.
520
521  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 10 Dec 2011 22:44:41 +0000
522
523 secnet (0.1.18-1) unstable; urgency=low
524
525   * New upstream version.
526
527  -- Stephen Early <steve@greenend.org.uk>  Tue,  18 Mar 2008 17:45:00 +0000