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