1 secnet (0.5.1) unstable; urgency=medium
3 POTENTIALLY INCOMPATIBLE CHANGE. Some security implications.
5 * make-secnet-sites: Prefix names when writing secnet sites.conf file.
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
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.
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.)
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.
33 * Change one idiom to avoid a warning from GCC9. No functional change.
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.
47 * Creit Mark Wooding properly in CREDITS.
48 * Include DEVELOPER-CERTIFICATE.
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).
57 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 22 Nov 2019 23:13:14 +0000
59 secnet (0.5.0) unstable; urgency=medium
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.
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]
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]
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]
96 * Improve documentation of capability negotiation in NOTES, secnet(8)
97 and magic.h. [Mark Wooding]
99 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 24 Oct 2019 19:11:54 +0100
101 secnet (0.4.5) unstable; urgency=medium
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]
109 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 21 Sep 2019 12:04:31 +0100
111 secnet (0.4.4) unstable; urgency=medium
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]
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.
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]
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]
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]
144 * Fix erroneous GPL3+ licence notices "version d or later" (!)
145 * .dir-locals.el: Settings for Python code. [Mark Wooding]
147 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 08 Sep 2019 22:53:14 +0100
149 secnet (0.4.3) unstable; urgency=low
151 Security improvement:
152 * Use `mpz_powm_sec' for modexps.
155 * Implement comm-info and dedicated-interface-addr feature, for
157 * Implement `keepalive' site option, to try to keep link always up.
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.
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.
174 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 25 Nov 2017 13:36:41 +0000
176 secnet (0.4.0) unstable; urgency=low
178 Debugging improvements:
179 * Packet-level debugging from site notes errors from transmit.
180 * Report when transport peers updated as a result of transmit.
182 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 28 Feb 2015 15:03:00 +0000
184 secnet (0.4.0~beta2) unstable; urgency=low
187 * Ignore IPv6 Unique Local unicast addresses.
188 * Skip "tentative" IPv6 local addresses.
189 * Improve logging and debug output.
192 * Build where size_t is not compatible with int.
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.
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).
212 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 28 Dec 2014 17:14:10 +0000
214 secnet (0.4.0~beta1) unstable; urgency=low
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).
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).
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
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.
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.
250 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 26 Oct 2014 15:28:31 +0000
252 secnet (0.3.4) unstable; urgency=low
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.
258 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 22 Sep 2014 16:16:11 +0100
260 secnet (0.3.3) unstable; urgency=high
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.
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.
272 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 19 Sep 2014 23:50:45 +0100
274 secnet (0.3.3~beta1) unstable; urgency=low
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
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.
287 * Provide clean target in test-example/Makefile.
289 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 19 Sep 2014 00:11:44 +0100
291 secnet (0.3.2) unstable; urgency=low
293 * Release of 0.3.2. No code changes since 0.3.1~beta1.
295 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 26 Jun 2014 20:27:58 +0100
297 secnet (0.3.2~beta1) unstable; urgency=low
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).
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.
311 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 06 Jun 2014 01:17:54 +0100
313 secnet (0.3.1) unstable; urgency=low
315 * Release of 0.3.1. No code changes since 0.3.1~beta3.
317 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 15 May 2014 01:08:30 +0100
319 secnet (0.3.1~beta3) unstable; urgency=low
321 * Build fixes for non-i386 architectures and gcc 4.8.2.
323 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 08 May 2014 19:53:43 +0100
325 secnet (0.3.1~beta2) unstable; urgency=low
327 Fix relating to new fragmentation / ICMP functionality:
328 * Generate ICMP packets correctly in point-to-point configurations.
330 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 03 May 2014 18:58:09 +0100
332 secnet (0.3.1~beta1) unstable; urgency=low
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.
340 * Make the inter-site MTU configurable, and negotiate it with the peer.
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.
349 Packaging improvements:
350 * Updates to release checklist in Makefile.in.
351 * Additions to the test-example suite.
353 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 01 May 2014 19:02:56 +0100
355 secnet (0.3.0) unstable; urgency=low
357 * Release of 0.3.0. No code changes since 0.3.0~beta3.
358 * Update release checklist.
360 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 01 Sep 2013 20:27:48 +0100
362 secnet (0.3.0~beta3) unstable; urgency=low
364 * New upstream version.
365 - Stability bugfix: properly initialise site's scratch buffer.
367 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 05 Aug 2013 11:54:09 +0100
369 secnet (0.3.0~beta2) unstable; urgency=low
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.
385 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 25 Jul 2013 18:26:01 +0100
387 secnet (0.3.0~beta1) unstable; urgency=low
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:
399 - Maintainer / uploaders.
400 - init script requires $remove_fs since we're in /usr.
402 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 12 Jul 2012 20:18:16 +0100
404 secnet (0.2.1-1) unstable; urgency=low
406 * New upstream version. (authbind endianness fix)
408 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 11 Dec 2011 13:14:57 +0000
410 secnet (0.2.0-1) unstable; urgency=low
412 * New upstream version.
414 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 10 Dec 2011 22:44:41 +0000
416 secnet (0.1.18-1) unstable; urgency=low
418 * New upstream version.
420 -- Stephen Early <steve@greenend.org.uk> Tue, 18 Mar 2008 17:45:00 +0000