1 secnet (0.5.2~) unstable; urgency=medium
7 secnet (0.5.1) unstable; urgency=medium
9 POTENTIALLY INCOMPATIBLE CHANGE. Some security implications.
11 * make-secnet-sites: Prefix names when writing secnet sites.conf file.
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
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.
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.)
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.
39 * Change one idiom to avoid a warning from GCC9. No functional change.
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.
53 * Creit Mark Wooding properly in CREDITS.
54 * Include DEVELOPER-CERTIFICATE.
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).
63 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 22 Nov 2019 23:13:14 +0000
65 secnet (0.5.0) unstable; urgency=medium
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.
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]
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]
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]
102 * Improve documentation of capability negotiation in NOTES, secnet(8)
103 and magic.h. [Mark Wooding]
105 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 24 Oct 2019 19:11:54 +0100
107 secnet (0.4.5) unstable; urgency=medium
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]
115 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 21 Sep 2019 12:04:31 +0100
117 secnet (0.4.4) unstable; urgency=medium
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]
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.
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]
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]
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]
150 * Fix erroneous GPL3+ licence notices "version d or later" (!)
151 * .dir-locals.el: Settings for Python code. [Mark Wooding]
153 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 08 Sep 2019 22:53:14 +0100
155 secnet (0.4.3) unstable; urgency=low
157 Security improvement:
158 * Use `mpz_powm_sec' for modexps.
161 * Implement comm-info and dedicated-interface-addr feature, for
163 * Implement `keepalive' site option, to try to keep link always up.
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.
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.
180 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 25 Nov 2017 13:36:41 +0000
182 secnet (0.4.0) unstable; urgency=low
184 Debugging improvements:
185 * Packet-level debugging from site notes errors from transmit.
186 * Report when transport peers updated as a result of transmit.
188 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 28 Feb 2015 15:03:00 +0000
190 secnet (0.4.0~beta2) unstable; urgency=low
193 * Ignore IPv6 Unique Local unicast addresses.
194 * Skip "tentative" IPv6 local addresses.
195 * Improve logging and debug output.
198 * Build where size_t is not compatible with int.
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.
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).
218 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 28 Dec 2014 17:14:10 +0000
220 secnet (0.4.0~beta1) unstable; urgency=low
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).
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).
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
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.
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.
256 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 26 Oct 2014 15:28:31 +0000
258 secnet (0.3.4) unstable; urgency=low
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.
264 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 22 Sep 2014 16:16:11 +0100
266 secnet (0.3.3) unstable; urgency=high
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.
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.
278 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 19 Sep 2014 23:50:45 +0100
280 secnet (0.3.3~beta1) unstable; urgency=low
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
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.
293 * Provide clean target in test-example/Makefile.
295 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 19 Sep 2014 00:11:44 +0100
297 secnet (0.3.2) unstable; urgency=low
299 * Release of 0.3.2. No code changes since 0.3.1~beta1.
301 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 26 Jun 2014 20:27:58 +0100
303 secnet (0.3.2~beta1) unstable; urgency=low
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).
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.
317 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 06 Jun 2014 01:17:54 +0100
319 secnet (0.3.1) unstable; urgency=low
321 * Release of 0.3.1. No code changes since 0.3.1~beta3.
323 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 15 May 2014 01:08:30 +0100
325 secnet (0.3.1~beta3) unstable; urgency=low
327 * Build fixes for non-i386 architectures and gcc 4.8.2.
329 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 08 May 2014 19:53:43 +0100
331 secnet (0.3.1~beta2) unstable; urgency=low
333 Fix relating to new fragmentation / ICMP functionality:
334 * Generate ICMP packets correctly in point-to-point configurations.
336 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 03 May 2014 18:58:09 +0100
338 secnet (0.3.1~beta1) unstable; urgency=low
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.
346 * Make the inter-site MTU configurable, and negotiate it with the peer.
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.
355 Packaging improvements:
356 * Updates to release checklist in Makefile.in.
357 * Additions to the test-example suite.
359 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 01 May 2014 19:02:56 +0100
361 secnet (0.3.0) unstable; urgency=low
363 * Release of 0.3.0. No code changes since 0.3.0~beta3.
364 * Update release checklist.
366 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 01 Sep 2013 20:27:48 +0100
368 secnet (0.3.0~beta3) unstable; urgency=low
370 * New upstream version.
371 - Stability bugfix: properly initialise site's scratch buffer.
373 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 05 Aug 2013 11:54:09 +0100
375 secnet (0.3.0~beta2) unstable; urgency=low
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.
391 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 25 Jul 2013 18:26:01 +0100
393 secnet (0.3.0~beta1) unstable; urgency=low
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:
405 - Maintainer / uploaders.
406 - init script requires $remove_fs since we're in /usr.
408 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 12 Jul 2012 20:18:16 +0100
410 secnet (0.2.1-1) unstable; urgency=low
412 * New upstream version. (authbind endianness fix)
414 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 11 Dec 2011 13:14:57 +0000
416 secnet (0.2.0-1) unstable; urgency=low
418 * New upstream version.
420 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 10 Dec 2011 22:44:41 +0000
422 secnet (0.1.18-1) unstable; urgency=low
424 * New upstream version.
426 -- Stephen Early <steve@greenend.org.uk> Tue, 18 Mar 2008 17:45:00 +0000