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