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