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